summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-11-01 05:24:08 +0000
committerAlin Năstac <mrness@gentoo.org>2005-11-01 05:24:08 +0000
commit48419c08b1bffe323484cbb67ee5dbfd94a8a17b (patch)
treedbcc13f399f2520b27ecb5efb9c515fe298c1896 /net-dialup
parentupdate HOMEPAGE and touchup in general (diff)
downloadgentoo-2-48419c08b1bffe323484cbb67ee5dbfd94a8a17b.tar.gz
gentoo-2-48419c08b1bffe323484cbb67ee5dbfd94a8a17b.tar.bz2
gentoo-2-48419c08b1bffe323484cbb67ee5dbfd94a8a17b.zip
Create directory /var/run/radiusd at startup (#111023)
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/freeradius/ChangeLog5
-rw-r--r--net-dialup/freeradius/Manifest14
-rw-r--r--net-dialup/freeradius/files/radius.init6
3 files changed, 11 insertions, 14 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog
index bc823673417c..51dcb1c1b5e8 100644
--- a/net-dialup/freeradius/ChangeLog
+++ b/net-dialup/freeradius/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/freeradius
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.40 2005/10/16 08:47:36 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.41 2005/11/01 05:24:08 mrness Exp $
+
+ 01 Nov 2005; Alin Nastac <mrness@gentoo.org> files/radius.init:
+ Create directory /var/run/radiusd at startup (#111023).
*freeradius-1.0.5-r1 (16 Oct 2005)
diff --git a/net-dialup/freeradius/Manifest b/net-dialup/freeradius/Manifest
index 9380ee918f47..09c7cfa14f06 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,20 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 8327f26c30dacedb0a3ac51af7e93228 freeradius-1.0.5-r1.ebuild 4057
MD5 0e071e8f111351294241c694bdbf5b93 freeradius-1.0.5.ebuild 3760
-MD5 d38e0e1790fb85ae0bf786c3c14697cc ChangeLog 6631
+MD5 b6029ce31539d3da1116b13172018649 ChangeLog 6756
MD5 1542bf76e28581e9d6bcfdc75e46f33d metadata.xml 252
MD5 fc6693f3df5a0694610110287a28568a files/radius.conf 129
-MD5 458420b883ec7022d9e3b4e349b92990 files/radius.init 1650
+MD5 ebefafa4d27bada9218caee39962b878 files/radius.init 1718
MD5 2d8c394126e7b211f44d26a4ff420f7d files/digest-freeradius-1.0.5-r1 69
MD5 6509371cc5a50915f90a413dc54b2c10 files/freeradius-1.0.5-whole-archive-gentoo.patch 1728
MD5 2d8c394126e7b211f44d26a4ff420f7d files/digest-freeradius-1.0.5 69
MD5 c1ccec77b79020a074dcd62ee622c9c4 files/freeradius-1.0.5-user-password-ha1.patch 2269
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDUhPBNSP4Vda7IdsRAqnEAJ40AavjFtq/aZpdErFYSjw3vaZu9wCfWhob
-2GpaBruPhraMVZ4S7PHNBvo=
-=NOnm
------END PGP SIGNATURE-----
diff --git a/net-dialup/freeradius/files/radius.init b/net-dialup/freeradius/files/radius.init
index 2caafc372f73..81a819571c26 100644
--- a/net-dialup/freeradius/files/radius.init
+++ b/net-dialup/freeradius/files/radius.init
@@ -8,6 +8,11 @@ depend() {
}
checkconfig() {
+ if [ ! -d /var/run/radiusd ] && ! mkdir /var/run/radiusd; then
+ eeror "Failed to create /var/run/radiusd"
+ return 1
+ fi
+
if [ ! -f /etc/raddb/radiusd.conf ] ; then
eerror "No /etc/raddb/radiusd.conf file exists!"
return 1
@@ -38,7 +43,6 @@ checkconfig() {
start() {
cd /var/log/radius #set the location of log files, including startup.log created by check-radiusd-config
- # Comment out the following line to get faster startups
checkconfig || return 1
ebegin "Starting radiusd"