aboutsummaryrefslogtreecommitdiff
path: root/security/amavisd-new
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-09-17 16:10:42 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-09-17 16:10:42 +0000
commita9385c3f1b14d3dc117c40df484b83e27722fe56 (patch)
tree42616913aab50f32639027ea6a169fc8e8035933 /security/amavisd-new
parented06688b5c240eee4a896557d9d2571952f50f49 (diff)
downloadports-a9385c3f1b14d3dc117c40df484b83e27722fe56.tar.gz
ports-a9385c3f1b14d3dc117c40df484b83e27722fe56.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.in (renamed from security/amavisd-new/files/p0fanalyzer.sh)4
2 files changed, 3 insertions, 3 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index b29bdae80547..6bec20fdca81 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -131,7 +131,7 @@ RUN_DEPENDS+= ${SITE_PERL}/Mail/SpamAssassin.pm:${PORTSDIR}/mail/p5-Mail-SpamAss
.if defined(WITH_P0F)
RUN_DEPENDS+= ${LOCALBASE}/bin/p0f:${PORTSDIR}/net-mgmt/p0f
-USE_RC_SUBR+= p0fanalyzer.sh
+USE_RC_SUBR+= amavis-p0fanalyzer.sh
.else
AMAVIS_NOP0F= "@comment "
.endif
diff --git a/security/amavisd-new/files/p0fanalyzer.sh b/security/amavisd-new/files/amavis-p0fanalyzer.sh.in
index 77bb4a1f5042..fd05f8831785 100644
--- a/security/amavisd-new/files/p0fanalyzer.sh
+++ b/security/amavisd-new/files/amavis-p0fanalyzer.sh.in
@@ -19,9 +19,9 @@ stop_cmd=p0fanalyzer_stop
p0fanalyzer_start() {
checkyesno p0fanalyzer_enable && echo "Starting p0f-analyzer." && \
/usr/sbin/daemon -p /var/run/p0fanalyzer1.pid \
- /usr/local/bin/p0f -i bge0 -l 'tcp dst port 25' 2>&1 | \
+ %%PREFIX%%/bin/p0f -i bge0 -l 'tcp dst port 25' 2>&1 | \
/usr/sbin/daemon -p /var/run/p0fanalyzer2.pid \
- /usr/local/sbin/p0f-analyzer.pl 2345
+ %%PREFIX%%/sbin/p0f-analyzer.pl 2345
}
p0fanalyzer_stop() {