diff options
| author | Zurab Kvachadze <zurabid2016@gmail.com> | 2024-07-13 14:00:59 +0300 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-07-05 08:26:56 +0100 |
| commit | 90d1b578640d6fcf459472101986c81f47d91930 (patch) | |
| tree | d5cc9a97cee4149cc06f1648b0ca650644243bf4 | |
| parent | 22c08e6af217a625a3db4eaa169bc39c5e4f8e17 (diff) | |
| download | gentoo-90d1b578640d6fcf459472101986c81f47d91930.tar.gz gentoo-90d1b578640d6fcf459472101986c81f47d91930.tar.bz2 gentoo-90d1b578640d6fcf459472101986c81f47d91930.zip | |
www-nginx/ngx-encrypted-session: new package, add 0.09
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/37590
Signed-off-by: Sam James <sam@gentoo.org>
| -rw-r--r-- | www-nginx/ngx-encrypted-session/Manifest | 1 | ||||
| -rw-r--r-- | www-nginx/ngx-encrypted-session/metadata.xml | 22 | ||||
| -rw-r--r-- | www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild | 34 |
3 files changed, 57 insertions, 0 deletions
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>zurabid2016@gmail.com</email> + <name>Zurab Kvachadze</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@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 +} |
