summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-04-17 13:12:39 +0300
committerGleb Popov <arrowd@FreeBSD.org>2025-04-17 13:14:07 +0300
commitd8b1feeb2d49870ea77cd3ec96d1d9c9b45f6454 (patch)
tree4f60d66260dfec19c3198dc2c912aa2dea000404
parentscience/sirius: update 7.6.1 → 7.7.0 (diff)
security/linux-rl9-ca-certificates: Use relative paths when calling Linux programs
This avoids creating /compat/linux/wrkdirs/... when building under Poudriere PR: 286119
-rw-r--r--security/linux-rl9-ca-certificates/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/linux-rl9-ca-certificates/Makefile b/security/linux-rl9-ca-certificates/Makefile
index 064b97daa74e..5adac7526364 100644
--- a/security/linux-rl9-ca-certificates/Makefile
+++ b/security/linux-rl9-ca-certificates/Makefile
@@ -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} && \