]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
5 years agoremove duplicate target
Alan T. DeKok [Thu, 17 Dec 2020 15:42:37 +0000 (10:42 -0500)] 
remove duplicate target

5 years agoNo unescaping being done....
Arran Cudbard-Bell [Thu, 17 Dec 2020 15:51:40 +0000 (09:51 -0600)] 
No unescaping being done....

5 years agoAdd eofish support to terminal checks
Arran Cudbard-Bell [Thu, 17 Dec 2020 15:49:55 +0000 (09:49 -0600)] 
Add eofish support to terminal checks

5 years agoremove FLAG_HAS_REF
Alan T. DeKok [Thu, 17 Dec 2020 14:53:02 +0000 (09:53 -0500)] 
remove FLAG_HAS_REF

it's now in the dictionary extensions

5 years agofollow references for non-group attributes
Alan T. DeKok [Thu, 17 Dec 2020 14:50:10 +0000 (09:50 -0500)] 
follow references for non-group attributes

5 years agofixup ALIAS to work
Alan T. DeKok [Thu, 17 Dec 2020 13:55:03 +0000 (08:55 -0500)] 
fixup ALIAS to work

ALIAS name ref

produces an attribute in the dictionary root which is a reference
to "ref"

5 years agoQuiet lsan
Arran Cudbard-Bell [Thu, 17 Dec 2020 14:40:48 +0000 (08:40 -0600)] 
Quiet lsan

5 years agoUse correct free function
Arran Cudbard-Bell [Thu, 17 Dec 2020 06:49:15 +0000 (00:49 -0600)] 
Use correct free function

5 years agoProbably want to free the path before finalizing
Arran Cudbard-Bell [Thu, 17 Dec 2020 06:39:14 +0000 (00:39 -0600)] 
Probably want to free the path before finalizing

5 years agoUnused
Arran Cudbard-Bell [Thu, 17 Dec 2020 06:31:50 +0000 (00:31 -0600)] 
Unused

5 years agoMore build fixes
Arran Cudbard-Bell [Thu, 17 Dec 2020 06:26:07 +0000 (00:26 -0600)] 
More build fixes

5 years agoBuild fixes for python3
Arran Cudbard-Bell [Thu, 17 Dec 2020 05:06:51 +0000 (23:06 -0600)] 
Build fixes for python3

5 years agoUse a simpler function for string conversions
Arran Cudbard-Bell [Thu, 17 Dec 2020 03:22:07 +0000 (21:22 -0600)] 
Use a simpler function for string conversions

Seeing as we're not doing any escaping

5 years agoFix docs for logging function
Arran Cudbard-Bell [Thu, 17 Dec 2020 03:18:55 +0000 (21:18 -0600)] 
Fix docs for logging function

5 years agoFix weird formatting
Arran Cudbard-Bell [Thu, 17 Dec 2020 03:16:35 +0000 (21:16 -0600)] 
Fix weird formatting

5 years agoNuke the cext tests (no longer supported) and change the module name to freeradius
Arran Cudbard-Bell [Thu, 17 Dec 2020 03:14:15 +0000 (21:14 -0600)] 
Nuke the cext tests (no longer supported) and change the module name to freeradius

5 years agoStrip Python 2 support
Arran Cudbard-Bell [Thu, 17 Dec 2020 02:54:52 +0000 (20:54 -0600)] 
Strip Python 2 support

