diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-02-26 07:51:19 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-02-26 07:51:42 +0000 |
commit | 62b83e4645e1159bfa56b755598010d3fd3166bf (patch) | |
tree | 0049a4d6ea824343481c730064e26c576fd5ad31 /main/freeradius/APKBUILD | |
parent | b17ab8f6a9fb1c4175cf16ac5909746e49ef18df (diff) | |
download | aports-62b83e4645e1159bfa56b755598010d3fd3166bf.tar.bz2 aports-62b83e4645e1159bfa56b755598010d3fd3166bf.tar.xz |
main/freeradius: remove mysql configuration directives from default config
Diffstat (limited to 'main/freeradius/APKBUILD')
-rw-r--r-- | main/freeradius/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD index 8b1880bddd..5afa424b03 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=1 +pkgrel=2 pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server" url="http://freeradius.org/" arch="all" @@ -10,7 +10,7 @@ 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 sqlite-dev" + unixodbc-dev linux-pam-dev sqlite-dev heimdal-dev" pkggroups="radius" pkgusers="radius" install="freeradius.pre-install" @@ -46,6 +46,9 @@ prepare() { # Fix default config sed -i 's%run_dir = .*%run_dir = \$\{localstatedir\}/run/radius%' \ raddb/radiusd.conf.in || return 1 + # disable directive that pulls in freeradius-mysql package + sed -i 's%$INCLUDE ${confdir}/sql/mysql/ippool-dhcp.conf%#$INCLUDE ${confdir}/sql/mysql/ippool-dhcp.conf%' \ + raddb/modules/dhcp_sqlippool || return 1 rm -f libtool.m4 libtoolize --force -c || return 1 |