Signed-off-by: Zurab Kvachadze <[email protected]>
---
www-nginx/ngx-headers-more/Manifest | 1 +
.../metadata.xml | 13 +++++++------
.../ngx-headers-more-0.37.ebuild | 19 +++++++++++++++++++
3 files changed, 27 insertions(+), 6 deletions(-)
create mode 100644 www-nginx/ngx-headers-more/Manifest
copy www-nginx/{ngx-encrypted-session => ngx-headers-more}/metadata.xml (50%)
create mode 100644 www-nginx/ngx-headers-more/ngx-headers-more-0.37.ebuild
diff --git a/www-nginx/ngx-headers-more/Manifest
b/www-nginx/ngx-headers-more/Manifest
new file mode 100644
index 000000000000..ce0a7423c736
--- /dev/null
+++ b/www-nginx/ngx-headers-more/Manifest
@@ -0,0 +1 @@
+DIST ngx-headers-more-0.37.tar.gz 29433 BLAKE2B
0029eac59ee7182dbcb9be93f2f25684bae200e1ee897e2d4dde6abc304b4c7e7373a4cdd3059c5ec1b199a3d5467e034889a4cf1f133d26194acbc4374a1054
SHA512
0cc2fffe506194d439e3669644d41b7943e2c3cffa3483eb70b92067930b358d506a14646eff8362b191a11c624db29f6b53d830876929dcb4ce1c9d7b2bc40d
diff --git a/www-nginx/ngx-encrypted-session/metadata.xml
b/www-nginx/ngx-headers-more/metadata.xml
similarity index 50%
copy from www-nginx/ngx-encrypted-session/metadata.xml
copy to www-nginx/ngx-headers-more/metadata.xml
index 2691b306a130..cbcfe86571ca 100644
--- a/www-nginx/ngx-encrypted-session/metadata.xml
+++ b/www-nginx/ngx-headers-more/metadata.xml
@@ -10,13 +10,14 @@
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>
- The encrypted-session module provides encryption and decryption
support for nginx variables
- based on AES-256 with Mac. It is usually used with the
ngx_set_misc module and the
- standard rewrite module's directives. This module can be used
to implement simple user login
- and ACL.
+ The ngx-headers-more module allows adding, settin, or clearing
any output or input header.
+
+ This is an enhanced version of the standard headers module
since it provides more
+ utilities like resetting or clearing "builtin headers" like
Content-Type, Content-Length,
+ and Server.
</longdescription>
<upstream>
-
<bugs-to>https://github.com/openresty/encrypted-session-nginx-module/issues</bugs-to>
- <remote-id
type="github">openresty/encrypted-session-nginx-module</remote-id>
+
<bugs-to>https://github.com/openresty/headers-more-nginx-module/issues</bugs-to>
+ <remote-id
type="github">openresty/headers-more-nginx-module</remote-id>
</upstream>
</pkgmetadata>
diff --git a/www-nginx/ngx-headers-more/ngx-headers-more-0.37.ebuild
b/www-nginx/ngx-headers-more/ngx-headers-more-0.37.ebuild
new file mode 100644
index 000000000000..606446a9641e
--- /dev/null
+++ b/www-nginx/ngx-headers-more/ngx-headers-more-0.37.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="headers-more-nginx-module"
+NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}"
+inherit nginx-module
+
+DESCRIPTION="Set, add, and clear arbitrary output headers in NGINX HTTP
servers"
+HOMEPAGE="https://github.com/openresty/headers-more-nginx-module"
+SRC_URI="
+
https://github.com/openresty/headers-more-nginx-module/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+
+RESTRICT="test"
--
2.45.3