pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ap-modsecurity2: remove, imported to pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Marcin Gondek <drixter%e-utp.net@localhost>
Pushed By:	drixter
Date:		Mon Jul 6 21:12:31 2026 +0200
Changeset:	fc6ef44f5928752f2001ae053f0cf919c91be7a0

Modified Files:
	Makefile
Removed Files:
	ap-modsecurity2/COMMIT_MSG
	ap-modsecurity2/DESCR
	ap-modsecurity2/Makefile
	ap-modsecurity2/PLIST
	ap-modsecurity2/distinfo
	ap-modsecurity2/files/README.pkgsrc
	ap-modsecurity2/options.mk

Log Message:
ap-modsecurity2: remove, imported to pkgsrc

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fc6ef44f5928752f2001ae053f0cf919c91be7a0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                            |   1 -
 ap-modsecurity2/COMMIT_MSG          | 126 ------------------------------------
 ap-modsecurity2/DESCR               |   7 --
 ap-modsecurity2/Makefile            |  54 ----------------
 ap-modsecurity2/PLIST               |   5 --
 ap-modsecurity2/distinfo            |   5 --
 ap-modsecurity2/files/README.pkgsrc |  26 --------
 ap-modsecurity2/options.mk          |  17 -----
 8 files changed, 241 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index e7e9f87f1a..12134c0631 100644
--- a/Makefile
+++ b/Makefile
@@ -183,7 +183,6 @@ SUBDIR+=	aols-freetds
 SUBDIR+=	aols-openssl
 SUBDIR+=	aols-postgres
 SUBDIR+=	aolserver4
-SUBDIR+=	ap-modsecurity2
 SUBDIR+=	ap2-auth-imap
 SUBDIR+=	ap2-auth-pam
 SUBDIR+=	ap2-evasive
