aboutsummaryrefslogtreecommitdiffstats
path: root/main/freeradius/APKBUILD
diff options
context:
space:
mode:
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