summaryrefslogtreecommitdiffstats
path: root/php-composer-ca-bundle-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-04-30 09:56:33 +0200
committerRemi Collet <fedora@famillecollet.com>2016-04-30 09:56:33 +0200
commit472dd44603d1edfbfc0dde14acc7162ceaaa797f (patch)
tree9bd517e4e63cd48257aca84891e4775ddaed7d2f /php-composer-ca-bundle-rpm.patch
php-composer-ca-bundle: 1.0.2 - New package
Diffstat (limited to 'php-composer-ca-bundle-rpm.patch')
-rw-r--r--php-composer-ca-bundle-rpm.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/php-composer-ca-bundle-rpm.patch b/php-composer-ca-bundle-rpm.patch
new file mode 100644
index 0000000..c2546e4
--- /dev/null
+++ b/php-composer-ca-bundle-rpm.patch
@@ -0,0 +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
+ */
+ public static function getBundledCaBundlePath()
+ {
+- return __DIR__.'/../res/cacert.pem';
++ return '/etc/pki/tls/certs/ca-bundle.crt'; // System CA, always
+ }
+
+ /**