aboutsummaryrefslogtreecommitdiffstats
path: root/testing/freeradius
diff options
context:
space:
mode:
Diffstat (limited to 'testing/freeradius')
-rw-r--r--testing/freeradius/APKBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/testing/freeradius/APKBUILD b/testing/freeradius/APKBUILD
index 4221f30fac..e1c741f19e 100644
--- a/testing/freeradius/APKBUILD
+++ b/testing/freeradius/APKBUILD
@@ -2,20 +2,19 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=freeradius
pkgver=2.1.10
-pkgrel=5
+pkgrel=6
pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server"
url="http://freeradius.org/"
license="GPL"
depends=
makedepends="openssl-dev pth-dev mysql-dev postgresql-dev gdbm-dev readline-dev
- bash libtool autoconf automake perl-dev python-dev openldap-dev"
+ bash libtool autoconf automake perl-dev python-dev openldap-dev unixodbc-dev"
pkggroups="radiusd"
pkgusers="radiusd"
install="freeradius.pre-install"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-ldap \
- $pkgname-mssql $pkgname-mysql $pkgname-ndb $pkgname-oracle \
- $pkgname-perl $pkgname-postgresql $pkgname-python \
- "
+subpackages="$pkgname-doc $pkgname-dev $pkgname-ldap $pkgname-mssql \
+ $pkgname-mysql $pkgname-oracle $pkgname-perl $pkgname-postgresql \
+ $pkgname-python $pkgname-unixodbc"
source="ftp://ftp.freeradius.org/pub/freeradius/$pkgname-server-$pkgver.tar.gz
freeradius.confd
freeradius.initd
@@ -88,6 +87,7 @@ ldap() {
mysql() {
mkdir -p $subpkgdir/etc/raddb/sql
mv $pkgdir/etc/raddb/sql/mysql $subpkgdir/etc/raddb/sql
+ mv $pkgdir/etc/raddb/sql/ndb $subpkgdir/etc/raddb/sql
mkdir -p $subpkgdir/usr/lib/freeradius
mv $pkgdir/usr/lib/freeradius/rlm_sql_mysql* $subpkgdir/usr/lib/freeradius
}
@@ -97,11 +97,6 @@ mssql() {
mv $pkgdir/etc/raddb/sql/mssql $subpkgdir/etc/raddb/sql
}
-ndb() {
- mkdir -p $subpkgdir/etc/raddb/sql
- mv $pkgdir/etc/raddb/sql/ndb $subpkgdir/etc/raddb/sql
-}
-
oracle() {
mkdir -p $subpkgdir/etc/raddb/sql
mv $pkgdir/etc/raddb/sql/oracle $subpkgdir/etc/raddb/sql
@@ -126,6 +121,11 @@ python() {
mv $pkgdir/usr/lib/freeradius/rlm_python* $subpkgdir/usr/lib/freeradius
}
+unixodbc() {
+ mkdir -p $subpkgdir/usr/lib/freeradius
+ mv $pkgdir/usr/lib/freeradius/rlm_sql_unixodbc* $subpkgdir/usr/lib/freeradius
+}
+
md5sums="e552704fc1b46d51176e575afa96dcc6 freeradius-server-2.1.10.tar.gz
fc6693f3df5a0694610110287a28568a freeradius.confd
b22092fcdcb61d7f0b8e13a007c444c5 freeradius.initd"