Commit 53b70533 authored by Leonardo Arena's avatar Leonardo Arena

main/freeradius: upgrade to 2.1.12

parent 936556a4
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment