aboutsummaryrefslogtreecommitdiff
path: root/security/amavisd-new
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-03-30 21:52:10 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-03-30 21:52:10 +0000
commit86d1694eefc1245d2000ce9cae5a7b6cf7a36ab6 (patch)
tree302cdf41c77f044923c3b0950de8f026bfb3dd83 /security/amavisd-new
parent2eb3c07b9e43ca510a100acf620e80a911f6ecb4 (diff)
downloadports-86d1694eefc1245d2000ce9cae5a7b6cf7a36ab6.tar.gz
ports-86d1694eefc1245d2000ce9cae5a7b6cf7a36ab6.zip
Notes
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}
}