Check-in [03afe96722]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix generating .mtree
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 03afe9672217947030d02279c6bfcbc4eebb37b3
User & Date: bdrewery 2012-06-08 01:19:09
Context
2012-06-08
03:46
Ignore errors

When using /etc/mtree/BSD.usr.dist (openssh-portable OVERWRITE_BASE), it would cause an error due to 'nochange': tar: Malformed attribute nochange (110) check-in: 8faf7f9ba5 user: bdrewery tags: trunk

01:19
Fix generating .mtree check-in: 03afe96722 user: bdrewery tags: trunk
2012-06-07
21:16
Fix manpage staging check-in: bbea2af6ba user: bdrewery tags: trunk
Changes

Changes to ports/Mk/bsd.stage.mk.

31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
	fi
	@[ -f ${PKGMESSAGE} ] && ${CAT} ${PKGMESSAGE} || return 0
.endif
.endif

.if !target(genplist)
genplist: stage
	@tar tf ${MTREE_FILE} > ${WRKDIR}/.mtree
	@${FIND} ${STAGEDIR} -type f -o -type l | sed -e "s,${STAGEDIR},,g" \
		-e "s,${DOCSDIR},%%DOCSDIR%%,g" \
		-e "s,${EXAMPLESDIR},%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX}/,,g"
	@${FIND} ${STAGEDIR} -type d | sed -e "s,${STAGEDIR},,g" \
		-e "s,${PREFIX}/,,g" | while read line; do \







|







31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
	fi
	@[ -f ${PKGMESSAGE} ] && ${CAT} ${PKGMESSAGE} || return 0
.endif
.endif

.if !target(genplist)
genplist: stage
	@(echo "#mtree" && cat ${MTREE_FILE}) | tar tf - > ${WRKDIR}/.mtree
	@${FIND} ${STAGEDIR} -type f -o -type l | sed -e "s,${STAGEDIR},,g" \
		-e "s,${DOCSDIR},%%DOCSDIR%%,g" \
		-e "s,${EXAMPLESDIR},%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX}/,,g"
	@${FIND} ${STAGEDIR} -type d | sed -e "s,${STAGEDIR},,g" \
		-e "s,${PREFIX}/,,g" | while read line; do \