mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 00:08:36 +03:00
nginx_cache_purge[1] is an NGINX module which adds ability to purge content from FastCGI, proxy, SCGI and uWSGI caches. Included is a patch from a pull request upstream[2] adding support for building nginx_cache_purge as dynamic module. Additionally, tests are patched to not set proxy_temp_path, which conflicts with recent versions of dev-perl/Test-Nginx. [1]: https://github.com/FRiCKLE/ngx_cache_purge [2]: https://github.com/FRiCKLE/ngx_cache_purge/pull/78 Closes: https://bugs.gentoo.org/959673 Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43636 Closes: https://github.com/gentoo/gentoo/pull/43636 Signed-off-by: Sam James <sam@gentoo.org>
27 lines
645 B
Bash
27 lines
645 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_PN="ngx_cache_purge"
|
|
NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
NGINX_MOD_OPENRESTY_TESTS=1
|
|
inherit nginx-module
|
|
|
|
DESCRIPTION="NGINX module allowing to purge the FastCGI, proxy, SCGI and uWSGI caches"
|
|
HOMEPAGE="https://github.com/FRiCKLE/ngx_cache_purge"
|
|
SRC_URI="
|
|
https://github.com/FRiCKLE/ngx_cache_purge/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
|
|
"
|
|
|
|
LICENSE="BSD-2"
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-2.3-add-dynamic-module-support.patch"
|
|
"${FILESDIR}/${PN}-2.3-do-not-set-proxy_temp_path.patch"
|
|
)
|