blob: 91191ac142dea52995f371e3f0b0ea00720daf6f (
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
|
# Maintainer:
pkgname=apache-mod-auth-gssapi
pkgver=1.6.1
pkgrel=1
pkgdesc="GSSAPI Authentication module for Apache"
url="https://github.com/modauthgssapi/mod_auth_gssapi"
arch="all"
license="MIT"
depends="apache2"
makedepends="apache2-dev krb5-dev"
source="https://github.com/modauthgssapi/mod_auth_gssapi/releases/download/v$pkgver/mod_auth_gssapi-$pkgver.tar.gz"
builddir="$srcdir"/mod_auth_gssapi-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/etc/apache2/conf.d \
"$pkgdir"/usr/lib/apache2
install -D -m755 ./src/.libs/*.so "$pkgdir"/usr/lib/apache2
echo "LoadModule auth_gssapi_module modules/mod_auth_gssapi.so" \
> "$pkgdir"/etc/apache2/conf.d/mod-auth-gssapi.conf
}
sha512sums="56b770124826b3fe33af8b7022a4c16f979c7f25cb40a0f0c6320beb9ecc0add96f1586fddc6998551cefdaef366ab798346f69db823a3bf607ca9dc561c1f60 mod_auth_gssapi-1.6.1.tar.gz"
|