aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apache2-mod-authnz-external/APKBUILD
blob: 69af55aa2780b16b1eedabe3148c52078339f4e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
# Maintainer: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
pkgname=apache2-mod-authnz-external
_realname=mod_authnz_external
pkgver=3.3.3
pkgrel=0
pkgdesc="Apache module for external authentication"
url="https://github.com/phokz/mod-auth-external/"
arch="all"
license="Apache-2.0"
options="!check" # No automated tests
depends="apache2"
makedepends="apache2-dev"
subpackages="$pkgname-doc"
source="https://github.com/phokz/mod-auth-external/archive/mod_authnz_external-$pkgver.tar.gz
	$pkgname.apache2.conf"
builddir="$srcdir/mod-auth-external-$_realname-$pkgver"

build() {
	make
}

package() {
	install -Dm755 ".libs/$_realname.so" "$pkgdir/usr/lib/apache2/$_realname.so"
	install -Dm644 "$srcdir/$pkgname.apache2.conf" \
	 	"$pkgdir/etc/apache2/conf.d/authnz-external-module.conf"
	local f
	for f in AUTHENTICATORS README; do
		install -Dm644 "$f" \
			"$pkgdir/usr/share/doc/$pkgname/$f"
	done
}

sha512sums="65b643870dcfc5cdc0343bc606ff74697473617ce9f6fe27cae40ae1b2dca904bb71b6ec8347c6b5c5e3819785432798f6e78820cdf66fd17b245371a41322d2  mod_authnz_external-3.3.3.tar.gz
aad10cd570ae77b24a658898f1edb0ee08501e98ef76b68efd101037f53b7de123aecc87e535957b401925c665f952b381c4d4bf874c946ba0caeb979b222c35  apache2-mod-authnz-external.apache2.conf"