aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2011-01-17 14:33:14 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2011-01-17 14:33:14 +0000
commit268c3d2c035421c208e463e3c057502bf40ff77f (patch)
treeadb55019519720833374929a73898b354de240ff
parent0dc48da3b389eece6d6cfffbda81d80003a528cc (diff)
downloadports-268c3d2c035421c208e463e3c057502bf40ff77f.tar.gz
ports-268c3d2c035421c208e463e3c057502bf40ff77f.zip
- Make IPv6 support optional because it causes a delay on systems that
do not support it PR: ports/153431 Submitted by: Michael Scheidell <michael.scheidell@secnap.com> Feature safe: yes
Notes
Notes: svn path=/head/; revision=267910
-rw-r--r--security/amavisd-new/Makefile12
-rw-r--r--security/amavisd-new/distinfo1
2 files changed, 8 insertions, 5 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index e6a88564d12e..3ac6e96bfab8 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -8,7 +8,7 @@
PORTNAME= amavisd-new
PORTVERSION= 2.6.4
-PORTREVISION= 9
+PORTREVISION= 10
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= http://www.ijs.si/software/amavisd/ \
@@ -23,7 +23,6 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Unix/Syslog.pm:${PORTSDIR}/sysutils/p5-Un
${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \
p5-Convert-UUlib>=1.08,1:${PORTSDIR}/converters/p5-Convert-UUlib \
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
- ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6 \
p5-Net-Server>=0.93:${PORTSDIR}/net/p5-Net-Server \
p5-Mail-DKIM>=0.33:${PORTSDIR}/mail/p5-Mail-DKIM
@@ -43,7 +42,8 @@ AMAVISDIR?= /var/amavis
AMAVISQUARANTINE?= /var/virusmails
DAEMON?= /usr/sbin/daemon -p
-OPTIONS= BDB "Use BerkeleyDB for nanny/cache/snmp" on \
+OPTIONS= IPV6 "Support IPv6" off \
+ BDB "Use BerkeleyDB for nanny/cache/snmp" on \
SNMP "Install amavisd snmp subagent" off \
SQLITE "Use SQLite for lookups" off \
MYSQL "Use MySQL for lookups/logging/quarantine" off \
@@ -89,9 +89,13 @@ PLIST_SUB+= AMAVIS_NOAMAVIS=${AMAVIS_NOAMAVIS} \
USE_RC_SUBR+= amavisd.sh
+.if defined(WITH_IPV6)
+RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-Socket-INET6
+.endif
+
.if defined(WITH_SNMP) && defined(WITH_BDB)
USE_RC_SUBR+= amavisd-snmp.sh
-RUN_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP
+RUN_DEPENDS+= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP
.endif
.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 1eacd0780fa8..6f8fbcd83696 100644
--- a/security/amavisd-new/distinfo
+++ b/security/amavisd-new/distinfo
@@ -1,3 +1,2 @@
-MD5 (amavisd-new-2.6.4.tar.gz) = 03d31657f14cd64c1cb38786214234b4
SHA256 (amavisd-new-2.6.4.tar.gz) = 40fe1b655deb934c7a655a6b5b430df268ec9ac80754b120795bc45d4ae769ef
SIZE (amavisd-new-2.6.4.tar.gz) = 947596