Subject: [PATCH] main/nginx: add module ngx_http_auth_pam_module

From: Stanley Jaddoe <[email-masked]>
Date: Fri, 13 Sep 2019 15:11:06 +0200

Nginx module to use PAM for simple http authentication
---
 main/nginx/APKBUILD | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index 49887ca7c2..414f6182ef 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
@@ -40,6 +40,7 @@ makedepends="
 	pcre-dev
 	perl-dev
 	pkgconf
+	linux-pam-dev
 	zlib-dev
 	"
 checkdepends="
@@ -153,6 +154,10 @@ _add_module "http-vod" "1.24" "https://github.com/kaltura/nginx-vod-module"
 _add_module "http-geoip2" "3.2" "https://github.com/leev/ngx_http_geoip2_module"
 _http_geoip2_so="ngx_http_geoip2_module.so ngx_stream_geoip2_module.so"
 
+_add_module "http-auth-pam" "v1.5.1" "https://github.com/sto/ngx_http_auth_pam_module"
+_http_auth_pam_depends="linux-pam"
+_http_auth_pam_pkgdesc="Nginx module to use PAM for simple http authentication"
+
 prepare() {
 	local file; for file in $source; do
 		case $file in
@@ -342,4 +347,5 @@ c31c46344d49704389722325a041b9cd170fa290acefe92cfc572c07f711cd3039de78f28df48ca7
 8adb7453c27748f4e685e3352e9b318b408da818754dc5b6244e908423941a8ba337561104f6e481f2553cbc0e334dcea73b57f8e810a9d6e974bb69ff8859e5  nginx-upstream-fair-0.1.3.tar.gz
 4a0af5e9afa4deb0b53de8de7ddb2cfa6430d372e1ef9e421f01b509548bd134d427345442ac1ce667338cc2a1484dc2ab732e316e878ac7d3537dc527d5f922  nginx-rtmp-module-1.2.1.tar.gz
 daa9b23858937e57f1bcd5f4400b33155ab4e0e455eea01d80eec5285fc85bd10db63d80a1560f1fea51914a4eb4c59cc54110b7e4de208adbf52ea691cfd6d9  nginx-vod-module-1.24.tar.gz
+973b94874d8a58c0df0ac2d31571eafc1e80b11179cba33ec88421a826207fbf7e99b0387e135a1ca48d82daacb78f19a4c21d3a27b49b16dc86b4748bb72261  ngx_http_auth_pam_module-1.5.1.tar.gz
 84b26955234e29dbfbf2431b652fcc453c5e86b95f837296df4f3d6c730e3e0773223dae890eebfc9b5763f46082bde6f38d6505b8bf78133b89e7297016cc5d  ngx_http_geoip2_module-3.2.tar.gz"
-- 
2.23.0