[arch-commits] Commit in nginx-mod-auth-pam/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Tue Jul 11 17:56:54 UTC 2017
Date: Tuesday, July 11, 2017 @ 17:56:53
Author: bpiotrowski
Revision: 244343
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
nginx-mod-auth-pam/repos/community-testing-i686/
nginx-mod-auth-pam/repos/community-testing-i686/PKGBUILD
(from rev 244342, nginx-mod-auth-pam/trunk/PKGBUILD)
nginx-mod-auth-pam/repos/community-testing-x86_64/
nginx-mod-auth-pam/repos/community-testing-x86_64/PKGBUILD
(from rev 244342, nginx-mod-auth-pam/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++
2 files changed, 92 insertions(+)
Copied: nginx-mod-auth-pam/repos/community-testing-i686/PKGBUILD (from rev 244342, nginx-mod-auth-pam/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-07-11 17:56:53 UTC (rev 244343)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-auth-pam
+pkgver=1.5.1
+pkgrel=2
+
+_modname=ngx_http_auth_pam_module
+_nginxver=1.12.1
+
+pkgdesc='Nginx module to use PAM for simple http authentication'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver" 'pam')
+url="https://github.com/sto/ngx_http_auth_pam_module"
+license=('BSD')
+
+source=(
+ http://nginx.org/download/nginx-$_nginxver.tar.gz
+ https://github.com/sto/$_modname/archive/v$pkgver/$_modname-$pkgver.tar.gz
+ $_modname-critlog.patch::https://patch-diff.githubusercontent.com/raw/sto/ngx_http_auth_pam_module/pull/11.patch
+)
+
+sha256sums=('8793bf426485a30f91021b6b945a9fd8a84d87d17b566562c3797aba8fac76fb'
+ '77676842919134af88a7b4bfca4470223e3a00d287d17c0dbdc9a114a685b6e7'
+ '1a59787672cf9c6768cb77c31f19a870eaf556c7b28c8c22a22cf8a7013b93af')
+
+prepare() {
+ cd "$srcdir"/$_modname-$pkgver
+ patch -p1 -i "$srcdir"/$_modname-critlog.patch
+}
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure --with-compat --add-dynamic-module=../$_modname-$pkgver
+ make modules
+}
+
+package() {
+ install -Dm644 "$srcdir"/$_modname-$pkgver/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ cd "$srcdir"/nginx-$_nginxver/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+}
Copied: nginx-mod-auth-pam/repos/community-testing-x86_64/PKGBUILD (from rev 244342, nginx-mod-auth-pam/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-07-11 17:56:53 UTC (rev 244343)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-auth-pam
+pkgver=1.5.1
+pkgrel=2
+
+_modname=ngx_http_auth_pam_module
+_nginxver=1.12.1
+
+pkgdesc='Nginx module to use PAM for simple http authentication'
+arch=('i686' 'x86_64')
+depends=("nginx=$_nginxver" 'pam')
+url="https://github.com/sto/ngx_http_auth_pam_module"
+license=('BSD')
+
+source=(
+ http://nginx.org/download/nginx-$_nginxver.tar.gz
+ https://github.com/sto/$_modname/archive/v$pkgver/$_modname-$pkgver.tar.gz
+ $_modname-critlog.patch::https://patch-diff.githubusercontent.com/raw/sto/ngx_http_auth_pam_module/pull/11.patch
+)
+
+sha256sums=('8793bf426485a30f91021b6b945a9fd8a84d87d17b566562c3797aba8fac76fb'
+ '77676842919134af88a7b4bfca4470223e3a00d287d17c0dbdc9a114a685b6e7'
+ '1a59787672cf9c6768cb77c31f19a870eaf556c7b28c8c22a22cf8a7013b93af')
+
+prepare() {
+ cd "$srcdir"/$_modname-$pkgver
+ patch -p1 -i "$srcdir"/$_modname-critlog.patch
+}
+
+build() {
+ cd "$srcdir"/nginx-$_nginxver
+ ./configure --with-compat --add-dynamic-module=../$_modname-$pkgver
+ make modules
+}
+
+package() {
+ install -Dm644 "$srcdir"/$_modname-$pkgver/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ cd "$srcdir"/nginx-$_nginxver/objs
+ for mod in *.so; do
+ install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
+ done
+}
More information about the arch-commits
mailing list