Date: Monday, June 29, 2020 @ 20:52:05 Author: mtorromeo Revision: 656478
archrelease: copy trunk to community-x86_64 Added: nginx-mod-auth-pam/repos/community-x86_64/PKGBUILD (from rev 656477, nginx-mod-auth-pam/trunk/PKGBUILD) Deleted: nginx-mod-auth-pam/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 83 +++++++++++++++++++++++++++---------------------------------- 1 file changed, 38 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-29 20:51:50 UTC (rev 656477) +++ PKGBUILD 2020-06-29 20:52:05 UTC (rev 656478) @@ -1,45 +0,0 @@ -# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> - -pkgname=nginx-mod-auth-pam -pkgver=1.5.1 -pkgrel=9 - -_modname=ngx_http_auth_pam_module - -pkgdesc='Nginx module to use PAM for simple http authentication' -arch=('x86_64') -depends=("nginx" 'pam') -makedepends=("nginx-src") -url="https://github.com/sto/ngx_http_auth_pam_module" -license=('BSD') - -source=( - 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 -) -validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdou...@mdounin.ru> -sha256sums=('77676842919134af88a7b4bfca4470223e3a00d287d17c0dbdc9a114a685b6e7' - '1a59787672cf9c6768cb77c31f19a870eaf556c7b28c8c22a22cf8a7013b93af') - -prepare() { - cp -r /usr/src/nginx . - - cd "$srcdir"/$_modname-$pkgver - patch -p1 -i "$srcdir"/$_modname-critlog.patch -} - -build() { - cd "$srcdir"/nginx - ./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/objs - for mod in *.so; do - install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod - done -} Copied: nginx-mod-auth-pam/repos/community-x86_64/PKGBUILD (from rev 656477, nginx-mod-auth-pam/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-29 20:52:05 UTC (rev 656478) @@ -0,0 +1,38 @@ +# Maintainer: Massimiliano Torromeo <massimiliano.torro...@gmail.com> + +pkgname=nginx-mod-auth-pam +pkgver=1.5.2 +pkgrel=1 + +_modname=ngx_http_auth_pam_module + +pkgdesc='Nginx module to use PAM for simple http authentication' +arch=('x86_64') +depends=("nginx" 'pam') +makedepends=("nginx-src") +url="https://github.com/sto/ngx_http_auth_pam_module" +license=('BSD') + +source=(https://github.com/sto/$_modname/archive/v$pkgver/$_modname-$pkgver.tar.gz) +validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin <mdou...@mdounin.ru> +sha256sums=('7844b4364c5499ae50725b36ca689c1a950b22df1de8564b2386d82f5f1d863d') + +prepare() { + cp -r /usr/src/nginx . +} + +build() { + cd "$srcdir"/nginx + ./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/objs + for mod in *.so; do + install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod + done +}