summaryrefslogtreecommitdiff
path: root/mail/nmh
diff options
context:
space:
mode:
authorschnoebe <schnoebe@pkgsrc.org>2012-08-31 02:09:49 +0000
committerschnoebe <schnoebe@pkgsrc.org>2012-08-31 02:09:49 +0000
commit92b6ec914b20b6434828771b19ab2fac7e3e40f2 (patch)
treecd2f068734ff24a8d7886fbfae0288f8e743dcda /mail/nmh
parentcdcfbd710204a6886c69eacd466df55408f38bb0 (diff)
downloadpkgsrc-92b6ec914b20b6434828771b19ab2fac7e3e40f2.tar.gz
Add options to support SASL and TLS in nmh.
Diffstat (limited to 'mail/nmh')
-rw-r--r--mail/nmh/Makefile3
-rw-r--r--mail/nmh/options.mk14
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index d482b07ca3f..060db9242f1 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.76 2012/07/27 19:28:57 drochner Exp $
+# $NetBSD: Makefile,v 1.77 2012/08/31 02:09:49 schnoebe Exp $
DISTNAME= nmh-1.5
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://savannah.nongnu.org/download/nmh/
diff --git a/mail/nmh/options.mk b/mail/nmh/options.mk
index 7d4c8de00d7..eddddd6b291 100644
--- a/mail/nmh/options.mk
+++ b/mail/nmh/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.3 2008/08/08 23:41:22 epg Exp $
+# $NetBSD: options.mk,v 1.4 2012/08/31 02:09:49 schnoebe Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nmh
-PKG_SUPPORTED_OPTIONS= nmh-backup-hash
+PKG_SUPPORTED_OPTIONS= nmh-backup-hash sasl tls
.include "../../mk/bsd.options.mk"
@@ -12,3 +12,13 @@ PKG_SUPPORTED_OPTIONS= nmh-backup-hash
.if !empty(PKG_OPTIONS:Mnmh-backup-hash)
CONFIGURE_ARGS+= --with-hash-backup
.endif
+
+.if !empty(PKG_OPTIONS:Msasl)
+CONFIGURE_ARGS+= --with-cyrus-sasl
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mtls)
+CONFIGURE_ARGS+= --with-tls
+.include "../../security/openssl/buildlink3.mk"
+.endif