summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-07-18 21:33:24 +0000
committeradrianp <adrianp@pkgsrc.org>2005-07-18 21:33:24 +0000
commit6878ecc7783c9c183378af7535015c7bbeafc6a9 (patch)
tree26d22dbad9e0fb21854ca3c5fc935879af25a2d4 /mail
parentee208b6bd7a2b893503070c5315befc448ca339f (diff)
downloadpkgsrc-6878ecc7783c9c183378af7535015c7bbeafc6a9.tar.gz
- Move option from "starttls" to "tls" as pointed out by schmonz@ in private
email. - Use PKG_OPTIONS_LEGACY_OPTS to deal with the change.
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail/Makefile4
-rw-r--r--mail/sendmail/options.mk9
2 files changed, 7 insertions, 6 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index bd008c45056..52a9e2dd601 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.76 2005/05/21 04:10:17 jlam Exp $
+# $NetBSD: Makefile,v 1.77 2005/07/18 21:33:24 adrianp Exp $
.include "../../mail/sendmail/Makefile.common"
@@ -33,7 +33,7 @@ post-patch: make-sendmail-siteconfig
.if !empty(PKG_OPTIONS:Mdb4)
@${CAT} ${FILESDIR}/site.config.m4-db4 >>${SITECONFIG}
.endif
-.if !empty(PKG_OPTIONS:Mstarttls)
+.if !empty(PKG_OPTIONS:Mtls)
@${CAT} ${FILESDIR}/site.config.m4-starttls >>${SITECONFIG}
.endif
.if !empty(PKG_OPTIONS:Msasl)
diff --git a/mail/sendmail/options.mk b/mail/sendmail/options.mk
index ab83ca44633..c2130ab5fed 100644
--- a/mail/sendmail/options.mk
+++ b/mail/sendmail/options.mk
@@ -1,10 +1,11 @@
-# $NetBSD: options.mk,v 1.8 2005/07/16 01:19:13 jlam Exp $
+# $NetBSD: options.mk,v 1.9 2005/07/18 21:33:24 adrianp Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sendmail
-PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl starttls tcpwrappers \
- socketmap
+PKG_SUPPORTED_OPTIONS= inet6 db2 db4 ldap sasl tls tcpwrappers socketmap
PKG_SUGGESTED_OPTIONS= tcpwrappers
+PKG_OPTIONS_LEGACY_OPTS= starttls:tls
+
.include "../../mk/bsd.options.mk"
###
@@ -33,7 +34,7 @@ PKG_SUGGESTED_OPTIONS= tcpwrappers
###
### Use OpenSSL libraries for SMTP STARTTLS support
###
-.if !empty(PKG_OPTIONS:Mstarttls)
+.if !empty(PKG_OPTIONS:Mtls)
. include "../../security/openssl/buildlink3.mk"
.endif