commit:     0d8d1dad70d1d922f5640a264b0425cec349d897
Author:     Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com>
AuthorDate: Tue Feb 18 15:10:30 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 07:27:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d8d1dad

www-nginx/ngx-srcache: new package, add 0.33

ngx-srcache[1] provides "transparent caching layer for arbitrary NGINX
locations".

[1]: https://github.com/openresty/srcache-nginx-module

Signed-off-by: Zurab Kvachadze <zurabid2016 <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/37590
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-nginx/ngx-srcache/Manifest                |  1 +
 www-nginx/ngx-srcache/metadata.xml            | 25 +++++++++++++++++++++++++
 www-nginx/ngx-srcache/ngx-srcache-0.33.ebuild | 20 ++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/www-nginx/ngx-srcache/Manifest b/www-nginx/ngx-srcache/Manifest
new file mode 100644
index 000000000000..8b319366a602
--- /dev/null
+++ b/www-nginx/ngx-srcache/Manifest
@@ -0,0 +1 @@
+DIST ngx-srcache-0.33.tar.gz 51025 BLAKE2B 
e45591e8901514ce14597c41f464f27007e566010f19ffe3e5310eaafb8a3c2b6b01755936ca6abe3fe2e8e87125cdcc656d3d980d5523a4fba02f441fa75242
 SHA512 
d96003e636b1a18bc1ad2f5005edcc96f3e386471f8a8242c0d882013a3bd1463eaf435203e25c4d8cddd99b5bf028664c4672958133b51d5b6c833fa9a2da4c

diff --git a/www-nginx/ngx-srcache/metadata.xml 
b/www-nginx/ngx-srcache/metadata.xml
new file mode 100644
index 000000000000..f8f10b14dab9
--- /dev/null
+++ b/www-nginx/ngx-srcache/metadata.xml
@@ -0,0 +1,25 @@
+<?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 ngx-srcache NGINX module provides a transparent caching 
layer for arbitrary NGINX
+               locations (like those use an upstream or even serve static disk 
files). The caching behavior
+               is mostly compatible with RFC 2616.
+
+               Usually, ngx-memc is used together with this module to provide 
a concrete caching
+               storage backend. But technically, any modules that provide a 
REST interface can be used as
+               the fetching and storage subrequests used by this module.
+       </longdescription>
+       <upstream>
+               
<bugs-to>https://github.com/openresty/srcache-nginx-module/issues</bugs-to>
+               <remote-id 
type="github">openresty/srcache-nginx-module</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/www-nginx/ngx-srcache/ngx-srcache-0.33.ebuild 
b/www-nginx/ngx-srcache/ngx-srcache-0.33.ebuild
new file mode 100644
index 000000000000..cabc43d06fb8
--- /dev/null
+++ b/www-nginx/ngx-srcache/ngx-srcache-0.33.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="srcache-nginx-module"
+NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}"
+
+inherit nginx-module
+
+DESCRIPTION="An NGINX module enabling transparent subrequest-based caching"
+HOMEPAGE="https://github.com/openresty/srcache-nginx-module";
+SRC_URI="
+       
https://github.com/openresty/srcache-nginx-module/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+
+RESTRICT="test"

Reply via email to