mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 14:38:43 +02:00
29 lines
706 B
Bash
29 lines
706 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_PN="xss-nginx-module"
|
|
NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
# Strangely, 10-year-old tests work perfectly.
|
|
NGINX_MOD_OPENRESTY_TESTS=1
|
|
NGINX_MOD_TEST_LOAD_ORDER=(
|
|
www-nginx/ngx-lua-module
|
|
www-nginx/ngx-echo
|
|
)
|
|
inherit nginx-module
|
|
|
|
DESCRIPTION="Native support for cross-site scripting (XSS) in NGINX"
|
|
HOMEPAGE="https://github.com/openresty/xss-nginx-module"
|
|
SRC_URI="
|
|
https://github.com/openresty/xss-nginx-module/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
|
"
|
|
|
|
LICENSE="BSD-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm64"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-0.06-add-dynamic-build-support.patch"
|
|
)
|