aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2018-08-15 21:30:40 +0800
committerflo <flo@FreeBSD.org>2018-08-15 21:30:40 +0800
commitff003d52a73c2194da4e1f22c178da0f93f83ace (patch)
tree6a319f80e848eba75f1828727b0cada03a0bec98 /security
parent01fafda1dd04f68961614d95c2eb9d37adcbdae4 (diff)
downloadfreebsd-ports-gnome-ff003d52a73c2194da4e1f22c178da0f93f83ace.tar.gz
freebsd-ports-gnome-ff003d52a73c2194da4e1f22c178da0f93f83ace.tar.zst
freebsd-ports-gnome-ff003d52a73c2194da4e1f22c178da0f93f83ace.zip
Don't warn when using ramdisk, according to the submitter who discussed it
with kib, the warning is no longer appropriate. Reported by: Willem Jan Withagen <wjw@digiware.nl>
Diffstat (limited to 'security')
-rw-r--r--security/amavisd-new/Makefile2
-rw-r--r--security/amavisd-new/files/amavisd.in4
2 files changed, 1 insertions, 5 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 1905818b19e9..b263255fe678 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -2,7 +2,7 @@
PORTNAME= amavisd-new
PORTVERSION= 2.11.0
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= security
MASTER_SITES= http://www.ijs.si/software/amavisd/ \
diff --git a/security/amavisd-new/files/amavisd.in b/security/amavisd-new/files/amavisd.in
index 9b2fef94772e..1194387ae460 100644
--- a/security/amavisd-new/files/amavisd.in
+++ b/security/amavisd-new/files/amavisd.in
@@ -38,10 +38,6 @@ start_precmd()
{
rm -rf %%AMAVISDIR%%/tmp/* %%AMAVISDIR%%/tmp/.* 2>/dev/null || true
if [ ${amavisd_ram} ];then
- echo "========================================================"
- echo "WARNING: using ramdisk is reported to be unstable and"
- echo "thus it is highly recommended to be turned off."
- echo "========================================================"
df %%AMAVISDIR%%/tmp | grep -E '^(/dev/md|tmpfs)' > /dev/null
if [ $? -eq 1 ]; then
mdmfs -s ${amavisd_ram} -p 750 -w %%AMAVISUSER%%:%%AMAVISGROUP%% md %%AMAVISDIR%%/tmp || true