www-nginx/ngx-naxsi: new package, add 1.7

naxsi[1] is "an open-source, high performance, low rules maintenance WAF
for NGINX".

[1]: https://github.com/wargio/naxsi

Closes: https://bugs.gentoo.org/960028
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43637
Closes: https://github.com/gentoo/gentoo/pull/43637
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Zurab Kvachadze
2025-09-06 15:23:46 +01:00
committed by Sam James
parent 492697bf7a
commit 8e5d1fa112
3 changed files with 48 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
DIST ngx-naxsi-1.7.tar.gz 1132392 BLAKE2B 5ec1f1d2df3d5b0fe7a2735246044944cce600d8d69259002e1d2ea74422b072cb3a8883259bdccbcf6cdfbfd80bf5186bc6464fedb40bf8abafadfbdf089a58 SHA512 c2f1feb4f646bf0b920d0d72409e81d289e1256bc62bcbe1c2cdd1792efb8262d5abe25c87456be957279946ef1f2c9d1e4d920c24a36ee7c4b17ef82a455c63
+16
View File
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>zurabid2016@gmail.com</email>
<name>Zurab Kvachadze</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/wargio/naxsi/issues</bugs-to>
<remote-id type="github">wargio/naxsi</remote-id>
</upstream>
</pkgmetadata>
+31
View File
@@ -0,0 +1,31 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="naxsi"
NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}/naxsi_src"
inherit nginx-module
DESCRIPTION="NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX"
HOMEPAGE="https://github.com/wargio/naxsi"
# We fetch the source code generated by GitHub to not waste bandwidth on
# downloading submodules which are provided by the system.
SRC_URI="
https://github.com/wargio/naxsi/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/libinjection:="
RDEPEND="${DEPEND}"
src_install() {
nginx-module_src_install
insinto /etc/nginx/naxsi
doins -r "${NGINX_MOD_S}"/../naxsi_rules/*
}