2020-01-30 10:56:29 +01:00
|
|
|
config BR2_PACKAGE_NGINX_MODSECURITY
|
|
|
|
bool "nginx-modsecurity"
|
2020-02-02 17:27:03 +01:00
|
|
|
depends on BR2_PACKAGE_NGINX_HTTP
|
2020-01-30 10:56:29 +01:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP # libmodsecurity
|
2020-02-02 22:37:34 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libmodsecurity
|
2022-06-13 22:06:20 +02:00
|
|
|
depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_LIBCURL_MBEDTLS) # libmodsecurity
|
2020-01-30 10:56:29 +01:00
|
|
|
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
|
|
|
|
|
2021-07-14 10:53:46 +02:00
|
|
|
comment "nginx-modsecurity needs a toolchain w/ C++, threads"
|
2020-02-02 17:27:03 +01:00
|
|
|
depends on BR2_PACKAGE_NGINX_HTTP
|
2021-07-14 10:53:46 +02:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
2022-06-13 22:06:20 +02:00
|
|
|
|
|
|
|
comment "nginx-modsecurity needs a toolchain w/ dynamic library"
|
|
|
|
depends on BR2_PACKAGE_NGINX_HTTP
|
|
|
|
depends on BR2_STATIC_LIBS && BR2_PACKAGE_LIBCURL_MBEDTLS
|