aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeradius/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-02-14 11:31:30 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-02-14 12:13:52 +0100
commit060415a081c8c15f150fa6e5adc25b25c8f7b43c (patch)
tree89691ab0557ec2f6a3cff17eeaa921a8c555461c /main/freeradius/APKBUILD
parent5cdd62bc2f3dbc02532335ed189cef0af2916965 (diff)
downloadaports-060415a081c8c15f150fa6e5adc25b25c8f7b43c.tar.bz2
aports-060415a081c8c15f150fa6e5adc25b25c8f7b43c.tar.xz
main/freeradius: move utilities to subpkg -utils
These are not needed for running radiusd. Fedora and Debian provides them in freeradius-utils package as well.
Diffstat (limited to 'main/freeradius/APKBUILD')
-rw-r--r--main/freeradius/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/freeradius/APKBUILD b/main/freeradius/APKBUILD
index e3a1d4e750..7178f19f88 100644
--- a/main/freeradius/APKBUILD
+++ b/main/freeradius/APKBUILD
@@ -37,7 +37,7 @@ makedepends="
"
pkggroups="radius"
pkgusers="radius"
-install="$pkgname.pre-install"
+install="$pkgname.pre-install $pkgname.post-upgrade"
subpackages="
$pkgname-dbg
$pkgname-doc
@@ -60,6 +60,7 @@ subpackages="
$pkgname-rest
$pkgname-redis
$pkgname-checkrad
+ $pkgname-utils
"
provides="freeradius3=$pkgver-r$pkgrel"
source="ftp://ftp.freeradius.org/pub/freeradius/$pkgname-server-$pkgver.tar.gz
@@ -329,6 +330,13 @@ redis() {
amove $_radmodsdir/redis*
}
+utils() {
+ pkgdesc="FreeRADIUS utilities"
+ depends="freeradius=$pkgver-r$pkgrel"
+
+ amove usr/bin/*
+}
+
_mvdb() {
amove $_radmodsconfdir/sql/*/$1
amove $_radlibdir/rlm_sql_$1.so