1################################################################################ 2# 3# modsecurity2 4# 5################################################################################ 6 7MODSECURITY2_VERSION = 2.9.7 8MODSECURITY2_SOURCE = modsecurity-$(MODSECURITY2_VERSION).tar.gz 9MODSECURITY2_SITE = https://github.com/SpiderLabs/ModSecurity/releases/download/v$(MODSECURITY2_VERSION) 10MODSECURITY2_LICENSE = Apache-2.0 11MODSECURITY2_LICENSE_FILES = LICENSE 12MODSECURITY2_CPE_ID_VENDOR = trustwave 13MODSECURITY2_CPE_ID_PRODUCT = modsecurity 14MODSECURITY2_INSTALL_STAGING = YES 15MODSECURITY2_DEPENDENCIES = host-pkgconf apache libxml2 pcre2 16 17MODSECURITY2_CONF_OPTS = \ 18 --with-pcre2=$(STAGING_DIR)/usr/bin/pcre2-config \ 19 --with-apr=$(STAGING_DIR)/usr/bin/apr-1-config \ 20 --with-apu=$(STAGING_DIR)/usr/bin/apu-1-config \ 21 --with-apxs=$(STAGING_DIR)/usr/bin/apxs \ 22 --without-curl \ 23 --without-lua \ 24 --without-pcre \ 25 --without-yajl \ 26 --without-ssdeep 27 28$(eval $(autotools-package)) 29