[arch-commits] Commit in nginx-mod-auth-pam/repos (2 files)

Giancarlo Razzolini grazzolini at gemini.archlinux.org
Sun Nov 28 19:24:19 UTC 2021


    Date: Sunday, November 28, 2021 @ 19:24:19
  Author: grazzolini
Revision: 1055352

archrelease: copy trunk to testing-x86_64

Added:
  nginx-mod-auth-pam/repos/testing-x86_64/
  nginx-mod-auth-pam/repos/testing-x86_64/PKGBUILD
    (from rev 1055350, nginx-mod-auth-pam/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: nginx-mod-auth-pam/repos/testing-x86_64/PKGBUILD (from rev 1055350, nginx-mod-auth-pam/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-11-28 19:24:19 UTC (rev 1055352)
@@ -0,0 +1,38 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+
+pkgname=nginx-mod-auth-pam
+pkgver=1.5.3
+pkgrel=2
+
+_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 <mdounin at mdounin.ru>
+sha256sums=('882018fea8d6955ab3fe294aafa8ebb1fdff4eac313c29583fef02c6de76fae7')
+
+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
+}



More information about the arch-commits mailing list