nginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP
authorJohan Oudinet <johan.oudinet@gmail.com>
Mon, 5 Dec 2016 14:28:24 +0000 (15:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 5 Dec 2016 20:32:29 +0000 (21:32 +0100)
This package adds XSS and SQLi protection to Nginx HTTP server.
So, it makes sense iff the HTTP part of nginx is enabled.

Fixes:

  http://autobuild.buildroot.net/results/1df67325f11a6f1c88d0c9cc5f4feab0b57bc2a6/

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas: fix indentation, add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nginx-naxsi/Config.in

index 5ae5497060621cf4bcb243d1d5aad70da85706f4..fc2ba9bfe35c143ca3bb002904450fff7e33bf45 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_NGINX_NAXSI
        bool "nginx-naxsi"
+       depends on BR2_PACKAGE_NGINX_HTTP
        # uses pcre, so nginx needs to be built with pcre support
        select BR2_PACKAGE_PCRE
        help