summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <khem.raj@oss.qualcomm.com>2026-04-09 21:33:54 -0700
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-10 17:25:49 -0700
commit7ef73b7db85dcaf7c340ec105363310350e275e2 (patch)
tree1d4b60d084a7faf4b59a30f19f03f56cf9a51ec2
parentdd96b8a81e34b211b916258049c20717c2bb2478 (diff)
downloadmeta-openembedded-7ef73b7db85dcaf7c340ec105363310350e275e2.tar.gz
freeradius: Update to latest on 3.2 release
Drop backports which are already in this SHA update Add -DTLS_STORAGE_CLASS=__thread via cflags Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0001-don-t-load-legacy-provider-on-enable-fips-workaround.patch62
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0002-don-t-load-legacy-provider-on-enable-fips-workaround.patch104
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch61
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0018-update-license-1.patch175
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0019-update-license-2.patch52
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0020-update-license-3.patch101
-rw-r--r--meta-networking/recipes-connectivity/freeradius/freeradius_3.2.8.bb14
7 files changed, 6 insertions, 563 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0001-don-t-load-legacy-provider-on-enable-fips-workaround.patch b/meta-networking/recipes-connectivity/freeradius/files/0001-don-t-load-legacy-provider-on-enable-fips-workaround.patch
deleted file mode 100644
index 594286cdcf..0000000000
--- a/meta-networking/recipes-connectivity/freeradius/files/0001-don-t-load-legacy-provider-on-enable-fips-workaround.patch
+++ /dev/null
@@ -1,62 +0,0 @@
1From 2c2c6a460ae8cc655df83c8964595581389676c1 Mon Sep 17 00:00:00 2001
2From: "Alan T. DeKok" <aland@freeradius.org>
3Date: Tue, 9 Sep 2025 07:03:21 -0400
4Subject: [PATCH] don't load legacy provider on --enable-fips-workaround.
5 Fixes #5644
6
7Upstream-Status: Backport
8[https://github.com/FreeRADIUS/freeradius-server/commit/2c2c6a460ae8cc655df83c8964595581389676c1]
9
10Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11---
12 src/main/tls.c | 7 +++++++
13 1 file changed, 7 insertions(+)
14
15diff --git a/src/main/tls.c b/src/main/tls.c
16index ba267983b1..c04f3228e4 100644
17--- a/src/main/tls.c
18+++ b/src/main/tls.c
19@@ -64,8 +64,11 @@ USES_APPLE_DEPRECATED_API /* OpenSSL API has been deprecated by Apple */
20 # include <openssl/provider.h>
21
22 static OSSL_PROVIDER *openssl_default_provider = NULL;
23+
24+#ifndef WITH_FIPS
25 static OSSL_PROVIDER *openssl_legacy_provider = NULL;
26 #endif
27+#endif
28
29 #define LOG_PREFIX "tls"
30
31@@ -3693,6 +3696,7 @@ int tls_global_init(TLS_UNUSED bool spawn_flag, TLS_UNUSED bool check)
32 return -1;
33 }
34
35+#ifndef WITH_FIPS
36 /*
37 * Needed for MD4
38 *
39@@ -3703,6 +3707,7 @@ int tls_global_init(TLS_UNUSED bool spawn_flag, TLS_UNUSED bool check)
40 ERROR("(TLS) Failed loading legacy provider");
41 return -1;
42 }
43+#endif
44 #endif
45
46 return 0;
47@@ -3777,10 +3782,12 @@ void tls_global_cleanup(void)
48 }
49 openssl_default_provider = NULL;
50
51+#ifndef WITH_FIPS
52 if (openssl_legacy_provider && !OSSL_PROVIDER_unload(openssl_legacy_provider)) {
53 ERROR("Failed unloading legacy provider");
54 }
55 openssl_legacy_provider = NULL;
56+#endif
57 #endif
58
59 CONF_modules_unload(1);
60--
612.43.0
62
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0002-don-t-load-legacy-provider-on-enable-fips-workaround.patch b/meta-networking/recipes-connectivity/freeradius/files/0002-don-t-load-legacy-provider-on-enable-fips-workaround.patch
deleted file mode 100644
index 84b78320c4..0000000000
--- a/meta-networking/recipes-connectivity/freeradius/files/0002-don-t-load-legacy-provider-on-enable-fips-workaround.patch
+++ /dev/null
@@ -1,104 +0,0 @@
1From 2ff8eb44bb626e9e63f9bf06c3bcf3b34291c335 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 31 Mar 2026 07:45:16 -0400
4Subject: [PATCH] don't load legacy provider on --enable-fips-workaround. Fixes
5 #5775
6
7Upstream-Status: Backport
8[https://github.com/FreeRADIUS/freeradius-server/commit/2ff8eb44bb626e9e63f9bf06c3bcf3b34291c335]
9
10Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11---
12 src/main/radclient.c | 6 ++++++
13 src/modules/rlm_mschap/smbencrypt.c | 6 ++++++
14 2 files changed, 12 insertions(+)
15
16diff --git a/src/main/radclient.c b/src/main/radclient.c
17index ea64486dcf..52555603e1 100644
18--- a/src/main/radclient.c
19+++ b/src/main/radclient.c
20@@ -168,7 +168,9 @@ static int _rc_request_free(rc_request_t *request)
21 # include <openssl/provider.h>
22
23 static OSSL_PROVIDER *openssl_default_provider = NULL;
24+#ifndef WITH_FIPS
25 static OSSL_PROVIDER *openssl_legacy_provider = NULL;
26+#endif
27
28 static int openssl3_init(void)
29 {
30@@ -181,6 +183,7 @@ static int openssl3_init(void)
31 return -1;
32 }
33
34+#ifndef WITH_FIPS
35 /*
36 * Needed for MD4
37 *
38@@ -191,6 +194,7 @@ static int openssl3_init(void)
39 ERROR("(TLS) Failed loading legacy provider");
40 return -1;
41 }
42+#endif
43
44 return 0;
45 }
46@@ -202,10 +206,12 @@ static void openssl3_free(void)
47 }
48 openssl_default_provider = NULL;
49
50+#ifndef WITH_FIPS
51 if (openssl_legacy_provider && !OSSL_PROVIDER_unload(openssl_legacy_provider)) {
52 ERROR("Failed unloading legacy provider");
53 }
54 openssl_legacy_provider = NULL;
55+#endif
56 }
57 #else
58 #define openssl3_init()
59diff --git a/src/modules/rlm_mschap/smbencrypt.c b/src/modules/rlm_mschap/smbencrypt.c
60index 9a8a5ab777..531c40ec26 100644
61--- a/src/modules/rlm_mschap/smbencrypt.c
62+++ b/src/modules/rlm_mschap/smbencrypt.c
63@@ -43,7 +43,9 @@ static char const hex[] = "0123456789ABCDEF";
64 # include <openssl/provider.h>
65
66 static OSSL_PROVIDER *openssl_default_provider = NULL;
67+#ifndef WITH_FIPS
68 static OSSL_PROVIDER *openssl_legacy_provider = NULL;
69+#endif
70
71 #define ERROR(_x) fprintf(stderr, _x)
72
73@@ -58,6 +60,7 @@ static int openssl3_init(void)
74 return -1;
75 }
76
77+#ifndef WITH_FIPS
78 /*
79 * Needed for MD4
80 *
81@@ -68,6 +71,7 @@ static int openssl3_init(void)
82 ERROR("(TLS) Failed loading legacy provider");
83 return -1;
84 }
85+#endif
86
87 return 0;
88 }
89@@ -79,10 +83,12 @@ static void openssl3_free(void)
90 }
91 openssl_default_provider = NULL;
92
93+#ifndef WITH_FIPS
94 if (openssl_legacy_provider && !OSSL_PROVIDER_unload(openssl_legacy_provider)) {
95 ERROR("Failed unloading legacy provider");
96 }
97 openssl_legacy_provider = NULL;
98+#endif
99 }
100 #else
101 #define openssl3_init()
102--
1032.43.0
104
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch b/meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch
deleted file mode 100644
index cae27ad3a4..0000000000
--- a/meta-networking/recipes-connectivity/freeradius/files/0010-fix-error-for-expansion-of-macro-in-thread.h.patch
+++ /dev/null
@@ -1,61 +0,0 @@
1From 0475d948ceab91b22172f0fae3bc01e0a1502ae8 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 18 Jan 2017 14:59:39 +0800
4Subject: [PATCH] fix error for expansion of macro in thread.h
5
6The parameter declaration is missing in expansion of macro
7which cause the build error:
8| In file included from src/freeradius-devel/libradius.h:80:0,
9| from src/lib/log.c:26:
10| src/lib/log.c: In function '__fr_thread_local_destroy_fr_strerror_buffer':
11| src/lib/log.c:37:31: error: 'fr_strerror_buffer' undeclared (first use in this function)
12| fr_thread_local_setup(char *, fr_strerror_buffer) /* macro */
13| ^
14
15Add the missing declaration in macro.
16
17Upstream-Status: Pending
18
19Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
20---
21 src/include/threads.h | 10 +++++-----
22 1 file changed, 5 insertions(+), 5 deletions(-)
23
24diff --git a/src/include/threads.h b/src/include/threads.h
25index f2aea776d6..1c4e526797 100644
26--- a/src/include/threads.h
27+++ b/src/include/threads.h
28@@ -92,7 +92,7 @@ static _t __fr_thread_local_init_##_n(pthread_destructor_t func)\
29 # define fr_thread_local_get(_n) _n
30 #elif defined(HAVE_PTHREAD_H)
31 # include <pthread.h>
32-# define fr_thread_local_setup(_t, _n) \
33+# define fr_thread_local_setup(_t, _n) static __thread _t _n;\
34 static pthread_key_t __fr_thread_local_key_##_n;\
35 static pthread_once_t __fr_thread_local_once_##_n = PTHREAD_ONCE_INIT;\
36 static pthread_destructor_t __fr_thread_local_destructor_##_n = NULL;\
37@@ -103,17 +103,17 @@ static void __fr_thread_local_destroy_##_n(UNUSED void *unused)\
38 static void __fr_thread_local_key_init_##_n(void)\
39 {\
40 (void) pthread_key_create(&__fr_thread_local_key_##_n, __fr_thread_local_destroy_##_n);\
41- (void) pthread_setspecific(__fr_thread_local_key_##_n, &(_n));\
42 }\
43 static _t __fr_thread_local_init_##_n(pthread_destructor_t func)\
44 {\
45 __fr_thread_local_destructor_##_n = func;\
46 if (_n) return _n; \
47 (void) pthread_once(&__fr_thread_local_once_##_n, __fr_thread_local_key_init_##_n);\
48+ (void) pthread_setspecific(__fr_thread_local_key_##_n, &(_n));\
49 return _n;\
50 }
51-# define fr_thread_local_init(_n, _f) __fr_thread_local_init_##_n(_f)
52-# define fr_thread_local_set(_n, _v) __fr_thread_local_set_##_n(_v)
53-# define fr_thread_local_get(_n) __fr_thread_local_get_##_n()
54+# define fr_thread_local_init(_n, _f) __fr_thread_local_init_##_n(_f)
55+# define fr_thread_local_set(_n, _v) ((int)!((_n = _v) || 1))
56+# define fr_thread_local_get(_n) _n
57 #endif
58 #endif
59--
602.25.1
61
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0018-update-license-1.patch b/meta-networking/recipes-connectivity/freeradius/files/0018-update-license-1.patch
deleted file mode 100644
index 8647c389ab..0000000000
--- a/meta-networking/recipes-connectivity/freeradius/files/0018-update-license-1.patch
+++ /dev/null
@@ -1,175 +0,0 @@
1From 82d874c638c80fbbf1eca7c51aca095fbbf40024 Mon Sep 17 00:00:00 2001
2From: "Alan T. DeKok" <aland@freeradius.org>
3Date: Mon, 27 Oct 2025 06:31:22 -0400
4Subject: [PATCH] update license
5
6Upstream-Status: Backport
7[https://github.com/FreeRADIUS/freeradius-server/commit/82d874c638c80fbbf1eca7c51aca095fbbf40024]
8
9Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
10---
11 src/modules/rlm_dpsk/rlm_dpsk.c | 25 +++++++---------
12 .../rlm_eap/types/rlm_eap_teap/eap_teap.c | 29 +++++++------------
13 .../rlm_eap/types/rlm_eap_teap/eap_teap.h | 29 +++++++------------
14 .../rlm_eap/types/rlm_eap_teap/rlm_eap_teap.c | 29 +++++++------------
15 4 files changed, 44 insertions(+), 68 deletions(-)
16
17diff --git a/src/modules/rlm_dpsk/rlm_dpsk.c b/src/modules/rlm_dpsk/rlm_dpsk.c
18index 4b818d08a5..aa07415540 100644
19--- a/src/modules/rlm_dpsk/rlm_dpsk.c
20+++ b/src/modules/rlm_dpsk/rlm_dpsk.c
21@@ -1,20 +1,17 @@
22 /*
23- * Copyright (C) 2023 Network RADIUS SARL (legal@networkradius.com)
24+ * This program is is free software; you can redistribute it and/or modify
25+ * it under the terms of the GNU General Public License as published by
26+ * the Free Software Foundation; either version 2 of the License, or (at
27+ * your option) any later version.
28 *
29- * This software may not be redistributed in any form without the prior
30- * written consent of Network RADIUS.
31+ * This program is distributed in the hope that it will be useful,
32+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
33+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34+ * GNU General Public License for more details.
35 *
36- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
37- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
38- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
39- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
40- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
41- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
42- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
43- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
44- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
45- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
46- * SUCH DAMAGE.
47+ * You should have received a copy of the GNU General Public License
48+ * along with this program; if not, write to the Free Software
49+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
50 */
51
52 /**
53diff --git a/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c b/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c
54index 20646c5ba1..33512788c2 100644
55--- a/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c
56+++ b/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c
57@@ -1,24 +1,17 @@
58 /*
59- * eap_teap.c contains the interfaces that are called from the main handler
60+ * This program is is free software; you can redistribute it and/or modify
61+ * it under the terms of the GNU General Public License as published by
62+ * the Free Software Foundation; either version 2 of the License, or (at
63+ * your option) any later version.
64 *
65- * Version: $Id$
66+ * This program is distributed in the hope that it will be useful,
67+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
68+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
69+ * GNU General Public License for more details.
70 *
71- * Copyright (C) 2022 Network RADIUS SARL <legal@networkradius.com>
72- *
73- * This software may not be redistributed in any form without the prior
74- * written consent of Network RADIUS.
75- *
76- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
77- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
78- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
79- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
80- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
81- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
82- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
83- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
84- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
85- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
86- * SUCH DAMAGE.
87+ * You should have received a copy of the GNU General Public License
88+ * along with this program; if not, write to the Free Software
89+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
90 */
91
92 RCSID("$Id$")
93diff --git a/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.h b/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.h
94index 59f7835a26..69f4b1ebba 100644
95--- a/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.h
96+++ b/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.h
97@@ -1,24 +1,17 @@
98 /*
99- * eap_teap.h
100+ * This program is is free software; you can redistribute it and/or modify
101+ * it under the terms of the GNU General Public License as published by
102+ * the Free Software Foundation; either version 2 of the License, or (at
103+ * your option) any later version.
104 *
105- * Version: $Id$
106+ * This program is distributed in the hope that it will be useful,
107+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
108+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
109+ * GNU General Public License for more details.
110 *
111- * Copyright (C) 2022 Network RADIUS SARL <legal@networkradius.com>
112- *
113- * This software may not be redistributed in any form without the prior
114- * written consent of Network RADIUS.
115- *
116- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
117- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
118- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
119- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
120- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
121- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
122- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
123- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
124- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
125- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
126- * SUCH DAMAGE.
127+ * You should have received a copy of the GNU General Public License
128+ * along with this program; if not, write to the Free Software
129+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
130 */
131 #ifndef _EAP_TEAP_H
132 #define _EAP_TEAP_H
133diff --git a/src/modules/rlm_eap/types/rlm_eap_teap/rlm_eap_teap.c b/src/modules/rlm_eap/types/rlm_eap_teap/rlm_eap_teap.c
134index fcf9717257..13c709b287 100644
135--- a/src/modules/rlm_eap/types/rlm_eap_teap/rlm_eap_teap.c
136+++ b/src/modules/rlm_eap/types/rlm_eap_teap/rlm_eap_teap.c
137@@ -1,24 +1,17 @@
138 /*
139- * rlm_eap_teap.c contains the interfaces that are called from eap
140+ * This program is is free software; you can redistribute it and/or modify
141+ * it under the terms of the GNU General Public License as published by
142+ * the Free Software Foundation; either version 2 of the License, or (at
143+ * your option) any later version.
144 *
145- * Version: $Id$
146+ * This program is distributed in the hope that it will be useful,
147+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
148+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
149+ * GNU General Public License for more details.
150 *
151- * Copyright (C) 2022 Network RADIUS SARL <legal@networkradius.com>
152- *
153- * This software may not be redistributed in any form without the prior
154- * written consent of Network RADIUS.
155- *
156- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
157- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
158- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
159- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
160- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
161- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
162- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
163- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
164- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
165- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
166- * SUCH DAMAGE.
167+ * You should have received a copy of the GNU General Public License
168+ * along with this program; if not, write to the Free Software
169+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
170 */
171
172 RCSID("$Id$")
173--
1742.43.0
175
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0019-update-license-2.patch b/meta-networking/recipes-connectivity/freeradius/files/0019-update-license-2.patch
deleted file mode 100644
index 4fa3ecd265..0000000000
--- a/meta-networking/recipes-connectivity/freeradius/files/0019-update-license-2.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From a46e81a7764b57983ce6724524f745a06222dc0a Mon Sep 17 00:00:00 2001
2From: "Alan T. DeKok" <aland@freeradius.org>
3Date: Tue, 28 Oct 2025 11:33:44 -0400
4Subject: [PATCH] update license
5
6Upstream-Status: Backport
7[https://github.com/FreeRADIUS/freeradius-server/commit/a46e81a7764b57983ce6724524f745a06222dc0a]
8
9Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
10---
11 .../rlm_proxy_rate_limit.c | 25 ++++++++-----------
12 1 file changed, 11 insertions(+), 14 deletions(-)
13
14diff --git a/src/modules/rlm_proxy_rate_limit/rlm_proxy_rate_limit.c b/src/modules/rlm_proxy_rate_limit/rlm_proxy_rate_limit.c
15index 744b14a448..a855273784 100644
16--- a/src/modules/rlm_proxy_rate_limit/rlm_proxy_rate_limit.c
17+++ b/src/modules/rlm_proxy_rate_limit/rlm_proxy_rate_limit.c
18@@ -1,20 +1,17 @@
19 /*
20- * Copyright (C) 2024 Network RADIUS SAS (legal@networkradius.com)
21+ * This program is is free software; you can redistribute it and/or modify
22+ * it under the terms of the GNU General Public License as published by
23+ * the Free Software Foundation; either version 2 of the License, or (at
24+ * your option) any later version.
25 *
26- * This software may not be redistributed in any form without the prior
27- * written consent of Network RADIUS.
28+ * This program is distributed in the hope that it will be useful,
29+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
30+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+ * GNU General Public License for more details.
32 *
33- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
34- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
35- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
36- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
37- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
38- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
39- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
40- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
41- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
42- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
43- * SUCH DAMAGE.
44+ * You should have received a copy of the GNU General Public License
45+ * along with this program; if not, write to the Free Software
46+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
47 */
48
49 /**
50--
512.43.0
52
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0020-update-license-3.patch b/meta-networking/recipes-connectivity/freeradius/files/0020-update-license-3.patch
deleted file mode 100644
index f77c585bda..0000000000
--- a/meta-networking/recipes-connectivity/freeradius/files/0020-update-license-3.patch
+++ /dev/null
@@ -1,101 +0,0 @@
1From d00440f3290871aef667f80e15f256c64f9b7cd6 Mon Sep 17 00:00:00 2001
2From: "Alan T. DeKok" <aland@freeradius.org>
3Date: Wed, 29 Oct 2025 09:45:17 -0400
4Subject: [PATCH] update license
5
6Upstream-Status: Backport
7[https://github.com/FreeRADIUS/freeradius-server/commit/d00440f3290871aef667f80e15f256c64f9b7cd6]
8
9Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
10---
11 .../types/rlm_eap_teap/eap_teap_crypto.c | 30 +++++++------------
12 .../types/rlm_eap_teap/eap_teap_crypto.h | 30 +++++++------------
13 2 files changed, 22 insertions(+), 38 deletions(-)
14
15diff --git a/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap_crypto.c b/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap_crypto.c
16index 17f49f9dfc..aaa74837a9 100644
17--- a/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap_crypto.c
18+++ b/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap_crypto.c
19@@ -1,26 +1,18 @@
20 /*
21- * teap-crypto.c Cryptographic functions for EAP-TEAP.
22+ * This program is is free software; you can redistribute it and/or modify
23+ * it under the terms of the GNU General Public License as published by
24+ * the Free Software Foundation; either version 2 of the License, or (at
25+ * your option) any later version.
26 *
27- * Version: $Id$
28+ * This program is distributed in the hope that it will be useful,
29+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
30+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+ * GNU General Public License for more details.
32 *
33- * Copyright (C) 2022 Network RADIUS SARL <legal@networkradius.com>
34- *
35- * This software may not be redistributed in any form without the prior
36- * written consent of Network RADIUS.
37- *
38- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
39- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
40- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
41- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
42- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
43- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
44- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
45- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
46- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
47- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48- * SUCH DAMAGE.
49+ * You should have received a copy of the GNU General Public License
50+ * along with this program; if not, write to the Free Software
51+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
52 */
53-
54 RCSID("$Id$")
55 USES_APPLE_DEPRECATED_API /* OpenSSL API has been deprecated by Apple */
56
57diff --git a/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap_crypto.h b/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap_crypto.h
58index b02f2b9083..f9403dcf93 100644
59--- a/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap_crypto.h
60+++ b/src/modules/rlm_eap/types/rlm_eap_teap/eap_teap_crypto.h
61@@ -1,26 +1,18 @@
62 /*
63- * eap_teap_crypto.h
64+ * This program is is free software; you can redistribute it and/or modify
65+ * it under the terms of the GNU General Public License as published by
66+ * the Free Software Foundation; either version 2 of the License, or (at
67+ * your option) any later version.
68 *
69- * Version: $Id$
70+ * This program is distributed in the hope that it will be useful,
71+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
72+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73+ * GNU General Public License for more details.
74 *
75- * Copyright (C) 2022 Network RADIUS SARL <legal@networkradius.com>
76- *
77- * This software may not be redistributed in any form without the prior
78- * written consent of Network RADIUS.
79- *
80- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
81- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
82- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
83- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
84- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
85- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
86- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
87- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
88- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
89- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
90- * SUCH DAMAGE.
91+ * You should have received a copy of the GNU General Public License
92+ * along with this program; if not, write to the Free Software
93+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
94 */
95-
96 #ifndef _EAP_TEAP_CRYPTO_H
97 #define _EAP_TEAP_CRYPTO_H
98
99--
1002.43.0
101
diff --git a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.8.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.8.bb
index 4be127209b..d9b0bc9b1e 100644
--- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.8.bb
+++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.8.bb
@@ -15,7 +15,7 @@ DEPENDS = "openssl-native openssl libidn libtool libpcap libtalloc"
15 15
16PATCHTOOL = "git" 16PATCHTOOL = "git"
17 17
18SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.2.x;lfs=0;;protocol=https \ 18SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.2.x;lfs=0;protocol=https \
19 file://freeradius \ 19 file://freeradius \
20 file://volatiles.58_radiusd \ 20 file://volatiles.58_radiusd \
21 file://radiusd.service \ 21 file://radiusd.service \
@@ -29,7 +29,6 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.2.x;lfs=0
29 file://0007-rlm_python-add-PY_INC_DIR-in-search-dir.patch \ 29 file://0007-rlm_python-add-PY_INC_DIR-in-search-dir.patch \
30 file://0008-libtool-do-not-use-jlibtool.patch \ 30 file://0008-libtool-do-not-use-jlibtool.patch \
31 file://0009-Fix-quoting-for-BUILD_WITH.patch \ 31 file://0009-Fix-quoting-for-BUILD_WITH.patch \
32 file://0010-fix-error-for-expansion-of-macro-in-thread.h.patch \
33 file://0011-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch \ 32 file://0011-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch \
34 file://0012-raddb-certs-Makefile-fix-the-existed-certificate-err.patch \ 33 file://0012-raddb-certs-Makefile-fix-the-existed-certificate-err.patch \
35 file://0013-raddb-certs-Makefile-fix-the-occasional-verification.patch \ 34 file://0013-raddb-certs-Makefile-fix-the-occasional-verification.patch \
@@ -37,16 +36,13 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.2.x;lfs=0
37 file://0015-bootstrap-check-commands-of-openssl-exist.patch \ 36 file://0015-bootstrap-check-commands-of-openssl-exist.patch \
38 file://0016-version.c-don-t-print-build-flags.patch \ 37 file://0016-version.c-don-t-print-build-flags.patch \
39 file://0017-Add-acinclude.m4-to-include-required-macros.patch \ 38 file://0017-Add-acinclude.m4-to-include-required-macros.patch \
40 file://0018-update-license-1.patch \
41 file://0019-update-license-2.patch \
42 file://0020-update-license-3.patch \
43 file://0001-don-t-load-legacy-provider-on-enable-fips-workaround.patch \
44 file://0002-don-t-load-legacy-provider-on-enable-fips-workaround.patch \
45" 39"
46 40
47raddbdir = "${sysconfdir}/${MLPREFIX}raddb" 41raddbdir = "${sysconfdir}/${MLPREFIX}raddb"
48 42
49SRCREV = "032be31bb52646171099617928ec1703335bcf73" 43SRCREV = "4e4cbbd93ff3b469a773c964c7b5b6f53d01457a"
44
45PV .= "+git"
50 46
51UPSTREAM_CHECK_GITTAGREGEX = "release_(?P<pver>\d+(\_\d+)+)" 47UPSTREAM_CHECK_GITTAGREGEX = "release_(?P<pver>\d+(\_\d+)+)"
52 48
@@ -55,6 +51,8 @@ CVE_STATUS[CVE-2011-4966] = "fixed-version: The CPE in the NVD database doesn't
55 51
56PARALLEL_MAKE = "" 52PARALLEL_MAKE = ""
57 53
54# autoconf 2.73+Clang does not detect it correctly so help out
55CFLAGS += "-DTLS_STORAGE_CLASS=__thread"
58 56
59LDFLAGS:append:powerpc = " -latomic" 57LDFLAGS:append:powerpc = " -latomic"
60LDFLAGS:append:mipsarch = " -latomic" 58LDFLAGS:append:mipsarch = " -latomic"