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

Collapse All | Expand All

(-)Makefile (-4 / +1 lines)
Lines 61-70 Link Here
61
		${INSTALL_DATA} "{}" "${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/{}" \;
61
		${INSTALL_DATA} "{}" "${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/{}" \;
62
	${MKDIR} ${STAGEDIR}/${ETCDIR}
62
	${MKDIR} ${STAGEDIR}/${ETCDIR}
63
.for i in ${CONFIGS}
63
.for i in ${CONFIGS}
64
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}/${ETCDIR}/${i}.dist
64
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}/${ETCDIR}/${i}.sample
65
.if !exists(${ETCDIR}/${i})
66
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}/${ETCDIR}
67
.endif
68
.endfor
65
.endfor
69
	${MKDIR} ${STAGEDIR}/${WWWDIR}/report
66
	${MKDIR} ${STAGEDIR}/${WWWDIR}/report
70
	${MKDIR} ${STAGEDIR}/${WWWDIR}/tpl
67
	${MKDIR} ${STAGEDIR}/${WWWDIR}/tpl
(-)pkg-plist (-22 / +10 lines)
Lines 1-15 Link Here
1
@unexec if cmp -s %D/%%ETCDIR%%/group.cfg %D/%%ETCDIR%%/group.cfg.dist; then rm -f %D/%%ETCDIR%%/group.cfg; fi
1
@sample %%ETCDIR%%/group.cfg.sample
2
@unexec if cmp -s %D/%%ETCDIR%%/realname.cfg %D/%%ETCDIR%%/realname.cfg.dist; then rm -f %D/%%ETCDIR%%/realname.cfg; fi
2
@sample %%ETCDIR%%/lightsquid.cfg.sample
3
@unexec if cmp -s %D/%%ETCDIR%%/skipuser.cfg %D/%%ETCDIR%%/skipuser.cfg.dist; then rm -f %D/%%ETCDIR%%/skipuser.cfg; fi
3
@sample %%ETCDIR%%/realname.cfg.sample
4
@unexec if cmp -s %D/%%ETCDIR%%/lightsquid.cfg %D/%%ETCDIR%%/lightsquid.cfg.dist; then rm -f %D/%%ETCDIR%%/lightsquid.cfg; fi
4
@sample %%ETCDIR%%/skipuser.cfg.sample
5
%%ETCDIR%%/group.cfg.dist
6
@exec [ -f %B/group.cfg ] || cp %B/%f %B/group.cfg
7
%%ETCDIR%%/lightsquid.cfg.dist
8
@exec [ -f %B/lightsquid.cfg ] || cp %B/%f %B/lightsquid.cfg
9
%%ETCDIR%%/realname.cfg.dist
10
@exec [ -f %B/realname.cfg ] || cp %B/%f %B/realname.cfg
11
%%ETCDIR%%/skipuser.cfg.dist
12
@exec [ -f %B/skipuser.cfg ] || cp %B/%f %B/skipuser.cfg
13
libexec/lightsquid/ip2name.abils
5
libexec/lightsquid/ip2name.abils
14
libexec/lightsquid/ip2name.demo
6
libexec/lightsquid/ip2name.demo
15
libexec/lightsquid/ip2name.dhcp
7
libexec/lightsquid/ip2name.dhcp
Lines 75-89 Link Here
75
%%WWWDIR%%/common.pl
67
%%WWWDIR%%/common.pl
76
%%WWWDIR%%/lightparser.pl
68
%%WWWDIR%%/lightparser.pl
77
@exec %%CHOWN%% -R %%WWWOWN%%:%%WWWGRP%% %%WWWDIR%%
69
@exec %%CHOWN%% -R %%WWWOWN%%:%%WWWGRP%% %%WWWDIR%%
78
@dirrmtry %%WWWDIR%%/tpl/base/images
70
@dir %%WWWDIR%%/tpl/base/images
79
@dirrmtry %%WWWDIR%%/tpl/base
71
@dir %%WWWDIR%%/tpl/base
80
@dirrmtry %%WWWDIR%%/tpl/text
72
@dir %%WWWDIR%%/tpl/text
81
@dirrmtry %%WWWDIR%%/tpl
73
@dir %%WWWDIR%%/tpl
82
@dirrmtry %%WWWDIR%%/report
74
@dir %%WWWDIR%%/report
83
@dirrmtry %%WWWDIR%%
75
@dir %%WWWDIR%%
84
@group
76
@group
85
@owner
77
@owner
86
@dirrmtry %%DATADIR%%/lang
87
@dirrmtry %%DATADIR%%
88
@dirrmtry libexec/lightsquid
89
@dirrmtry %%ETCDIR%%

Return to bug 199629