[pkg-php-pear] how to update pear packages?

Thomas Goirand thomas at goirand.fr
Fri Jan 25 06:44:48 UTC 2013

On 01/25/2013 11:51 AM, Antoine Beaupré wrote:
> Hello!
> I have read numerous webpages and policies and documentation about
> packaging PEAR software and I am still confused. I understand the
> proposed layout, but I don't understand where the package.xml file comes
> From or how it is kept up to date with upstream.
> Can anybody enlighten me about that?
> A.
> (PS: please cc me)

Hi Antoine,

I'm not 100% sure what you are asking for. So I'll answer as much as I
can, hoping it helps.

The package.xml is shipped with upstream source code. We, as Debian
maintainers, never have to touch it, we simply take the upstream
tarball, and in it, we find the up-to-date XML file which we use as a
source for the packaging. pkg-php-tools does the rest of the job,
calling "pear install" to get the files at the correct place in the
debian folder. Then, at a higher level, you can use "debpear" to do the
kind of job you would do with dh_make (eg: create a basic Debian package
out of some upstream sources).

Does this help?


More information about the pkg-php-pear mailing list