mirror of
https://git.freebsd.org/ports.git
synced 2025-05-06 10:57:37 -04:00
security/linux-rl9-ca-certificates: Use relative paths when calling Linux programs
This avoids creating /compat/linux/wrkdirs/... when building under Poudriere PR: 286119
This commit is contained in:
parent
496bc560a4
commit
d8b1feeb2d
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
PORTNAME= ca-certificates
|
PORTNAME= ca-certificates
|
||||||
PORTVERSION= 2024.2.69
|
PORTVERSION= 2024.2.69
|
||||||
DISTVERSIONSUFFIX= _v8.0.303-91.4.el9_4
|
DISTVERSIONSUFFIX= _v8.0.303-91.4.el9_4
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= security linux
|
CATEGORIES= security linux
|
||||||
|
|
||||||
MAINTAINER= emulation@FreeBSD.org
|
MAINTAINER= emulation@FreeBSD.org
|
||||||
|
@ -16,8 +16,9 @@ USE_LINUX_RPM= noarch
|
||||||
OPTIONS_DEFINE= DOCS
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
post-stage:
|
post-stage:
|
||||||
${LINUXBASE}/bin/sh ${STAGEDIR}${PREFIX}/usr/bin/update-ca-trust \
|
cd ${STAGEDIR} && ${LINUXBASE}/bin/sh \
|
||||||
extract -o ${STAGEDIR}${PREFIX}/etc/pki/ca-trust/extracted
|
./${PREFIX}/usr/bin/update-ca-trust extract \
|
||||||
|
-o ./${PREFIX}/etc/pki/ca-trust/extracted
|
||||||
${FIND} ${STAGEDIR}${PREFIX} -type l -exec \
|
${FIND} ${STAGEDIR}${PREFIX} -type l -exec \
|
||||||
${SH} -c "tgt=\$$(readlink {}) ; [ \$$tgt != \$${tgt#/} ] && ${RLN} ${STAGEDIR}${PREFIX}\$$tgt {}" \; || ${TRUE}
|
${SH} -c "tgt=\$$(readlink {}) ; [ \$$tgt != \$${tgt#/} ] && ${RLN} ${STAGEDIR}${PREFIX}\$$tgt {}" \; || ${TRUE}
|
||||||
cd ${STAGEDIR}${PREFIX} && \
|
cd ${STAGEDIR}${PREFIX} && \
|
||||||
|
|
Loading…
Add table
Reference in a new issue