]> git.99rst.org Git - openwrt-packages.git/commit
freeradius3: update to 3.2.10
authorAlexandru Ardelean <redacted>
Tue, 2 Jun 2026 22:48:03 +0000 (01:48 +0300)
committerJosef Schlehofer <redacted>
Wed, 22 Jul 2026 23:10:15 +0000 (01:10 +0200)
commit71223e9e07e54a5c5c7bad2913916510c767d0c9
treeed07d27741a9aafe115781f5fab605f39fb42092
parentf33158e88ddc19190e2503a807e50629bf314849
freeradius3: update to 3.2.10

Patches:
- Drop 003-freeradius-fix-error-for-expansion-of-macro.patch (upstream
  restructured src/include/threads.h) and add
  003-configure-assume-cross-tls.patch instead: the AC_RUN_IFELSE
  __thread probe cannot run when cross-compiling, so TLS_STORAGE_CLASS
  stays undefined and threads.h hits '#error unsupported' (since 3.2.9).
- Drop 002-disable-session-cache-CVE-2017-9148.patch, 3.2.x is not
  affected per https://nvd.nist.gov/vuln/detail/CVE-2017-9148.
- Replace 004-get-hostname-from-proc-in-radtest.patch with
  004-radtest-nas-name-from-hostname-env.patch: prefer $HOSTNAME and keep
  the upstream `hostname || uname -n` fallback instead of reading
  /proc/sys/kernel/hostname unconditionally.
- Re-do 020-fix-freeradius3-krb5.patch, also sent upstream for review.
- Give the touched patches the git format-patch headers 'git am' needs,
  with the diff bodies unchanged so they still match 'quilt refresh'.

Depend on libopenssl-legacy when built against OpenSSL: with OpenSSL 3.x
tls_global_init() unconditionally does OSSL_PROVIDER_load(NULL, "legacy")
for MD4/MS-CHAP and errors out when it is missing, so radiusd exits during
startup before it ever serves a request.

Add a test.sh covering the freeradius3, -common, -utils and -democerts
packages: radiusd -XC starts the server for real, the config tree it reads
is checked, the dictionaries the master dictionary still $INCLUDEs must
all be packaged, and the demo certificates must be real PEM.

Signed-off-by: Alexandru Ardelean <redacted>
net/freeradius3/Makefile
net/freeradius3/patches/002-disable-session-cache-CVE-2017-9148.patch [deleted file]
net/freeradius3/patches/003-configure-assume-cross-tls.patch [new file with mode: 0644]
net/freeradius3/patches/003-freeradius-fix-error-for-expansion-of-macro.patch [deleted file]
net/freeradius3/patches/004-get-hostname-from-proc-in-radtest.patch [deleted file]
net/freeradius3/patches/004-radtest-nas-name-from-hostname-env.patch [new file with mode: 0644]
net/freeradius3/patches/010-openssl-deprecated.patch
net/freeradius3/patches/020-fix-freeradius3-krb5.patch
net/freeradius3/test.sh [new file with mode: 0755]
git clone https://git.99rst.org/PROJECT