aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/mailman/Makefile2
-rw-r--r--mail/mailman/files/pkg-install.in5
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile
index f210a2b28822..70df9d161474 100644
--- a/mail/mailman/Makefile
+++ b/mail/mailman/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mailman
DISTVERSION= 2.1.26
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= GNU \
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
diff --git a/mail/mailman/files/pkg-install.in b/mail/mailman/files/pkg-install.in
index 8aa1bc79a1fa..5d75ccce52c6 100644
--- a/mail/mailman/files/pkg-install.in
+++ b/mail/mailman/files/pkg-install.in
@@ -84,6 +84,11 @@ POST-INSTALL)
echo "---> Running update"
+ if test -r /var/tmp/last_mailman_version ; then
+ mkdir -p "%%MAILMANDIR%%/data"
+ mv -f /var/tmp/last_mailman_version "%%MAILMANDIR%%/data"
+ fi
+
LC_ALL=C "%%MAILMANDIR%%/bin/update"
echo "---> Checking crontab(5) file for user \"%%USER%%\""