diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2006-09-17 16:10:42 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2006-09-17 16:10:42 +0000 |
commit | a9385c3f1b14d3dc117c40df484b83e27722fe56 (patch) | |
tree | 42616913aab50f32639027ea6a169fc8e8035933 /security/amavisd-new | |
parent | ed06688b5c240eee4a896557d9d2571952f50f49 (diff) | |
download | ports-a9385c3f1b14d3dc117c40df484b83e27722fe56.tar.gz ports-a9385c3f1b14d3dc117c40df484b83e27722fe56.zip |
Notes
Diffstat (limited to 'security/amavisd-new')
-rw-r--r-- | security/amavisd-new/Makefile | 2 | ||||
-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() { |