mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
COMMENT = intrusion detection and prevention engine
|
|
|
|
VERSION = 3.0.14
|
|
DISTNAME = modsecurity-v${VERSION}
|
|
PKGNAME = libmodsecurity-${VERSION}
|
|
SUPDISTFILES = ${DISTFILES:S/$/.sig/}
|
|
|
|
SHARED_LIBS = modsecurity 2.0 # 3.14
|
|
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = https://www.modsecurity.org
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = ${COMPILER_LIBCXX} c crypto curl iconv lzma m ssl z \
|
|
maxminddb nghttp2 nghttp3 ngtcp2 ngtcp2_crypto_quictls \
|
|
pcre pcre2-8 xml2 yajl
|
|
|
|
SITES = https://github.com/SpiderLabs/ModSecurity/releases/download/v${VERSION}/
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
LIB_DEPENDS = converters/libiconv \
|
|
devel/libyajl \
|
|
devel/pcre \
|
|
devel/pcre2 \
|
|
net/curl \
|
|
net/libmaxminddb \
|
|
textproc/libxml
|
|
|
|
USE_GMAKE = Yes
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS = --without-lmdb \
|
|
--without-ssdeep \
|
|
--without-lua
|
|
|
|
# some tests need network access
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/modsecurity/
|
|
${INSTALL_DATA} ${WRKSRC}/unicode.mapping ${PREFIX}/share/modsecurity/
|
|
|
|
.include <bsd.port.mk>
|