diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2002-02-13 09:07:06 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2002-02-13 09:07:06 +0000 |
commit | 05e074dbd264519cc4fc1a591652bc6550db049c (patch) | |
tree | 18f926493f5c04c3b5154fb4c320e2c8d3fefb85 /mail/mailman/Makefile | |
parent | c74bdc61c8b67ca0e5b42f95ac96e825cf79eb47 (diff) | |
download | ports-05e074dbd264519cc4fc1a591652bc6550db049c.tar.gz ports-05e074dbd264519cc4fc1a591652bc6550db049c.zip |
- Use MAIL_GID of 26 (mailnull) instead of 1 when installing Mailman to work
with Sendmail, if on a recent $OSVERSION. (Whoops!)
- Submitted by: Richard Kiss <kiss@hhn.com>
- Clarify $PKGMESSAGE and output of $PKGDEINSTALL somewhat.
- Correctly handle Mailman config file (mm_cfg.py) in $PLIST when
deinstalling port/package.
- Bump PORTREVISION again.
Notes
Notes:
svn path=/head/; revision=54651
Diffstat (limited to 'mail/mailman/Makefile')
-rw-r--r-- | mail/mailman/Makefile | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile index 84decfecd1cb..c85c9bf429a4 100644 --- a/mail/mailman/Makefile +++ b/mail/mailman/Makefile @@ -7,7 +7,7 @@ PORTNAME= mailman PORTVERSION= 2.0.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= http://www.list.org/ \ ${MASTER_SITE_GNU} \ @@ -25,6 +25,8 @@ CONFIGURE_ARGS= --prefix=${MAILMANDIR} \ --with-mail-gid=${MAIL_GID} --with-cgi-gid=${CGI_GID} USE_PYTHON= yes +.include <bsd.port.pre.mk> + # These variables may be tweaked if required. However, it is recommended # that the USERID and GROUPID not be changed. # @@ -34,7 +36,8 @@ GROUPNAME?= ${USERNAME} GROUPID?= ${USERID} MMDIR?= mailman -# The default value of '1' for MAIL_GID works with sendmail. If you're using +# Getting the value of MAIL_GID right is crucial to getting Mailman to work +# with your MTA. By default, this port works with sendmail. If you're using # an alternative MTA installed from ports, you should set MAIL_GID at build # time according to the following table. (Please contact this port's # maintainer if you can fill in the blanks, or to report mistakes!) @@ -44,7 +47,15 @@ MMDIR?= mailman # Postfix | 65534 | <shamrock@cypherpunks.to> # Qmail | ??? | # +.if ${OSVERSION} >= 450000 +MAIL_GID?= 26 +.else MAIL_GID?= 1 +.endif + +# By default, this port works with the current port of Apache. If your WWW +# server executes CGI scripts under a different GID, you'll have to set this +# at build time. CGI_GID?= 80 MAILMANDIR= ${PREFIX}/${MMDIR} @@ -71,10 +82,11 @@ post-configure: pre-build: .if !defined(BATCH) @ ${ECHO_MSG} "-------------------------------------------------------" - @ ${ECHO_MSG} " If you're using an alternative MTA (not Sendmail)," - @ ${ECHO_MSG} " you may have to set MAIL_GID to the gid under which" - @ ${ECHO_MSG} " your MTA is executing. See the comments in the" - @ ${ECHO_MSG} " port's Makefile for further information." + @ ${ECHO_MSG} " If you're using an alternative MTA (not Sendmail)" + @ ${ECHO_MSG} " OR an older version of Sendmail, you may have to" + @ ${ECHO_MSG} " set MAIL_GID to the gid under which your MTA is" + @ ${ECHO_MSG} " executing. See the comments in the port's" + @ ${ECHO_MSG} " Makefile for further information." @ ${ECHO_MSG} "-------------------------------------------------------" .endif @@ -94,4 +106,4 @@ post-install: @ ${CAT} ${PKGMESSAGE} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |