[Buildroot] [PATCH 3/3] package/nginx-naxsi: add missing pcre dependency

Samuel Martin s.martin49 at gmail.com
Tue Sep 13 17:52:03 UTC 2016


On Tue, Sep 13, 2016 at 7:30 PM, Arnout Vandecappelle <arnout at mind.be> wrote:
>
>
> On 13-09-16 09:57, Samuel Martin wrote:
>> On Tue, Sep 13, 2016 at 8:40 AM, Arnout Vandecappelle <arnout at mind.be> wrote:
>>>
>>>
>>> On 12-09-16 21:23, Samuel Martin wrote:
>>>> Fixes:
>>>>   http://autobuild.buildroot.net/results/9c7/9c7bad6831b09251af81e2bbfc595a241df87c70/
>>>>
>>>> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
>>>> ---
>>>>  package/nginx-naxsi/Config.in | 1 +
>>>>  1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/package/nginx-naxsi/Config.in b/package/nginx-naxsi/Config.in
>>>> index 2f7c2da..6c175eb 100644
>>>> --- a/package/nginx-naxsi/Config.in
>>>> +++ b/package/nginx-naxsi/Config.in
>>>> @@ -1,5 +1,6 @@
>>>>  config BR2_PACKAGE_NGINX_NAXSI
>>>>       bool "nginx-naxsi"
>>>> +     select BR2_PACKAGE_PCRE
>>>>       help
>>>>         NAXSI means Nginx Anti XSS & SQL Injection.
>>>
>>>  I may be missing something, but shouldn't there be a _DEPENDENCIES += in .mk?
>>
>> Nope, this is not needed.
>> naxsi is a nginx' module, built by nginx.mk, which already has an
>> automatic dependency on pcre when selected.
>
>  I don't think we should rely on transitive dependencies. naxsi.h #include's
> pcre.h, so there should be an explicit dependency in the .mk file.

Fair enough, I'll post the follow-up shortly.


-- 
Samuel



More information about the buildroot mailing list