diff --git a/ap-modsecurity2/COMMIT_MSG b/ap-modsecurity2/COMMIT_MSG
deleted file mode 100644
index 9cd1cacd35..0000000000
--- a/ap-modsecurity2/COMMIT_MSG
+++ /dev/null
@@ -1,126 +0,0 @@
-ap-modsecurity: Update to version 2.9.14
-
-Last version changes:
-
-02 Jul 2026 - 2.9.14
---------------------
-
- * chore: fix cppcheck issues with v2.21.0
-   [Issue #3593 - @airween]
- * fix: ctl:ruleRemoveTargetByTag not removing XML attribute targets
-   [Issue #3592 - @fzipi]
- * Remove deprecated REQBODY_PROCESSOR_ERROR and REQBODY_PROCESSOR_ERROR_MSG
-   [Issue #3578 - @hnakamur]
- * Re-apply lost fix 4f33f5b: collection_unpack value_len underflow regression
-   [Issue #3560 - @g4mm4-VCF]
-
-28 Apr 2026 - 2.9.13
---------------------
-
- * fix: heap buffer overflow in acmp pm
-   [Issue #3545 - @fumfel,@airween]
- * fix: probably UB (left shift of neg. val) in ip_tree code
-   [Issue #3542 - @fumfel,@airween]
- * feat(libinjection): add libinjection 4 final to v2
-   [Issue #3535 - @airween]
- * fix: cppcheck warnings
-   [Issue #3530 - @airween]
- * feat: add Lua 5.5 support when available
-   [Issue #3527 - @fzipi,@airween]
- * refactor: remove NGINX support from v2 (#3498)
-   [Issue #3502 - @sanjib2006]
- * fix: cppcheck warnings in nginx/
-   [Issue #3493 - @umprayz]
- * fix: cppcheck warnings in standalone/
-   [Issue #3488 - @umprayz]
- * v2: Accept requests whose body length is exactly equal to SecRequestBodyNoFilesLimit
-   [Issue #3480 - @hnakamur]
- * fix: yajl detection for source installations (#3457)
-   [Issue #3458 - @weida]
- * feat: fix regression test, add a new CI workflow
-   [Issue #3456 - @airween]
- * Fix libxml2 related deprecated issues
-   [Issue #3454 - @airween]
- * Add CMake and CI Pipeline for ModSecurityIIS in ModSecurity V2
-   [Issue #3452 - @A13501350]
- * fix(iis):  IPv6 Handling in ModSecurity IIS Module
-   [Issue #3443 - @A13501350]
- * fix: add event message resources to ModSecurityIIS.dll and resolve "Invalid function" errors (#3408)
-   [Issue #3438 - @A13501350]
-
-05 Aug 2025 - 2.9.12
---------------------
-
- * fix: Improper error handling
-   [PR from private repo - @orangetw, @pgajdos, @ylavic, @theseion, @fzipi, @airween
-    fixed CVE-2025-54571]
- * fix: mod_security2's regression tests [Issue #3425 - @airween]
- * fix: remove unused condition from msc_status_engine.c [Issue #3412 - @airween]
- * fix: remove unwanted '\0' string terminator from argument's value [Issue #3411 - @airween]
-
-01 Jul 2025 - 2.9.11
---------------------
-
- * fix: prevent segmentation fault if the XML node is empty
-   [PR from private repo - @theseion, @fzipi, @RedXanadu, @airween; fixed CVE-2025-52891]
- * Plug memory leak when msre_op_validateSchema_execute() exits normally (validateSchema)
-   [Issue #3401 - @nic-prgs]
- * chore: bump version in MSI installer.wxs
-   [Issue #3400 - @airween]
- * Fix resource leaks in `msc_status_engine_mac_address`
-   [Issue #3391 - @amezin]
-
-02 Jun 2025 - 2.9.10
---------------------
-
- * fix: DoS vulnerability
-   [PR from private repo - @theseion, @fzipi, @airween; fixed CVE-2025-48866]
-
-21 May 2025 - 2.9.9
--------------------
-
- * fix: DoS vulnerability
-   [PR from private repo - @theseion, @fzipi, @airween; fixed CVE-2025-47947]
- * chore: log error codes for global mutex failure modes.
-   [Issue #3387 - @airween]
- * chore: refactor build system to use PCRE2
-   [Issue #3383 - @airween]
- * feat: add 'make test' to v2's workflow
-   [Issue #3379 - @airween]
- * fix: 'make test' is able to run again
-   [Issue #3378 - @airween]
- * fix: add PCRE2 capability to standalone module
-   [Issue #3377 - @airween]
- * chore: remove unnecessary @LIBXML2_CFLAGS@ from linker flags
-   [Issue #3376 - @airween]
- * fix: add msc_fullinfo() to check JIT compilation
-   [Issue #3375 - @airween]
- * Fix error logging for standalone module
-   [Issue #3374 - @RedXanadu]
- * Fix compiler warnings from GCC
-   [Issue #3372 - @notroj]
- * feat: improved XMLArgs processing
-   [Issue #3358 - @airween]
- * Incorrect utf8toUnicode transformation for 00xx
-   [Issue #3284 - @marcstern]
- * Fixed PCRE2 error message
-   [Issue #3279 - @marcstern]
- * make rootpath and incpath consts for apr_filepath_root
-   [Issue #3270 - @Marcool04]
- * Fix apr_global_mutex_create() usage
-   [Issue #3269 - @marcstern]
- * chore: add 'log' action to rule 200005 (v2/master)
-   [Issue #3267 - @airween]
- * Move id_log() to msc_util to fix unit tests; it is declared on msc_ut…
-   [Issue #3265 - @rainerjung]
- * Missing #include <time.h>
-   [Issue #3262 - @marcstern]
- * Fixed apr_global_mutex_create() usage (no filename)
-   [PR #3269 - @marcstern]
- * handle errors from apr_global_mutex_lock
-   [PR #3257 - @marcstern]
-
-03 Sep 2024 - 2.9.8 <-> 31 Mar 2014 - 2.8.0-RC1
--------------------
-
-Please look: https://github.com/owasp-modsecurity/ModSecurity/blob/v2.9.14/CHANGES
diff --git a/ap-modsecurity2/DESCR b/ap-modsecurity2/DESCR
deleted file mode 100644
index d36a29a74f..0000000000
--- a/ap-modsecurity2/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-ModSecurity is an open source intrusion detection and prevention engine for
-web applications (or a web application firewall). Operating as an Apache Web
-server module or standalone, the purpose of ModSecurity is to increase web
-application security, protecting web applications from known and unknown
-attacks.
-
-This version is usable with apache 2.2 and 2.4.
diff --git a/ap-modsecurity2/Makefile b/ap-modsecurity2/Makefile
deleted file mode 100644
index 1bd727fb10..0000000000
--- a/ap-modsecurity2/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-# $NetBSD: Makefile,v 1.75 2026/05/14 16:41:59 ryoon Exp $
-
-DISTNAME=	modsecurity-v2.9.14
-PKGNAME=	${APACHE_PKG_PREFIX}-${DISTNAME:S/-v/-/}
-CATEGORIES=	www security
-MASTER_SITES=	${MASTER_SITE_GITHUB:=owasp-modsecurity/}
-GITHUB_PROJECT=	ModSecurity
-GITHUB_RELEASE=	v${PKGVERSION_NOREV}
-
-MAINTAINER=	drixter%e-utp.net@localhost
-HOMEPAGE=	https://github.com/owasp-modsecurity/ModSecurity/
-COMMENT=	Intrusion detection and prevention engine for web applications
-LICENSE=	apache-2.0
-
-APACHE_MODULE=		yes
-USE_APR=		yes
-USE_LANGUAGES=		c++ c
-
-.include "../../mk/apache.mk"
-.include "options.mk"
-
-GNU_CONFIGURE=			YES
-USE_TOOLS+=			pax pkg-config
-USE_LIBTOOL=			yes
-BUILD_DIRS=			apache2
-
-CONFIGURE_ARGS+=	--with-apxs=${APXS}
-CONFIGURE_ARGS+=	--with-pcre=${BUILDLINK_PREFIX.pcre}
-CONFIGURE_ARGS+=	--with-libxml=${BUILDLINK_PREFIX.libxml2}
-CONFIGURE_ARGS+=	--with-lua=${BUILDLINK_PREFIX.lua51}
-CONFIGURE_ARGS+=	--with-apr=${BUILDLINK_PREFIX.apr}
-CONFIGURE_ARGS+=	--with-apu=${BUILDLINK_PREFIX.apr-util}
-
-INSTALLATION_DIRS+=	lib/httpd
-
-EGDIR=			share/examples/ap-modsecurity
-DOCDIR=			share/doc/ap-modsecurity
-INSTALLATION_DIRS+=	${EGDIR} ${DOCDIR}
-
-CONF_FILES=		${PREFIX}/${EGDIR}/modsecurity.conf-recommended \
-			${PKG_SYSCONFDIR}/httpd/modsecurity.conf
-
-post-install:
-	${RM} -f ${DESTDIR}${PREFIX}/lib/mod_security2.so
-	${INSTALL_DATA} ${WRKSRC}/doc/README.txt  ${DESTDIR}${PREFIX}/${DOCDIR}/
-	${INSTALL_DATA} ${WRKSRC}/modsecurity.conf-recommended ${DESTDIR}${PREFIX}/${EGDIR}/
-	${INSTALL_DATA} ${FILESDIR}/README.pkgsrc ${DESTDIR}${PREFIX}/${DOCDIR}/README.pkgsrc
-
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../devel/pcre/buildlink3.mk"
-.include "../../devel/readline/buildlink3.mk"
-.include "../../lang/lua51/buildlink3.mk"
-.include "../../devel/yajl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/ap-modsecurity2/PLIST b/ap-modsecurity2/PLIST
deleted file mode 100644
index 6cb32e9653..0000000000
--- a/ap-modsecurity2/PLIST
+++ /dev/null
@@ -1,5 +0,0 @@
-@comment $NetBSD$
-lib/httpd/mod_security2.so
-share/doc/ap-modsecurity/README.pkgsrc
-share/doc/ap-modsecurity/README.txt
-share/examples/ap-modsecurity/modsecurity.conf-recommended
diff --git a/ap-modsecurity2/distinfo b/ap-modsecurity2/distinfo
deleted file mode 100644
index 9c5a9e188b..0000000000
--- a/ap-modsecurity2/distinfo
+++ /dev/null
@@ -1,5 +0,0 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 11:16:59 nia Exp $
-
-BLAKE2s (modsecurity-v2.9.14.tar.gz) = e2bb921b92c75e15c23251ca4f08991262d29ebd61eb0e6c527f81ca28af6a2f
-SHA512 (modsecurity-v2.9.14.tar.gz) = 788acc877295daa82d8e1aed7845e904194e54fda66ee5f6c24e57b2d9cf073feff124048942f1551ea1730e3d288818c57f6db27ea2b2c21d841267680535ff
-Size (modsecurity-v2.9.14.tar.gz) = 6644472 bytes
diff --git a/ap-modsecurity2/files/README.pkgsrc b/ap-modsecurity2/files/README.pkgsrc
deleted file mode 100644
index c359d6714a..0000000000
--- a/ap-modsecurity2/files/README.pkgsrc
+++ /dev/null
@@ -1,26 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.3 2018/01/29 09:48:45 he Exp $
-
-In order to use this module in your Apache installation, you will need
-to add the following to your httpd.conf file:
-
-  LoadModule security2_module lib/httpd/mod_security2.so
-
-In addition to this you will need to specify mod_security configuration
-directives in your httpd.conf.  This can be achieved by adding the
-following to your httpd.conf:
-
-  <IfModule mod_security2.c>
-      Include ${PKG_SYSCONFDIR}/httpd/modsecurity.conf
-  </IfModule>
-
-Example configuration files for modsecurity are available:
-
-  ${PREFIX}/share/examples/ap-modsecurity/
-
-In order to use the XML support in your Apache installation, you will need
-to add the following to your httpd.conf file:
-
-  LoadFile ${PREFIX}/lib/libxml2.so
-
-===========================================================================
diff --git a/ap-modsecurity2/options.mk b/ap-modsecurity2/options.mk
deleted file mode 100644
index f43004ac2d..0000000000
--- a/ap-modsecurity2/options.mk
+++ /dev/null
@@ -1,17 +0,0 @@
-# $NetBSD: options.mk,v 1.4 2011/03/19 13:31:52 obache Exp $
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.ap-modsecurity2
-
-PKG_SUPPORTED_OPTIONS=	curl
-
-.include "../../mk/bsd.options.mk"
-
-###
-### Bring in support for curl
-###
-.if !empty(PKG_OPTIONS:Mcurl)
-.  include "../../www/curl/buildlink3.mk"
-CONFIGURE_ARGS+=	--with-curl=${BUILDLINK_PREFIX.curl}
-.else
-CONFIGURE_ARGS+=	--without-curl
-.endif


Home | Main Index | Thread Index | Old Index