aboutsummaryrefslogtreecommitdiff
path: root/package/nginx-modsecurity/nginx-modsecurity.mk
diff options
context:
space:
mode:
authorGravatar Frank Vanbever <frank.vanbever@essensium.com>2020-01-30 10:56:29 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-01-30 11:26:53 +0100
commitd35873ab0ce5921974239354f8c6e1b4ccc6e565 (patch)
treef6b2bfc2c2fc2823ec08f274e52bfb86146f9121 /package/nginx-modsecurity/nginx-modsecurity.mk
parentd9205b4da5dc8cf206c28e5c5dd74baa4d308876 (diff)
downloadbuildroot-d35873ab0ce5921974239354f8c6e1b4ccc6e565.tar.gz
buildroot-d35873ab0ce5921974239354f8c6e1b4ccc6e565.tar.bz2
package/nginx-modsecurity: new package
The name of the package diverges slightly from upstream to maintain consistency with other nginx modules already present. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/nginx-modsecurity/nginx-modsecurity.mk')
-rw-r--r--package/nginx-modsecurity/nginx-modsecurity.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/nginx-modsecurity/nginx-modsecurity.mk b/package/nginx-modsecurity/nginx-modsecurity.mk
new file mode 100644
index 0000000000..6d33403d66
--- /dev/null
+++ b/package/nginx-modsecurity/nginx-modsecurity.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# nginx-modsecurity
+#
+################################################################################
+
+NGINX_MODSECURITY_VERSION = 1.0.1
+NGINX_MODSECURITY_SOURCE = modsecurity-nginx-v$(NGINX_MODSECURITY_VERSION).tar.gz
+NGINX_MODSECURITY_SITE = https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v$(NGINX_MODSECURITY_VERSION)
+NGINX_MODSECURITY_LICENSE = Apache-2.0
+NGINX_MODSECURITY_LICENSE_FILES = LICENSE
+NGINX_MODSECURITY_DEPENDENCIES = libmodsecurity
+
+$(eval $(generic-package))