aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeradius/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-06-15 16:29:50 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-15 16:30:31 +0200
commit360eed4a85d4bdf66bcfb2d9a9e098f2c49195ec (patch)
treed9adf5cd21063d64307f4384e8352462be08cb8c /main/freeradius/APKBUILD
parent70d3762637e077879e0f160f3f5e44717e594193 (diff)
downloadaports-360eed4a85d4bdf66bcfb2d9a9e098f2c49195ec.tar.bz2
aports-360eed4a85d4bdf66bcfb2d9a9e098f2c49195ec.tar.xz
main/freeradius: fix circular deps due to /etc/raddb/mods-enabled/eap
Diffstat (limited to 'main/freeradius/APKBUILD')
-rw-r--r--main/freeradius/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD
index d7ddf005bd..76fa2e308e 100644
--- a/main/freeradius/APKBUILD
+++ b/main/freeradius/APKBUILD
@@ -5,7 +5,7 @@
pkgname=freeradius
_realname=freeradius
pkgver=3.0.13
-pkgrel=2
+pkgrel=3
pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server"
url="http://freeradius.org/"
arch="all"
@@ -128,8 +128,11 @@ eap() {
mkdir -p "${subpkgdir}"${radlibdir} "$subpkgdir"/usr/bin
mv "${pkgdir}"${radlibdir}/rlm_eap*.so "${subpkgdir}"${radlibdir}
mv "$pkgdir"/usr/bin/radeapclient "$subpkgdir"/usr/bin
- mkdir -p "${subpkgdir}"${radmodsdir}
+ mkdir -p "${subpkgdir}"${radmodsdir} "$subpkgdir"$radconfdir/mods-enabled
mv "${pkgdir}"${radmodsdir}/eap "${subpkgdir}"${radmodsdir}
+ mv "$pkgdir"$radconfdir/mods-enabled/eap \
+ "$subpkgdir"$radconfdir/mods-enabled/
+
mkdir -p "${subpkgdir}"${radconfdir}
mv "${pkgdir}"${radconfdir}/certs "${subpkgdir}"${radconfdir}
}