aboutsummaryrefslogtreecommitdiffstats
path: root/security/amavisd-new
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2007-03-31 05:52:10 +0800
committergabor <gabor@FreeBSD.org>2007-03-31 05:52:10 +0800
commit7b5ff7a7f4a3fe04d0c74afd2603e1aed1a62100 (patch)
tree555dcd1cf2bcea5a1020e1286fb48ebe516b1a9a /security/amavisd-new
parent2dd23ab4942afc8a14b3317590a825e1cf74ccbc (diff)
downloadfreebsd-ports-gnome-7b5ff7a7f4a3fe04d0c74afd2603e1aed1a62100.tar.gz
freebsd-ports-gnome-7b5ff7a7f4a3fe04d0c74afd2603e1aed1a62100.tar.zst
freebsd-ports-gnome-7b5ff7a7f4a3fe04d0c74afd2603e1aed1a62100.zip
- Remove explicit -l from command line options of p0fanalyzer in the rc.d
script and now amavis_p0f_daemon_flags defaults to -l, which was empty so far - Bump PORTREVISION
Diffstat (limited to 'security/amavisd-new')
-rw-r--r--security/amavisd-new/Makefile2
-rw-r--r--security/amavisd-new/files/amavis-p0fanalyzer.sh.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 30fae139b723..21daf9e08ef8 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -8,7 +8,7 @@
PORTNAME= amavisd-new
PORTVERSION= 2.4.5
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= http://www.ijs.si/software/amavisd/ \
diff --git a/security/amavisd-new/files/amavis-p0fanalyzer.sh.in b/security/amavisd-new/files/amavis-p0fanalyzer.sh.in
index ab2988629cbf..4ab419fa5c1b 100644
--- a/security/amavisd-new/files/amavis-p0fanalyzer.sh.in
+++ b/security/amavisd-new/files/amavis-p0fanalyzer.sh.in
@@ -9,6 +9,7 @@ amavis_p0fanalyzer_enable="${amavis_p0fanalyzer_enable-NO}"
amavis_p0fanalyzer_p0f_filter="${amavis_p0fanalyzer_p0f_filter-"tcp dst port 25"}"
amavis_p0fanalyzer_pidfile1="${amavis_p0fanalyzer_pidfile1-/var/run/p0fanalyzer1.pid}"
amavis_p0fanalyzer_pidfile2="${amavis_p0fanalyzer_pidfile2-/var/run/p0fanalyzer2.pid}"
+amavis_p0f_daemon_flags="${amavis_p0f_daemon_flags--l}"
amavis_p0fanalyzer_flags="${amavis_p0fanalyzer_flags-2345}"
. /etc/rc.subr
@@ -23,7 +24,7 @@ p0fanalyzer_start() {
echo "Starting p0f-analyzer." && \
%%DAEMON%% ${amavis_p0fanalyzer_pidfile1} \
%%PREFIX%%/bin/p0f ${amavis_p0f_daemon_flags} \
- -l "${amavis_p0fanalyzer_p0f_filter}" 2>&1 | \
+ "${amavis_p0fanalyzer_p0f_filter}" 2>&1 | \
%%DAEMON%% ${amavis_p0fanalyzer_pidfile2} \
%%PREFIX%%/sbin/p0f-analyzer.pl ${amavis_p0fanalyzer_flags}
}