[php-maint] Bug#631349: php-pear: Missing /etc/pear.conf -> /etc/pear/pear.conf

nutzteil nutzteil at web.de
Thu Jun 23 05:18:57 UTC 2011

Package: php-pear
Version: 5.3.3-7+squeeze1
Severity: important
Tags: patch

php-pear has a configuration /etc/pear/pear.conf.

After trying 'pear config-show' i saw an item:
System Configuration File      Filename         /etc/pear.conf
but in debian it is /etc/pear/pear.conf.

So i tried a link /etc/pear.conf -> pear/pear.conf,
and now i saw an significant change:
--- .config-show_0      2011-06-23 06:57:21.000000000 +0200
+++ .config-show_1      2011-06-23 06:58:10.000000000 +0200
@@ -7,14 +7,14 @@
 Default Channel Mirror         preferred_mirror pear.php.net
 Remote Configuration File      remote_config    <not set>
 PEAR executables directory     bin_dir          /usr/bin
-PEAR documentation directory   doc_dir          /usr/share/php/docs
+PEAR documentation directory   doc_dir          /usr/share/php/doc
 PHP extension directory        ext_dir          /usr/lib/php5/20090626+lfs
 PEAR directory                 php_dir          /usr/share/php
 PEAR Installer cache directory cache_dir        /tmp/pear/cache
 PEAR configuration file        cfg_dir          /usr/share/php/cfg
 PEAR data directory            data_dir         /usr/share/php/data
-PEAR Installer download        download_dir     /tmp/pear/download
+PEAR Installer download        download_dir     /tmp/buildd/php5-5.3.3/pear-build-download
 PHP CLI/CGI binary             php_bin          /usr/bin/php
 php.ini location               php_ini          <not set>
@@ -23,8 +23,8 @@
 --program-suffix passed to     php_suffix       <not set>
 PHP's ./configure
 PEAR Installer temp directory  temp_dir         /tmp/pear/temp
-PEAR test directory            test_dir         /usr/share/php/tests
-PEAR www files directory       www_dir          /usr/share/php/www
+PEAR test directory            test_dir         /usr/share/php/test
+PEAR www files directory       www_dir          /usr/share/php/htdocs
 Cache TimeToLive               cache_ttl        3600
 Preferred Package State        preferred_state  stable
 Unix file mask                 umask            22
@@ -32,7 +32,7 @@
 PEAR password (for             password         <not set>
 Signature Handling Program     sig_bin          /usr/bin/gpg
-Signature Key Directory        sig_keydir       /etc/pearkeys
+Signature Key Directory        sig_keydir       /etc/pear/pearkeys
 Signature Key Id               sig_keyid        <not set>
 Package Signature Type         sig_type         gpg
 PEAR username (for             username         <not set>

I recommend to put a link in php-pear
/etc/pear.conf -> pear/pear.conf
resp. to change the build-option on /etc/pear/pear.conf
to get the configuration evaluated.

Best wishes

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php-pear depends on:
ii  php5-cli                5.3.3-7+squeeze1 command-line interpreter for the p
ii  php5-common             5.3.3-7+squeeze1 Common files for packages built fr

Versions of packages php-pear recommends:
ii  gnupg                         1.4.10-4   GNU privacy guard - a free PGP rep

Versions of packages php-pear suggests:
pn  php5-dev                      <none>     (no description available)

-- no debconf information

More information about the pkg-php-maint mailing list