summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2020-04-12 02:39:52 +0000
committerMatthias Andree <mandree@FreeBSD.org>2020-04-12 02:39:52 +0000
commit0e08f2ef680c1e32fe4823f913a928d83175376c (patch)
tree11a768407dc1ce554c08dca1f73bb7d44ba419f6 /mail
parent327c7cebcb1545b3b4fd9ab8b35e60beb7d34b5c (diff)
downloadfreebsd-ports-0e08f2ef680c1e32fe4823f913a928d83175376c.zip
mail/mailman: repair incomplete UCL conversion of pkg-message.in
There are parts of the install message that are also relevant on updates, but were missed. Add them, and bump PORTREVISION. Failure-inducing commit: ------------------------------------------------------------------------ r508882 | mat | 2019-08-14 00:29:42 +0200 (Wed, 14 Aug 2019) | 2 lines onvert to UCL & cleanup pkg-message (categories l-m) ------------------------------------------------------------------------
Diffstat (limited to 'mail')
-rw-r--r--mail/mailman/Makefile3
-rw-r--r--mail/mailman/files/pkg-message.in18
2 files changed, 19 insertions, 2 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile
index d984f7435baf..09b1bda8f657 100644
--- a/mail/mailman/Makefile
+++ b/mail/mailman/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mailman
DISTVERSION= 2.1.29
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= mail
MASTER_SITES= GNU \
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
@@ -190,7 +190,6 @@ post-patch-HTDIG-on:
-e 's#/opt/www/htdig/bin#${LOCALBASE}/bin#' \
${WRKSRC}/Mailman/Cgi/remote?mmsearch
-
.if ${PORT_OPTIONS:MPOSTFIX}
pre-configure:
${ECHO} "MTA = 'Postfix'" >> ${WRKSRC}/Mailman/mm_cfg.py.dist.in
diff --git a/mail/mailman/files/pkg-message.in b/mail/mailman/files/pkg-message.in
index 16b66aa4c0cc..4b932441be04 100644
--- a/mail/mailman/files/pkg-message.in
+++ b/mail/mailman/files/pkg-message.in
@@ -56,6 +56,24 @@ Refer to %%LOCALBASE%%/etc/namazu/namazurc.sample.
EOM
}
{ type: upgrade
+ message <<EOM
+==========================================
+WARNING ATTENTION DANGER ATTENTION WARNING
+==========================================
+
+mail/mailman requires proper directory permissions to run; but due to
+pkg 1.4.1 or libarchive bugs, directory permissions can not be created
+properly.
+
+If you installed mailman with pkg -I, --no-script or --no-install-scripts,
+you MUST(!) run the post-install script now, as root:
+
+env "PKG_PREFIX=%%PREFIX%%" sh \
+ %%MAILMANDIR%%/bin/FreeBSD-post-install x POST-INSTALL
+
+EOM
+}
+{ type: upgrade
maximum_version: 2.1.18
message <<EOM
UPDATE INFORMATION FOR UPDATES OF 2.1.18/OLDER TO VERSION 2.1.19 AND NEWER: