diff options
author | tron <tron> | 2009-03-08 15:54:26 +0000 |
---|---|---|
committer | tron <tron> | 2009-03-08 15:54:26 +0000 |
commit | 5042ddbaa4384711d56ef58c555c2e6a8ad426e8 (patch) | |
tree | f4b7d52b9a327f68c9dd93e5b3a3afd8ec01874a /mail/milter-greylist/Makefile | |
parent | e615631162d9fdd3802679acad1f16245b7b4e08 (diff) | |
download | pkgsrc-5042ddbaa4384711d56ef58c555c2e6a8ad426e8.tar.gz |
Add two new options "postfix-milter" and "sendmail-milter". One of the
two must be used to determine whether this package is built for use
with Sendmail (the default) or Postfix. Use an appropriate user (either
"smmsp" or "postfix") in the two cases. This avoid permission problems
between Postfix and milter-greylist.
Bump package revision because of these changes.
Diffstat (limited to 'mail/milter-greylist/Makefile')
-rw-r--r-- | mail/milter-greylist/Makefile | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile index 5293aba1228..2f2a84ba25c 100644 --- a/mail/milter-greylist/Makefile +++ b/mail/milter-greylist/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.39 2009/01/19 06:16:38 obache Exp $ +# $NetBSD: Makefile,v 1.40 2009/03/08 15:54:26 tron Exp $ DISTNAME= milter-greylist-4.0.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= mail MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/ EXTRACT_SUFX= .tgz @@ -16,22 +16,22 @@ PKG_DESTDIR_SUPPORT= user-destdir MAKE_JOBS_SAFE= no GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --with-user=smmsp - BUILD_TARGET= milter-greylist -PKG_GROUPS= smmsp -PKG_USERS= smmsp:smmsp -PKG_GECOS.smmsp= Sendmail Message Submission Program - -RCD_SCRIPTS= milter-greylist +RCD_SCRIPTS= milter-greylist .include "options.mk" +CONFIGURE_ARGS+= --with-user=${MILTER_USER} +BUILD_DEFS+= MILTER_USER +FILES_SUBST+= MILTER_USER=${MILTER_USER:Q} + +INSTALLATION_DIRS+= share/doc/milter-greylist +INSTALLATION_DIRS+= share/examples/milter-greylist + post-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/milter-greylist - ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/milter-greylist - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/milter-greylist + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/milter-greylist ${INSTALL_DATA} ${WRKSRC}/greylist.conf \ ${DESTDIR}${PREFIX}/share/examples/milter-greylist |