aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeradius/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2011-10-17 09:29:09 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2011-10-17 09:29:35 +0000
commit53b705338468d47fedf11e28f2199a02e1ed9655 (patch)
tree093a03c307de56665e220ee91322d4fb289d4752 /main/freeradius/APKBUILD
parent936556a4634b7f8df56ef91d1bb9b738debad2b4 (diff)
downloadaports-53b705338468d47fedf11e28f2199a02e1ed9655.tar.bz2
aports-53b705338468d47fedf11e28f2199a02e1ed9655.tar.xz
main/freeradius: upgrade to 2.1.12
Diffstat (limited to 'main/freeradius/APKBUILD')
-rw-r--r--main/freeradius/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD
index 642249be49..cadbea949e 100644
--- a/main/freeradius/APKBUILD
+++ b/main/freeradius/APKBUILD
@@ -1,8 +1,8 @@
-# Contributor:
-# Maintainer: Leonardo Arena <rnalrd@gmail.com>
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=freeradius
-pkgver=2.1.10
-pkgrel=23
+pkgver=2.1.12
+pkgrel=0
pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server"
url="http://freeradius.org/"
arch="all"
@@ -31,7 +31,6 @@ prepare() {
# done
# we dont have libnsl
- sed -i 's/-lnsl //g' configure || return 1
sed -i 's/nsl, //g' configure.in || return 1
# Fix compilation with heimdal >= 1.3.1
@@ -66,7 +65,7 @@ build() {
# * add -lssl to fix:
# radiusd: symbol 'SSL_set_ex_data': can't resolve symbol in lib
# '/usr/lib/freeradius/libfreeradius-eap-2.1.10.so'.
- make LDFLAGS="$LDFLAGS -lssl" -j1 || return 1
+ make LDFLAGS="$LDFLAGS -lssl" LIBTOOL="$PWD/libtool" -j1 || return 1
}
package() {
@@ -76,7 +75,7 @@ package() {
install -d -m0750 -o root -g radiusd "$pkgdir"/var/log/radius
install -d -m0750 -o root -g radiusd "$pkgdir"/var/log/radius/radacct
- make -j1 R="$pkgdir" install
+ make -j1 R="$pkgdir" LIBTOOL="$PWD/libtool" install
sed -i -e 's:^#user *= *nobody:user = radiusd:;s:^#group *= *nobody:group = radiusd:' \
"$pkgdir"/etc/raddb/radiusd.conf
chown -R root:radiusd "$pkgdir"/etc/raddb/*
@@ -166,6 +165,6 @@ unixodbc() {
mv $pkgdir/usr/lib/freeradius/rlm_sql_unixodbc* $subpkgdir/usr/lib/freeradius
}
-md5sums="e552704fc1b46d51176e575afa96dcc6 freeradius-server-2.1.10.tar.gz
+md5sums="dcbaed16df8ccff672ba132a08bf8510 freeradius-server-2.1.12.tar.gz
fc6693f3df5a0694610110287a28568a freeradius.confd
7c14a0bc0ada858a08235d7a1d1f2d4c freeradius.initd"