mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -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
|
||||
PORTVERSION= 2024.2.69
|
||||
DISTVERSIONSUFFIX= _v8.0.303-91.4.el9_4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security linux
|
||||
|
||||
MAINTAINER= emulation@FreeBSD.org
|
||||
|
@ -16,8 +16,9 @@ USE_LINUX_RPM= noarch
|
|||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-stage:
|
||||
${LINUXBASE}/bin/sh ${STAGEDIR}${PREFIX}/usr/bin/update-ca-trust \
|
||||
extract -o ${STAGEDIR}${PREFIX}/etc/pki/ca-trust/extracted
|
||||
cd ${STAGEDIR} && ${LINUXBASE}/bin/sh \
|
||||
./${PREFIX}/usr/bin/update-ca-trust extract \
|
||||
-o ./${PREFIX}/etc/pki/ca-trust/extracted
|
||||
${FIND} ${STAGEDIR}${PREFIX} -type l -exec \
|
||||
${SH} -c "tgt=\$$(readlink {}) ; [ \$$tgt != \$${tgt#/} ] && ${RLN} ${STAGEDIR}${PREFIX}\$$tgt {}" \; || ${TRUE}
|
||||
cd ${STAGEDIR}${PREFIX} && \
|
||||
|
|
Loading…
Add table
Reference in a new issue