summaryrefslogtreecommitdiffstats
path: root/php-composer-ca-bundle-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-11-30 07:22:58 +0100
committerRemi Collet <remi@remirepo.net>2017-11-30 07:22:58 +0100
commit84827b1ee80b94702e0bb1936d6f52fa481ba6cd (patch)
tree418820380d5b72f05b0d43db9fc78513cac936da /php-composer-ca-bundle-rpm.patch
parentb3708a4a1a01e406e8691f64adb7e05205a100ba (diff)
Update to 1.1.0
allow Symfony 2, 3 and 4
Diffstat (limited to 'php-composer-ca-bundle-rpm.patch')
-rw-r--r--php-composer-ca-bundle-rpm.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/php-composer-ca-bundle-rpm.patch b/php-composer-ca-bundle-rpm.patch
index c2546e4..54f656d 100644
--- a/php-composer-ca-bundle-rpm.patch
+++ b/php-composer-ca-bundle-rpm.patch
@@ -1,12 +1,12 @@
diff -up src/CaBundle.php.rpm src/CaBundle.php
---- src/CaBundle.php.rpm 2016-04-30 09:44:06.624946839 +0200
-+++ src/CaBundle.php 2016-04-30 09:44:37.576088602 +0200
-@@ -129,7 +129,7 @@ class CaBundle
+--- src/CaBundle.php.rpm 2017-11-30 07:12:46.773928987 +0100
++++ src/CaBundle.php 2017-11-30 07:15:28.549820032 +0100
+@@ -130,7 +130,7 @@ class CaBundle
*/
public static function getBundledCaBundlePath()
{
-- return __DIR__.'/../res/cacert.pem';
-+ return '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always
- }
+- $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