Update debian patch for changes to radiusd.conf logic.
authorChris Moules <chris@gms.lu>
Thu, 19 Feb 2009 15:38:43 +0000 (15:38 +0000)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 19 Feb 2009 17:48:21 +0000 (18:48 +0100)
debian/patches/01-radiusd-to-freeradius.dpatch

index 42426b6..b4e526e 100755 (executable)
  SBINDIR               = ${sbindir}
  RADIR         = ${radacctdir}
  
---- 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
+--- old/raddb/radiusd.conf.in   2009-02-19 15:25:59.723240012 +0000
++++ new/raddb/radiusd.conf.in   2009-02-19 15:32:18.215568132 +0000
+@@ -62,7 +62,7 @@
 
+ #
+ #  name of the running server.  See also the "-n" command-line option.
+-name = radiusd
++name = freeradius
 
- # 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.
+ #  Location of config and logfiles.
+ confdir = ${raddbdir}
+@@ -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.
  #