aboutsummaryrefslogtreecommitdiffstats
path: root/security/amavisd-new/files/amavis-p0fanalyzer.in
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2012-10-14 02:04:57 +0800
committergabor <gabor@FreeBSD.org>2012-10-14 02:04:57 +0800
commit6daf14ca918beb26dccbca0f50cb1fe415cc12fc (patch)
tree0136af19928c7102a1fbc9e1e93d0e26e7187544 /security/amavisd-new/files/amavis-p0fanalyzer.in
parent7564974931a0d7ad399b3f6e3633acb417291981 (diff)
downloadfreebsd-ports-gnome-6daf14ca918beb26dccbca0f50cb1fe415cc12fc.tar.gz
freebsd-ports-gnome-6daf14ca918beb26dccbca0f50cb1fe415cc12fc.tar.zst
freebsd-ports-gnome-6daf14ca918beb26dccbca0f50cb1fe415cc12fc.zip
- Let amavisd_ram respect tmpfs [1]
- Fix amavis-p0fanalyzer startup script [2] - Bump PORTREVISION PR: ports/169660 [1], ports/172182 [2] Submitted by: Helmut Schneider <jumper99@gmx.de> [1], Rouslan Iskhakov <rouslan@rshell.net> [2] Feature safe: yes
Diffstat (limited to 'security/amavisd-new/files/amavis-p0fanalyzer.in')
-rw-r--r--security/amavisd-new/files/amavis-p0fanalyzer.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/security/amavisd-new/files/amavis-p0fanalyzer.in b/security/amavisd-new/files/amavis-p0fanalyzer.in
index d7009711bcfc..19e19cee95f6 100644
--- a/security/amavisd-new/files/amavis-p0fanalyzer.in
+++ b/security/amavisd-new/files/amavis-p0fanalyzer.in
@@ -9,7 +9,6 @@ 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,8 +22,7 @@ stop_cmd=p0fanalyzer_stop
p0fanalyzer_start() {
echo "Starting p0f-analyzer." && \
%%DAEMON%% ${amavis_p0fanalyzer_pidfile1} \
- %%PREFIX%%/bin/p0f ${amavis_p0f_daemon_flags} \
- "${amavis_p0fanalyzer_p0f_filter}" 2>&1 | \
+ %%PREFIX%%/bin/p0f "${amavis_p0fanalyzer_p0f_filter}" 2>&1 | \
%%DAEMON%% ${amavis_p0fanalyzer_pidfile2} \
%%PREFIX%%/sbin/p0f-analyzer.pl ${amavis_p0fanalyzer_flags}
}