diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-01-17 08:26:18 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-01-17 08:26:36 +0000 |
commit | f07325909cf2b07a9339533c0f8162633d821542 (patch) | |
tree | d3a1b21af978eb63cb5932a27c3b86b95ac8458c | |
parent | b234f05497e409034c928db2bbb7486e808d09e5 (diff) | |
download | aports-f07325909cf2b07a9339533c0f8162633d821542.tar.bz2 aports-f07325909cf2b07a9339533c0f8162633d821542.tar.xz |
main/freeradius: add sqlite support
-rw-r--r-- | main/freeradius/APKBUILD | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD index 1c9f02d378..8b1880bddd 100644 --- a/main/freeradius/APKBUILD +++ b/main/freeradius/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=freeradius pkgver=2.2.3 -pkgrel=0 +pkgrel=1 pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server" url="http://freeradius.org/" arch="all" @@ -10,13 +10,13 @@ license="GPL" depends="freeradius-radclient freeradius-lib" makedepends="openssl-dev mysql-dev postgresql-dev gdbm-dev readline-dev bash libtool autoconf automake perl-dev python-dev openldap-dev - unixodbc-dev linux-pam-dev" + unixodbc-dev linux-pam-dev sqlite-dev" pkggroups="radius" pkgusers="radius" install="freeradius.pre-install" subpackages="$pkgname-doc $pkgname-dev $pkgname-ldap $pkgname-lib $pkgname-mssql $pkgname-mysql $pkgname-oracle $pkgname-perl - $pkgname-postgresql $pkgname-python $pkgname-radclient + $pkgname-postgresql $pkgname-python $pkgname-radclient $pkgname-sqlite $pkgname-unixodbc $pkgname-pam $pkgname-webif $pkgname-webif-doc" source="ftp://ftp.freeradius.org/pub/freeradius/$pkgname-server-$pkgver.tar.gz freeradius.confd @@ -69,6 +69,15 @@ build() { --with-system-libtool \ --with-system-libltdl \ --with-udpfromto \ + --with-experimental-modules \ + --with-rlm_sql_sqlite \ + --without-rlm_sql_oracle \ + --without-rlm_sql_iodbc \ + --without-rlm_sql_firebird \ + --without-rlm_sql_db2 \ + --without-rlm_ruby \ + --without-rlm_rediswho \ + --without-rlm_redis \ || return 1 # * workaround parallel build issue @@ -170,6 +179,12 @@ radclient() { mv $pkgdir/usr/bin/radclient $subpkgdir/usr/bin/radclient || exit 1 } +sqlite() { + depends="freeradius" + mkdir -p $subpkgdir/usr/lib/freeradius + mv $pkgdir/usr/lib/freeradius/rlm_sql_sqlite* $subpkgdir/usr/lib/freeradius || exit 1 +} + unixodbc() { depends="freeradius" mkdir -p $subpkgdir/usr/lib/freeradius |