0e699bd9f7
with OpenSSL; this version adds an exemption clause). Much cleanup of the port, particularly giving a simpler installation for new users. Thanks pea@ for testing. Maintainer timeout.
92 lines
2.3 KiB
Plaintext
92 lines
2.3 KiB
Plaintext
$OpenBSD: patch-raddb_radiusd_conf_in,v 1.11 2010/05/17 16:39:25 sthen Exp $
|
|
--- raddb/radiusd.conf.in.orig Wed Dec 30 15:44:35 2009
|
|
+++ raddb/radiusd.conf.in Mon May 10 14:10:42 2010
|
|
@@ -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.
|
|
#
|
|
@@ -541,8 +541,8 @@ security {
|
|
#
|
|
# allowed values: {no, yes}
|
|
#
|
|
-proxy_requests = yes
|
|
-$INCLUDE proxy.conf
|
|
+proxy_requests = no
|
|
+#$INCLUDE ${confdir}/proxy.conf
|
|
|
|
|
|
# CLIENTS CONFIGURATION
|
|
@@ -558,7 +558,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
|
|
@@ -675,12 +675,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.
|
|
@@ -692,12 +692,12 @@ modules {
|
|
# totally dependent on the SQL module to process Accounting
|
|
# packets.
|
|
#
|
|
-# $INCLUDE sql/mysql/counter.conf
|
|
+# $INCLUDE ${confdir}/sql/mysql/counter.conf
|
|
|
|
#
|
|
# IP addresses managed in an SQL table.
|
|
#
|
|
-# $INCLUDE sqlippool.conf
|
|
+# $INCLUDE ${confdir}/sqlippool.conf
|
|
}
|
|
|
|
# Instantiation
|
|
@@ -767,7 +767,7 @@ instantiate {
|
|
# to multiple times.
|
|
#
|
|
######################################################################
|
|
-$INCLUDE policy.conf
|
|
+$INCLUDE ${confdir}/policy.conf
|
|
|
|
######################################################################
|
|
#
|