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

Mathieu Parent math.parent at gmail.com
Wed Jul 17 09:38:17 UTC 2013


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

Regards
--
Mathieu



More information about the pkg-php-maint mailing list