5 years agoAdd "extensible" dbuffs that read data from a file and relevant tests. (#3761)
James Jones [Thu, 17 Dec 2020 00:00:12 +0000 (18:00 -0600)] 
Add "extensible" dbuffs that read data from a file and relevant tests. (#3761)

5 years agoCI: Set default DICT_PATH globally for tests (#3806)
Terry Burton [Wed, 16 Dec 2020 23:57:23 +0000 (23:57 +0000)] 
CI: Set default DICT_PATH globally for tests (#3806)

* CI: Set default DICT_PATH globally for tests

* Build: Create eapol_test target directory

This is a partial revert of c27c6192132f390e335caed3e1415e91523f795a.

5 years agoCI: Package tests: Use the system's dictionary (#3805)
Terry Burton [Wed, 16 Dec 2020 20:59:57 +0000 (20:59 +0000)] 
CI: Package tests: Use the system's dictionary (#3805)

5 years agoChange FR_DBUFF_UINT64V_OUT_RETURN() to FR_DBUFF_OUT_UINT64V_RETURN() (#3800)
James Jones [Wed, 16 Dec 2020 20:11:39 +0000 (14:11 -0600)] 
Change FR_DBUFF_UINT64V_OUT_RETURN() to FR_DBUFF_OUT_UINT64V_RETURN() (#3800)

...thus making it consistent with other functions and macros for reading
data from dbuffs.

5 years agoCI: Package tests including reuse of eapol_test tests in post-install context (#3789)
Terry Burton [Wed, 16 Dec 2020 20:11:23 +0000 (20:11 +0000)] 
CI: Package tests including reuse of eapol_test tests in post-install context (#3789)

* CI: Package tests reusing eapol_test tests in post-install context

* Allow eapol_test tests to be run in post-install context

We want to minimise the requirements for the post-install environment so we use
a simple top level Makefile to set things up.

* Remove in-workflow checks for PAP and EAP-TLS auth

5 years agocheck for lengths of ipv6addr and ipv6prefix
Alan T. DeKok [Wed, 16 Dec 2020 16:36:11 +0000 (11:36 -0500)] 
check for lengths of ipv6addr and ipv6prefix

5 years agodecode malformed TLVs as raw.
Alan T. DeKok [Wed, 16 Dec 2020 16:31:50 +0000 (11:31 -0500)] 
decode malformed TLVs as raw.

And add tests

5 years agoif we fail decoding the value, then create a raw VP
Alan T. DeKok [Wed, 16 Dec 2020 16:22:50 +0000 (11:22 -0500)] 
if we fail decoding the value, then create a raw VP

otherwise the packet decode will fail, which is not what we want

5 years agoRemove redundant cast.
James Jones [Wed, 16 Dec 2020 15:53:31 +0000 (09:53 -0600)] 
Remove redundant cast.

5 years agosimplify fr_dhcpv4_array_members()
Alan T. DeKok [Wed, 16 Dec 2020 16:15:54 +0000 (11:15 -0500)] 
simplify fr_dhcpv4_array_members()

and make it agnostic of data types

5 years agoadd function which converts one map_t to fr_cond_t
Alan T. DeKok [Wed, 16 Dec 2020 15:51:47 +0000 (10:51 -0500)] 
add function which converts one map_t to fr_cond_t

in preparation for using it in rlm_files

5 years agouse entry->filename
Alan T. DeKok [Tue, 15 Dec 2020 21:34:35 +0000 (16:34 -0500)] 
use entry->filename

which now gets the correct filename, even if it was $INCLUDE'd
from somewhere else

5 years agocache filename, too
Alan T. DeKok [Tue, 15 Dec 2020 20:07:45 +0000 (15:07 -0500)] 
cache filename, too

5 years agocheck against NULL, not integer>0
Alan T. DeKok [Tue, 15 Dec 2020 19:57:43 +0000 (14:57 -0500)] 
check against NULL, not integer>0

5 years agomake PAIR_LIST use maps
Alan T. DeKok [Tue, 15 Dec 2020 15:03:47 +0000 (10:03 -0500)] 
make PAIR_LIST use maps

we still require changes in rlm_files to use maps natively.
Right now, it still converts them to VPs and compares the VPs.

Once rlm_files supports maps, it can once again support regular
expressions in the "users" file, and full list qualifiers anywhere.

5 years ago"-=" is an allowed operator in the "users" file
Alan T. DeKok [Tue, 15 Dec 2020 14:33:41 +0000 (09:33 -0500)] 
"-=" is an allowed operator in the "users" file

5 years agothis is the correct output.
Alan T. DeKok [Tue, 15 Dec 2020 14:30:18 +0000 (09:30 -0500)] 
this is the correct output.

For some reason the PAIR_LIST / rlm_files module does not produce
this output.  However, the commit to use maps does produce the correct
output

5 years agomake the tests depend on the module being tested
Alan T. DeKok [Mon, 14 Dec 2020 22:37:51 +0000 (17:37 -0500)] 
make the tests depend on the module being tested

5 years agouse the $(DIR) from boilermake
Alan T. DeKok [Mon, 14 Dec 2020 22:22:13 +0000 (17:22 -0500)] 
use the $(DIR) from boilermake

not the directory of the last makefile which was included by
something.  For tests/modules, that gets one of the other
makefiles which were included

5 years agodon't confuse the poor reader
Alan T. DeKok [Mon, 14 Dec 2020 21:27:57 +0000 (16:27 -0500)] 
don't confuse the poor reader

if there's no output file, the output goes to STDOUT, not to
the input file.

Fixing this message means that the poor reader won't wonder WTF
is going on with the input and output being the same.

5 years agodon't cast values for "=*" / CMP_TRUE operator, as it has no values
Alan T. DeKok [Mon, 14 Dec 2020 18:47:28 +0000 (13:47 -0500)] 
don't cast values for "=*" / CMP_TRUE operator, as it has no values

5 years agoadd unlang_interpret_is_resumable() and use it in worker.c
Alan T. DeKok [Mon, 14 Dec 2020 18:32:16 +0000 (13:32 -0500)] 
add unlang_interpret_is_resumable() and use it in worker.c

so that we can IMMEDIATELY tell if we have logic errors, as was
fixed in the previous commit.  Otherwise time spent debugging is
time wasted.

5 years agochange name to "mark" resumable
Alan T. DeKok [Mon, 14 Dec 2020 18:27:54 +0000 (13:27 -0500)] 
change name to "mark" resumable

which is clearer, and lets us add a check for *is* resumable

5 years agowhen returning YIELD, ALSO set p_result == YIELD
Alan T. DeKok [Mon, 14 Dec 2020 18:23:36 +0000 (13:23 -0500)] 
when returning YIELD, ALSO set p_result == YIELD

otherwise worker.c has no idea that the function yielded, and
just uses the default return code to do ??? something.

5 years agoPass whitespace parameter to map_afrom_sbuff
Alan T. DeKok [Mon, 14 Dec 2020 17:38:13 +0000 (12:38 -0500)] 
Pass whitespace parameter to map_afrom_sbuff

5 years agoadd whitespace and blank character classes
Alan T. DeKok [Mon, 14 Dec 2020 17:35:42 +0000 (12:35 -0500)] 
add whitespace and blank character classes

whitespace skips \n, blank does not

5 years agodon't try to read / shift the buffer if we hit EOF
Alan T. DeKok [Tue, 24 Nov 2020 15:39:18 +0000 (10:39 -0500)] 
don't try to read / shift the buffer if we hit EOF

doing so causes the data in sbuff to be shifted left, even
_after_ we hit EOF on a previous call to this function.
Which then messes up all of the callers, who expect it to _not_
change when this function does nothing.

This is just a hack which works.  Underlying issues may still
need to be resolved.

5 years agoPass through the group head correctly
Arran Cudbard-Bell [Fri, 11 Dec 2020 18:42:26 +0000 (11:42 -0700)] 
Pass through the group head correctly

5 years agoDoxygen text for strerror
Arran Cudbard-Bell [Fri, 11 Dec 2020 18:31:15 +0000 (11:31 -0700)] 
Doxygen text for strerror

5 years agoCan't inline vprintf functions
Arran Cudbard-Bell [Fri, 11 Dec 2020 17:52:16 +0000 (10:52 -0700)] 
Can't inline vprintf functions

5 years agoRemove the NUL termination from fr_sbuff_extend_file(). (#3797)
James Jones [Fri, 11 Dec 2020 17:40:06 +0000 (11:40 -0600)] 
Remove the NUL termination from fr_sbuff_extend_file(). (#3797)

This entails a change to test_file_extend() in sbuff_tests. You can't simply
strcmp() with the buffer contents, but must instead use sbuff routines, since
they honor the buffer end pointer and ignore trailing leftovers.

5 years agoAdd benchmarks for strerror
Arran Cudbard-Bell [Fri, 11 Dec 2020 17:32:42 +0000 (10:32 -0700)] 
Add benchmarks for strerror

Test strerror_printf_benchmark...               printf pop rate 634920
[ OK ]
Test strerror_const_benchmark...                const pop rate 18867924
[ OK ]

5 years agoMore efficient function for unlinking all items from a list
Arran Cudbard-Bell [Fri, 11 Dec 2020 17:32:01 +0000 (10:32 -0700)] 
More efficient function for unlinking all items from a list

5 years agoConvert fr_strerror_printf calls to fr_strerror_const as the latter is significantly...
Arran Cudbard-Bell [Fri, 11 Dec 2020 16:27:12 +0000 (09:27 -0700)] 
Convert fr_strerror_printf calls to fr_strerror_const as the latter is significantly faster

5 years agoStrip error pointer from tmpl_preparse
Arran Cudbard-Bell [Fri, 11 Dec 2020 14:52:45 +0000 (07:52 -0700)] 
Strip error pointer from tmpl_preparse

5 years agoEmit DHCPv6 decoder errors using the thread local error stack
Arran Cudbard-Bell [Fri, 11 Dec 2020 14:43:16 +0000 (07:43 -0700)] 
Emit DHCPv6 decoder errors using the thread local error stack

5 years agoAllow const strings to be pushed onto the error stack
Arran Cudbard-Bell [Fri, 11 Dec 2020 03:59:44 +0000 (20:59 -0700)] 
Allow const strings to be pushed onto the error stack

5 years agotypo
Alan T. DeKok [Fri, 20 Nov 2020 22:25:11 +0000 (17:25 -0500)] 
typo

5 years agoMissing inline keywords
Arran Cudbard-Bell [Thu, 10 Dec 2020 17:01:48 +0000 (10:01 -0700)] 
Missing inline keywords

5 years agoEnumv extensions don't always contain hash tables
Arran Cudbard-Bell [Thu, 10 Dec 2020 16:57:39 +0000 (09:57 -0700)] 
Enumv extensions don't always contain hash tables

5 years agoDo hash table finalisation when the dictionaries are marked read only
Arran Cudbard-Bell [Thu, 10 Dec 2020 16:47:19 +0000 (09:47 -0700)] 
Do hash table finalisation when the dictionaries are marked read only

5 years agoRework fixup code
Arran Cudbard-Bell [Thu, 10 Dec 2020 16:25:28 +0000 (09:25 -0700)] 
Rework fixup code

5 years agoCorrect parameter list for _tmpl_cursor_list_init()
Nick Porter [Thu, 10 Dec 2020 10:28:40 +0000 (10:28 +0000)] 
Correct parameter list for _tmpl_cursor_list_init()

5 years agoCorrect function signatures - fr_pair_t ** -> fr_pair_list_t *
Nick Porter [Thu, 10 Dec 2020 10:13:01 +0000 (10:13 +0000)] 
Correct function signatures - fr_pair_t ** -> fr_pair_list_t *

5 years agoAmend function calls that use fr_pair_t ** and fr_pair_t * for lists to use fr_pair_l...
Nick Porter [Thu, 10 Dec 2020 04:31:21 +0000 (04:31 +0000)] 
Amend function calls that use fr_pair_t ** and fr_pair_t * for lists to use fr_pair_list_t * (#3731)

* s/fr_pair_t **/fr_pair_list_t */ in radclient.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in radsniff.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in state_machine.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in map.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in exec.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in map.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in pairmove.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in rlm_client.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in rlm_csv.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in rlm_json.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in rlm_mruby.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in rlm_passwd.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in rlm_perl.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in rlm_python.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in rlm_radisu_udp.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in rlm_sql.c function calls

* s/fr_pair_t **/fr_pair_list_t */ in tmpl_eval.c function calls

* Amend rs_get_pairs() to take fr_pair_list_t *

* Amend radsmnp_get_response() to take fr_pair_list_t *

* Amend radsnmp_set_response() to take fr_pair_list_t *

* Amend eap_packet_from_vp() to take fr_pair_list_t *

* Amend eap_chbind_vp2packet() to take fr_pair_list_t *

* Amend fr_aka_sim_encode() to take fr_pair_list_t *

* Amend client_error_debug() to take fr_pair_list_t *

* Amend sim_start_selected_version_check() to take fr_pair_list_t *

* Amend sim_start_nonce_mt_check() to take fr_pair_list_t *

* Amend vector_opc_from_op() to take fr_pair_list_t *

* Alter vector_gsm_from_ki() to take fr_pair_list_t *

* Alter vector_gsm_from_triplets() to take fr_pair_list_t *

* Alter vector_gsm_from_quintuplets to take fr_pair_list_t *

* Alter fr_aka_sim_vector_gsm_from_attrs() to take fr_pair_list_t *

* Alter vector_umts_from_ki() to take fr_pair_list_t *

* Alter vector_umts_from_quintuplets() to take fr_pair_list_t *

* Alter fr_aka_sim_vector_umts_from_attrs() to take fr_pair_list_t *

* Alter fr_aka_sim_vector_gsm_umts_kdf_0_reauth_from_attrs

to take fr_pair_list_t *

* Alter fr_aka_sim_vector_umts_kdf_1_reauth_from_attrs()

to take fr_pair_list_t *

* Alter fr_json_afrom_pair_list to take fr_pair_list_t *

* Alter fr_redis_cluster_alloc() to take fr_pair_list_t *

* Alter fr_exec_pair_to_env() to take fr_pair_list_t *

* Alter radius_start_program to take fr_pair_list_t *

* Alter radius_exec_program() to take fr_pair_list_t *

* Alter fr_exec_nowait() to take fr_pair_list_t *

* Alter fr_exec_wait_start() to take fr_pair_list_t *

* Alter exfile_enable_triggers() to take fr_pair_list_t *

* Alter log_request_pair_list() to take fr_pair_list_t *

* Alter log_request_proto_pair_list() to take fr_pair_list_t *

* Alter module_exfile_init() to take fr_pair_list_t *

* Alter fr_pool_enable_triggers() to take fr_pair_list_t *

* Alter radius_pairmove() to take fr_pair_list_t *

* Alter trigger_exec() to take fr_pair_list_t *

* Alter unlang_module_yeild_to_tmpl() to take fr_pair_list_t *

* Alter mod_ensure_start_timestamp() to take fr_pair_list_t *

* Alter eap_fast_processs_tlvs() to take fr_pair_list_t *

* Alter eap_peap_inner_from_pairs() to take fr_pair_list_t *

* Alter fall_through() to take fr_pair_list_t *

* Alter sql_fall_through() to take fr_pair_list_t *

* Alter fr_arp_encode() to take fr_pair_list_t *

* Alter fr_dhcpv4_encode() and fr_dhcpv4_encode_dbuff() to take fr_pair_list_t *

* Alter fr_dhcpv6_encode() to take fr_pair_list_t *

* Alter fr_raidus_encode() and fr_raidus_encode_dbuff() to take fr_pair_list_t *

* Alter encode_tags() to take fr_pair_list_t *

* Alter fr_tacacs_encode() to take fr_pair_list_t *

* Alter protocol encode test functions to take fr_pair_list_t *

* Alter RAD_COMPARE_FUNC() to take fr_pair_list_t * for lists

Plus make parameter names more consistent.

* Alter paircmp() to take fr_pair_list_t *

Also, amend call to paircmp_func() to be consistent in use of lists vs
individual VPs.

* Make parameter names more consistent and improve comments in paircmp.c

* Amend unlang_tmpl_push() to take fr_pair_list_t *

* Missing pair list initialisation calls

* Duplicate args list in exfile_trigger_exec()

5 years agoRevert "Revert "do ENUM fixups before anything else""
Alan T. DeKok [Wed, 9 Dec 2020 19:56:23 +0000 (14:56 -0500)] 
Revert "Revert "do ENUM fixups before anything else""

This reverts commit a3e8aed9443a73d0a261ad6f60b2209fe080e9ea.

done in error

5 years ago:gear: Add and document tls_min_version
Jorge Pereira [Wed, 9 Dec 2020 17:30:17 +0000 (14:30 -0300)] 
:gear: Add and document tls_min_version

5 years agoRevert "do ENUM fixups before anything else"
Alan T. DeKok [Wed, 9 Dec 2020 17:21:58 +0000 (12:21 -0500)] 
Revert "do ENUM fixups before anything else"

This reverts commit aa4e38fc1c95ebaed93c2977ad8c4b411806a54a.

5 years agoadd rules for "test.eap.tls"
Alan T. DeKok [Wed, 9 Dec 2020 16:46:21 +0000 (11:46 -0500)] 
add rules for "test.eap.tls"

so we can run individual tests

5 years agoclean up
Alan T. DeKok [Wed, 9 Dec 2020 16:02:00 +0000 (11:02 -0500)] 
clean up

* don't use a "skip" file.
* don't run the "eapol_test-build.sh" script on every "make test"
  invocation
* cache the results of building EAPOL_TEST in tests/eapol_test/eapol_test.mk
* fix the "clean" rule when eapol_test isn't being built

5 years agodo ENUM fixups before anything else
Alan T. DeKok [Wed, 9 Dec 2020 15:18:42 +0000 (10:18 -0500)] 
do ENUM fixups before anything else

which ensures that any later CLONE is also copying the relevent
ENUMs

5 years agorevert to working version
Alan T. DeKok [Wed, 9 Dec 2020 14:47:38 +0000 (09:47 -0500)] 
revert to working version

until such time as we fix the code

5 years agomove "sort" call to TEST_BOOTSTRAP
Alan T. DeKok [Wed, 9 Dec 2020 14:46:31 +0000 (09:46 -0500)] 
move "sort" call to TEST_BOOTSTRAP

so we have deterministic builds everywhere

5 years agoadd post-make / clean rules
Alan T. DeKok [Wed, 9 Dec 2020 13:02:48 +0000 (08:02 -0500)] 
add post-make / clean rules

so that we can update the build system to load (and clean)
the libraries we built

5 years agoinclude scripts/build/all.mk before src/all.mk
Alan T. DeKok [Wed, 9 Dec 2020 12:42:48 +0000 (07:42 -0500)] 
include scripts/build/all.mk before src/all.mk

so that they are built first

5 years agofix to use LIBRARY_EXT and correct names
Alan T. DeKok [Wed, 9 Dec 2020 12:39:40 +0000 (07:39 -0500)] 
fix to use LIBRARY_EXT and correct names

5 years agoreorganize
Alan T. DeKok [Wed, 9 Dec 2020 12:37:31 +0000 (07:37 -0500)] 
reorganize

5 years agomoved without changes
Alan T. DeKok [Wed, 9 Dec 2020 12:36:38 +0000 (07:36 -0500)] 
moved without changes

5 years agoGive do_mruby() an additional parameter and change its return type (#3790)
James Jones [Wed, 9 Dec 2020 14:31:56 +0000 (08:31 -0600)] 
Give do_mruby() an additional parameter and change its return type (#3790)

This change lets do_mruby() use the RETURN_MODULE_* macros,
which presume the existence of a parameter of type rlm_rcode_t *
named p_result and return the unlang_action_t which the
functions defined by uses of RLM_MRUBY_FUNC() expect.

With it, src/modules/rlm_mruby/rlm_mruby.c compiles and passes
clang static analysis.

5 years agoSimplify version comparison function
Arran Cudbard-Bell [Tue, 8 Dec 2020 23:13:29 +0000 (16:13 -0700)] 
Simplify version comparison function

5 years agoCI linter: Fix regex to match files in root directory (#3788)
Terry Burton [Tue, 8 Dec 2020 22:04:15 +0000 (22:04 +0000)] 
CI linter: Fix regex to match files in root directory (#3788)

5 years agoLDAP configure.ac fix; Optionally omit LDAP from RPM builds; CI build for recent...
Terry Burton [Tue, 8 Dec 2020 20:30:17 +0000 (20:30 +0000)] 
LDAP configure.ac fix; Optionally omit LDAP from RPM builds; CI build for recent Fedora (#3787)

* ldap configure.ac: Match character mangling performed by user options parser

* RPM: Allow libfreeradius-ldap be omitted from build

... using rpmbuild ... --without ldap

Mostly for CI package testing with Fedora with does not have LTB
packages.

* CI: Enable package build with recent Fedora

Aim is to use Fedora Rawhide rolling release but it currently has a glibc bug
that means that CI throws permissions errors.

5 years agoAdd logging infrastructure and version comparisonfunctions to make
Arran Cudbard-Bell [Tue, 8 Dec 2020 18:44:29 +0000 (11:44 -0700)] 
Add logging infrastructure and version comparisonfunctions to make

5 years agoallow re-building of individual "configure" files
Alan T. DeKok [Tue, 8 Dec 2020 18:49:51 +0000 (13:49 -0500)] 
allow re-building of individual "configure" files

and work around autoconf crap, where it touches the inputs,
so that the outputs are almost always out of date.

5 years agoRequire cURL >= 7.56.0 for rlm_smtp (#3785)
Terry Burton [Tue, 8 Dec 2020 18:48:56 +0000 (18:48 +0000)] 
Require cURL >= 7.56.0 for rlm_smtp (#3785)

* Require cURL >= 7.56.0 for rlm_smtp

Uses rlm_mime_init() el al.

* Perform software version comparison for rlm_smtp in GNU Make

5 years agouse names with specific sizes
Alan T. DeKok [Tue, 8 Dec 2020 18:25:17 +0000 (13:25 -0500)] 
use names with specific sizes

5 years agoallow cloning of struct MEMBERs
Alan T. DeKok [Tue, 8 Dec 2020 18:23:10 +0000 (13:23 -0500)] 
allow cloning of struct MEMBERs

5 years agodocument how VALUE lookups are done
Alan T. DeKok [Mon, 7 Dec 2020 16:17:09 +0000 (11:17 -0500)] 
document how VALUE lookups are done

5 years agoCI: Perform the package build tests on a schedule not push
Terry Burton [Mon, 7 Dec 2020 15:21:51 +0000 (15:21 +0000)] 
CI: Perform the package build tests on a schedule not push

5 years agoCI: Do DEB build tests for suppored Debian and Ubuntu versions
Terry Burton [Mon, 7 Dec 2020 13:08:09 +0000 (13:08 +0000)] 
CI: Do DEB build tests for suppored Debian and Ubuntu versions

... including Sid

5 years agoCI: Do RPM build tests for supported CentOS versions
Terry Burton [Mon, 7 Dec 2020 12:40:01 +0000 (12:40 +0000)] 
CI: Do RPM build tests for supported CentOS versions

5 years agoCI RPM/DEB: Performance tweaks and cleanups
Terry Burton [Fri, 4 Dec 2020 19:37:38 +0000 (19:37 +0000)] 
CI RPM/DEB: Performance tweaks and cleanups

5 years agoRPM: Don't wrongly include requisits in the package description
Terry Burton [Mon, 7 Dec 2020 14:28:17 +0000 (14:28 +0000)] 
RPM: Don't wrongly include requisits in the package description

5 years agoCURL_HTTP_VERSION_2_0 is undefined until cURL 7.33.0
Terry Burton [Mon, 7 Dec 2020 12:27:42 +0000 (12:27 +0000)] 
CURL_HTTP_VERSION_2_0 is undefined until cURL 7.33.0

5 years agoMove CURL_AT_LEAST_VERSION macro into header
Terry Burton [Sun, 6 Dec 2020 21:35:15 +0000 (21:35 +0000)] 
Move CURL_AT_LEAST_VERSION macro into header

And trivial alignment with upstream codebase

5 years agoDeal with failed fork
Arran Cudbard-Bell [Mon, 7 Dec 2020 15:36:23 +0000 (08:36 -0700)] 
Deal with failed fork

5 years agoRemove dict_by_attr_name. It's pretty useless now we don't have one namespace per...
Arran Cudbard-Bell [Mon, 7 Dec 2020 14:45:17 +0000 (07:45 -0700)] 
Remove dict_by_attr_name.  It's pretty useless now we don't have one namespace per dict.

5 years agoFix useless goto
Arran Cudbard-Bell [Mon, 7 Dec 2020 14:30:58 +0000 (07:30 -0700)] 
Fix useless goto

5 years agoNo longer const
Arran Cudbard-Bell [Mon, 7 Dec 2020 14:28:00 +0000 (07:28 -0700)] 
No longer const

5 years agoRename for consistency
Arran Cudbard-Bell [Mon, 7 Dec 2020 14:24:12 +0000 (07:24 -0700)] 
Rename for consistency

5 years agoGet pointer to existing extension
Arran Cudbard-Bell [Sun, 6 Dec 2020 04:20:44 +0000 (21:20 -0700)] 
Get pointer to existing extension

5 years agoAnother unused var
Arran Cudbard-Bell [Sun, 6 Dec 2020 03:58:59 +0000 (20:58 -0700)] 
Another unused var

5 years agoMark arg as unused
Arran Cudbard-Bell [Sun, 6 Dec 2020 03:45:11 +0000 (20:45 -0700)] 
Mark arg as unused