1config BR2_PACKAGE_LIBMODSECURITY
2	bool "libmodsecurity"
3	depends on BR2_INSTALL_LIBSTDCPP
4	depends on BR2_TOOLCHAIN_HAS_THREADS
5	# libmodsecurity embeds several mbedtls source files, causing
6	# various issues when static linking and other dependencies of
7	# libmodsecurity in turn use mbedtls
8	depends on !BR2_STATIC_LIBS
9	select BR2_PACKAGE_PCRE2
10	help
11	  Libmodsecurity is one component of the ModSecurity
12	  v3 project. The library codebase serves as an
13	  interface to ModSecurity Connectors taking in web
14	  traffic and applying traditional ModSecurity
15	  processing. In general, it provides the capability
16	  to load/interpret rules written in the ModSecurity
17	  SecRules format and apply them to HTTP content
18	  provided by your application via Connectors.
19
20	  https://github.com/owasp-modsecurity/ModSecurity
21
22comment "libmodsecurity needs a toolchain w/ C++, threads, dynamic library"
23	depends on !BR2_INSTALL_LIBSTDCPP || \
24		!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
25