Initial Commit
- initial default booting image
This commit is contained in:
13
package/modsecurity2/Config.in
Normal file
13
package/modsecurity2/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_MODSECURITY2
|
||||
bool "modsecurity2"
|
||||
depends on BR2_PACKAGE_APACHE
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_PCRE2
|
||||
help
|
||||
ModSecurity is an open source, cross-platform web application
|
||||
firewall (WAF) module. Known as the "Swiss Army Knife" of
|
||||
WAFs, it enables web application defenders to gain visibility
|
||||
into HTTP(S) traffic and provides a power rules language and
|
||||
API to implement advanced protections.
|
||||
|
||||
https://github.com/owasp-modsecurity/ModSecurity
|
||||
5
package/modsecurity2/modsecurity2.hash
Normal file
5
package/modsecurity2/modsecurity2.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://github.com/owasp-modsecurity/ModSecurity/releases/download/v2.9.12/modsecurity-v2.9.12.tar.gz.sha256
|
||||
sha256 79ada8693303be3490201397344bf66900a45f07ae328bf6cf01ca99e5d135fa modsecurity-v2.9.12.tar.gz
|
||||
|
||||
# Locally computed
|
||||
sha256 2c564f5a67e49e74c80e5a7dcacd1904e7408f1fd6a95218b38c04f012d94cb9 LICENSE
|
||||
28
package/modsecurity2/modsecurity2.mk
Normal file
28
package/modsecurity2/modsecurity2.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# modsecurity2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MODSECURITY2_VERSION = 2.9.12
|
||||
MODSECURITY2_SOURCE = modsecurity-v$(MODSECURITY2_VERSION).tar.gz
|
||||
MODSECURITY2_SITE = https://github.com/owasp-modsecurity/ModSecurity/releases/download/v$(MODSECURITY2_VERSION)
|
||||
MODSECURITY2_LICENSE = Apache-2.0
|
||||
MODSECURITY2_LICENSE_FILES = LICENSE
|
||||
MODSECURITY2_CPE_ID_VENDOR = owasp
|
||||
MODSECURITY2_CPE_ID_PRODUCT = modsecurity
|
||||
MODSECURITY2_INSTALL_STAGING = YES
|
||||
MODSECURITY2_DEPENDENCIES = host-pkgconf apache libxml2 pcre2
|
||||
|
||||
MODSECURITY2_CONF_OPTS = \
|
||||
--with-pcre2=$(STAGING_DIR)/usr/bin/pcre2-config \
|
||||
--with-apr=$(STAGING_DIR)/usr/bin/apr-1-config \
|
||||
--with-apu=$(STAGING_DIR)/usr/bin/apu-1-config \
|
||||
--with-apxs=$(STAGING_DIR)/usr/bin/apxs \
|
||||
--without-curl \
|
||||
--without-lua \
|
||||
--without-pcre \
|
||||
--without-yajl \
|
||||
--without-ssdeep
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user