svn commit: r569359 - in head/mail: . mailman mailman-exim4 mailman-postfix
Matthias Andree
mandree at FreeBSD.org
Sat Mar 27 21:19:12 UTC 2021
Author: mandree
Date: Sat Mar 27 21:19:11 2021
New Revision: 569359
URL: https://svnweb.freebsd.org/changeset/ports/569359
Log:
mailman: add -postfix and -exim4 slave ports
This is to avoid accidents on upgrading, for instance, if
the POSTFIX option is getting lost and mail starts to bounce.
The slave ports prevent that.
Added:
head/mail/mailman-exim4/
head/mail/mailman-exim4/Makefile (contents, props changed)
head/mail/mailman-postfix/
head/mail/mailman-postfix/Makefile (contents, props changed)
Modified:
head/mail/Makefile
head/mail/mailman/Makefile
Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile Sat Mar 27 21:17:46 2021 (r569358)
+++ head/mail/Makefile Sat Mar 27 21:19:11 2021 (r569359)
@@ -203,6 +203,8 @@
SUBDIR += mailgraph
SUBDIR += mailhog
SUBDIR += mailman
+ SUBDIR += mailman-exim4
+ SUBDIR += mailman-postfix
SUBDIR += mailman3
SUBDIR += mailscanner
SUBDIR += mailsync
Added: head/mail/mailman-exim4/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/mailman-exim4/Makefile Sat Mar 27 21:19:11 2021 (r569359)
@@ -0,0 +1,14 @@
+# Created by: Matthias Andree <mandree at FreeBSD.org>
+
+PKGNAMESUFFIX= -exim4
+
+COMMENT= mailman with Exim4 configuration and dependency
+
+CONFLICTS_INSTALL= mailman*postfix* mailman-2* mailman-with-htdig-2*
+
+OPTIONS_EXCLUDE= COURIER OPENSMTPD POSTFIX SENDMAIL
+OPTIONS_SLAVE= EXIM4
+
+MASTERDIR= ${.CURDIR}/../../mail/mailman
+
+.include "${MASTERDIR}/Makefile"
Added: head/mail/mailman-postfix/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/mailman-postfix/Makefile Sat Mar 27 21:19:11 2021 (r569359)
@@ -0,0 +1,14 @@
+# Created by: Matthias Andree <mandree at FreeBSD.org>
+
+PKGNAMESUFFIX= -postfix
+
+COMMENT= mailman with postfix dependency
+
+CONFLICTS_INSTALL= mailman*exim* mailman-2* mailman-with-htdig-2*
+
+OPTIONS_EXCLUDE= COURIER EXIM4 OPENSMTPD SENDMAIL
+OPTIONS_SLAVE= POSTFIX
+
+MASTERDIR= ${.CURDIR}/../../mail/mailman
+
+.include "${MASTERDIR}/Makefile"
Modified: head/mail/mailman/Makefile
==============================================================================
--- head/mail/mailman/Makefile Sat Mar 27 21:17:46 2021 (r569358)
+++ head/mail/mailman/Makefile Sat Mar 27 21:19:11 2021 (r569359)
@@ -36,7 +36,7 @@ CONFIGURE_ARGS+=--with-python=${PYTHON_CMD} \
--with-mailhost=localhost \
--with-urlhost=localhost
-CONFLICTS= ja-mailman-2.1.*
+CONFLICTS= ja-mailman-2.1.* mailman*exim* mailman*postfix*
# The Mailman port supports a number of variables that may be tweaked at
# build time. Getting the values of some of them right is crucial!
@@ -68,19 +68,21 @@ PORTDOCS= ACKNOWLEDGMENTS BUGS FAQ INSTALL NEWS README
mailman-member.txt \
FreeBSD-post-install-notes
-OPTIONS_SINGLE= MTA
+OPTIONS_SINGLE= MTA
OPTIONS_SINGLE_MTA= COURIER EXIM4 OPENSMTPD POSTFIX SENDMAIL
-OPTIONS_DEFINE= HTDIG NAMAZU2 NOMAILPWD NLS DOCS
+OPTIONS_DEFINE= HTDIG NAMAZU2 NOMAILPWD NLS DOCS
OPTIONS_DEFAULT= SENDMAIL NOMAILPWD
-COURIER_DESC= for use with courier
-EXIM4_DESC= for use with exim4
-OPENSMTPD_DESC= for use with opensmtpd - EXPERIMENTAL -
-POSTFIX_DESC= for use with postfix
-SENDMAIL_DESC= for use with sendmail
-HTDIG_DESC= - EXPERIMENTAL - htdig integration patches
-NAMAZU2_DESC= Make private archives searchable with namazu2
-NOMAILPWD_DESC= Elide plaintext passwords from monthly reminders
-MTA_DESC= Integrate with which MTA?
+COURIER_DESC= for use with courier
+EXIM4_DESC= for use with exim4
+EXIM4_RUN_DEPENDS= exim>=0:mail/exim
+OPENSMTPD_DESC= for use with opensmtpd - EXPERIMENTAL -
+POSTFIX_DESC= for use with postfix
+POSTFIX_RUN_DEPENDS= postfix:mail/postfix
+SENDMAIL_DESC= for use with sendmail
+HTDIG_DESC= - EXPERIMENTAL - htdig integration patches
+NAMAZU2_DESC= Make private archives searchable with namazu2
+NOMAILPWD_DESC= Elide plaintext passwords from monthly reminders
+MTA_DESC= Integrate with which MTA?
.include <bsd.port.options.mk>
@@ -109,8 +111,6 @@ MAIL_GID?= mail
.endif
.if ${PORT_OPTIONS:MPOSTFIX}
-BUILD_DEPENDS+= postfix:mail/postfix
-RUN_DEPENDS+= postfix:mail/postfix
MAIL_GID?= mailman
EXTRA_PATCHES+= ${FILESDIR}/postfix-verp.diff
.endif
@@ -124,7 +124,8 @@ MAIL_GID?= _smtpd
.endif
.if ${PORT_OPTIONS:MHTDIG}
-PKGNAMESUFFIX+= -with-htdig
+# no whitespace here!
+PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-with-htdig
# how to create PATCHFILES:
#X identify what is the version of msapiro's patches corresponding to the release.
#X fetch http://bazaar.launchpad.net/~msapiro/mailman/htdig/tarball/1822
More information about the svn-ports-head
mailing list