Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package php7-pear for openSUSE:Factory 
checked in at 2021-06-19 23:01:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php7-pear (Old)
 and      /work/SRC/openSUSE:Factory/.php7-pear.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php7-pear"

Sat Jun 19 23:01:46 2021 rev:8 rq:900348 version:1.10.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/php7-pear/php7-pear.changes      2021-01-15 
19:45:15.125934622 +0100
+++ /work/SRC/openSUSE:Factory/.php7-pear.new.2625/php7-pear.changes    
2021-06-19 23:01:48.943579024 +0200
@@ -1,0 +2,7 @@
+Wed Jun 16 09:27:45 UTC 2021 - pgaj...@suse.com
+
+- added patches
+  fix bsc#1187372 -- https://github.com/pear/pear-core/pull/115
+  + php7-pear-undefined-variables.patch
+
+-------------------------------------------------------------------

New:
----
  php7-pear-undefined-variables.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php7-pear.spec ++++++
--- /var/tmp/diff_new_pack.6lneW0/_old  2021-06-19 23:01:49.379579582 +0200
+++ /var/tmp/diff_new_pack.6lneW0/_new  2021-06-19 23:01:49.379579582 +0200
@@ -32,6 +32,8 @@
 Source1:        
https://github.com/pear/pearweb_phars/raw/v%{version}/install-pear-nozlib.sig#/install-pear-nozlib.phar.sig
 Source2:        %{name}.keyring
 Source3:        %{name}.rpmlintrc
+# bsc#1187372 -- https://github.com/pear/pear-core/pull/115
+Patch0:         php7-pear-undefined-variables.patch
 BuildRequires:  php7-cli
 Requires:       php7-cli
 Recommends:     php7-openssl
@@ -99,6 +101,7 @@
        --man      %{_mandir} \
        --metadata %{metadir} \
        --www      %{peardir}/htdocs
+patch -p0 -d %{buildroot}/%{peardir} < %{PATCH0}
 
 %pre
 if [ -d %{peardir}/.registry -a ! -d %{metadir}/.registry ]; then



++++++ php7-pear-undefined-variables.patch ++++++
--- PEAR/Proxy.php.orig 2021-06-16 11:11:23.526420199 +0200
+++ PEAR/Proxy.php      2021-06-16 11:12:49.978911163 +0200
@@ -104,7 +104,7 @@ class PEAR_Proxy
         stream_set_blocking ($fp, true);
         $crypto_res = stream_socket_enable_crypto($fp, true, $crypto_method);
         if (!$crypto_res) {
-            return PEAR::raiseError("Could not establish SSL connection 
through proxy $proxy_host:$proxy_port: $crypto_res");
+            return PEAR::raiseError("Could not establish SSL connection 
through proxy: $crypto_res");
         }
 
         return true;
@@ -164,7 +164,7 @@ class PEAR_Proxy
             );
 
             if (!$fp) {
-                return PEAR::raiseError("Connection to 
`$proxy_host:$proxy_port' failed: $errstr", -9276);
+                return PEAR::raiseError("Connection to the proxy failed: 
$errstr", -9276);
             }
 
             /* HTTPS is to be used and we have a proxy, use CONNECT verb */

Reply via email to