pkg-php-tools - various packaging tools and scripts for PHP PEAR packages

Distribution: Debian 7 (Wheezy)
Repository: Debian Main amd64
Package name: pkg-php-tools
Package version: 0.8
Package release:
Package architecture: all
Package type: deb
Installed size: 89 B
Download size: 11.31 KB
Official Mirror:
Provide an easy way to package PHP PEAR packages: Run dh_make, edit debian/rules and debian/control and that's it! Detailed instructions can be found in included README.Debian.



    Binary package: pkg-php-tools_0.8_all.deb
    Source package: pkg-php-tools

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install pkg-php-tools deb package:
      # sudo apt-get install pkg-php-tools


    • /usr/bin/dh_phppear
    • /usr/share/doc/pkg-php-tools/README.Debian
    • /usr/share/doc/pkg-php-tools/changelog.gz
    • /usr/share/doc/pkg-php-tools/copyright
    • /usr/share/man/man1/dh_phppear.1.gz
    • /usr/share/perl5/Debian/Debhelper/Buildsystem/
    • /usr/share/perl5/Debian/Debhelper/Sequence/
    • /usr/share/pkg-php-tools/scripts/phppkginfo


    2012-05-07 - Thomas Goirand <> pkg-php-tools (0.8) unstable; urgency=low * Updated Vcs fields to use the pkg-php repo on Alioth. * Added myself as uploader. * Patched lib/scripts/phppkginfo to not have warnings in case there's no upstream changelog in the package.xml. * Added a debian/gbp.conf. * Bumped Standards-Version: to 3.9.3 (no change).

    2012-02-12 - Mathieu Parent <> pkg-php-tools (0.7) unstable; urgency=low * Fix prune of /usr/share/doc subdirectories when it doesn't exists

    2012-01-28 - Mathieu Parent <> pkg-php-tools (0.6) unstable; urgency=low * phppkginfo: support aNN and bNN for alpha and beta versions (used by the PEAR package) * Debian::Debhelper::Buildsystem::phppear: remove md5sums * prune /usr/share/doc subdirectories (package-contains-empty-directory from lintian) * Use PEAR list in maintainer field (Closes: #656993)

    2011-07-24 - Mathieu Parent <> pkg-php-tools (0.5) unstable; urgency=low * dh_phppear, Debian::Debhelper::Buildsystem::phppear: - check for phppkginfo exit code - run phppkginfo with -d option (errors are sent to STDERR) * phppkginfo: - various corrections to debian_deps - wildguess if a package if a PECL and use the appropriate prefix

    2011-07-24 - Mathieu Parent <> pkg-php-tools (0.4) unstable; urgency=low * phppkginfo: - add support for PEAR_PackageFile_v1 to hasphpscript - add no-op support for PEAR_PackageFile_v1 to debian_deps - prefer package2.xml over package.xml if present * dh_phppear: Drop the dot at end of summary if present (prevent description-synopsis-might-not-be-phrased-properly lintian warning) * README.Debian: update to debhelper 8

    2011-07-24 - Mathieu Parent <> pkg-php-tools (0.3) unstable; urgency=low * Fix changelog generation when there is only one item * Change phppkginfo usage to put command first * phppkginfo: - implement an algorithm constructing the debian package name from the pear channel url and package name - rewritten to use PEAR_PackageFile methods (commands release_license and packagerversion dropped) - added command debian_pkgname - added command debian_version

    2011-07-22 - Mathieu Parent <> pkg-php-tools (0.2) unstable; urgency=low * bin/dh_phppear: Format ${phppear:description} as recommended by policy (Wrap and replace empty lines with a dot) * Debian::Debhelper::Buildsystem::phppear: install upstream changelog

    2011-07-03 - Mathieu Parent <> pkg-php-tools (0.1) unstable; urgency=low * Initial Release (Closes: #629541). * Perl's Debian::Debhelper::Buildsystem::phppear: Automatic builder * Perl's Debian::Debhelper::Sequence::phppear * bin/dh_phppear: calculates PHP PEAR dependencies and add them to ${phppear:*} substvars * Manpage for dh_phppear * lib/scripts/phppkginfo: - Stolen from package dh-make-php - added -d option: print debug to STDERR - added "channel" command: print the PEAR channel URL - added "debian_deps" command: print a dependency list, the debian way - don't validate package files (this allows one to build package from unregistred channels - Check first for package.xml in subdirs, to have correct relative dirs - Remove old pear compatibility - various other small changes * Thanks to Gunnar Wrobel for all the tests!