svn commit: r380195 - head/www/tt-rss
Thierry Thomas
thierry at FreeBSD.org
Sun Mar 1 14:50:29 UTC 2015
Author: thierry
Date: Sun Mar 1 14:50:28 2015
New Revision: 380195
URL: https://svnweb.freebsd.org/changeset/ports/380195
QAT: https://qat.redports.org/buildarchive/r380195/
Log:
Changed config.php-dist into config.php.sample.
PR: ports/197045
Submitted by: yuri (at) rawbw.com
Modified:
head/www/tt-rss/Makefile
head/www/tt-rss/pkg-plist
Modified: head/www/tt-rss/Makefile
==============================================================================
--- head/www/tt-rss/Makefile Sun Mar 1 14:34:57 2015 (r380194)
+++ head/www/tt-rss/Makefile Sun Mar 1 14:50:28 2015 (r380195)
@@ -94,4 +94,7 @@ do-install:
${TOUCH} ${STAGEDIR}${WWWDIR}/icons/.empty
${INSTALL_DATA} ${WRKDIR}/httpd-tt-rss.conf ${STAGEDIR}${DATADIR}
+post-install:
+ ${MV} ${STAGEDIR}${WWWDIR}/config.php-dist ${STAGEDIR}${WWWDIR}/config.php.sample
+
.include <bsd.port.mk>
Modified: head/www/tt-rss/pkg-plist
==============================================================================
--- head/www/tt-rss/pkg-plist Sun Mar 1 14:34:57 2015 (r380194)
+++ head/www/tt-rss/pkg-plist Sun Mar 1 14:50:28 2015 (r380195)
@@ -53,7 +53,9 @@
%%WWWDIR%%/classes/pref/users.php
%%WWWDIR%%/classes/rpc.php
%%WWWDIR%%/classes/ttrssmailer.php
-%%WWWDIR%%/config.php-dist
+ at mode 0400
+ at sample %%WWWDIR%%/config.php.sample
+ at mode
%%WWWDIR%%/css/cdm.css
%%WWWDIR%%/css/dijit.css
%%WWWDIR%%/css/layout.css
@@ -2392,8 +2394,6 @@
%%WWWDIR%%/themes/.empty
%%WWWDIR%%/themes/default.css
%%WWWDIR%%/themes/night.css
- at exec [ -f %B/config.php ] || (cp %D/%F %B/config.php && chmod go-r %B/config.php && chown %%WWWOWN%% %B/config.php)
- at unexec if cmp -s %D/%%WWWDIR%%/config.php %D/%%WWWDIR%%/config.php-dist; then rm -f %D/%%WWWDIR%%/config.php; fi
@mode u=rx
%%WWWDIR%%/update.php
%%WWWDIR%%/update_daemon2.php
More information about the svn-ports-all
mailing list