View | Details | Raw Unified | Return to bug 197045 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (+4 lines)
Lines 94-97 Link Here
94
	${TOUCH} ${STAGEDIR}${WWWDIR}/icons/.empty
94
	${TOUCH} ${STAGEDIR}${WWWDIR}/icons/.empty
95
	${INSTALL_DATA} ${WRKDIR}/httpd-tt-rss.conf ${STAGEDIR}${DATADIR}
95
	${INSTALL_DATA} ${WRKDIR}/httpd-tt-rss.conf ${STAGEDIR}${DATADIR}
96
96
97
post-install:
98
	@${MV} ${STAGEDIR}${WWWDIR}/config.php-dist ${STAGEDIR}${WWWDIR}/config.php.sample && \
99
	${CHMOD} 0400 ${STAGEDIR}${WWWDIR}/config.php.sample
100
97
.include <bsd.port.mk>
101
.include <bsd.port.mk>
(-)pkg-plist (-3 / +1 lines)
Lines 53-59 Link Here
53
%%WWWDIR%%/classes/pref/users.php
53
%%WWWDIR%%/classes/pref/users.php
54
%%WWWDIR%%/classes/rpc.php
54
%%WWWDIR%%/classes/rpc.php
55
%%WWWDIR%%/classes/ttrssmailer.php
55
%%WWWDIR%%/classes/ttrssmailer.php
56
%%WWWDIR%%/config.php-dist
56
@sample %%WWWDIR%%/config.php.sample
57
%%WWWDIR%%/css/cdm.css
57
%%WWWDIR%%/css/cdm.css
58
%%WWWDIR%%/css/dijit.css
58
%%WWWDIR%%/css/dijit.css
59
%%WWWDIR%%/css/layout.css
59
%%WWWDIR%%/css/layout.css
Lines 2392-2399 Link Here
2392
%%WWWDIR%%/themes/.empty
2392
%%WWWDIR%%/themes/.empty
2393
%%WWWDIR%%/themes/default.css
2393
%%WWWDIR%%/themes/default.css
2394
%%WWWDIR%%/themes/night.css
2394
%%WWWDIR%%/themes/night.css
2395
@exec [ -f %B/config.php ] || (cp %D/%F %B/config.php && chmod go-r %B/config.php && chown %%WWWOWN%% %B/config.php)
2396
@unexec if cmp -s %D/%%WWWDIR%%/config.php %D/%%WWWDIR%%/config.php-dist; then rm -f %D/%%WWWDIR%%/config.php; fi
2397
@mode u=rx
2395
@mode u=rx
2398
%%WWWDIR%%/update.php
2396
%%WWWDIR%%/update.php
2399
%%WWWDIR%%/update_daemon2.php
2397
%%WWWDIR%%/update_daemon2.php

Return to bug 197045