Hello community,

here is the log from the commit of package php5 for openSUSE:Factory checked in 
at 2015-12-16 17:41:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php5 (Old)
 and      /work/SRC/openSUSE:Factory/.php5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php5"

Changes:
--------
--- /work/SRC/openSUSE:Factory/php5/php5.changes        2015-11-24 
22:31:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.php5.new/php5.changes   2015-12-16 
17:42:00.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Dec  1 13:58:12 UTC 2015 - [email protected]
+
+- install .depdb and .depdblock files along metadata
+  * php5-depdb-path.patch
+
+-------------------------------------------------------------------

New:
----
  php5-depdb-path.patch

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

Other differences:
------------------
++++++ php5.spec ++++++
--- /var/tmp/diff_new_pack.wn1Pvp/_old  2015-12-16 17:42:03.000000000 +0100
+++ /var/tmp/diff_new_pack.wn1Pvp/_new  2015-12-16 17:42:03.000000000 +0100
@@ -75,6 +75,7 @@
 Patch6:         php5-openssl.patch
 Patch7:         php5-systzdata-r12.patch
 Patch8:         php5-systemd-unit.patch
+Patch9:         php5-depdb-path.patch
 
 ## Bugfix patches
 # this is from https://raw.github.com/NewEraCracker/suhosin-patches/, check 
for official
@@ -1452,6 +1453,12 @@
 %else
 ln -s %{_sysconfdir}/init.d/php-fpm %{buildroot}%{_sbindir}/rcphp-fpm
 %endif
+# pear installer installs .depdb{,lock} files into %{buildroot}%{peardir}
+# along with .lock, .registry when metadata_dir is not set but does not 
+# install them if metadata_dir is set; our Horde packages expect them there 
+# though, (they rm them without -f) so always install them along
+cd %{buildroot}/%{peardir}
+patch -p0 < %{PATCH9}
 
 %post -n apache2-mod_php5
 #some distro versions does not have this tool.


++++++ php5-depdb-path.patch ++++++
# pear installer from 1.10.1 installs .depdb{,lock} files into 
# %{buildroot}%{peardir} along with .lock, .registry, etc. when 
# metadata_dir is not set but does not install them if 
# metadata_dir is set; our Horde packages expect them there though, 
# (they rm them without -f) so always install them along
--- PEAR/Registry.php   2015-12-01 13:11:24.965179369 +0000
+++ PEAR/Registry.php   2015-12-01 13:18:42.036075538 +0000
@@ -325,6 +325,7 @@ class PEAR_Registry extends PEAR
                         $file);
                     $this->_config->setRegistry($this);
                     $this->_config->set('php_dir', $this->install_dir);
+                    $this->_config->set('metadata_dir', 
dirname($this->lockfile));
                 }
 
                 $this->_dependencyDB = 
&PEAR_DependencyDB::singleton($this->_config);


Reply via email to