diff options
author | bapt <bapt@FreeBSD.org> | 2014-11-01 06:57:24 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-11-01 06:57:24 +0800 |
commit | acd49fbdc52ebce576055a7728afb3a4ea18e3b2 (patch) | |
tree | 1286561553f259b65e56c75b6422cf5903217ce5 /mail | |
parent | 57ed6e4e9db923c29aec011789099a53446a1671 (diff) | |
download | freebsd-ports-gnome-acd49fbdc52ebce576055a7728afb3a4ea18e3b2.tar.gz freebsd-ports-gnome-acd49fbdc52ebce576055a7728afb3a4ea18e3b2.tar.zst freebsd-ports-gnome-acd49fbdc52ebce576055a7728afb3a4ea18e3b2.zip |
Avoid @exec and keep track of directories
Allow packaging as a user
Bump portrevision as the plist was creating run/quarantine and the makefile was
creating quarantine
Diffstat (limited to 'mail')
-rw-r--r-- | mail/antivirus-milter/Makefile | 3 | ||||
-rw-r--r-- | mail/antivirus-milter/pkg-plist | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/antivirus-milter/Makefile b/mail/antivirus-milter/Makefile index 3e97b7501e38..eaf480274e64 100644 --- a/mail/antivirus-milter/Makefile +++ b/mail/antivirus-milter/Makefile @@ -2,7 +2,7 @@ PORTNAME= antivirus PORTVERSION= 3.30 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= dinoex @@ -49,7 +49,6 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/clamav.conf \ ${STAGEDIR}${PREFIX}/etc/antivirus.conf-clamav ${MKDIR} ${STAGEDIR}${ANTIVIRUS_DIR}/spool ${STAGEDIR}${ANTIVIRUS_DIR}/run ${STAGEDIR}${ANTIVIRUS_DIR}/quarantine - ${CHOWN} -R nobody:nobody ${STAGEDIR}${ANTIVIRUS_DIR}/ @${ECHO_MSG} "Add to your *.mc configfile:" @${ECHO_MSG} "INPUT_MAIL_FILTER(\`antivirus', \`S=local:${ANTIVIRUS_DIR}/antivirus.sock, F=')" diff --git a/mail/antivirus-milter/pkg-plist b/mail/antivirus-milter/pkg-plist index 4b58b0614423..ca5024cadc08 100644 --- a/mail/antivirus-milter/pkg-plist +++ b/mail/antivirus-milter/pkg-plist @@ -1,5 +1,6 @@ libexec/antivirus etc/antivirus.conf-dist etc/antivirus.conf-clamav -@exec mkdir -p %%ANTIVIRUS%%/spool %%ANTIVIRUS%%/run %%ANTIVIRUS%%/run/quarantine -@exec chown -R nobody:nobody %%ANTIVIRUS%%/ +@dir(nobody,nobody) %%ANTIVIRUS%%/spool +@dir(nobody,nobody) %%ANTIVIRUS%%/quarantine +@dir(nobody,nobody) %%ANTIVIRUS%%/run |