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
commitbb55deb01ff7776a8b9d0f87a2d3f35e41d318eb (patch)
tree10043617cd7d70792d387f768d5037e73dc93fad /net-dialup
parentupdate HOMEPAGE and touchup in general (diff)
downloadhistorical-bb55deb01ff7776a8b9d0f87a2d3f35e41d318eb.tar.gz
historical-bb55deb01ff7776a8b9d0f87a2d3f35e41d318eb.tar.bz2
historical-bb55deb01ff7776a8b9d0f87a2d3f35e41d318eb.zip
Create directory /var/run/radiusd at startup (#111023)
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/freeradius/ChangeLog5
-rw-r--r--net-dialup/freeradius/Manifest10
-rw-r--r--net-dialup/freeradius/files/radius.init6
3 files changed, 14 insertions, 7 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..045a78835c1e 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -3,10 +3,10 @@ Hash: SHA1
MD5 8327f26c30dacedb0a3ac51af7e93228 freeradius-1.0.5-r1.ebuild 4057
MD5 0e071e8f111351294241c694bdbf5b93 freeradius-1.0.5.ebuild 3760
-MD5 d38e0e1790fb85ae0bf786c3c14697cc ChangeLog 6631
+MD5 fa9fda9873a7be9a9bf65f1510c2e35a 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
@@ -14,7 +14,7 @@ MD5 c1ccec77b79020a074dcd62ee622c9c4 files/freeradius-1.0.5-user-password-ha1.pa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFDUhPBNSP4Vda7IdsRAqnEAJ40AavjFtq/aZpdErFYSjw3vaZu9wCfWhob
-2GpaBruPhraMVZ4S7PHNBvo=
-=NOnm
+iD8DBQFDZvwHNSP4Vda7IdsRAmf5AJkB4qKPYKgxnBlbYIE1LP8HqECmogCfX/iz
+GMVO/rz/gU6AmNjtT9wzi6g=
+=DKAZ
-----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"