git: d8b1feeb2d49 - main - security/linux-rl9-ca-certificates: Use relative paths when calling Linux programs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Apr 2025 10:14:12 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=d8b1feeb2d49870ea77cd3ec96d1d9c9b45f6454 commit d8b1feeb2d49870ea77cd3ec96d1d9c9b45f6454 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2025-04-17 10:12:39 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2025-04-17 10:14:07 +0000 security/linux-rl9-ca-certificates: Use relative paths when calling Linux programs This avoids creating /compat/linux/wrkdirs/... when building under Poudriere PR: 286119 --- security/linux-rl9-ca-certificates/Makefile | 7 ++++--- 1 file 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} && \