1 # Contributor: Nahum Shalman <nshalman at elys dot com>
2 # Maintainer: Brad Arrington <bradla8 at yahoo.com>
7 pkgdesc="A Kerberos authentication module for the Apache Http Server"
9 #url="http://sourceforge.net/projects/mod_auth_kerb/"
10 url="http://sourceforge.net/projects/modauthkerb/files/mod_auth_kerb/mod_auth_kerb-5.4/mod_auth_kerb-5.4.tar.gz/download"
13 depends=('apache>=2.0' 'heimdal')
20 source=(http://downloads.sourceforge.net/project/modauthkerb/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz auth_kerb.conf mod_auth_kerb.patch mod_auth_kerb_compile.patch)
22 md5sums=('642b81763ad3ca81dba359cb952da5e3'
23 '399f8ab44947ac79f23f718c4ca9a527'
24 '3a4ed51a6bfb949fc588148074e1df5a'
25 '051f97f87667c92db00f34d20404261d')
28 cd $startdir/src/$pkgname-$pkgver
29 #patch -p0 < $startdir/$pkgname.patch
30 patch -p1 < $startdir/mod_auth_kerb_compile.patch
31 ./configure --without-krb4 --with-apache=$startdir/pkg
33 mkdir -p $startdir/pkg/usr/lib/httpd/modules
34 mkdir -p $startdir/pkg/etc/httpd/conf
35 mkdir -p $startdir/pkg/usr/share/licenses/$pkgname/
38 install -m 755 src/.libs/$pkgname.so $startdir/pkg/usr/lib/httpd/modules || return 1
39 install -m 644 $startdir/src/auth_kerb.conf $startdir/pkg/etc/httpd/conf/auth_kerb.conf.sample || return 1
40 install -m 644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/ || return 1