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

Collapse All | Expand All

(-)Makefile (-6 / +6 lines)
Lines 46-52 Link Here
46
46
47
PLIST_SUB+=	DCCUSER="${DCCUSER}" DCCGROUP="${DCCGROUP}"
47
PLIST_SUB+=	DCCUSER="${DCCUSER}" DCCGROUP="${DCCGROUP}"
48
SUB_FILES=		pkg-install pkg-message
48
SUB_FILES=		pkg-install pkg-message
49
SUB_LIST+=		WRKSRC=${WRKSRC} DCCHOME=${DCCHOME}
49
SUB_LIST+=		WRKSRC=${WRKSRC} DCCHOME=${DCCHOME} DCCUSER="${DCCUSER}"
50
50
51
## Use the configure script to explicitly set the locations of all files,
51
## Use the configure script to explicitly set the locations of all files,
52
## in case the standard locations have been locally overridden
52
## in case the standard locations have been locally overridden
Lines 126-149 Link Here
126
		${STAGEDIR}${PREFIX}/dcc/cgi-bin/header.sample
126
		${STAGEDIR}${PREFIX}/dcc/cgi-bin/header.sample
127
.for sf in bin/dccproc bin/cdcc dcc/libexec/dccsight dcc/libexec/check_ip_range \
127
.for sf in bin/dccproc bin/cdcc dcc/libexec/dccsight dcc/libexec/check_ip_range \
128
	dcc/libexec/wlist dcc/libexec/ck2ip
128
	dcc/libexec/wlist dcc/libexec/ck2ip
129
		${STRIP_CMD} ${STAGEDIR}/${PREFIX}/${sf}
129
		${STRIP_CMD} ${STAGEDIR}${PREFIX}/${sf}
130
.endfor
130
.endfor
131
.if ${PORT_OPTIONS:MDCCIFD} || ${PORT_OPTIONS:MDCCM}
131
.if ${PORT_OPTIONS:MDCCIFD} || ${PORT_OPTIONS:MDCCM}
132
	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/dcc/libexec/dns-helper
132
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/dcc/libexec/dns-helper
133
.endif
133
.endif
134
134
135
post-install-DCCIFD-on:
135
post-install-DCCIFD-on:
136
.for sf in bin/dccif-test dcc/libexec/dccifd
136
.for sf in bin/dccif-test dcc/libexec/dccifd
137
	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/${sf}
137
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${sf}
138
.endfor
138
.endfor
139
139
140
post-install-DCCD-on:
140
post-install-DCCD-on:
141
.for sf in dcc/libexec/dump-clients dcc/libexec/dbclean \
141
.for sf in dcc/libexec/dump-clients dcc/libexec/dbclean \
142
	dcc/libexec/dblist dcc/libexec/dccd
142
	dcc/libexec/dblist dcc/libexec/dccd
143
	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/${sf}
143
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${sf}
144
.endfor
144
.endfor
145
145
146
post-install-DCCM-on:
146
post-install-DCCM-on:
147
	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/dcc/libexec/dccm
147
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/dcc/libexec/dccm
148
148
149
.include <bsd.port.mk>
149
.include <bsd.port.mk>
(-)files/pkg-install.in (-1 / +2 lines)
Lines 2-9 Link Here
2
# $FreeBSD: /tmp/pcvs/ports/mail/dcc-dccd/files/pkg-install.in,v 1.2 2011-07-04 19:39:45 crees Exp $
2
# $FreeBSD: /tmp/pcvs/ports/mail/dcc-dccd/files/pkg-install.in,v 1.2 2011-07-04 19:39:45 crees Exp $
3
3
4
PREFIX=${PKG_PREFIX:-%%PREFIX%%}
4
PREFIX=${PKG_PREFIX:-%%PREFIX%%}
5
6
DCCHOME=%%DCCHOME%%
5
DCCHOME=%%DCCHOME%%
6
DCCUSER=%%DCCUSER%%
7
7
8
if [ "$2" = "POST-INSTALL" ]; then
8
if [ "$2" = "POST-INSTALL" ]; then
9
9
Lines 20-25 Link Here
20
20
21
        for file in ids map map.txt ; do
21
        for file in ids map map.txt ; do
22
                /bin/cp -p $DCCHOME/$file $DCCHOME/${file}.sample
22
                /bin/cp -p $DCCHOME/$file $DCCHOME/${file}.sample
23
		/usr/sbin/chown $DCCUSER $DCCHOME/${file} $DCCHOME/${file}.sample
23
        done
24
        done
24
fi
25
fi
25
26

Return to bug 220201