diff options
author | erwin <erwin@FreeBSD.org> | 2006-11-27 20:55:21 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2006-11-27 20:55:21 +0800 |
commit | 572125493cee05233ae6b44504b254fd9c440235 (patch) | |
tree | ef851054884429c648f1b7e4bbb63163ed1152cc /security | |
parent | 521ef6e83ca4979f11679f94dec07151d14fbe0e (diff) | |
download | freebsd-ports-graphics-572125493cee05233ae6b44504b254fd9c440235.tar.gz freebsd-ports-graphics-572125493cee05233ae6b44504b254fd9c440235.tar.zst freebsd-ports-graphics-572125493cee05233ae6b44504b254fd9c440235.zip |
- Update to 2.4.4
- Don't quote amavis_p0f_daemon_flags in the p0f rc.d script [1]
- Don't use -p option of daemon on 4.X since it doesn't have such [1]
Requested by: Michael Scheidell <scheidell@secnap.net> [1]
PR: 105862
Submitted by: gabor (maintainer)
Diffstat (limited to 'security')
-rw-r--r-- | security/amavisd-new/Makefile | 12 | ||||
-rw-r--r-- | security/amavisd-new/distinfo | 6 | ||||
-rw-r--r-- | security/amavisd-new/files/amavis-p0fanalyzer.sh.in | 6 |
3 files changed, 15 insertions, 9 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile index 501670f0306..c35e726f7c9 100644 --- a/security/amavisd-new/Makefile +++ b/security/amavisd-new/Makefile @@ -7,8 +7,7 @@ # Based on amavisd ports makefile. PORTNAME= amavisd-new -PORTVERSION= 2.4.3 -PORTREVISION= 1 +PORTVERSION= 2.4.4 PORTEPOCH= 1 CATEGORIES= security MASTER_SITES= http://www.ijs.si/software/amavisd/ \ @@ -76,7 +75,8 @@ SUB_FILES= pkg-install pkg-deinstall pkg-message SUB_LIST+= AMAVISUSER=${AMAVISUSER} \ AMAVISGROUP=${AMAVISGROUP} \ AMAVISDIR=${AMAVISDIR} \ - AMAVISQUARANTINE=${AMAVISQUARANTINE} + AMAVISQUARANTINE=${AMAVISQUARANTINE} \ + DAEMON="${DAEMON}" PLIST_SUB+= AMAVIS_NOAMAVIS=${AMAVIS_NOAMAVIS} \ AMAVIS_NOMILTER=${AMAVIS_NOMILTER} \ @@ -84,6 +84,12 @@ PLIST_SUB+= AMAVIS_NOAMAVIS=${AMAVIS_NOAMAVIS} \ .include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 +DAEMON=/usr/sbin/daemon +.else +DAEMON=/usr/sbin/daemon -p +.endif + USE_RC_SUBR+= amavisd.sh .if !defined(WITH_MILTER) || (!exists(/usr/lib/libmilter.a) && !exists(${PREFIX}/lib/libmilter.a)) diff --git a/security/amavisd-new/distinfo b/security/amavisd-new/distinfo index efef4527278..2eb85d81ab2 100644 --- a/security/amavisd-new/distinfo +++ b/security/amavisd-new/distinfo @@ -1,3 +1,3 @@ -MD5 (amavisd-new-2.4.3.tar.gz) = 7c5f23b1cd523df31d10cf38150e8cea -SHA256 (amavisd-new-2.4.3.tar.gz) = ff71af590a0dc62bda558a037daceaea3b776d1ef7d0689ab0bfb582d436cf15 -SIZE (amavisd-new-2.4.3.tar.gz) = 876615 +MD5 (amavisd-new-2.4.4.tar.gz) = 08b009ca24dc3676293fc6b80db250a3 +SHA256 (amavisd-new-2.4.4.tar.gz) = b3a11ff3813e8b6c7cdf48c852c7bc672b2c0c6115d1b1dba896cd6358b67889 +SIZE (amavisd-new-2.4.4.tar.gz) = 887625 diff --git a/security/amavisd-new/files/amavis-p0fanalyzer.sh.in b/security/amavisd-new/files/amavis-p0fanalyzer.sh.in index 97a9f16ae6d..df48438d338 100644 --- a/security/amavisd-new/files/amavis-p0fanalyzer.sh.in +++ b/security/amavisd-new/files/amavis-p0fanalyzer.sh.in @@ -22,10 +22,10 @@ stop_cmd=p0fanalyzer_stop p0fanalyzer_start() { echo "Starting p0f-analyzer." && \ - /usr/sbin/daemon -p ${amavis_p0fanalyzer_pidfile1} \ - %%PREFIX%%/bin/p0f "${amavis_p0f_daemon_flags}" \ + %%DAEMON%% ${amavis_p0fanalyzer_pidfile1} \ + %%PREFIX%%/bin/p0f ${amavis_p0f_daemon_flags} \ -l "${amavis_p0fanalyzer_p0f_filter}" 2>&1 | \ - /usr/sbin/daemon -p ${amavis_p0fanalyzer_pidfile2} \ + %%DAEMON%% ${amavis_p0fanalyzer_pidfile2} \ %%PREFIX%%/sbin/p0f-analyzer.pl ${amavis_p0fanalyzer_flags} } |