>From 6d88fa5a469cf655eed00c56684a8be33e69a76f Mon Sep 17 00:00:00 2001
From: Chris Moules <chris@gms.lu>
Date: Fri, 13 Feb 2009 11:41:13 +0000
Subject: [PATCH] Debian patch would not apply. Updated to reflect new srouce.

---
 debian/patches/01-radiusd-to-freeradius.dpatch |   30 ++++--------------------
 1 files changed, 5 insertions(+), 25 deletions(-)

diff --git a/debian/patches/01-radiusd-to-freeradius.dpatch b/debian/patches/01-radiusd-to-freeradius.dpatch
index 42426b6..78a2e4e 100755
--- a/debian/patches/01-radiusd-to-freeradius.dpatch
+++ b/debian/patches/01-radiusd-to-freeradius.dpatch
@@ -19,35 +19,15 @@
  
 --- old/raddb/radiusd.conf.in	(revision 1519)
 +++ new/raddb/radiusd.conf.in	(working copy)
-@@ -33,7 +33,7 @@
- 
- #  Location of config and logfiles.
- confdir = ${raddbdir}
--run_dir = ${localstatedir}/run/radiusd
-+run_dir = ${localstatedir}/run/freeradius
- 
- #
- #  The logging messages for the server are appended to the
-@@ -95,9 +95,9 @@
- #
- #  This file is written when ONLY running in daemon mode.
- #
--#  e.g.:  kill -HUP `cat /var/run/radiusd/radiusd.pid`
-+#  e.g.:  kill -HUP `cat /var/run/freeradius/freeradius.pid`
- #
--pidfile = ${run_dir}/${name}.pid
-+pidfile = ${run_dir}/freeradius.pid
-
-
- # user/group: The name (or #number) of the user/group to run radiusd as.
-@@ -121,8 +121,8 @@
- #  that the debugging mode server is running as a user that can read the
- #  shadow info, and the user listed below can not.
+@@ -164,8 +164,8 @@
+ #  It will join all groups where "user" is a member.  This can allow
+ #  for some finer-grained access controls.
  #
 -#user = radius
 -#group = radius
 +user = freerad
 +group = freerad
- 
+
  #  max_request_time: The maximum time (in seconds) to handle a request.
  #
+
-- 
1.5.6.5

