updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / mod_auth_kerb / PKGBUILD
blob2eb68fe72d2c3bba5d89843123fd16c09b79fde4
1 # Contributor: Nahum Shalman <nshalman at elys dot com>
2 # Maintainer: Brad Arrington <bradla8 at yahoo.com>
4 pkgname=mod_auth_kerb
5 pkgver=5.4
6 pkgrel=4
7 pkgdesc="A Kerberos authentication module for the Apache Http Server"
8 arch=('i686' 'x86_64')
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"
11 license=('custom')
12 groups=()
13 depends=('apache>=2.0' 'heimdal')
14 makedepends=()
15 optdepends=()
16 conflicts=()
17 replaces=()
18 options=()
19 install=
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)
21 noextract=()
22 md5sums=('642b81763ad3ca81dba359cb952da5e3'
23          '399f8ab44947ac79f23f718c4ca9a527'
24          '3a4ed51a6bfb949fc588148074e1df5a'
25          '051f97f87667c92db00f34d20404261d')
27 build() {
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/
37      make || return 1
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