aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2020-04-12 02:43:28 +0000
committerMatthias Andree <mandree@FreeBSD.org>2020-04-12 02:43:28 +0000
commit3a61ee38290ca77b8c46debef0bb53eb83d5bf05 (patch)
tree85b5f5441862ad8c618fafa29cb207c213861345 /mail
parent29dc44ba5ddc2e39c160fc210d6c3721d8f245d4 (diff)
downloadports-3a61ee38290ca77b8c46debef0bb53eb83d5bf05.tar.gz
ports-3a61ee38290ca77b8c46debef0bb53eb83d5bf05.zip
MFH: r531475 r531476 r531477 r531478
dns/dnsmasq: repair damage from UNAUTHORIZED UCL conversion of pkg-message The pkg-message contains a security note that is necessary on new installs and on updates alike. Since per the porter's handbook, the UCL does not support enumeration of types, and this is not relevant on removal, the UCL change must be reverted. While here, remove formatting. Failure inducing commit: |------------------------------------------------------------------------ |r508835 | mat | 2019-08-13 18:01:59 +0200 (Tue, 13 Aug 2019) | 2 lines | |Convert to UCL & cleanup pkg-message (categories d) | |------------------------------------------------------------------------ NOTE: The UCL conversion of files/pkg-message.in was not authorized and damaging and no heads-up was sent to the maintainer. portmgr@ MUST act more carefully with sweeping changes and hand them out for review first. dns/dnsmasq-devel: synch non-UCL pkg-message.in e2fsprogs, rawtherapee: Repair more UCL pkg-message conversion errors. Both pkg-message texts are relevant for updates. Reverting this part of UNAUTHORIZED commits, and bump PORTREVISION. Clean up pkg-message. Failure-inducing commits: ------------------------------------------------------------------------ r508837 | mat | 2019-08-13 18:03:11 +0200 (Tue, 13 Aug 2019) | 2 lines Convert to UCL & cleanup pkg-message (categories e-g) ------------------------------------------------------------------------ r508909 | mat | 2019-08-14 14:16:12 +0200 (Wed, 14 Aug 2019) | 2 lines Convert to UCL & cleanup pkg-message (categories s) ------------------------------------------------------------------------ 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) ------------------------------------------------------------------------ Approved by: ports-secteam@ (blanket, only changing pkg-message[.in])
Notes
Notes: svn path=/branches/2020Q2/; revision=531479
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: