summaryrefslogtreecommitdiffstats
path: root/pie-nocacert.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-10-30 11:53:32 +0100
committerRemi Collet <remi@php.net>2024-10-30 11:53:32 +0100
commit19c570a6c92997ee6e04e620f683707cea57cd22 (patch)
treed346c3d6b42b92eb3bd4c2ccaea4d8051daa62ec /pie-nocacert.patch
parent3a9b6d7bac8ef00a639559ee5e63f3853275de7d (diff)
refresh dependencies
add patches from composer to skip XDG and drop bundled cacert.rpm
Diffstat (limited to 'pie-nocacert.patch')
-rw-r--r--pie-nocacert.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pie-nocacert.patch b/pie-nocacert.patch
new file mode 100644
index 0000000..35536a2
--- /dev/null
+++ b/pie-nocacert.patch
@@ -0,0 +1,12 @@
+diff -up ./vendor/composer/ca-bundle/src/CaBundle.php.rpm ./vendor/composer/ca-bundle/src/CaBundle.php
+--- ./vendor/composer/ca-bundle/src/CaBundle.php.rpm 2024-09-25 09:49:53.000000000 +0200
++++ ./vendor/composer/ca-bundle/src/CaBundle.php 2024-10-03 07:11:10.752092401 +0200
+@@ -125,7 +125,7 @@ class CaBundle
+ */
+ public static function getBundledCaBundlePath()
+ {
+- $caBundleFile = __DIR__.'/../res/cacert.pem';
++ $caBundleFile = '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always
+
+ // cURL does not understand 'phar://' paths
+ // see https://github.com/composer/ca-bundle/issues/10