[pkg-php-pear] Bug#818271: PEAR sysconfdir has changed from /etc/pear to /etc

Ondřej Surý ondrej at debian.org
Tue Mar 15 10:18:15 UTC 2016

Package: php-pear
Version: 5.6.17+dfsg-3
Severity: important


after setting back PEAR_INSTALL_DIR in PHP SAPIs back to
/usr/share/php, we are almost back at the same default config
variables as we had before the source package split, with one notable
exception that needs to be fixed:

Signature Key Directory        sig_keydir       [-/etc/pear/pearkeys-]       {+/etc/pearkeys+}
System Configuration File      Filename         [-/etc/pear/pear.conf-]         {+/etc/pear.conf+}

The sysconfdir for src:php-pear packages has changed from /etc/pear/
to just /etc/.

We had this in d/rules before:

cd cgi-build && PHP_PEAR_DOWNLOAD_DIR=$(CURDIR)/pear-build-download $(MAKE) install-pear PHP_PEAR_PHP_BIN=/usr/bin/php PHP_PEAR_INSTALL_DIR=/usr/share/php PHP_PEAR_SYSCONF_DIR=/etc/pear PHP_PEAR_SIG_BIN=/usr/bin/gpg INSTALL_ROOT=$(CURDIR)/pear-build

So I guess you need to emulate that somehow from src:php-pear to get
the variables back to where they were before the src package split.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php-pear depends on:
ii  php5-cli     5.6.17+dfsg-3
ii  php5-common  5.6.17+dfsg-3

Versions of packages php-pear recommends:
ii  gnupg  1.4.20-4

Versions of packages php-pear suggests:
ii  php5-dev  5.6.17+dfsg-3

-- Configuration Files:
/etc/pear/pear.conf [Errno 2] No such file or directory: u'/etc/pear/pear.conf'

-- no debconf information

More information about the pkg-php-pear mailing list