~ubuntu-branches/ubuntu/hardy/freeradius/hardy-proposed

« back to all changes in this revision

Viewing changes to debian/patches/02-radiusd-to-freeradius.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2006-12-16 20:45:11 UTC
  • mfrom: (3.1.10 feisty)
  • Revision ID: james.westby@ubuntu.com-20061216204511-3pbbsu4s8jtehsor
Tags: 1.1.3-3
Fix POSIX compliance problem in init script.  Closes: #403384. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 02-radiusd-to-freeradius.dpatch by Mark Hymers <mark@hymers.org.uk>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: change debian binary name from radiusd -> freeradius
 
6
 
 
7
@DPATCH@
 
8
 
 
9
--- old/Make.inc.in     (revision 1496)
 
10
+++ new/Make.inc.in     (working copy)
 
11
@@ -47,7 +47,7 @@
 
12
 
 
13
 LOGDIR         = ${logdir}
 
14
 RADDBDIR       = ${raddbdir}
 
15
-RUNDIR         = ${localstatedir}/run/radiusd
 
16
+RUNDIR         = ${localstatedir}/run/freeradius
 
17
 SBINDIR                = ${sbindir}
 
18
 RADIR          = ${radacctdir}
 
19
 
 
20
--- old/raddb/radiusd.conf.in   (revision 1519)
 
21
+++ new/raddb/radiusd.conf.in   (working copy)
 
22
@@ -31,7 +31,7 @@
 
23
 
 
24
 #  Location of config and logfiles.
 
25
 confdir = ${raddbdir}
 
26
-run_dir = ${localstatedir}/run/radiusd
 
27
+run_dir = ${localstatedir}/run/freeradius
 
28
 
 
29
 #
 
30
 #  The logging messages for the server are appended to the
 
31
@@ -80,9 +80,9 @@
 
32
 #
 
33
 #  This file is written when ONLY running in daemon mode.
 
34
 #
 
35
-#  e.g.:  kill -HUP `cat /var/run/radiusd/radiusd.pid`
 
36
+#  e.g.:  kill -HUP `cat /var/run/freeradius/freeradius.pid`
 
37
 #
 
38
-pidfile = ${run_dir}/radiusd.pid
 
39
+pidfile = ${run_dir}/freeradius.pid
 
40
 
 
41
 
 
42
 # user/group: The name (or #number) of the user/group to run radiusd as.
 
43
@@ -106,8 +106,8 @@
 
44
 #  that the debugging mode server is running as a user that can read the
 
45
 #  shadow info, and the user listed below can not.
 
46
 #
 
47
-#user = nobody
 
48
-#group = nobody
 
49
+user = freerad
 
50
+group = freerad
 
51
 
 
52
 #  max_request_time: The maximum time (in seconds) to handle a request.
 
53
 #
 
54
@@ -639,7 +639,7 @@
 
55
                #  and Mac OSX.
 
56
                #
 
57
                #       passwd = /etc/passwd
 
58
-               #       shadow = /etc/shadow
 
59
+               shadow = /etc/shadow
 
60
                #       group = /etc/group
 
61
 
 
62
                #