mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
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
This commit is contained in:
parent
4f6290bfcc
commit
5de0996e47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371947
@ -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=')"
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user