Check-in [8faf7f9ba5]

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

Overview
Comment: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)

Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8faf7f9ba582adc777d0ba80e2b77efc8508d64f
User & Date: bdrewery 2012-06-08 03:46:15
Context
2012-06-08
04:46
Add the prefix in the .mtree, while here directly propose %%PORTDOCS%% and %%PORTEXAMPLES%% check-in: 407929c036 user: bapt tags: trunk
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
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
	@(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 \







|







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 2>/dev/null || true
	@${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 \