From d66256c2061ea3722062fe00ae9c697033feb2ed Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 1 Aug 2019 11:18:54 +0200 Subject: v1.2.2 --- php-composer-ca-bundle-rpm.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'php-composer-ca-bundle-rpm.patch') diff --git a/php-composer-ca-bundle-rpm.patch b/php-composer-ca-bundle-rpm.patch index 54f656d..7ae8760 100644 --- a/php-composer-ca-bundle-rpm.patch +++ b/php-composer-ca-bundle-rpm.patch @@ -10,3 +10,15 @@ diff -up src/CaBundle.php.rpm src/CaBundle.php // cURL does not understand 'phar://' paths // see https://github.com/composer/ca-bundle/issues/10 +diff -up tests/CaBundleTest.php.rpm tests/CaBundleTest.php +--- tests/CaBundleTest.php.rpm 2019-08-01 11:14:21.577672699 +0200 ++++ tests/CaBundleTest.php 2019-08-01 11:14:31.322744408 +0200 +@@ -104,7 +104,7 @@ class CaBundleTest extends TestCase + public function testOpenBaseDir() + { + $oldValue = ini_get('open_basedir'); +- ini_set('open_basedir', realpath(__DIR__ . '/../')); ++ ini_set('open_basedir', '/usr/share/php:' . realpath(__DIR__ . '/../')); + $certFilePath = CaBundle::getSystemCaRootBundlePath(); + $validResult = CaBundle::validateCaFile($certFilePath, null); + $this->assertTrue($validResult); -- cgit