Skip to contentSkip to conversation

package/nginx-naxsi: add pcre dependency to .mk

PATCH New Samuel Martin 3 participants 4 messages Sep 13, 2016 – Sep 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/nginx-naxsi: add pcre dependency to .mk

This change completes the commit 218dfdd9038af882a02fe64f13a533c8ce75ddc1.

---
 package/nginx-naxsi/nginx-naxsi.mk | 1 +
 1 file changed, 1 insertion(+)
package/nginx-naxsi/nginx-naxsi.mk +1 -0
index 0e1f714..ad7749e 100644
@@ -8,5 +8,6 @@ NGINX_NAXSI_VERSION = 0.54
 NGINX_NAXSI_SITE = $(call github,nbs-system,naxsi,$(NGINX_NAXSI_VERSION))
 NGINX_NAXSI_LICENSE = GPLv2+ with OpenSSL exception
 NGINX_NAXSI_LICENSE_FILES = naxsi_src/naxsi_json.c
+NGINX_NAXSI_DEPENDENCIES = pcre
 
 $(eval $(generic-package))
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 package/nginx-naxsi: add pcre dependency to .mk

Hello,

Quoted 12 lines · Samuel Martin

This change completes the commit 218dfdd9038af882a02fe64f13a533c8ce75ddc1.

---
 package/nginx-naxsi/nginx-naxsi.mk | 1 +
 1 file changed, 1 insertion(+)
package/nginx-naxsi/nginx-naxsi.mk +0 -0
index 0e1f714..ad7749e 100644

package/nginx-naxsi/nginx-naxsi.mk NGINX_NAXSI_VERSION = 0.54 · line 13

Quoted 6 lines
package/nginx-naxsi/nginx-naxsi.mk +1 -0
@@ -8,5 +8,6 @@ NGINX_NAXSI_VERSION = 0.54
 NGINX_NAXSI_SITE = $(call github,nbs-system,naxsi,$(NGINX_NAXSI_VERSION))
 NGINX_NAXSI_LICENSE = GPLv2+ with OpenSSL exception
 NGINX_NAXSI_LICENSE_FILES = naxsi_src/naxsi_json.c
+NGINX_NAXSI_DEPENDENCIES = pcre
 
 $(eval $(generic-package))

Is this really necessary? nginx-naxsi is not a real package, it just allows to download the source code of nginx-naxsi before nginx gets built.

And nginx.mk already has pcre in NGINX_DEPENDENCIES when pcre is enabled, so I believe the select added in 218dfdd9038af882a02fe64f13a533c8ce75ddc1 is sufficient.

If not, could you explain why?

Thanks,

Thomas

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

PATCH 1/1 package/nginx-naxsi: add pcre dependency to .mk

Thomas,

Quoted 26 lines · Thomas Petazzoni

Hello,

Quoted 12 lines · Samuel Martin

This change completes the commit 218dfdd9038af882a02fe64f13a533c8ce75ddc1.

---
 package/nginx-naxsi/nginx-naxsi.mk | 1 +
 1 file changed, 1 insertion(+)
package/nginx-naxsi/nginx-naxsi.mk +0 -0
index 0e1f714..ad7749e 100644

package/nginx-naxsi/nginx-naxsi.mk NGINX_NAXSI_VERSION = 0.54 · line 13

Quoted 6 lines
package/nginx-naxsi/nginx-naxsi.mk +1 -0
@@ -8,5 +8,6 @@ NGINX_NAXSI_VERSION = 0.54
 NGINX_NAXSI_SITE = $(call github,nbs-system,naxsi,$(NGINX_NAXSI_VERSION))
 NGINX_NAXSI_LICENSE = GPLv2+ with OpenSSL exception
 NGINX_NAXSI_LICENSE_FILES = naxsi_src/naxsi_json.c
+NGINX_NAXSI_DEPENDENCIES = pcre
 
 $(eval $(generic-package))

Is this really necessary? nginx-naxsi is not a real package, it just allows to download the source code of nginx-naxsi before nginx gets built.

Quoted 3 lines

And nginx.mk already has pcre in NGINX_DEPENDENCIES when pcre is enabled, so I believe the select added in 218dfdd9038af882a02fe64f13a533c8ce75ddc1 is sufficient.

I agree, hence the first patch...

Quoted 2 lines

If not, could you explain why?

... but Arnout does not seem to share this opinion [1].

So, I'm tempted to said "maintainer call" on this.

[1] http://lists.busybox.net/pipermail/buildroot/2016-September/172113.html

Regards,

Signature · 1 line
Samuel
#3 lore raw

PATCH 1/1 package/nginx-naxsi: add pcre dependency to .mk

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Samuel" == Samuel Martin <[email protected]> writes:

Hi,

Quoted 11 lines
Quoted 7 lines

Is this really necessary? nginx-naxsi is not a real package, it just allows to download the source code of nginx-naxsi before nginx gets built.

And nginx.mk already has pcre in NGINX_DEPENDENCIES when pcre is enabled, so I believe the select added in 218dfdd9038af882a02fe64f13a533c8ce75ddc1 is sufficient.

I agree, hence the first patch...

Quoted 1 line
Quoted 7 lines
Quoted 1 line

If not, could you explain why?

... but Arnout does not seem to share this opinion [1].

So, I'm tempted to said "maintainer call" on this.

[1] http://lists.busybox.net/pipermail/buildroot/2016-September/172113.html

I instead added a comment above the select to clarify and marked this patch as superseeded in patchwork.

Signature · 1 line
Bye, Peter Korsgaard