diff options
author | schnoebe <schnoebe> | 2012-08-31 02:09:49 +0000 |
---|---|---|
committer | schnoebe <schnoebe> | 2012-08-31 02:09:49 +0000 |
commit | a67a5c698894bc5c6a41a0abb63b1a0ab4192698 (patch) | |
tree | cd2f068734ff24a8d7886fbfae0288f8e743dcda /mail/nmh | |
parent | ce2e9fa5f7ea3324ba9f7ecefa9b7da1a666a5f9 (diff) | |
download | pkgsrc-a67a5c698894bc5c6a41a0abb63b1a0ab4192698.tar.gz |
Add options to support SASL and TLS in nmh.
Diffstat (limited to 'mail/nmh')
-rw-r--r-- | mail/nmh/Makefile | 3 | ||||
-rw-r--r-- | mail/nmh/options.mk | 14 |
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 |