~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH] main/nginx: add module ngx_http_auth_pam_module

Stanley Jaddoe <stanley@jaddoe.nl>
Details
Message ID
<20190913131106.12569-1-stanley@jaddoe.nl>
DKIM signature
missing
Download raw message
Patch: +6 -0
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
Details
Message ID
<20190913123913.7530ff6c@Impreza>
In-Reply-To
<20190913131106.12569-1-stanley@jaddoe.nl> (view parent)
DKIM signature
missing
Download raw message
On Fri, 13 Sep 2019 15:11:06 +0200
Stanley Jaddoe <stanley@jaddoe.nl> wrote:

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

pkgrel needs to be bumped by 1 to make changes take effect.

[PATCH v2] main/nginx: add module ngx_http_auth_pam_module

Stanley Jaddoe <stanley@jaddoe.nl>
Details
Message ID
<20190915103709.18920-1-stanley@jaddoe.nl>
In-Reply-To
<20190913123913.7530ff6c@Impreza> (view parent)
DKIM signature
missing
Download raw message
Patch: +7 -1
Nginx module to use PAM for simple http authentication

Closes: #9871
---
Changes v1 -> v2:
 - increment pkgrel
 
 main/nginx/APKBUILD | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD
index 49887ca7c2..6fb5f98412 100644
--- a/main/nginx/APKBUILD
+++ b/main/nginx/APKBUILD
@@ -19,7 +19,7 @@ pkgname=nginx
# NOTE: Upgrade only to even-numbered versions (e.g. 1.14.z, 1.16.z)!
# Odd-numbered versions are mainline (development) versions.
pkgver=1.16.1
pkgrel=0
pkgrel=1
# Revision of nginx-tests to use for check().
_tests_hgrev=2be630357aa7
_njs_ver=0.3.1
@@ -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
Reply to thread Export thread (mbox)