From 26c10a7e4d2ca3e89e05561932d0d840dd16a73f Mon Sep 17 00:00:00 2001 From: Zurab Kvachadze Date: Tue, 29 Jul 2025 16:50:59 +0200 Subject: [PATCH] www-nginx/ngx-authpam: new package, add 1.5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ngx-authpam [0] is an NGINX module using PAM for simple HTTP authentication. This commit unbundles the module from www-servers/nginx into a separate package, using nginx-module.eclass. [0]: https://github.com/sto/ngx_http_auth_pam_module Closes: https://bugs.gentoo.org/959604 Suggested-by: Stevan Bajić Signed-off-by: Zurab Kvachadze Part-of: https://github.com/gentoo/gentoo/pull/43231 Closes: https://github.com/gentoo/gentoo/pull/43231 Signed-off-by: Sam James --- www-nginx/ngx-authpam/Manifest | 1 + www-nginx/ngx-authpam/metadata.xml | 16 ++++++++++ .../ngx-authpam/ngx-authpam-1.5.5.ebuild | 29 +++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 www-nginx/ngx-authpam/Manifest create mode 100644 www-nginx/ngx-authpam/metadata.xml create mode 100644 www-nginx/ngx-authpam/ngx-authpam-1.5.5.ebuild diff --git a/www-nginx/ngx-authpam/Manifest b/www-nginx/ngx-authpam/Manifest new file mode 100644 index 0000000000000..873ce1ff3f0ff --- /dev/null +++ b/www-nginx/ngx-authpam/Manifest @@ -0,0 +1 @@ +DIST ngx-authpam-1.5.5.tar.gz 7233 BLAKE2B f57a39ed13eedb7eea928c8b6856652cba7dde426b0155ab2b37fc7c132a34567e63fc974bace3f27b2e0931e431b3878e1d58325ac49008ced9f585f3d4c0fe SHA512 62ec04e0b2c3b43ac7c90c7d1770d99a9279c8499e50c2ae70d04a3893d8c124b1bf0e75b7cc50b0b4b8ec5c66c45591b6ca97949768c32c0b986cbedc0da4ef diff --git a/www-nginx/ngx-authpam/metadata.xml b/www-nginx/ngx-authpam/metadata.xml new file mode 100644 index 0000000000000..d2ed4ca01e000 --- /dev/null +++ b/www-nginx/ngx-authpam/metadata.xml @@ -0,0 +1,16 @@ + + + + + zurabid2016@gmail.com + Zurab Kvachadze + + + proxy-maint@gentoo.org + Proxy Maintainers + + + https://github.com/sto/ngx_http_auth_pam_module/issues + sto/ngx_http_auth_pam_module + + diff --git a/www-nginx/ngx-authpam/ngx-authpam-1.5.5.ebuild b/www-nginx/ngx-authpam/ngx-authpam-1.5.5.ebuild new file mode 100644 index 0000000000000..49b1d5c7ccbf4 --- /dev/null +++ b/www-nginx/ngx-authpam/ngx-authpam-1.5.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="ngx_http_auth_pam_module" +NGINX_MOD_S="${WORKDIR}/${MY_PN}-${PV}" + +inherit nginx-module + +DESCRIPTION="NGINX module using PAM for simple HTTP authentication" +HOMEPAGE="https://github.com/sto/ngx_http_auth_pam_module" +SRC_URI=" + https://github.com/sto/ngx_http_auth_pam_module/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="BSD-2" +SLOT="0" + +KEYWORDS="~amd64" + +DEPEND="sys-libs/pam:=" +RDEPEND="${DEPEND}" + +src_install() { + nginx-module_src_install + + dodoc "${NGINX_MOD_S}/ChangeLog" +}