blob: da14b216690b1b80234ba9da62760729bf978fa4 [file] [log] [blame]
config BR2_PACKAGE_LIBMODSECURITY
bool "libmodsecurity"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
# libmodsecurity embeds several mbedtls source files, causing
# various issues when static linking and other dependencies of
# libmodsecurity in turn use mbedtls
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_PCRE2
help
Libmodsecurity is one component of the ModSecurity
v3 project. The library codebase serves as an
interface to ModSecurity Connectors taking in web
traffic and applying traditional ModSecurity
processing. In general, it provides the capability
to load/interpret rules written in the ModSecurity
SecRules format and apply them to HTTP content
provided by your application via Connectors.
https://github.com/owasp-modsecurity/ModSecurity
comment "libmodsecurity needs a toolchain w/ C++, threads, dynamic library"
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS