SOURCES: php-pear-PEAR-FHS.patch (NEW) - store statefiles in /var/...

glen glen at pld-linux.org
Fri Mar 3 22:37:30 CET 2006


Author: glen                         Date: Fri Mar  3 21:37:30 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- store statefiles in /var/lib/pear

---- Files affected:
SOURCES:
   php-pear-PEAR-FHS.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-pear-PEAR-FHS.patch
diff -u /dev/null SOURCES/php-pear-PEAR-FHS.patch:1.1
--- /dev/null	Fri Mar  3 22:37:30 2006
+++ SOURCES/php-pear-PEAR-FHS.patch	Fri Mar  3 22:37:25 2006
@@ -0,0 +1,19 @@
+--- /usr/share/pear/PEAR/Registry.php~	2006-03-02 01:40:24.000000000 +0200
++++ /usr/share/pear/PEAR/Registry.php	2006-03-02 01:46:34.000000000 +0200
+@@ -141,12 +141,11 @@
+                            $pecl_channel = false)
+     {
+         parent::PEAR();
+-        $ds = DIRECTORY_SEPARATOR;
+         $this->install_dir = $pear_install_dir;
+-        $this->channelsdir = $pear_install_dir.$ds.'.channels';
+-        $this->statedir = $pear_install_dir.$ds.'.registry';
+-        $this->filemap  = $pear_install_dir.$ds.'.filemap';
+-        $this->lockfile = $pear_install_dir.$ds.'.lock';
++        $this->channelsdir = '/var/lib/pear/channels';
++        $this->statedir = '/var/lib/pear/registry';
++        $this->filemap  = '/var/lib/pear/.filemap';
++        $this->lockfile = '/var/lib/pear/.lock';
+         $this->_pearChannel = $pear_channel;
+         $this->_peclChannel = $pecl_channel;
+         $this->_config = false;
================================================================


More information about the pld-cvs-commit mailing list