<div dir="ltr">On Wed, Jul 17, 2013 at 11:38 AM, Mathieu Parent <span dir="ltr"><<a href="mailto:math.parent@gmail.com" target="_blank">math.parent@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2013/7/10 Ondřej Surý <<a href="mailto:ondrej@sury.org">ondrej@sury.org</a>>:<br>
<div><div class="h5">> On Tue, Jul 9, 2013 at 3:18 PM, Mathieu Parent <<a href="mailto:math.parent@gmail.com">math.parent@gmail.com</a>><br>
> wrote:<br>
>><br>
>> > but you still need dh_php5 for PHP extensions to correctly<br>
>> > enable/disable<br>
>> > the module, etc.<br>
>><br>
>> Yes. I agree. Adding lintian warning for this can also help (see wip<br>
>> #708551).<br>
><br>
><br>
> Mathieu,<br>
><br>
> could you please add the dh_php5 for PECL packages in #708551?<br>
><br>
> Maybe the logic should be:<br>
><br>
> If you depend on php5-dev, you should either also depend and use dh_php5 (or<br>
> you should call php5{en,dis}mod in your postinst scripts and override the<br>
> lintian warning).<br>
<br>
</div></div>Done in latest patches (not yet integrated): <a href="http://bugs.debian.org/708551#57" target="_blank">http://bugs.debian.org/708551#57</a>.<br>
<br>
The logic is:<br>
- if this is a PECL, then it should build-depend on php5-dev and dh-php5<br>
- if this is a PECL, then it should have a "--with php5" in debian/rules<br>
- if you want to directly use php5{en,dis}mod, then you need to override lintian<br></blockquote><div><br></div><div>Awesome!</div><div><br></div><div>Thank you.<br></div><div><br></div><div>Now I hope the -13 was last update before the php5 migrates to testing together with apache2 :)</div>

</div><div><br></div><div>O.</div>-- <br>Ondřej Surý <<a href="mailto:ondrej@sury.org" target="_blank">ondrej@sury.org</a>>
</div></div>