Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 878162 Details for
Bug 919376
dev-php/ca-bundle-1.3.1: Supplied autoload.php does not respect EPREFIX
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v2 of patch, using prefix.eclass/prefixify_ro
dev-php-ca-bundle-Respect-EPREFIX-in-autoload.php-v2.patch (text/plain), 1.47 KB, created by
Moritz Brunner
on 2023-12-07 17:59:39 UTC
(
hide
)
Description:
v2 of patch, using prefix.eclass/prefixify_ro
Filename:
MIME Type:
Creator:
Moritz Brunner
Created:
2023-12-07 17:59:39 UTC
Size:
1.47 KB
patch
obsolete
>From 8c0b5d17e4c434cc690e07b7ac57d9fda75ef995 Mon Sep 17 00:00:00 2001 >From: Moritz Brunner <moritz.brunner+gentoo@posteo.de> >Date: Wed, 6 Dec 2023 19:55:48 +0100 >Subject: [PATCH] dev-php/ca-bundle: Respect EPREFIX in autoload.php > >The provided autoload.php file hardcodes library PHP paths to >/usr/share/php/..., which is invalid in Prefix installations, since the >path will most likely not exist. > >This commit modifies autoload.php during the installation to include >the correct EPREFIX before the file is copied to the final image >destination. > >Closes: https://bugs.gentoo.org/919376 >Signed-off-by: Moritz Brunner <moritz.brunner+gentoo@posteo.de> >--- > dev-php/ca-bundle/ca-bundle-1.3.1.ebuild | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/dev-php/ca-bundle/ca-bundle-1.3.1.ebuild b/dev-php/ca-bundle/ca-bundle-1.3.1.ebuild >index e16650d74abd..57a21713c26b 100644 >--- a/dev-php/ca-bundle/ca-bundle-1.3.1.ebuild >+++ b/dev-php/ca-bundle/ca-bundle-1.3.1.ebuild >@@ -3,6 +3,8 @@ > > EAPI=8 > >+inherit prefix >+ > DESCRIPTION="Find the system CA bundle or fall back to the Mozilla one" > HOMEPAGE="https://github.com/composer/ca-bundle" > SRC_URI="https://github.com/composer/ca-bundle/archive/${PV}.tar.gz -> ${P}.tar.gz" >@@ -17,6 +19,7 @@ RDEPEND=" > > src_install() { > insinto /usr/share/php/Composer/CaBundle >- doins src/CaBundle.php "${FILESDIR}/autoload.php" >+ doins src/CaBundle.php \ >+ "$(prefixify_ro "${FILESDIR}"/autoload.php)" > dodoc README.md > } >-- >2.43.0.windows.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 919376
:
877958
| 878162