mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
19
package/nginx-modsecurity/Config.in
Normal file
19
package/nginx-modsecurity/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_NGINX_MODSECURITY
|
||||
bool "nginx-modsecurity"
|
||||
depends on BR2_PACKAGE_NGINX_HTTP
|
||||
depends on BR2_INSTALL_LIBSTDCPP # libmodsecurity
|
||||
depends on !BR2_STATIC_LIBS # libmodsecurity
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libmodsecurity
|
||||
select BR2_PACKAGE_PCRE # libmodsecurity
|
||||
select BR2_PACKAGE_LIBMODSECURITY
|
||||
help
|
||||
The ModSecurity-nginx connector is the connection
|
||||
point between nginx and libmodsecurity
|
||||
(ModSecurity v3).
|
||||
|
||||
https://github.com/SpiderLabs/ModSecurity-nginx
|
||||
|
||||
comment "nginx-modsecurity needs a toolchain w/ C++, dynamic library, threads"
|
||||
depends on BR2_PACKAGE_NGINX_HTTP
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS
|
||||
4
package/nginx-modsecurity/nginx-modsecurity.hash
Normal file
4
package/nginx-modsecurity/nginx-modsecurity.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# From https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v1.0.1/modsecurity-nginx-v1.0.1.tar.gz.sha256
|
||||
sha256 def45a8db5bc9da14765eda75363457209a86c89538ccf5bfbd3aa02fa10833c modsecurity-nginx-v1.0.1.tar.gz
|
||||
# Localy calculated
|
||||
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
|
||||
14
package/nginx-modsecurity/nginx-modsecurity.mk
Normal file
14
package/nginx-modsecurity/nginx-modsecurity.mk
Normal file
@@ -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))
|
||||
Reference in New Issue
Block a user