2021-10-18 21:25:31 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# modsecurity2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2023-02-05 22:00:02 +08:00
|
|
|
MODSECURITY2_VERSION = 2.9.7
|
2021-12-18 05:21:45 +08:00
|
|
|
MODSECURITY2_SOURCE = modsecurity-$(MODSECURITY2_VERSION).tar.gz
|
|
|
|
MODSECURITY2_SITE = https://github.com/SpiderLabs/ModSecurity/releases/download/v$(MODSECURITY2_VERSION)
|
2021-10-18 21:25:31 +08:00
|
|
|
MODSECURITY2_LICENSE = Apache-2.0
|
|
|
|
MODSECURITY2_LICENSE_FILES = LICENSE
|
2021-12-18 05:20:15 +08:00
|
|
|
MODSECURITY2_CPE_ID_VENDOR = trustwave
|
|
|
|
MODSECURITY2_CPE_ID_PRODUCT = modsecurity
|
2021-10-18 21:25:31 +08:00
|
|
|
MODSECURITY2_INSTALL_STAGING = YES
|
2023-02-05 22:00:02 +08:00
|
|
|
MODSECURITY2_DEPENDENCIES = host-pkgconf apache libxml2 pcre2
|
2021-10-18 21:25:31 +08:00
|
|
|
|
|
|
|
MODSECURITY2_CONF_OPTS = \
|
2023-02-05 22:00:02 +08:00
|
|
|
--with-pcre2=$(STAGING_DIR)/usr/bin/pcre2-config \
|
2021-10-18 21:25:31 +08:00
|
|
|
--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 \
|
2023-02-20 00:56:38 +08:00
|
|
|
--without-pcre \
|
2021-10-18 21:25:31 +08:00
|
|
|
--without-yajl \
|
|
|
|
--without-ssdeep
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|