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

anarcat anarcat at anarcat.ath.cx
Fri Jan 25 16:09:42 UTC 2013

On Fri, Jan 25, 2013 at 02:44:48PM +0800, Thomas Goirand wrote:
> 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?

It sure does!

That was pretty much what I was wondering. So my problem is with
upstream: I can't find that darn package.xml anywhere. The package is
drush and the upstream sourcecode[1] is *not* a PEAR package. The package
is available from a different source[2] and I can't find how to extract the
package.xml from there... bleh.



[1] http://drupal.org/project/drush
[2] http://pear.drush.org/

Nothing incites to money-crimes like great poverty or great wealth.
                        - Mark Twain

More information about the pkg-php-pear mailing list