[pkg-php-pear] Testers (and Debhelper Perl Developers) needed: Debhelper support for PHP5 and SAPI/module php5 {en, dis}mod helper

Ondřej Surý ondrej at sury.org
Wed Jul 17 09:52:45 UTC 2013


On Wed, Jul 17, 2013 at 11:38 AM, Mathieu Parent <math.parent at gmail.com>wrote:

> 2013/7/10 Ondřej Surý <ondrej at sury.org>:
> > On Tue, Jul 9, 2013 at 3:18 PM, Mathieu Parent <math.parent at gmail.com>
> > wrote:
> >>
> >> > but you still need dh_php5 for PHP extensions to correctly
> >> > enable/disable
> >> > the module, etc.
> >>
> >> Yes. I agree. Adding lintian warning for this can also help (see wip
> >> #708551).
> >
> >
> > Mathieu,
> >
> > could you please add the dh_php5 for PECL packages in #708551?
> >
> > Maybe the logic should be:
> >
> > If you depend on php5-dev, you should either also depend and use dh_php5
> (or
> > you should call php5{en,dis}mod in your postinst scripts and override the
> > lintian warning).
>
> Done in latest patches (not yet integrated):
> http://bugs.debian.org/708551#57.
>
> The logic is:
> - if this is a PECL, then it should build-depend on php5-dev and dh-php5
> - if this is a PECL, then it should have a "--with php5" in debian/rules
> - if you want to directly use php5{en,dis}mod, then you need to override
> lintian
>

Awesome!

Thank you.

Now I hope the -13 was last update before the php5 migrates to testing
together with apache2 :)

O.
-- 
Ondřej Surý <ondrej at sury.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20130717/22fdf843/attachment.html>


More information about the pkg-php-pear mailing list