FreeBSD Bugzilla – Attachment 182862 Details for
Bug 219503
www/owncloud: rotate log file (and cleanup deprecated bits)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
owncloud.diff (text/plain), 2.31 KB, created by
Mathieu Arnold
on 2017-05-24 14:16:24 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Mathieu Arnold
Created:
2017-05-24 14:16:24 UTC
Size:
2.31 KB
patch
obsolete
>base commit: r441569 >diff --git www/owncloud/Makefile www/owncloud/Makefile >index c4ac6f5..36195fb 100644 >--- www/owncloud/Makefile >+++ www/owncloud/Makefile >@@ -11,11 +11,10 @@ COMMENT= Personal cloud which runs on your own server > LICENSE= AGPLv3 > LICENSE_FILE= ${WRKSRC}/COPYING > >-USES= cpe tar:bzip2 ssl >+USES= cpe tar:bzip2 ssl php:web > USE_PHP= bz2 ctype curl dom fileinfo filter gd hash iconv intl json \ > mbstring pdo posix session simplexml xml xmlreader xmlwriter \ > xsl wddx zip zlib >-WANT_PHP_WEB= yes > > OWNCLOUD_USERNAME?= ${WWWOWN} > OWNCLOUD_GROUPNAME?= ${WWWGRP} >@@ -23,7 +22,7 @@ OWNCLOUD_GROUPNAME?= ${WWWGRP} > WRKSRC= ${WRKDIR}/${PORTNAME} > NO_BUILD= yes > NO_ARCH= yes >-SUB_FILES= pkg-message >+SUB_FILES= pkg-message newsyslog > PLIST_SUB= OWNCLOUD_USERNAME=${OWNCLOUD_USERNAME} \ > OWNCLOUD_GROUPNAME=${OWNCLOUD_GROUPNAME} > >@@ -36,7 +35,8 @@ EXIF_DESC= Image rotation support > > EXIF_USE= PHP=exif > LDAP_USE= PHP=ldap >-MYSQL_USE= MYSQL=client PHP=pdo_mysql >+MYSQL_USE= PHP=pdo_mysql >+MYSQL_USES= mysql > PGSQL_USES= pgsql > PGSQL_USE= PHP=pdo_pgsql,pgsql > SQLITE_USE= PHP=pdo_sqlite,sqlite3 >@@ -48,5 +48,7 @@ do-install: > @cd ${WRKSRC} && \ > ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} > @${MKDIR} ${STAGEDIR}${WWWDIR}/data >+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/ >+ ${INSTALL_DATA} ${WRKDIR}/newsyslog ${STAGEDIR}${EXAMPLESDIR} > > .include <bsd.port.mk> >diff --git www/owncloud/files/newsyslog.in www/owncloud/files/newsyslog.in >new file mode 100644 >index 0000000..b686abd >--- /dev/null >+++ www/owncloud/files/newsyslog.in >@@ -0,0 +1,2 @@ >+# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] >+%%WWWDIR%%/data/owncloud.log www:www 640 10 1000 * XCBN >diff --git www/owncloud/pkg-plist www/owncloud/pkg-plist >index f9a876c..4cfc1a12 100644 >--- www/owncloud/pkg-plist >+++ www/owncloud/pkg-plist >@@ -1,3 +1,5 @@ >+@dir etc/newsyslog.conf.d >+@sample %%EXAMPLESDIR%%/newsyslog etc/newsyslog.conf.d/owncloud > %%WWWDIR%%/.htaccess > %%WWWDIR%%/.user.ini > %%WWWDIR%%/AUTHORS >@@ -10612,7 +10614,7 @@ > %%WWWDIR%%/lib/public/User/IProvidesQuotaBackend.php > %%WWWDIR%%/lib/public/UserInterface.php > %%WWWDIR%%/lib/public/Util.php >-%%WWWDIR%%/occ >+@(,,0755) %%WWWDIR%%/occ > %%WWWDIR%%/ocs-provider/index.php > %%WWWDIR%%/ocs/providers.php > %%WWWDIR%%/ocs/routes.php
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 219503
: 182862