pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/swaks



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Sun Jan  8 20:35:55 UTC 2017

Added Files:
        pkgsrc/mail/swaks: DESCR Makefile PLIST distinfo options.mk

Log Message:
Initial import of swaks.

swaks' primary design goal is to be a flexible, scriptable, transaction-
oriented SMTP test tool. It handles SMTP features and extensions such as
TLS, authentication, and pipelining; multiple version of the SMTP
protocol including SMTP, ESMTP, and LMTP; and multiple transport methods
including unix-domain sockets, internet-domain sockets, and pipes to
spawned processes. Options can be specified in environment variables,
configuration files, and the command line allowing maximum
configurability and ease of use for operators and scripters.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/swaks/DESCR pkgsrc/mail/swaks/Makefile \
    pkgsrc/mail/swaks/PLIST pkgsrc/mail/swaks/distinfo \
    pkgsrc/mail/swaks/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/mail/swaks/DESCR
diff -u /dev/null pkgsrc/mail/swaks/DESCR:1.1
--- /dev/null   Sun Jan  8 20:35:55 2017
+++ pkgsrc/mail/swaks/DESCR     Sun Jan  8 20:35:55 2017
@@ -0,0 +1,8 @@
+swaks' primary design goal is to be a flexible, scriptable, transaction-
+oriented SMTP test tool. It handles SMTP features and extensions such as
+TLS, authentication, and pipelining; multiple version of the SMTP
+protocol including SMTP, ESMTP, and LMTP; and multiple transport methods
+including unix-domain sockets, internet-domain sockets, and pipes to
+spawned processes. Options can be specified in environment variables,
+configuration files, and the command line allowing maximum
+configurability and ease of use for operators and scripters.
Index: pkgsrc/mail/swaks/Makefile
diff -u /dev/null pkgsrc/mail/swaks/Makefile:1.1
--- /dev/null   Sun Jan  8 20:35:55 2017
+++ pkgsrc/mail/swaks/Makefile  Sun Jan  8 20:35:55 2017
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2017/01/08 20:35:55 schmonz Exp $
+
+DISTNAME=              swaks-20170101.0
+CATEGORIES=            mail
+MASTER_SITES=          ${HOMEPAGE}files/
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              http://www.jetmore.org/john/code/swaks/
+COMMENT=               Featureful, flexible, scriptable SMTP test tool
+LICENSE=               gnu-gpl-v2
+
+DEPENDS+=              p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
+DEPENDS+=              p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
+DEPENDS+=              p5-Digest-SHA-[0-9]*:../../security/p5-Digest-SHA
+#DEPENDS+=             p5-Authen-NTLM (not in pkgsrc)
+DEPENDS+=              p5-Authen-SASL-[0-9]*:../../security/p5-Authen-SASL
+DEPENDS+=              p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
+DEPENDS+=              p5-Time-Local-[0-9]*:../../time/p5-Time-Local
+
+USE_TOOLS+=            perl:run
+USE_LANGUAGES=         # none
+REPLACE_PERL=          ${PKGBASE}
+
+NO_BUILD=              yes
+
+INSTALLATION_DIRS=     bin
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/${PKGBASE} ${DESTDIR}${PREFIX}/bin/${PKGBASE}
+
+.include "options.mk"
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/swaks/PLIST
diff -u /dev/null pkgsrc/mail/swaks/PLIST:1.1
--- /dev/null   Sun Jan  8 20:35:55 2017
+++ pkgsrc/mail/swaks/PLIST     Sun Jan  8 20:35:55 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/01/08 20:35:55 schmonz Exp $
+bin/swaks
Index: pkgsrc/mail/swaks/distinfo
diff -u /dev/null pkgsrc/mail/swaks/distinfo:1.1
--- /dev/null   Sun Jan  8 20:35:55 2017
+++ pkgsrc/mail/swaks/distinfo  Sun Jan  8 20:35:55 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/01/08 20:35:55 schmonz Exp $
+
+SHA1 (swaks-20170101.0.tar.gz) = f535df35c96a239d1517feb2dddcd931c24b0f98
+RMD160 (swaks-20170101.0.tar.gz) = 26fe06e1704ffde7143f42cafb36c39654ae23ad
+SHA512 (swaks-20170101.0.tar.gz) = f4fa04d0fdea3c91958341107c74b9afb2df8bfb00b6a7e018c34c9ccd501092037360266bda21f38bf558efe15095d677b1397031151707bc1fe7b4d8b8478b
+Size (swaks-20170101.0.tar.gz) = 109084 bytes
Index: pkgsrc/mail/swaks/options.mk
diff -u /dev/null pkgsrc/mail/swaks/options.mk:1.1
--- /dev/null   Sun Jan  8 20:35:55 2017
+++ pkgsrc/mail/swaks/options.mk        Sun Jan  8 20:35:55 2017
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2017/01/08 20:35:55 schmonz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.swaks
+PKG_SUPPORTED_OPTIONS= inet6 ssl
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+DEPENDS+=              p5-IO-Socket-INET6-[0-9]*:../../net/p5-IO-Socket-INET6
+.endif
+
+.if !empty(PKG_OPTIONS:Mssl)
+DEPENDS+=              p5-Net-SSLeay-[0-9]*:../../security/p5-Net-SSLeay
+.endif



Home | Main Index | Thread Index | Old Index