diff options
author | kim <kim> | 2004-01-11 17:17:25 +0000 |
---|---|---|
committer | kim <kim> | 2004-01-11 17:17:25 +0000 |
commit | 637b67a8e708af26e3a2609b0412a23b9f8bcb5a (patch) | |
tree | e1ba77dd18ad1c6a66a6be1d917ce266bdfb7e28 /mail | |
parent | f6ae3c5c29ed44127433061147b56a43dea75e02 (diff) | |
download | pkgsrc-637b67a8e708af26e3a2609b0412a23b9f8bcb5a.tar.gz |
Allow for selecting a different CGI GID than the default pkgsrc APACHE GID.
Allow for not using a CGI extension (no extension was the pkgsrc default
for the previous mailman version, and forcing to add one seems like just
a gratuitous change).
Record BUILD_DEFS. (XXX: All these should be documented, too.)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mailman/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile index 9cd235bce76..9a20158bf1d 100644 --- a/mail/mailman/Makefile +++ b/mail/mailman/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2003/12/23 11:02:13 xtraeme Exp $ +# $NetBSD: Makefile,v 1.9 2004/01/11 17:17:25 kim Exp $ DISTNAME= mailman-2.1.3 CATEGORIES= mail www @@ -28,7 +28,9 @@ EGDIR= ${PREFIX}/share/examples/mailman DOCDIR= ${PREFIX}/share/doc/mailman MAILMAN_USER?= mailman MAILMAN_GROUP?= mailman +MAILMAN_CGIGROUP?= ${APACHE_GROUP} MAILMAN_MAILGROUP?= guest # group of user 'daemon' +MAILMAN_CGIEXT?= .cgi MESSAGE_SUBST+= EXECDIR=${EXECDIR} FILES_SUBST+= EXECDIR=${EXECDIR} @@ -63,10 +65,10 @@ PYTHON_PATCH_SCRIPTS+= admin/bin/faq2ht.py PYTHON_PATCH_SCRIPTS+= admin/bin/mm2do PYTHON_PATCH_SCRIPTS+= bin/msgfmt.py -APACHE_GROUP?= www - -CONFIGURE_ARGS+= --with-cgi-gid=${APACHE_GROUP} -CONFIGURE_ARGS+= --with-cgi-ext=.cgi +CONFIGURE_ARGS+= --with-cgi-gid=${MAILMAN_CGIGROUP} +.if ${MAILMAN_CGIEXT} != "none" +CONFIGURE_ARGS+= --with-cgi-ext=${MAILMAN_CGIEXT} +.endif CONFIGURE_ARGS+= --with-groupname=${MAILMAN_GROUP} CONFIGURE_ARGS+= --with-mail-gid=${MAILMAN_MAILGROUP} CONFIGURE_ARGS+= --with-python=${PYTHONBIN} @@ -78,6 +80,13 @@ CONFIGURE_ARGS+= --without-permcheck CONFIGURE_ARGS+= --with-mailhost=localhost CONFIGURE_ARGS+= --with-urlhost=localhost +BUILD_DEFS+= MAILMAN_DATADIR +BUILD_DEFS+= MAILMAN_USER +BUILD_DEFS+= MAILMAN_GROUP +BUILD_DEFS+= MAILMAN_CGIGROUP +BUILD_DEFS+= MAILMAN_MAILGROUP +BUILD_DEFS+= MAILMAN_CGIEXT + post-patch: @${SED} ${FILES_SUBST_SED} ${FILESDIR}/mailman.conf.dist \ >${WRKDIR}/mailman.conf.dist |