diff options
author | fhajny <fhajny@pkgsrc.org> | 2011-12-22 11:06:40 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2011-12-22 11:06:40 +0000 |
commit | 526dc51bd2a97a647398bd34eabde9dff34ef7b3 (patch) | |
tree | aefc66a062a9f1e62128afaedb038410178ff34d /mail/mailman/Makefile | |
parent | bc6a006a24eebb6a732ddf745a2c018904f3cb99 (diff) | |
download | pkgsrc-526dc51bd2a97a647398bd34eabde9dff34ef7b3.tar.gz |
Disable configure-time check for Mailman user & group. Removes the need
to hard code UID/GID when building a binary package.
Fixes PR pkg/44048
Diffstat (limited to 'mail/mailman/Makefile')
-rw-r--r-- | mail/mailman/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile index 8f04b8b8c4d..f75d566166a 100644 --- a/mail/mailman/Makefile +++ b/mail/mailman/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.64 2011/07/03 06:20:06 markd Exp $ +# $NetBSD: Makefile,v 1.65 2011/12/22 11:06:40 fhajny Exp $ DISTNAME= mailman-2.1.14-1 PKGNAME= mailman-2.1.14.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= mail www MASTER_SITES= http://launchpad.net/mailman/2.1/2.1.14/+download/ EXTRACT_SUFX= .tgz @@ -43,7 +43,6 @@ PLIST_SUBST+= MAILMAN_CGIEXT=${MAILMAN_CGIEXT:S/none//} PKG_GROUPS_VARS+= MAILMAN_GROUP MAILMAN_CGIGROUP MAILMAN_MAILGROUP PKG_USERS_VARS+= MAILMAN_USER -USERGROUP_PHASE= pre-install PKG_GROUPS= ${MAILMAN_GROUP} PKG_USERS= ${MAILMAN_USER}:${MAILMAN_GROUP} @@ -113,7 +112,7 @@ post-patch: ${RM} -f ${WRKSRC}/[A-Z]*.orig pre-install: - ${INSTALL} -d -o ${MAILMAN_USER} -g ${MAILMAN_GROUP} -m 775 ${DESTDIR}${EXECDIR} + ${INSTALL_PROGRAM_DIR} ${DESTDIR}${EXECDIR} ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} ${INSTALL_DATA_DIR} ${DESTDIR}${EXECDIR}/support @@ -128,7 +127,6 @@ post-install: ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} ${INSTALL_DATA} ${WRKDIR}/mailman.conf.dist ${DESTDIR}${EGDIR}/mailman.conf ${INSTALL_DATA} ${WRKSRC}/cron/crontab.in ${DESTDIR}${EGDIR}/crontab.in - ${CHOWN} -R root:${MAILMAN_GROUP} ${DESTDIR}${EXECDIR} ${CHMOD} -R g+w ${DESTDIR}${EXECDIR} ${CHMOD} g+s ${DESTDIR}${EXECDIR}/cgi-bin/* ${PY_COMPILE_ALL} ${DESTDIR}${PREFIX}/lib/mailman/bin ${DESTDIR}${PREFIX}/lib/mailman/cron ${DESTDIR}${PREFIX}/lib/mailman/scripts |