commit:     90d1b578640d6fcf459472101986c81f47d91930
Author:     Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com>
AuthorDate: Sat Jul 13 11:00:59 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  5 07:26:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90d1b578

www-nginx/ngx-encrypted-session: new package, add 0.09

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-encrypted-session/Manifest           |  1 +
 www-nginx/ngx-encrypted-session/metadata.xml       | 22 ++++++++++++++
 .../ngx-encrypted-session-0.09.ebuild              | 34 ++++++++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/www-nginx/ngx-encrypted-session/Manifest 
b/www-nginx/ngx-encrypted-session/Manifest
new file mode 100644
index 000000000000..bf079459db04
--- /dev/null
+++ b/www-nginx/ngx-encrypted-session/Manifest
@@ -0,0 +1 @@
+DIST ngx-encrypted-session-0.09.tar.gz 11847 BLAKE2B 
2e923054c34c9b2d3c799280c331c8288444c7f59bc6ea4858e680c81e28f7d8595006474326739c804d6949e3b74b67ce643ed9e196695affb8c275065a4fee
 SHA512 
399ce2690e85ee27802e8031954a1a3aa3fdc9246e17323a72a298d235931a8dbebdcb121ac8788e074872df0ef5b5a8a3d512b17fbe860b38f696ce42de3655

diff --git a/www-nginx/ngx-encrypted-session/metadata.xml 
b/www-nginx/ngx-encrypted-session/metadata.xml
new file mode 100644
index 000000000000..2691b306a130
--- /dev/null
+++ b/www-nginx/ngx-encrypted-session/metadata.xml
@@ -0,0 +1,22 @@
+<?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 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.
+       </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>
+       </upstream>
+</pkgmetadata>

diff --git a/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild 
b/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild
new file mode 100644
index 000000000000..04d5614696b4
--- /dev/null
+++ b/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="encrypted-session-nginx-module"
+NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}"
+
+NGINX_MOD_LINK_MODULES=( www-nginx/ngx_devel_kit )
+
+inherit toolchain-funcs nginx-module
+
+DESCRIPTION="An NGINX module that encrypts and decrypts NGINX variable values"
+HOMEPAGE="https://github.com/openresty/encrypted-session-nginx-module";
+SRC_URI="
+       
https://github.com/openresty/encrypted-session-nginx-module/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+
+RESTRICT="test"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="dev-libs/openssl:="
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       # Make sure the module links to libcrypto, independently of whether 
NGINX
+       # has SSL/TLS support.
+       ngx_mod_append_libs "$("$(tc-getPKG_CONFIG)" --libs libcrypto)"
+
+       nginx-module_src_configure
+}

Reply via email to