commit: a20244bf872a8413b34977acfc596f654eb7f3b5 Author: Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com> AuthorDate: Mon Apr 14 14:28:03 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jul 5 07:27:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a20244bf
www-nginx/ngx-modsecurity: new package, add 1.0.3 ngx-modsecurity[1] is a NGINX connector for ModSecurity[2] Web Application Firewall. [1]: https://github.com/owasp-modsecurity/ModSecurity-nginx [2]: https://github.com/owasp-modsecurity/ModSecurity Signed-off-by: Zurab Kvachadze <zurabid2016 <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/37590 Closes: https://github.com/gentoo/gentoo/pull/37590 Signed-off-by: Sam James <sam <AT> gentoo.org> www-nginx/ngx-modsecurity/Manifest | 1 + www-nginx/ngx-modsecurity/metadata.xml | 24 +++++++++++++++++++++ .../ngx-modsecurity/ngx-modsecurity-1.0.3.ebuild | 25 ++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/www-nginx/ngx-modsecurity/Manifest b/www-nginx/ngx-modsecurity/Manifest new file mode 100644 index 000000000000..9327d11ad69b --- /dev/null +++ b/www-nginx/ngx-modsecurity/Manifest @@ -0,0 +1 @@ +DIST ngx-modsecurity-1.0.3.tar.gz 34895 BLAKE2B 259fe6a2c170934d0052f12b45d712480892b40bbfe88e878f8d5d83350e94de1eca55686bad8c18dd7884c20e2231620ff7315d359a4b534fb8159ce1661624 SHA512 caf50bc2240597941333ccf75a318ce3696e90c3334e86a826ab052df6c182917d31037d0de9b055883564fc4ed52b361416040c9b99174f38e8f4e6e4056b6c diff --git a/www-nginx/ngx-modsecurity/metadata.xml b/www-nginx/ngx-modsecurity/metadata.xml new file mode 100644 index 000000000000..8d6e71797e50 --- /dev/null +++ b/www-nginx/ngx-modsecurity/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>[email protected]</email> + <name>Zurab Kvachadze</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>[email protected]</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + The ModSecurity-NGINX connector is the connection point between NGINX and libmodsecurity + (ModSecurity v3). Said another way, this project provides a communication channel between + NGINX and libmodsecurity. This connector is required to use LibModSecurity with NGINX. + + The ModSecurity-NGINX connector takes the form of an NGINX module. The module simply serves + as a layer of communication between NGINX and ModSecurity. + </longdescription> + <upstream> + <bugs-to>https://github.com/owasp-modsecurity/ModSecurity-nginx/issues</bugs-to> + <remote-id type="github">owasp-modsecurity/ModSecurity-nginx</remote-id> + </upstream> +</pkgmetadata> diff --git a/www-nginx/ngx-modsecurity/ngx-modsecurity-1.0.3.ebuild b/www-nginx/ngx-modsecurity/ngx-modsecurity-1.0.3.ebuild new file mode 100644 index 000000000000..6dc834be9b5b --- /dev/null +++ b/www-nginx/ngx-modsecurity/ngx-modsecurity-1.0.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="modsecurity-nginx" +NGINX_MOD_S="${WORKDIR}/${MY_PN}-v${PV}" + +inherit nginx-module + +DESCRIPTION="ModSecurity v3 NGINX Connector" +HOMEPAGE=" + https://github.com/owasp-modsecurity/ModSecurity-nginx + https://modsecurity.org/ + https://github.com/owasp-modsecurity/ModSecurity +" +SRC_URI=" + https://github.com/owasp-modsecurity/ModSecurity-nginx/releases/download/v${PV}/${MY_PN}-v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" + +DEPEND="dev-libs/modsecurity" +RDEPEND="${DEPEND}"
