Package: freeradius / 2.1.12+dfsg-1.2

radiusd-to-freeradius.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## 01-radiusd-to-freeradius.dpatch by Mark Hymers <mark@hymers.org.uk>
## DP: change debian binary name from radiusd -> freeradius

Index: b/Make.inc.in
===================================================================
--- a/Make.inc.in	2012-06-29 15:43:05.000000000 +0200
+++ b/Make.inc.in	2012-06-29 15:54:59.000000000 +0200
@@ -50,7 +50,7 @@
 
 LOGDIR		= ${logdir}
 RADDBDIR	= ${raddbdir}
-RUNDIR		= ${localstatedir}/run/radiusd
+RUNDIR		= ${localstatedir}/run/freeradius
 SBINDIR		= ${sbindir}
 RADIR		= ${radacctdir}
 LIBRADIUS	= $(top_builddir)/src/lib/$(LIBPREFIX)freeradius-radius.la
Index: b/raddb/radiusd.conf.in
===================================================================
--- a/raddb/radiusd.conf.in	2012-06-29 15:43:05.000000000 +0200
+++ b/raddb/radiusd.conf.in	2012-06-29 15:54:59.000000000 +0200
@@ -62,7 +62,7 @@
 
 #
 #  name of the running server.  See also the "-n" command-line option.
-name = radiusd
+name = freeradius
 
 #  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.
 #