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@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@gentoo.org>
This commit is contained in:
Zurab Kvachadze
2025-07-29 16:50:59 +02:00
committed by Sam James
parent 6df9172f08
commit 26c10a7e4d
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ngx-authpam-1.5.5.tar.gz 7233 BLAKE2B f57a39ed13eedb7eea928c8b6856652cba7dde426b0155ab2b37fc7c132a34567e63fc974bace3f27b2e0931e431b3878e1d58325ac49008ced9f585f3d4c0fe SHA512 62ec04e0b2c3b43ac7c90c7d1770d99a9279c8499e50c2ae70d04a3893d8c124b1bf0e75b7cc50b0b4b8ec5c66c45591b6ca97949768c32c0b986cbedc0da4ef

View File

@@ -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>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>
<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>

View File

@@ -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"
}