aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apache-mod-auth-gssapi/APKBUILD
blob: fb80a32b13fb04ed52bacc711267f998241663ed (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
36
37
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=apache-mod-auth-gssapi
pkgver=1.6.3
pkgrel=0
pkgdesc="GSSAPI authentication for Apache"
url="https://github.com/gssapi/mod_auth_gssapi"
arch="all"
license="MIT"
depends="apache2"
makedepends="apache2-dev krb5-dev openssl-dev 
automake autoconf m4 libtool flex bison"
options="!check" # some packages missing from Alpine, see: https://github.com/gssapi/mod_auth_gssapi/ on "Tests" paragraph
source="$pkgname-$pkgver.zip::https://github.com/gssapi/mod_auth_gssapi/archive/v$pkgver.zip
mod-auth-gssapi.conf"
builddir="$srcdir"/mod_auth_gssapi-$pkgver

prepare() {
	autoreconf -fi
}

build() {
	./configure \
		--prefix=/usr \
		--enable-static=no
	make
}

package() {
	make DESTDIR="$pkgdir" install
	mkdir -p "$pkgdir"/etc/apache2/conf.d
	install -D -m644 ../../mod-auth-gssapi.conf "$pkgdir"/etc/apache2/conf.d/mod-auth-gssapi.conf
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}

sha512sums="7cac212a32bd3b69627d60e0cccc996514df743fde6524750db3acbd4b41da9c1e3d98f7ff1040a773577516b850ecb2c8b12a1259749c5b4d94d347f08c1ffe  apache-mod-auth-gssapi-1.6.3.zip
45658d5446f18315de1a66b682a0669d15b0782e46e649b7d5c4bea2e1c9735909ee1b4d36e9eaa0e54bac68773bb68610d4a0bf68a9eccb368d569489246dfa  mod-auth-gssapi.conf"