mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07: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:
@@ -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} && \
|
||||
|
||||
Reference in New Issue
Block a user