aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2010-10-11 08:00:50 +0000
committerLeonardo Arena <rnalrd@gmail.com>2010-10-11 08:03:20 +0000
commit5e4d22a6270bb3d05a69d793e8b4c681a9a935a1 (patch)
treed3914e50d70b72d805a8c24b691bb4987adb4262 /testing
parent9c78660e6f4f871b072a1b99fbbf6009d5387908 (diff)
downloadaports-5e4d22a6270bb3d05a69d793e8b4c681a9a935a1.tar.bz2
aports-5e4d22a6270bb3d05a69d793e8b4c681a9a935a1.tar.xz
testing/freeradius: init script fix. Move checkrad into subpkg-perl.
Diffstat (limited to 'testing')
-rw-r--r--testing/freeradius/APKBUILD3
-rw-r--r--testing/freeradius/freeradius.initd5
2 files changed, 2 insertions, 6 deletions
diff --git a/testing/freeradius/APKBUILD b/testing/freeradius/APKBUILD
index 6b878d2e93..2f55b185ac 100644
--- a/testing/freeradius/APKBUILD
+++ b/testing/freeradius/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=freeradius
pkgver=2.1.10
-pkgrel=8
+pkgrel=9
pkgdesc="RADIUS (Remote Authentication Dial-In User Service) server"
url="http://freeradius.org/"
license="GPL"
@@ -115,6 +115,7 @@ perl() {
depends="freeradius perl"
mkdir -p $subpkgdir/usr/lib/freeradius
mv $pkgdir/usr/lib/freeradius/rlm_perl* $subpkgdir/usr/lib/freeradius
+ mv $pkgdir/usr/sbin/checkrad $subpkgdir/usr/bin/checkrad
}
postgresql() {
diff --git a/testing/freeradius/freeradius.initd b/testing/freeradius/freeradius.initd
index 86909adef9..3a00e2a39f 100644
--- a/testing/freeradius/freeradius.initd
+++ b/testing/freeradius/freeradius.initd
@@ -25,11 +25,6 @@ checkconfig() {
return 1
fi
- if [ "`/usr/sbin/check-radiusd-config >/dev/null 2>&1; echo $?`" != "0" ] ; then
- eerror "Config not ok! (try /usr/sbin/check-radiusd-config )"
- return 1
- fi
-
RADIUSD_USER=`grep '^ *user *=' /etc/raddb/radiusd.conf | cut -d ' ' -f 3`
RADIUSD_GROUP=`grep '^ *group *=' /etc/raddb/radiusd.conf | cut -d ' ' -f 3`
if [ -n "${RADIUSD_USER}" ] && ! getent passwd ${RADIUSD_USER} > /dev/null ; then