config.guess
config.sub
config.h
-src/main/unit_test_attribute
+src/bin/unit_test_attribute
src/modules/lib/
warnings.txt
PACKAGE_BUGREPORT='http://bugs.freeradius.org'
PACKAGE_URL='http://www.freeradius.org'
-ac_unique_file="src/main/radiusd.c"
+ac_unique_file="src/bin/radiusd.c"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
unset ac_cv_env_LIBS_set
unset ac_cv_env_LIBS_value
-ac_config_files="$ac_config_files ./Make.inc ./src/include/build-radpaths-h ./src/main/radsniff.mk ./src/main/checkrad ./src/main/radlast ./src/main/radtest ./scripts/rc.radiusd ./scripts/cron/radiusd.cron.daily ./scripts/cron/radiusd.cron.monthly ./scripts/cryptpasswd ./raddb/radrelay.conf ./raddb/radiusd.conf"
+ac_config_files="$ac_config_files ./Make.inc ./src/include/build-radpaths-h ./src/bin/radsniff.mk ./src/bin/checkrad ./src/bin/radlast ./src/bin/radtest ./scripts/rc.radiusd ./scripts/cron/radiusd.cron.daily ./scripts/cron/radiusd.cron.monthly ./scripts/cryptpasswd ./raddb/radrelay.conf ./raddb/radiusd.conf"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
"scripts-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS scripts-chmod" ;;
"./Make.inc") CONFIG_FILES="$CONFIG_FILES ./Make.inc" ;;
"./src/include/build-radpaths-h") CONFIG_FILES="$CONFIG_FILES ./src/include/build-radpaths-h" ;;
- "./src/main/radsniff.mk") CONFIG_FILES="$CONFIG_FILES ./src/main/radsniff.mk" ;;
- "./src/main/checkrad") CONFIG_FILES="$CONFIG_FILES ./src/main/checkrad" ;;
- "./src/main/radlast") CONFIG_FILES="$CONFIG_FILES ./src/main/radlast" ;;
- "./src/main/radtest") CONFIG_FILES="$CONFIG_FILES ./src/main/radtest" ;;
+ "./src/bin/radsniff.mk") CONFIG_FILES="$CONFIG_FILES ./src/bin/radsniff.mk" ;;
+ "./src/bin/checkrad") CONFIG_FILES="$CONFIG_FILES ./src/bin/checkrad" ;;
+ "./src/bin/radlast") CONFIG_FILES="$CONFIG_FILES ./src/bin/radlast" ;;
+ "./src/bin/radtest") CONFIG_FILES="$CONFIG_FILES ./src/bin/radtest" ;;
"./scripts/rc.radiusd") CONFIG_FILES="$CONFIG_FILES ./scripts/rc.radiusd" ;;
"./scripts/cron/radiusd.cron.daily") CONFIG_FILES="$CONFIG_FILES ./scripts/cron/radiusd.cron.daily" ;;
"./scripts/cron/radiusd.cron.monthly") CONFIG_FILES="$CONFIG_FILES ./scripts/cron/radiusd.cron.monthly" ;;
case $ac_file$ac_mode in
"stamp-h":C) echo timestamp > src/include/stamp-h ;;
"build-radpaths-h":C) (cd ./src/include && /bin/sh ./build-radpaths-h) ;;
- "main-chmod":C) (cd ./src/main && chmod +x checkrad radlast radtest) ;;
+ "main-chmod":C) (cd ./src/bin && chmod +x checkrad radlast radtest) ;;
"scripts-chmod":C) (cd ./scripts && chmod +x rc.radiusd cron/radiusd.cron.daily cron/radiusd.cron.monthly cryptpasswd) ;;
esac
export CFLAGS LIBS LDFLAGS CPPFLAGS
AC_INIT([freeradius],[$]Id[$],[http://bugs.freeradius.org],,[http://www.freeradius.org])
-AC_CONFIG_SRCDIR([src/main/radiusd.c])
+AC_CONFIG_SRCDIR([src/bin/radiusd.c])
AC_CONFIG_HEADER([src/include/autoconf.h])
m4_include([m4/ax_cc.m4])
m4_include([m4/ax_with_lib_args.m4])
dnl #############################################################
AC_CONFIG_COMMANDS([stamp-h], [echo timestamp > src/include/stamp-h])
AC_CONFIG_COMMANDS([build-radpaths-h], [(cd ./src/include && /bin/sh ./build-radpaths-h)])
-AC_CONFIG_COMMANDS([main-chmod], [(cd ./src/main && chmod +x checkrad radlast radtest)])
+AC_CONFIG_COMMANDS([main-chmod], [(cd ./src/bin && chmod +x checkrad radlast radtest)])
AC_CONFIG_COMMANDS([scripts-chmod], [(cd ./scripts && chmod +x rc.radiusd cron/radiusd.cron.daily cron/radiusd.cron.monthly cryptpasswd)])
dnl #
AC_OUTPUT(\
./Make.inc \
./src/include/build-radpaths-h \
- ./src/main/radsniff.mk \
- ./src/main/checkrad \
- ./src/main/radlast \
- ./src/main/radtest \
+ ./src/bin/radsniff.mk \
+ ./src/bin/checkrad \
+ ./src/bin/radlast \
+ ./src/bin/radtest \
./scripts/rc.radiusd \
./scripts/cron/radiusd.cron.daily \
./scripts/cron/radiusd.cron.monthly \
#
# Access mode.
---- a/src/main/radiusd.c
-+++ b/src/main/radiusd.c
+--- a/src/bin/radiusd.c
++++ b/src/bin/radiusd.c
@@ -126,12 +126,11 @@ int main(int argc, char *argv[])
main_config.daemonize = true;
main_config.spawn_workers = true;
| Directory | Description
|--- |---
| ``src/`` | Source code
-| ``src/main/`` | Source code for the daemon and associated utilities.
-| ``src/lib/`` | Source code for the RADIUS library.
+| ``src/bin/`` | Source code for the daemon and associated utilities.
+| ``src/lib/`` | Source code for various utility libraries.
| ``src/include/`` | Header files.
-| ``src/modules/`` | Dynamic plug-in modules.
+| ``src/protocols/`` | Dynamic frontend plug-in modules.
+| ``src/modules/`` | Dynamic backend plug-in modules.
# Debugging
::
- src/main/Makefile.in
+ src/bin/Makefile.in
145,148c145,148
< $(LIBTOOL) --mode=install $(INSTALL) -m 755 $(INSTALLSTRIP)
unit_test_map.mk \
unit_test_module.mk \
checkrad.mk \
- $(wildcard ${top_builddir}/src/main/*_ext/all.mk)
+ $(wildcard ${top_builddir}/src/bin/*_ext/all.mk)
install: $(R)$(sbindir)/checkrad
-$(R)$(sbindir)/checkrad: src/main/checkrad | $(R)$(sbindir)
+$(R)$(sbindir)/checkrad: src/bin/checkrad | $(R)$(sbindir)
@echo INSTALL $(notdir $<)
@$(INSTALL) -m 755 $< $(R)$(sbindir)
/**
* $Id$
*
- * @file main/radclient.c
+ * @file src/bin/radclient.c
* @brief General radius client and debug tool.
*
* @copyright 2000,2006,2014 The FreeRADIUS server project
install: $(R)$(bindir)/radlast
-$(R)$(bindir)/radlast: src/main/radlast | $(R)$(bindir)
+$(R)$(bindir)/radlast: src/bin/radlast | $(R)$(bindir)
@echo INSTALL $(notdir $<)
@$(INSTALL) -m 755 $< $(R)$(bindir)
/**
* $Id$
*
- * @file src/main/radmin.c
+ * @file src/bin/radmin.c
* @brief Internal implementation of radmin
*
* @copyright 2018 The FreeRADIUS server project
/*
* $Id$
*
- * @brief map / template functions
- * @file main/radsnmp.c
+ * @brief SNMP to request utility
+ * @file src/bin/radsnmp.c
*
* @copyright 2015-2016 The FreeRADIUS server project
* @copyright 2015-2016 Network RADIUS SARL <info@networkradius.com>
install: $(R)$(bindir)/radtest
-$(R)$(bindir)/radtest: src/main/radtest | $(R)$(bindir)
+$(R)$(bindir)/radtest: src/bin/radtest | $(R)$(bindir)
@echo INSTALL $(notdir $<)
@$(INSTALL) -m 755 $< $(R)$(bindir)
install: $(R)$(bindir)/radzap
-$(R)$(bindir)/radzap: src/main/radzap | $(R)$(bindir)
+$(R)$(bindir)/radzap: src/bin/radzap | $(R)$(bindir)
@echo INSTALL $(notdir $<)
@$(INSTALL) -m 755 $< $(R)$(bindir)