aboutsummaryrefslogtreecommitdiff
path: root/security/amavisd-new
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2010-07-11 17:42:37 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2010-07-11 17:42:37 +0000
commitaa087f2cd4c9b72d2e9cf9b203fb4823672a13e5 (patch)
tree07c5302ba859df98c159fc699ea2697b8eb83668 /security/amavisd-new
parentdaf7cef508101acad872ffa1480a6bdeed947f08 (diff)
downloadports-aa087f2cd4c9b72d2e9cf9b203fb4823672a13e5.tar.gz
ports-aa087f2cd4c9b72d2e9cf9b203fb4823672a13e5.zip
Notes
Diffstat (limited to 'security/amavisd-new')
-rw-r--r--security/amavisd-new/Makefile9
-rw-r--r--security/amavisd-new/files/amavisd.sh.in2
-rw-r--r--security/amavisd-new/files/pkg-message.in2
3 files changed, 8 insertions, 5 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 8460459c56c4..bb4bd82a4693 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -8,7 +8,7 @@
PORTNAME= amavisd-new
PORTVERSION= 2.6.4
-PORTREVISION= 6
+PORTREVISION= 7
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= http://www.ijs.si/software/amavisd/ \
@@ -106,7 +106,6 @@ AMAVIS_NOMILTER="@comment "
.endif
.if defined(WITH_BDB)
-USE_BDB= 42
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/BerkeleyDB.pm:${PORTSDIR}/databases/p5-BerkeleyDB
.endif
@@ -155,8 +154,12 @@ RUN_DEPENDS+= file>=4.21:${PORTSDIR}/sysutils/file
# not suit rar.
.if defined(WITH_RAR)
-IA32_BINARY_PORT= yes
+# support for archivers/rar is broken on ia64
+.if ${ARCH} == "i386" || ${ARCH} == "amd64"
RUN_DEPENDS+= ${LOCALBASE}/bin/rar:${PORTSDIR}/archivers/rar
+.else
+IGNORE= archviers/rar is a 32-bit binary port and is not compatible with ${ARCH}
+.endif
.endif
.if defined(WITH_UNRAR)
diff --git a/security/amavisd-new/files/amavisd.sh.in b/security/amavisd-new/files/amavisd.sh.in
index 613f7f490a47..c885608169d3 100644
--- a/security/amavisd-new/files/amavisd.sh.in
+++ b/security/amavisd-new/files/amavisd.sh.in
@@ -37,7 +37,7 @@ if [ ${amavisd_ram} ];then
echo "========================================================"
df %%AMAVISDIR%%/tmp | grep '^/dev/md' > /dev/null
if [ $? -eq 1 ];then
- mdmfs -M -s ${amavisd_ram} -p 750 -w %%AMAVISUSER%%:%%AMAVISGROUP%% md %%AMAVISDIR%%/tmp || true
+ mdmfs -s ${amavisd_ram} -p 750 -w %%AMAVISUSER%%:%%AMAVISGROUP%% md %%AMAVISDIR%%/tmp || true
fi
fi
}
diff --git a/security/amavisd-new/files/pkg-message.in b/security/amavisd-new/files/pkg-message.in
index 4340dec4f1d6..ea45433c5df9 100644
--- a/security/amavisd-new/files/pkg-message.in
+++ b/security/amavisd-new/files/pkg-message.in
@@ -17,7 +17,7 @@
amavisd_pidfile="/var/amavis/amavisd.pid"
- Optionally enable amavisd tmp ram disk with: (DISCOURAGED!)
+ Optionally enable amavisd tmp ram disk with:
amavisd_ram="512m"