Files
ports/security/modsecurity3/Makefile
T
Wolfgang Gerlach 9cfd1534f9 security/modsecurity3: Update 3.0.15 => 3.0.16
Changelog:
https://github.com/owasp-modsecurity/ModSecurity/blob/v3.0.16/CHANGES

PR:		296385
Approved by:	osa, vvd (Mentors, implicit)
MFH:		2026Q2
Security:	CVE-2026-52761 (Details not yet available)
Security:	CVE-2026-52747 (Details not yet available)
2026-06-30 14:34:07 +03:00

48 lines
1.2 KiB
Makefile

PORTNAME= modsecurity
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.16
PORTREVISION= 0
CATEGORIES= security www
MASTER_SITES= https://github.com/owasp-modsecurity/ModSecurity/releases/download/v${DISTVERSION}/
PKGNAMESUFFIX= 3
MAINTAINER= wolfgang.gerlach@proton.me
COMMENT= Intrusion detection and prevention engine
WWW= https://www.modsecurity.org/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libcurl.so:ftp/curl \
libpcre2-8.so:devel/pcre2 \
libyajl.so:devel/yajl \
libmaxminddb.so:net/libmaxminddb
USES= cpe gmake gnome libtool pkgconfig:build
CPE_VENDOR= owasp
USE_GNOME= libxml2
# GCC because of https://github.com/SpiderLabs/ModSecurity/issues/1411
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-lmdb --without-ssdeep --without-lua --with-pcre2
INSTALL_TARGET= install-strip
CONFLICTS_INSTALL= ap??-mod_security mod_security3
ETCDIR= ${PREFIX}/etc/modsecurity
PLIST_SUB= SHLIBVER=${DISTVERSION}
post-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended \
${STAGEDIR}${ETCDIR}/modsecurity.conf.sample
${INSTALL_DATA} ${WRKSRC}/unicode.mapping \
${STAGEDIR}${ETCDIR}/unicode.mapping
.include <bsd.port.mk>