$OpenBSD: patch-raddb_radiusd_conf_in,v 1.10 2008/12/29 19:17:36 rui Exp $
--- raddb/radiusd.conf.in.orig	Fri Dec  5 16:37:56 2008
+++ raddb/radiusd.conf.in	Sun Dec 28 00:26:19 2008
@@ -54,7 +54,7 @@
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 sysconfdir = @sysconfdir@
-localstatedir = @localstatedir@
+localstatedir = /var 
 sbindir = @sbindir@
 logdir = @logdir@
 raddbdir = @raddbdir@
@@ -103,7 +103,7 @@ db_dir = ${raddbdir}
 #	make
 #	make install
 #
-libdir = @libdir@
+libdir = @prefix@/lib/freeradius 
 
 #  pidfile: Where to place the PID of the RADIUS server.
 #
@@ -164,8 +164,8 @@ pidfile = ${run_dir}/${name}.pid
 #  It will join all groups where "user" is a member.  This can allow
 #  for some finer-grained access controls.
 #
-#user = radius
-#group = radius
+user = _freeradius
+group = _freeradius
 
 #  max_request_time: The maximum time (in seconds) to handle a request.
 #
@@ -522,8 +522,8 @@ security {
 #
 #  allowed values: {no, yes}
 #
-proxy_requests  = yes
-$INCLUDE proxy.conf
+proxy_requests  = no 
+#$INCLUDE ${confdir}/proxy.conf
 
 
 # CLIENTS CONFIGURATION
@@ -539,7 +539,7 @@ $INCLUDE proxy.conf
 #  Anything listed in 'clients.conf' will take precedence over the
 #  information from the old-style configuration files.
 #
-$INCLUDE clients.conf
+$INCLUDE ${confdir}/clients.conf
 
 
 # THREAD POOL CONFIGURATION
@@ -656,12 +656,12 @@ modules {
 	#  For all EAP related authentications.
 	#  Now in another file, because it is very large.
 	#
-	$INCLUDE eap.conf
+	$INCLUDE ${confdir}/eap.conf 
 
 	#  Include another file that has the SQL-related configuration.
 	#  This is another file only because it tends to be big.
 	#
-	$INCLUDE sql.conf
+	$INCLUDE ${confdir}/sql.conf 
 
 	#
 	#  This module is an SQL enabled version of the counter module.
@@ -673,16 +673,16 @@ modules {
 	#  totally dependent on the SQL module to process Accounting
 	#  packets.
 	#
-	$INCLUDE sql/mysql/counter.conf
-	#$INCLUDE sql/postgresql/counter.conf
+	$INCLUDE ${confdir}/sql/mysql/counter.conf 
+	#$INCLUDE ${confdir}/sql/postgresql/counter.conf 
 
 	#
 	#  IP addresses managed in an SQL table.
 	#
-	#$INCLUDE sqlippool.conf
+	#$INCLUDE ${confdir}/sqlippool.conf 
 
 	# OTP token support.  Not included by default.
-	# $INCLUDE otp.conf
+	# $INCLUDE ${confdir}/otp.conf 
 
 }
 
@@ -753,7 +753,7 @@ instantiate {
 #	to multiple times.
 #
 ######################################################################
-$INCLUDE policy.conf
+$INCLUDE ${confdir}/policy.conf 
 
 ######################################################################
 #
