Signed-off-by: Zurab Kvachadze <zurabid2...@gmail.com>
---
 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(+)
 create mode 100644 www-nginx/ngx-encrypted-session/Manifest
 create mode 100644 www-nginx/ngx-encrypted-session/metadata.xml
 create mode 100644 
www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild

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>zurabid2...@gmail.com</email>
+               <name>Zurab Kvachadze</name>
+       </maintainer>
+       <maintainer type="project" proxied="proxy">
+               <email>proxy-ma...@gentoo.org</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
+}
-- 
2.45.3


Reply via email to