[pkg-php-pear] Packaging packages from another channel than pear.php.net howto

Mathieu Parent (Debian) sathieu at debian.org
Fri Jun 28 08:59:29 UTC 2013

2013/6/28 Thomas Goirand <zigo at debian.org>:
> Mathieu,
> This mail is for you.
> I know that pkg-php-tools can now handle PEAR packages from any channel.
> Though I'm not sure what should be done in such case, when writing a
> PEAR package. Should we do:
> Depends: pear-${phppear:channel}-channel
> manually, or what?

Probably not. The PEAR channel is only necessary at build time and
when you want to manually install a PEAR package (pear install ...)

But you should do:
Build-depends: ..., pear-foo-channel

(substvars cannot be used for source part)

> I have already edited http://pkg-php.alioth.debian.org/ to the best of
> my knowledge, though I'm sure this page would benefit from your input.
> To edit that page, please login into wagner.debian.org, and go in
> /home/groups/pkg-php/htdocs to edit the index.php.

I have updated the doc. Wordings should probably be improved.

> Mathieu, what package should we consider as a good example to point at,
> for packaging a PEAR package from a different channel than pear.php.net?

I have pointed to pear-horde-channel. But it is not in the pkg-php
team. You can update the doc once another channel pkg is using


Mathieu Parent

More information about the pkg-php-pear mailing list