diff options
author | root <root@rshg047.dnsready.net> | 2011-05-12 22:37:15 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-12 22:37:15 +0000 |
commit | 1982ae8d63ab142a2a16bdf1b055110d9c9f40fd (patch) | |
tree | dbb34352753ef1b7e1893aa225490fad5306ba22 /community/freeradius/PKGBUILD | |
parent | 5c25d28847bcae8c3c51c1babcb09d36c7fbddba (diff) |
Thu May 12 22:37:08 UTC 2011
Diffstat (limited to 'community/freeradius/PKGBUILD')
-rw-r--r-- | community/freeradius/PKGBUILD | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/community/freeradius/PKGBUILD b/community/freeradius/PKGBUILD index ed1322404..3727a8cb3 100644 --- a/community/freeradius/PKGBUILD +++ b/community/freeradius/PKGBUILD @@ -1,36 +1,41 @@ -# $Id: PKGBUILD 44168 2011-04-04 11:24:12Z spupykin $ +# $Id: PKGBUILD 45793 2011-04-29 10:36:54Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jason R Begley (jayray@digitalgoat.com> pkgname=freeradius pkgver=2.1.10 -pkgrel=5 +pkgrel=6 pkgdesc="The premier open source RADIUS server" arch=('i686' 'x86_64') url="http://www.freeradius.org/" license=("GPL") -depends=('openssl' 'heimdal' 'pth' 'libldap>=2.4.18' 'net-snmp' 'pam' \ +depends=('openssl' 'krb5' 'pth' 'libldap>=2.4.18' 'net-snmp' 'pam' \ 'postgresql-libs>=9.0.3' 'libtool' 'libmysqlclient' 'gdbm' 'shadow') optdepends=('libpcap' 'unixodbc' 'python2') options=('!libtool' 'emptydirs' '!makeflags') install=$pkgname.install source=(ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2 \ - radiusd) + radiusd + krb5-build-fix.patch) md5sums=('8ea2bd39460a06212decf2c14fdf3fb8' - 'f1a6530b1b69d2fa793aa45b2de379bb') + 'f1a6530b1b69d2fa793aa45b2de379bb' + 'c6a61de7576933f59154a53bfc12a2d2') build() { cd $srcdir/freeradius-server-$pkgver export CFLAGS="$CFLAGS -fno-strict-aliasing" - # Fix compilation with heimdal >= 1.3.1 - # Don't mess around with KRB5_DEPRECATED which is used internally :o sed -i 's/ -DKRB5_DEPRECATED//' src/modules/rlm_krb5/Makefile.in + patch -p1 <$srcdir/krb5-build-fix.patch ./configure --with-system-libtool --with-system-libltdl \ --prefix=/usr --enable-heimdal-krb5 \ --localstatedir=/var \ --sysconfdir=/etc \ --libdir=/usr/lib/freeradius make +} + +package() { + cd $srcdir/freeradius-server-$pkgver make install R=$pkgdir install -D -m755 ../radiusd $pkgdir/etc/rc.d/radiusd chmod o+r $pkgdir/etc/raddb/* |