git: 55f098d66a46 - main - www/mod_security: Update to 2.9.12

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Sat, 20 Sep 2025 20:30:01 UTC
The branch main has been updated by joneum:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55f098d66a460c8858add2ca6142e860311c1818

commit 55f098d66a460c8858add2ca6142e860311c1818
Author:     Einar Bjarni Halldórsson <einar@isnic.is>
AuthorDate: 2025-09-20 20:22:19 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2025-09-20 20:29:39 +0000

    www/mod_security: Update to 2.9.12
    
    PR:     289495
    Sponsored by:   Netzkommune GmbH
---
 www/mod_security/Makefile | 7 ++++---
 www/mod_security/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile
index 2c50163b7600..ea86f923ce89 100644
--- a/www/mod_security/Makefile
+++ b/www/mod_security/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	mod_security
-PORTVERSION=	2.9.10
-PORTREVISION=	1
+PORTVERSION=	2.9.12
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www security
 PKGNAMEPREFIX=	${APACHE_PKGNAMEPREFIX}
@@ -18,7 +17,7 @@ LIB_DEPENDS+=	libpcre2-8.so:devel/pcre2 \
 		libgdbm.so:databases/gdbm \
 		libexpat.so:textproc/expat2
 
-USES=		apache bdb:18 gnome perl5 pkgconfig shebangfix autoreconf libtool:build
+USES=		apache gnome perl5 pkgconfig shebangfix autoreconf libtool:build
 USE_GITHUB=	yes
 GH_ACCOUNT=	owasp-modsecurity
 GH_PROJECT=	ModSecurity
@@ -79,5 +78,7 @@ post-install:
 
 	@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
 	${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE}.sample ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mod_security2.so \
+		${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_security2.so
 
 .include <bsd.port.mk>
diff --git a/www/mod_security/distinfo b/www/mod_security/distinfo
index 063cf2ff129a..fbd9b3c2bd7d 100644
--- a/www/mod_security/distinfo
+++ b/www/mod_security/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749190237
-SHA256 (owasp-modsecurity-ModSecurity-v2.9.10_GH0.tar.gz) = d18bf74fa2073a6aad8e08a6f46c1eaac6c1841afb0b309b3acc54788a0b05d0
-SIZE (owasp-modsecurity-ModSecurity-v2.9.10_GH0.tar.gz) = 3901245
+TIMESTAMP = 1757636585
+SHA256 (owasp-modsecurity-ModSecurity-v2.9.12_GH0.tar.gz) = 3aaa8414bd66c29381b2e6fc7e814391c16130bbd3ddec96e90f4b0a821de6e2
+SIZE (owasp-modsecurity-ModSecurity-v2.9.12_GH0.tar.gz) = 3909656