mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
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:
@@ -0,0 +1 @@
|
||||
DIST ngx-naxsi-1.7.tar.gz 1132392 BLAKE2B 5ec1f1d2df3d5b0fe7a2735246044944cce600d8d69259002e1d2ea74422b072cb3a8883259bdccbcf6cdfbfd80bf5186bc6464fedb40bf8abafadfbdf089a58 SHA512 c2f1feb4f646bf0b920d0d72409e81d289e1256bc62bcbe1c2cdd1792efb8262d5abe25c87456be957279946ef1f2c9d1e4d920c24a36ee7c4b17ef82a455c63
|
||||
@@ -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>
|
||||
@@ -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/*
|
||||
}
|
||||
Reference in New Issue
Block a user