Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176829216
D17088.1793445409.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
4 KB
Referenced Files
None
Subscribers
None
D17088.1793445409.diff
View Options
Index: UPDATING
===================================================================
--- UPDATING
+++ UPDATING
@@ -5,6 +5,24 @@
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20181110:
+ AFFECTS: users of sysutils/munin-master, sysutils/munin-node, www/owncloud, mail/mailman
+ AUTHOR: woodsb02@FreeBSD.org
+
+ The newsyslog.conf(5) filename installed by the port has been changed:
+ OLD: ${PREFIX}/etc/newsyslog.conf.d/${PORTNAME}
+ NEW: ${PREFIX}/etc/newsyslog.conf.d/${PORTNAME}.conf
+
+ Any file found at the old location has been automatically moved to
+ the new location. This was done to ensure log rotation continued to
+ work after change r340318 made to FreeBSD base, where the default
+ newsyslog configuration now only includes filenames that end with
+ '.conf' and do not begin with '.'.
+
+ If you use provisioning/configuration management tools to create or
+ edit this file, you will need to change their configuration to use
+ the new filename.
+
20181109
AFFECTS: users of security/ossec-hids-server
AUTHOR: dominik.lisiak@bemsoft.pl
Index: mail/mailman/Makefile
===================================================================
--- mail/mailman/Makefile
+++ mail/mailman/Makefile
@@ -3,7 +3,7 @@
PORTNAME= mailman
DISTVERSION= 2.1.29
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES= GNU \
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
Index: mail/mailman/files/pkg-install.in
===================================================================
--- mail/mailman/files/pkg-install.in
+++ mail/mailman/files/pkg-install.in
@@ -30,6 +30,15 @@
_EOF
}
+move_newsyslog_conf() {
+ oldfile=${PKG_PREFIX}/etc/newsyslog.conf.d/mailman.newsyslog
+ newfile=${PKG_PREFIX}/etc/newsyslog.conf.d/mailman.conf
+ if [ -f ${oldfile} ]; then
+ echo Migrating ${oldfile} to ${newfile}
+ mv -v ${oldfile} ${newfile}
+ fi
+}
+
set -e
MYTMP="$(mktemp -d "${TMPDIR-/tmp}/mminstall.XXXXXXXXXX")"
trap "rm -rf \"$MYTMP\"" EXIT
@@ -39,6 +48,8 @@
echo "---> Starting post-install script"
LC_ALL=C
export LC_ALL
+
+ move_newsyslog_conf
# fix up permissions - this is under investigation; pkg or libarchive
# goof up the group writable and/or setgid bits
Index: mail/mailman/files/pkg-message.in
===================================================================
--- mail/mailman/files/pkg-message.in
+++ mail/mailman/files/pkg-message.in
@@ -63,3 +63,19 @@
have a logrotate process that creates new log files instead of letting
Mailman create them, you will need to address that. (LP: #1327404)
----------------------------------------------------------------------------
+
+********************************************************************
+The mailman newsyslog.conf(5) filename has been changed:
+ OLD: ${PREFIX}/etc/newsyslog.conf.d/mailman.newsyslog
+ NEW: ${PREFIX}/etc/newsyslog.conf.d/mailman.conf
+
+Any file found at the old location has been automatically moved to
+the new location. This was done to ensure log rotation continued to
+work after change r340318 made to FreeBSD base, where the default
+newsyslog configuration now only includes filenames that end with
+'.conf' and do not begin with '.'.
+
+If you use provisioning/configuration management tools to create or
+edit this file, you will need to change their configuration to use
+the new filename.
+********************************************************************
Index: mail/mailman/pkg-plist
===================================================================
--- mail/mailman/pkg-plist
+++ mail/mailman/pkg-plist
@@ -1,7 +1,7 @@
@postunexec if cmp -s %D/%%MMDIR%%/Mailman/mm_cfg.py %D/%%MMDIR%%/Mailman/mm_cfg.py.dist; then rm -f %D/%%MMDIR%%/Mailman/mm_cfg.py; fi
@postunexec rm -f %D/%%MMDIR%%/Mailman/mm_cfg.pyc
@dir etc/newsyslog.conf.d
-@sample %%EXAMPLESDIR%%/mailman.newsyslog.sample etc/newsyslog.conf.d/mailman.newsyslog
+@sample %%EXAMPLESDIR%%/mailman.newsyslog.sample etc/newsyslog.conf.d/mailman.conf
%%IMGDIR%%/mailman-large.jpg
%%IMGDIR%%/gnu-head-tiny.jpg
%%IMGDIR%%/mailman.jpg
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 31, 11:16 AM (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41261318
Default Alt Text
D17088.1793445409.diff (4 KB)
Attached To
Mode
D17088: mail/mailman: Use .conf suffix for /usr/local/etc/newsyslog.conf.d/
Attached
Detach File
Event Timeline