diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-31 23:11:27 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-31 23:11:27 +0000 |
commit | a5815e3fe5a5d400426820fdeb3e178a1394820b (patch) | |
tree | 65db3eb8f3c53a98c393d4b098e24e3dcdec6bb0 /mail/milter-greylist | |
parent | 188824326082a17678e14b3593ecbe226daadfd6 (diff) | |
download | ports-a5815e3fe5a5d400426820fdeb3e178a1394820b.tar.gz ports-a5815e3fe5a5d400426820fdeb3e178a1394820b.zip |
Notes
Diffstat (limited to 'mail/milter-greylist')
-rw-r--r-- | mail/milter-greylist/Makefile | 1 | ||||
-rw-r--r-- | mail/milter-greylist/pkg-plist | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile index b58a61a47362..10567ed8dc38 100644 --- a/mail/milter-greylist/Makefile +++ b/mail/milter-greylist/Makefile @@ -103,6 +103,7 @@ do-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/greylist.conf ${STAGEDIR}${EXAMPLESDIR}/ .endif + @${MKDIR} ${STAGEDIR}/var/milter-greylist .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" diff --git a/mail/milter-greylist/pkg-plist b/mail/milter-greylist/pkg-plist index 09dd29b26207..d3ede167bda6 100644 --- a/mail/milter-greylist/pkg-plist +++ b/mail/milter-greylist/pkg-plist @@ -2,8 +2,4 @@ libexec/milter-greylist man/man5/greylist.conf.5.gz man/man8/milter-greylist.8.gz etc/mail/greylist.conf.sample -@exec /bin/mkdir -p /var/milter-greylist -@exec /usr/sbin/chown -R mailnull:mailnull /var/milter-greylist -@exec [ -f /var/db/milter-greylist/greylist.db ] && printf '\n\n************************************************************\n************************************************************\n** **\n** WARNING **\n** **\n** The default dump file location has changed. **\n** Please move greylist.db from /var/db/milter-greylist/ **\n** to /var/milter-greylist/ and update your greylist.conf **\n** accordingly. **\n** **\n************************************************************\n************************************************************\n' ||true -@dirrmtry etc/mail -@unexec [ -f /var/milter-greylist/greylist.db ] || rmdir /var/milter-greylist || true +@dir(mailnull,mailnull,) /var/milter-greylist |