summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-11-08 18:40:52 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-11-08 18:40:52 +0000
commit69ddf3ca485e29ab4cd58d942f94e3a863a31e2f (patch)
treee45a06658da2a0e38b60c509d91ac8f2bbaf1b5d /security
parent- Update to 1.5.10 (diff)
security/maia: fix to scan rar attachments
PR: 210138 Submitted by: ek@purplehat.org (maintainer) Reported by: stepan@zabreh.cz
Notes
Notes: svn path=/head/; revision=425757
Diffstat (limited to 'security')
-rw-r--r--security/maia/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/maia/Makefile b/security/maia/Makefile
index ca5585cb3200..b8ebb291fc7d 100644
--- a/security/maia/Makefile
+++ b/security/maia/Makefile
@@ -3,6 +3,7 @@
PORTNAME= maia
DISTVERSION= 1.0.4
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.purplehat.org/downloads/maia/
@@ -317,6 +318,7 @@ post-patch:
@${REINPLACE_CMD} -e "s|daemon_user = 'maia'|daemon_user = '${USERS}'|" \
-e "s|daemon_group = 'maia'|daemon_group = '${GROUPS}'|" \
-e "s|/var/lib/maia|${MAIAHOME}|" \
+ -e "s|'unrar'|'unrar v -c- -p- --'|" \
-e "s|DO_SYSLOG = 0|DO_SYSLOG = 1|" ${WRKSRC}/maiad.conf.dist
@${REINPLACE_CMD} -e "s|/etc/maia.conf|${ETCDIR}/maia.conf|" \