Page MenuHomeFreeBSD

D17090.id50257.diff
No OneTemporary

D17090.id50257.diff

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
+ 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: www/owncloud/Makefile
===================================================================
--- www/owncloud/Makefile
+++ www/owncloud/Makefile
@@ -3,6 +3,7 @@
PORTNAME= owncloud
PORTVERSION= 10.0.10
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://download.owncloud.org/community/
Index: www/owncloud/files/pkg-message.in
===================================================================
--- www/owncloud/files/pkg-message.in
+++ www/owncloud/files/pkg-message.in
@@ -16,3 +16,19 @@
</Directory>
And restart Apache.
+
+********************************************************************
+The owncloud newsyslog.conf(5) filename has been changed:
+ OLD: ${PREFIX}/etc/newsyslog.conf.d/owncloud
+ NEW: ${PREFIX}/etc/newsyslog.conf.d/owncloud.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: www/owncloud/pkg-install
===================================================================
--- /dev/null
+++ www/owncloud/pkg-install
@@ -0,0 +1,20 @@
+#! /bin/sh
+# ex:sw=4 sts=4
+
+move_newsyslog_conf() {
+ oldfile=${PKG_PREFIX}/etc/newsyslog.conf.d/owncloud
+ newfile=${PKG_PREFIX}/etc/newsyslog.conf.d/owncloud.conf
+ if [ -f ${oldfile} ]; then
+ echo Migrating ${oldfile} to ${newfile}
+ mv -v ${oldfile} ${newfile}
+ fi
+}
+
+
+########################################################################
+
+case $2 in
+ POST-INSTALL)
+ move_newsyslog_conf
+ ;;
+esac
Index: www/owncloud/pkg-plist
===================================================================
--- www/owncloud/pkg-plist
+++ www/owncloud/pkg-plist
@@ -1,5 +1,5 @@
@dir etc/newsyslog.conf.d
-@sample %%EXAMPLESDIR%%/newsyslog etc/newsyslog.conf.d/owncloud
+@sample %%EXAMPLESDIR%%/newsyslog etc/newsyslog.conf.d/owncloud.conf
%%WWWDIR%%/.htaccess
%%WWWDIR%%/.user.ini
%%WWWDIR%%/AUTHORS

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 24, 3:10 PM (19 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28975402
Default Alt Text
D17090.id50257.diff (3 KB)

Event Timeline