commit:     26c10a7e4d2ca3e89e05561932d0d840dd16a73f
Author:     Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com>
AuthorDate: Tue Jul 29 14:50:59 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug  2 21:31:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c10a7e

www-nginx/ngx-authpam: new package, add 1.5.5

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 <zurabid2016 <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43231
Closes: https://github.com/gentoo/gentoo/pull/43231
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-nginx/ngx-authpam/Manifest                 |  1 +
 www-nginx/ngx-authpam/metadata.xml             | 16 ++++++++++++++
 www-nginx/ngx-authpam/ngx-authpam-1.5.5.ebuild | 29 ++++++++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/www-nginx/ngx-authpam/Manifest b/www-nginx/ngx-authpam/Manifest
new file mode 100644
index 000000000000..873ce1ff3f0f
--- /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 000000000000..d2ed4ca01e00
--- /dev/null
+++ b/www-nginx/ngx-authpam/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+       <upstream>
+               
<bugs-to>https://github.com/sto/ngx_http_auth_pam_module/issues</bugs-to>
+               <remote-id 
type="github">sto/ngx_http_auth_pam_module</remote-id>
+       </upstream>
+</pkgmetadata>

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 000000000000..49b1d5c7ccbf
--- /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"
+}

Reply via email to