Skip to contentSkip to conversation

nginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP

PATCH New Johan Oudinet 2 participants 3 messages Dec 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 nginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP

This package adds XSS and SQLi protection to Nginx HTTP server. So, it makes sense iff the HTTP part of nginx is enabled.

---
 package/nginx-naxsi/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/nginx-naxsi/Config.in +1 -0
index 5ae5497..e9907aa 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 nginx-dav-ext: depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE

This package adds missing WebDAB commands to NGINX. So, it makes sense iff Nginx is compiled with the WebDAV support.

---
 package/nginx-dav-ext/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/nginx-dav-ext/Config.in +1 -0
index bf197dc..8761e2f 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_NGINX_DAV_EXT
 	bool "nginx-dav-ext"
+        depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE
 	select BR2_PACKAGE_EXPAT
 	help
 	  NGINX WebDAV missing commands support (PROPFIND & OPTIONS).
Signature · 1 line
2.7.4
#2 lore raw

PATCH 1/2 nginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP

In reply to Johan Oudinet

Hello,

Quoted 7 lines · Johan Oudinet

This package adds XSS and SQLi protection to Nginx HTTP server. So, it makes sense iff the HTTP part of nginx is enabled.

---
 package/nginx-naxsi/Config.in | 1 +
 1 file changed, 1 insertion(+)

Thanks, I've applied both patches. However, I had to fix two things:

- The indentation was wrong: you used spaces while Config.in entries are indented with one tab.

- You forgot to add references to the autobuilder issues being fixed by those patches.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com