summaryrefslogtreecommitdiff
path: root/mail/swaks/options.mk
diff options
context:
space:
mode:
authorschmonz <schmonz>2017-01-08 20:35:55 +0000
committerschmonz <schmonz>2017-01-08 20:35:55 +0000
commita428a1db5f61e17aea2dc00b61d7debfd8a42067 (patch)
treec20d1245ccd9b6cdabee9f4d4d64a543e3004d60 /mail/swaks/options.mk
parent37da1ac8f42653741c96e346a54220ad041766e2 (diff)
downloadpkgsrc-a428a1db5f61e17aea2dc00b61d7debfd8a42067.tar.gz
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 (limited to 'mail/swaks/options.mk')
-rw-r--r--mail/swaks/options.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/swaks/options.mk b/mail/swaks/options.mk
new file mode 100644
index 00000000000..5c2eaf1d6ec
--- /dev/null
+++ b/mail/swaks/options.mk
@@ -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