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

Property Value
Distribution Debian 7 (Wheezy)
Repository Debian Main amd64
Package name pkg-php-tools
Package version 0.8
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.


Package Version Architecture Repository
pkg-php-tools_1.12~bpo70+1_all.deb 1.12~bpo70+1 all Debian Backports Main
pkg-php-tools_1.12~bpo70+1_all.deb 1.12~bpo70+1 all Debian Backports Main
pkg-php-tools_0.8_all.deb 0.8 all Debian Main
pkg-php-tools - - -


Name Value
debhelper -
php-pear -
php5-cli -


Type URL
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




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
* 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!

See Also

Package Description
pkglab_1.4.2-13+b1_amd64.deb interactive environment to explore package repositories
pkgsync_1.22_all.deb automated package list synchronization
pkpgcounter_3.50-7_all.deb computes number of pages or quantity of ink needed to print documents
pktstat_1.8.5-3_amd64.deb top-like utility for network connections usage
plait_1.6.2-1_all.deb command-line jukebox
plan_1.10.1-2_amd64.deb X/Motif day planner (dynamically compiled with LessTif2)
planet-venus_0~bzr116-1_all.deb aggregate feed generator
planetpenguin-racer-extras_0.6-1_all.deb transitional dummy package
planetpenguin-racer-gimp-dev_0.4-5_all.deb Dummy transition package for extremetuxracer
planetpenguin-racer_0.4-5_all.deb Dummy transition package for extremetuxracer
planets_0.1.13-13_all.deb Gravitation simulation of planetary bodies
planner-data_0.14.6-1_all.deb Data files for planner
planner-dev_0.14.6-1_amd64.deb Planner development library
planner-doc_0.14.6-1_all.deb Documentation for planner
planner-el_3.42-5.1_all.deb personal information manager for Emacs