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

Collapse All | Expand All

(-)p4d/Makefile (-9 / +1 lines)
Lines 34-40 Link Here
34
34
35
USE_RC_SUBR=	p4d
35
USE_RC_SUBR=	p4d
36
36
37
NO_STAGE=	yes
38
.include <bsd.port.pre.mk>
37
.include <bsd.port.pre.mk>
39
38
40
.include "${.CURDIR}/../p4/Makefile.inc"
39
.include "${.CURDIR}/../p4/Makefile.inc"
Lines 43-58 Link Here
43
GROUPS=	p4admin
42
GROUPS=	p4admin
44
43
45
do-install:
44
do-install:
46
	${INSTALL_PROGRAM} ${_DISTDIR}/p4d ${PREFIX}/sbin/
45
	${INSTALL_PROGRAM} ${_DISTDIR}/p4d ${STAGEDIR}${PREFIX}/sbin/
47
46
48
post-install:
47
post-install:
49
	@${CAT} ${PKGMESSAGE}
50
	${MKDIR} ${DESTDIR}${P4ROOT}
51
	${CHOWN} p4admin:p4admin ${DESTDIR}${P4ROOT}
52
	${CHMOD} 750 ${DESTDIR}${P4ROOT}
53
	${TOUCH} ${DESTDIR}${P4LOG}
54
	${CHOWN} p4admin:p4admin ${DESTDIR}${P4LOG}
55
	${CHMOD} 640 ${DESTDIR}${P4LOG}
56
	@${ECHO_CMD} "@exec ${MKDIR} ${DESTDIR}${P4ROOT}" >> ${TMPPLIST}
48
	@${ECHO_CMD} "@exec ${MKDIR} ${DESTDIR}${P4ROOT}" >> ${TMPPLIST}
57
	@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${DESTDIR}${P4ROOT}" >> ${TMPPLIST}
49
	@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${DESTDIR}${P4ROOT}" >> ${TMPPLIST}
58
	@${ECHO_CMD} "@exec ${CHMOD} 750 ${DESTDIR}${P4ROOT}" >> ${TMPPLIST}
50
	@${ECHO_CMD} "@exec ${CHMOD} 750 ${DESTDIR}${P4ROOT}" >> ${TMPPLIST}
(-)p4ftpd/Makefile (-5 / +1 lines)
Lines 30-36 Link Here
30
30
31
USE_RC_SUBR=	p4ftpd
31
USE_RC_SUBR=	p4ftpd
32
32
33
NO_STAGE=	yes
34
.include <bsd.port.pre.mk>
33
.include <bsd.port.pre.mk>
35
34
36
.include "${.CURDIR}/../p4/Makefile.inc"
35
.include "${.CURDIR}/../p4/Makefile.inc"
Lines 39-50 Link Here
39
GROUPS=	p4admin
38
GROUPS=	p4admin
40
39
41
do-install:
40
do-install:
42
	${INSTALL_PROGRAM} ${_DISTDIR}/p4ftpd ${PREFIX}/sbin/
41
	${INSTALL_PROGRAM} ${_DISTDIR}/p4ftpd ${STAGEDIR}${PREFIX}/sbin/
43
42
44
post-install:
43
post-install:
45
	${TOUCH} ${DESTDIR}${P4LOG}
46
	${CHOWN} p4admin:p4admin ${DESTDIR}${P4LOG}
47
	${CHMOD} 640 ${DESTDIR}${P4LOG}
48
	@${ECHO_CMD} "@exec ${TOUCH} ${DESTDIR}${P4LOG}" >> ${TMPPLIST}
44
	@${ECHO_CMD} "@exec ${TOUCH} ${DESTDIR}${P4LOG}" >> ${TMPPLIST}
49
	@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${DESTDIR}${P4LOG}" >> ${TMPPLIST}
45
	@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${DESTDIR}${P4LOG}" >> ${TMPPLIST}
50
	@${ECHO_CMD} "@exec ${CHMOD} 640 ${DESTDIR}${P4LOG}" >> ${TMPPLIST}
46
	@${ECHO_CMD} "@exec ${CHMOD} 640 ${DESTDIR}${P4LOG}" >> ${TMPPLIST}
(-)p4p/Makefile (-8 / +1 lines)
Lines 34-40 Link Here
34
34
35
USE_RC_SUBR=	p4p
35
USE_RC_SUBR=	p4p
36
36
37
NO_STAGE=	yes
38
.include <bsd.port.pre.mk>
37
.include <bsd.port.pre.mk>
39
38
40
.include "${.CURDIR}/../p4/Makefile.inc"
39
.include "${.CURDIR}/../p4/Makefile.inc"
Lines 43-57 Link Here
43
GROUPS=	p4admin
42
GROUPS=	p4admin
44
43
45
do-install:
44
do-install:
46
	${INSTALL_PROGRAM} ${_DISTDIR}/p4p ${PREFIX}/sbin/
45
	${INSTALL_PROGRAM} ${_DISTDIR}/p4p ${STAGEDIR}${PREFIX}/sbin/
47
46
48
post-install:
47
post-install:
49
	${MKDIR} ${DESTDIR}${P4CACHE}
50
	${CHOWN} p4admin:p4admin ${DESTDIR}${P4CACHE}
51
	${CHMOD} 750 ${DESTDIR}${P4CACHE}
52
	${TOUCH} ${DESTDIR}${P4LOG}
53
	${CHOWN} p4admin:p4admin ${DESTDIR}${P4LOG}
54
	${CHMOD} 640 ${DESTDIR}${P4LOG}
55
	@${ECHO_CMD} "@exec ${MKDIR} ${DESTDIR}${P4CACHE}" >> ${TMPPLIST}
48
	@${ECHO_CMD} "@exec ${MKDIR} ${DESTDIR}${P4CACHE}" >> ${TMPPLIST}
56
	@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${DESTDIR}${P4CACHE}" >> ${TMPPLIST}
49
	@${ECHO_CMD} "@exec ${CHOWN} p4admin:p4admin ${DESTDIR}${P4CACHE}" >> ${TMPPLIST}
57
	@${ECHO_CMD} "@exec ${CHMOD} 750 ${DESTDIR}${P4CACHE}" >> ${TMPPLIST}
50
	@${ECHO_CMD} "@exec ${CHMOD} 750 ${DESTDIR}${P4CACHE}" >> ${TMPPLIST}

Return to bug 190805