logdir = @logdir@
includedir = @includedir@
-raddbdir = @raddbdir@
-modconfdir = @modconfdir@
+confdir = @confdir@
+modconfdir = ${confdir}/mods-config
radacctdir = @radacctdir@
top_builddir = @abs_top_builddir@
top_build_prefix=@abs_top_builddir@/
LDFLAGS = $(OPENSSL_LDFLAGS) $(TALLOC_LDFLAGS) $(KQUEUE_LDFLAGS) @LDFLAGS@
LOGDIR = ${logdir}
-CONFDIR = ${raddbdir}
+CONFDIR = ${confdir}
RUNDIR = ${localstatedir}/run/radiusd
SBINDIR = ${sbindir}
RADIR = ${radacctdir}
$(R)$(mandir)/%: man/%
@echo INSTALL $(notdir $<)
- @sed -e "s,/etc/raddb,$(raddbdir),g" \
+ @sed -e "s,/etc/raddb,$(confdir),g" \
-e "s,/usr/local/share,$(datarootdir),g" \
$< > $<.subst
@$(INSTALL) -m 644 $<.subst $@
ifneq ($(RGROUP),)
.PHONY: install-chown
install-chown:
- chown -R $(RADMIN) $(R)$(raddbdir)
- chgrp -R $(RGROUP) $(R)$(raddbdir)
- chmod u=rwx,g=rx,o= `find $(R)$(raddbdir) -type d -print`
- chmod u=rw,g=r,o= `find $(R)$(raddbdir) -type f -print`
+ chown -R $(RADMIN) $(R)$(confdir)
+ chgrp -R $(RGROUP) $(R)$(confdir)
+ chmod u=rwx,g=rx,o= `find $(R)$(confdir) -type d -print`
+ chmod u=rw,g=r,o= `find $(R)$(confdir) -type f -print`
chown -R $(RADMIN) $(R)$(logdir)
chgrp -R $(RGROUP) $(R)$(logdir)
find $(R)$(logdir) -type d -exec chmod u=rwx,g=rwx,o= {} \;
RUSERS
SNMPWALK
SNMPGET
-modconfdir
mibdir
dictdir
-raddbdir
+confdir
radacctdir
logdir
openssl_version_check_config
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $radacctdir" >&5
printf "%s\n" "$radacctdir" >&6; }
-raddbdir='${sysconfdir}/raddb'
+confdir='${sysconfdir}/raddb'
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking raddbdir" >&5
printf %s "checking raddbdir... " >&6; }
yes)
;;
[\\/$]* | ?:[\\/]* )
- raddbdir="$withval"
+ confdir="$withval"
;;
*)
as_fn_error $? "expected an absolute directory name for --with-raddbdir: $withval" "$LINENO" 5
fi
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $raddbdir" >&5
-printf "%s\n" "$raddbdir" >&6; }
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $confdir" >&5
+printf "%s\n" "$confdir" >&6; }
dictdir='${datarootdir}/freeradius/dictionary'
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dictdir" >&5
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $mibdir" >&5
printf "%s\n" "$mibdir" >&6; }
-modconfdir='${raddbdir}/mods-config'
-
dnl #
dnl # extra argument: --with-raddbdir
dnl #
-raddbdir='${sysconfdir}/raddb'
+confdir='${sysconfdir}/raddb'
AC_MSG_CHECKING(raddbdir)
AC_ARG_WITH(raddbdir,
[ --with-raddbdir=DIR directory for config files [SYSCONFDIR/raddb] ],
yes)
;;
[[\\/$]]* | ?:[[\\/]]* )
- raddbdir="$withval"
+ confdir="$withval"
;;
*)
AC_MSG_ERROR([expected an absolute directory name for --with-raddbdir: $withval])
;;
esac ]
)
-AC_SUBST(raddbdir)
-AC_MSG_RESULT($raddbdir)
+AC_SUBST(confdir)
+AC_MSG_RESULT($confdir)
dnl #
dnl # extra argument: --with-dictdir
AC_SUBST(mibdir)
AC_MSG_RESULT($mibdir)
-modconfdir='${raddbdir}/mods-config'
-AC_SUBST(modconfdir)
-
dnl #############################################################
dnl #
dnl # 0e. Library/include paths
@@ -105,7 +105,7 @@ LDFLAGS = $(OPENSSL_LDFLAGS) $(TALLOC_L
LOGDIR = ${logdir}
- CONFDIR = ${raddbdir}
+ CONFDIR = $(confdir)
-RUNDIR = ${localstatedir}/run/radiusd
+RUNDIR = ${localstatedir}/run/freeradius
SBINDIR = ${sbindir}
libdir = /usr/lib/$(package)
logdir = /var/log/$(package)
pkgdocdir = /usr/share/doc/$(package)
-raddbdir = /etc/$(package)
+confdir = /etc/$(package)
modulelist=krb5 ldap redis rest yubikey
sqldriverlist=freetds mysql unixodbc postgresql
--libdir=$(libdir) \
--datadir=/usr/share \
--localstatedir=/var \
- --with-raddbdir=$(raddbdir) \
+ --with-raddbdir=$(confdir) \
--with-logdir=/var/log/$(package) \
--with-large-files \
--with-udpfromto \
Some of these flags can also be passed on the command line as
`-S flag=value`.
-Dictionary migration instructions can be found in `${raddbdir}/dictionary`.
+Dictionary migration instructions can be found in `${confdir}/dictionary`.
localstatedir = ${prefix}/var
sbindir = ${exec_prefix}/sbin
logdir = ${localstatedir}/log/radius
-raddbdir = ${sysconfdir}/raddb
+confdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct
name = radiusd
-confdir = ${raddbdir}
modconfdir = ${confdir}/mods-config
certdir = ${confdir}/certs
cadir = ${confdir}/certs
libdir = ${exec_prefix}/lib
pidfile = ${run_dir}/${name}.pid
#panic_action = "gdb %e %p"
-#panic_action = "gdb -silent -x ${raddbdir}/panic.gdb %e %p 2>&1 | tee ${logdir}/gdb-${name}-%p.log"
+#panic_action = "gdb -silent -x ${confdir}/panic.gdb %e %p 2>&1 | tee ${logdir}/gdb-${name}-%p.log"
request {
max = 16384
timeout = 30
ENV {
# FOO = '/bar/baz'
# BAR
-# KRB5_CLIENT_KTNAME = ${raddbdir}/radiusd.keytab
+# KRB5_CLIENT_KTNAME = ${confdir}/radiusd.keytab
# LD_PRELOAD = /path/to/library1.so
# LD_PRELOAD = /path/to/library2.so
}
localstatedir = ${prefix}/var
sbindir = ${exec_prefix}/sbin
logdir = ${localstatedir}/log/radius
-raddbdir = ${sysconfdir}/raddb
+confdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct
name = radrelay
-confdir = ${raddbdir}
run_dir = ${localstatedir}/run/${name}
libdir = ${exec_prefix}/lib
pidfile = ${run_dir}/${name}.pid
localstatedir = ${prefix}/var
sbindir = ${exec_prefix}/sbin
logdir = ${localstatedir}/log/radius
-raddbdir = ${sysconfdir}/raddb
+confdir = ${sysconfdir}/raddb
radacctdir = ${logdir}/radacct
----
ecc/server.key \
ecc/server.pem
-INSTALL_CERT_PRODUCTS := $(addprefix $(R)$(raddbdir)/certs/,$(INSTALL_CERT_FILES))
+INSTALL_CERT_PRODUCTS := $(addprefix $(R)$(confdir)/certs/,$(INSTALL_CERT_FILES))
ifeq ("$(TEST_CERTS)","yes")
-INSTALL_CERT_PRODUCTS += $(addprefix $(R)$(raddbdir)/certs/,$(LOCAL_CERT_FILES))
+INSTALL_CERT_PRODUCTS += $(addprefix $(R)$(confdir)/certs/,$(LOCAL_CERT_FILES))
endif
-LEGACY_LINKS := $(addprefix $(R)$(raddbdir)/,users)
+LEGACY_LINKS := $(addprefix $(R)$(confdir)/,users)
BUILD_RADDB := $(strip $(foreach x,install clean,$(findstring $(x),$(MAKECMDGOALS))))
ifneq "$(BUILD_RADDB)" ""
$(patsubst raddb/%,%,$(call FIND_DIRS,raddb/mods-config))
# Installed directories
-INSTALL_RADDB_DIRS := $(R)$(raddbdir)/ $(addprefix $(R)$(raddbdir)/,$(RADDB_DIRS))
+INSTALL_RADDB_DIRS := $(R)$(confdir)/ $(addprefix $(R)$(confdir)/,$(RADDB_DIRS))
# Grab files from the various subdirectories
INSTALL_FILES := $(wildcard raddb/sites-available/* raddb/mods-available/*) \
$(call FIND_FILES,raddb/template.d)
# Re-write local files to installed files, filtering out editor backups
-INSTALL_RADDB := $(patsubst raddb/%,$(R)$(raddbdir)/%,$(INSTALL_FILES))
+INSTALL_RADDB := $(patsubst raddb/%,$(R)$(confdir)/%,$(INSTALL_FILES))
endif
all: build.raddb
ifneq "$(BUILD_RADDB)" ""
# Installation rules for directories. Note permissions are 750!
$(INSTALL_RADDB_DIRS):
- ${Q}echo INSTALL $(patsubst $(R)$(raddbdir)%,raddb%,$@)
+ ${Q}echo INSTALL $(patsubst $(R)$(confdir)%,raddb%,$@)
${Q}$(INSTALL) -d -m 750 $@
# The installed files have ORDER dependencies. This means that they
# This dependency lets us install the server on top of an existing
# system, hopefully without breaking anything.
-ifeq "$(wildcard $(R)$(raddbdir)/mods-available/)" ""
-INSTALL_RADDB += $(patsubst raddb/%,$(R)$(raddbdir)/%,\
+ifeq "$(wildcard $(R)$(confdir)/mods-available/)" ""
+INSTALL_RADDB += $(patsubst raddb/%,$(R)$(confdir)/%,\
$(filter-out %~,$(LOCAL_MODULES)))
# Installation rules for mods-enabled. Note ORDER dependencies
-$(R)$(raddbdir)/mods-enabled/%: | $(R)$(raddbdir)/mods-available/%
+$(R)$(confdir)/mods-enabled/%: | $(R)$(confdir)/mods-available/%
${Q}cd $(dir $@) && ln -sf ../mods-available/$(notdir $@)
endif
-ifeq "$(wildcard $(R)$(raddbdir)/sites-available/)" ""
-INSTALL_RADDB += $(patsubst raddb/%,$(R)$(raddbdir)/%,\
+ifeq "$(wildcard $(R)$(confdir)/sites-available/)" ""
+INSTALL_RADDB += $(patsubst raddb/%,$(R)$(confdir)/%,\
$(filter-out %~,$(LOCAL_SITES)))
# Installation rules for sites-enabled. Note ORDER dependencies
-$(R)$(raddbdir)/sites-enabled/%: | $(R)$(raddbdir)/sites-available/%
+$(R)$(confdir)/sites-enabled/%: | $(R)$(confdir)/sites-available/%
${Q}cd $(dir $@) && ln -sf ../sites-available/$(notdir $@)
endif
# Installation rules for plain modules.
-$(R)$(raddbdir)/%: | raddb/%
- ${Q}echo INSTALL $(patsubst $(R)$(raddbdir)/%,raddb/%,$@)
- ${Q}$(INSTALL) -m 640 $(patsubst $(R)$(raddbdir)/%,raddb/%,$@) $@
+$(R)$(confdir)/%: | raddb/%
+ ${Q}echo INSTALL $(patsubst $(R)$(confdir)/%,raddb/%,$@)
+ ${Q}$(INSTALL) -m 640 $(patsubst $(R)$(confdir)/%,raddb/%,$@) $@
-$(R)$(raddbdir)/users: $(R)$(modconfdir)/files/authorize
- ${Q}[ -e $@ ] || echo LN-S $(patsubst $(R)$(raddbdir)/%,raddb/%,$@)
- ${Q}[ -e $@ ] || ln -s $(patsubst $(R)$(raddbdir)/%,./%,$<) $@
+$(R)$(confdir)/users: $(R)$(modconfdir)/files/authorize
+ ${Q}[ -e $@ ] || echo LN-S $(patsubst $(R)$(confdir)/%,raddb/%,$@)
+ ${Q}[ -e $@ ] || ln -s $(patsubst $(R)$(confdir)/%,./%,$<) $@
endif
ifeq ("$(PACKAGE)","")
# Install the bootstrap script so that installations can run it
# to generate test certs.
#
-$(R)$(raddbdir)/certs/bootstrap: raddb/certs/bootstrap
- ${Q}echo INSTALL $(patsubst $(R)$(raddbdir)/%,raddb/%,$@)
- ${Q}$(INSTALL) -m 750 $(patsubst $(R)$(raddbdir)/%,raddb/%,$@) $@
+$(R)$(confdir)/certs/bootstrap: raddb/certs/bootstrap
+ ${Q}echo INSTALL $(patsubst $(R)$(confdir)/%,raddb/%,$@)
+ ${Q}$(INSTALL) -m 750 $(patsubst $(R)$(confdir)/%,raddb/%,$@) $@
# List directories before the file targets.
# It's not clear why GNU Make doesn't deal well with this.
localstatedir = @localstatedir@
sbindir = @sbindir@
logdir = @logdir@
-raddbdir = @raddbdir@
+confdir = @confdir@
radacctdir = @radacctdir@
#
#
# Location of config and logfiles.
#
-confdir = ${raddbdir}
modconfdir = ${confdir}/mods-config
certdir = ${confdir}/certs
cadir = ${confdir}/certs
#
# An example panic action for opening an automated session in GDB would be:
#
-#panic_action = "gdb -silent -x ${raddbdir}/panic.gdb %e %p 2>&1 | tee ${logdir}/gdb-${name}-%p.log"
+#panic_action = "gdb -silent -x ${confdir}/panic.gdb %e %p 2>&1 | tee ${logdir}/gdb-${name}-%p.log"
#
# NOTE: That command can be used on a production system.
#
# This also permits the server to use those credentials when it is
# run in debug mode.
#
-# KRB5_CLIENT_KTNAME = ${raddbdir}/radiusd.keytab
+# KRB5_CLIENT_KTNAME = ${confdir}/radiusd.keytab
#
# `LD_PRELOAD` is special. It is normally set before the
# Some of these flags can also be passed on the command line as
# `-S flag=value`.
#
-# Dictionary migration instructions can be found in `${raddbdir}/dictionary`.
+# Dictionary migration instructions can be found in `${confdir}/dictionary`.
#
migrate {
}
localstatedir = @localstatedir@
sbindir = @sbindir@
logdir = @logdir@
-raddbdir = @raddbdir@
+confdir = @confdir@
radacctdir = @radacctdir@
#
#
# Location of config and logfiles.
#
-confdir = ${raddbdir}
run_dir = ${localstatedir}/run/${name}
libdir = @libdir@
pidfile = ${run_dir}/${name}.pid
export LD_LIBRARY_PATH LD_RUN_PATH LD_PRELOAD
RADIUSD=$sbindir/radiusd
-CONFDIR=@raddbdir@
+CONFDIR=@confdir@
DESC="FreeRADIUS"
#
export LD_LIBRARY_PATH LD_RUN_PATH LD_PRELOAD
RADIUSD=$sbindir/radiusd
-CONFDIR=@raddbdir@
+CONFDIR=@confdir@
DESC="FreeRADIUS"
#
The dictionaries in this directory allow the use of v3 names in v4.
-See ${raddbdir}/dictionary for more information.
+See $(confdir)/dictionary for more information.
Do NOT copy the v3 dictionaries to this directory. The files are NOT
compatible.
$localstatedir = "@localstatedir@";
$logdir = "@logdir@";
$sysconfdir = "@sysconfdir@";
-$confdir = "@raddbdir@";
+$confdir = "@confdir@";
$debug = "";
#$debug = "$logdir/checkrad.log";
define include_defs
#define LOGDIR "${logdir}"
#define LIBDIR "${libdir}"
-#define CONFDIR "${raddbdir}"
+#define CONFDIR "${confdir}"
#define RUNDIR "${RUNDIR}"
#define SBINDIR "${sbindir}"
#define RADIR "${radacctdir}"
install: $(R)$(modconfdir)/mruby/example.rb
$(R)$(modconfdir)/mruby: | $(R)$(modconfdir)
- @echo INSTALL $(patsubst $(R)${raddbdir}%,raddb%,$@)
+ @echo INSTALL $(patsubst $(R)$(confdir)%,raddb%,$@)
@$(INSTALL) -d -m 750 $@
$(R)$(modconfdir)/mruby/example.rb: src/modules/rlm_mruby/example.rb | $(R)$(modconfdir)/mruby
install: $(R)$(modconfdir)/python/example.py
$(R)$(modconfdir)/python: | $(R)$(modconfdir)
- @echo INSTALL $(patsubst $(R)${raddbdir}%,raddb%,$@)
+ @echo INSTALL $(patsubst $(R)$(confdir)%,raddb%,$@)
@$(INSTALL) -d -m 750 $@
$(R)$(modconfdir)/python/example.py: src/modules/rlm_python/example.py | $(R)$(modconfdir)/python
TGT_LDLIBS := @mod_ldflags@
ifneq "$(TARGETNAME)" ""
-install: $(R)${raddbdir}/mods-available/securid
+install: $(R)$(confdir)/mods-available/securid
-$(R)${raddbdir}/mods-available/securid: src/modules/rlm_securid/securid | $(R)${raddbdir}/mods-available
+$(R)$(confdir)/mods-available/securid: src/modules/rlm_securid/securid | $(R)$(confdir)/mods-available
@$(ECHO) INSTALL $(notdir $<)
- @$(INSTALL) -m 640 $< $(R)${raddbdir}/mods-available
+ @$(INSTALL) -m 640 $< $(R)$(confdir)/mods-available
endif
LOG_ID_LIB = 45
${Q}FR_LIBRARY_PATH=${BUILD_DIR}/lib/local/.libs/ ${BUILD_DIR}/make/jlibtool --mode=execute ${BUILD_DIR}/bin/local/radiusd -xxxv -n test
${Q}rm -f raddb/test.conf
${Q}$(MAKE) install
- ${Q}perl -p -i -e 's/allow_vulnerable_openssl = no/allow_vulnerable_openssl = yes/' ${raddbdir}/radiusd.conf
+ ${Q}perl -p -i -e 's/allow_vulnerable_openssl = no/allow_vulnerable_openssl = yes/' $(confdir)/radiusd.conf
${Q}${sbindir}/radiusd -XC
#
output = build/tests/detail
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
client localhost {
ipaddr = 127.0.0.1
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
control.Password.Cleartext := "bob"
}
}
- $INCLUDE ${maindir}/policy.d/
+ $INCLUDE ${raddb}/policy.d/
}
client localhost {
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
# Modules needed for EAP
#
modules {
- $INCLUDE ${maindir}/mods-available/always
- $INCLUDE ${maindir}/mods-available/chap
- $INCLUDE ${maindir}/mods-available/pap
- $INCLUDE ${maindir}/mods-available/mschap
+ $INCLUDE ${raddb}/mods-available/always
+ $INCLUDE ${raddb}/mods-available/chap
+ $INCLUDE ${raddb}/mods-available/pap
+ $INCLUDE ${raddb}/mods-available/mschap
#
# Include the modules which are enabled for this particular
}
}
- $INCLUDE ${maindir}/policy.d/
+ $INCLUDE ${raddb}/policy.d/
}
#
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
}
policy {
- $INCLUDE ${maindir}/policy.d/
+ $INCLUDE ${raddb}/policy.d/
}
client localhost {
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
}
}
- $INCLUDE ${maindir}/policy.d/
+ $INCLUDE ${raddb}/policy.d/
}
client localhost {
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
}
}
- $INCLUDE ${maindir}/policy.d/
+ $INCLUDE ${raddb}/policy.d/
}
client localhost {
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
control.Password.Cleartext := "bob"
}
}
- $INCLUDE ${maindir}/policy.d/
+ $INCLUDE ${raddb}/policy.d/
}
modules {
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
control.Password.Cleartext := "bob"
}
}
- $INCLUDE ${maindir}/policy.d/
+ $INCLUDE ${raddb}/policy.d/
}
client localhost {
}
modules {
- $INCLUDE ${maindir}/mods-available/pap
- $INCLUDE ${maindir}/mods-available/chap
+ $INCLUDE ${raddb}/mods-available/pap
+ $INCLUDE ${raddb}/mods-available/chap
always reject {
rcode = reject
testdir = $ENV{TESTDIR}
output = $ENV{OUTPUT}
run_dir = ${output}
-raddb = raddb
pidfile = ${run_dir}/radiusd.pid
panic_action = "gdb -batch -x src/tests/panic.gdb %e %p > ${run_dir}/gdb.log 2>&1; cat ${run_dir}/gdb.log"
-maindir = ${raddb}
+#
+# Look at the source version of raddb for the rest of the files, not
+# this directory.
+#
+raddb = raddb
radacctdir = ${run_dir}/radacct
-modconfdir = ${maindir}/mods-config
-certdir = ${maindir}/certs
-cadir = ${maindir}/certs
+modconfdir = ${raddb}/mods-config
+certdir = ${raddb}/certs
+cadir = ${raddb}/certs
test_port = $ENV{TEST_PORT}
# Only for testing!
}
policy {
- $INCLUDE ${maindir}/policy.d/
+ $INCLUDE ${raddb}/policy.d/
}
client localhost {