pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/swaks Initial import of swaks.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4d7c2a1c00a
branches:  trunk
changeset: 356952:d4d7c2a1c00a
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Jan 08 20:35:55 2017 +0000

description:
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.

diffstat:

 mail/swaks/DESCR      |   8 ++++++++
 mail/swaks/Makefile   |  33 +++++++++++++++++++++++++++++++++
 mail/swaks/PLIST      |   2 ++
 mail/swaks/distinfo   |   6 ++++++
 mail/swaks/options.mk |  14 ++++++++++++++
 5 files changed, 63 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r 2f54f69c24f9 -r d4d7c2a1c00a mail/swaks/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/swaks/DESCR  Sun Jan 08 20:35:55 2017 +0000
@@ -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.
diff -r 2f54f69c24f9 -r d4d7c2a1c00a mail/swaks/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/swaks/Makefile       Sun Jan 08 20:35:55 2017 +0000
@@ -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"
diff -r 2f54f69c24f9 -r d4d7c2a1c00a mail/swaks/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/swaks/PLIST  Sun Jan 08 20:35:55 2017 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/01/08 20:35:55 schmonz Exp $
+bin/swaks
diff -r 2f54f69c24f9 -r d4d7c2a1c00a mail/swaks/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/swaks/distinfo       Sun Jan 08 20:35:55 2017 +0000
@@ -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
diff -r 2f54f69c24f9 -r d4d7c2a1c00a mail/swaks/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/swaks/options.mk     Sun Jan 08 20:35:55 2017 +0000
@@ -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