summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/freeradius
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity/freeradius')
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0013-raddb-certs-Makefile-fix-the-occasional-verification.patch20
-rw-r--r--meta-networking/recipes-connectivity/freeradius/files/0018-Fix-Service-start-error.patch33
-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.bb (renamed from meta-networking/recipes-connectivity/freeradius/freeradius_3.2.7.bb)9
6 files changed, 347 insertions, 43 deletions
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0013-raddb-certs-Makefile-fix-the-occasional-verification.patch b/meta-networking/recipes-connectivity/freeradius/files/0013-raddb-certs-Makefile-fix-the-occasional-verification.patch
index cf05efef30..63150fa9db 100644
--- a/meta-networking/recipes-connectivity/freeradius/files/0013-raddb-certs-Makefile-fix-the-occasional-verification.patch
+++ b/meta-networking/recipes-connectivity/freeradius/files/0013-raddb-certs-Makefile-fix-the-occasional-verification.patch
@@ -1,4 +1,4 @@
1From 38cbab566143b9e002ee24a1f08a52ec74186eca Mon Sep 17 00:00:00 2001 1From 7ac812c9ba377ba7c40348ea757086c5c01c04df Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 5 Aug 2020 07:23:11 +0000 3Date: Wed, 5 Aug 2020 07:23:11 +0000
4Subject: [PATCH] raddb/certs/Makefile: fix the occasional verification failure 4Subject: [PATCH] raddb/certs/Makefile: fix the occasional verification failure
@@ -25,11 +25,11 @@ Upstream-Status: Pending
25 25
26Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 26Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
27--- 27---
28 raddb/certs/Makefile | 30 +++++++++++++++--------------- 28 raddb/certs/Makefile | 32 ++++++++++++++++----------------
29 1 file changed, 15 insertions(+), 15 deletions(-) 29 1 file changed, 16 insertions(+), 16 deletions(-)
30 30
31diff --git a/raddb/certs/Makefile b/raddb/certs/Makefile 31diff --git a/raddb/certs/Makefile b/raddb/certs/Makefile
32index cae939668e..52ae65755f 100644 32index a2f49f72c9..88874309f7 100644
33--- a/raddb/certs/Makefile 33--- a/raddb/certs/Makefile
34+++ b/raddb/certs/Makefile 34+++ b/raddb/certs/Makefile
35@@ -59,7 +59,7 @@ passwords.mk: server.cnf ca.cnf client.cnf inner-server.cnf 35@@ -59,7 +59,7 @@ passwords.mk: server.cnf ca.cnf client.cnf inner-server.cnf
@@ -63,7 +63,7 @@ index cae939668e..52ae65755f 100644
63 rm ca-crl.pem 63 rm ca-crl.pem
64 64
65 ###################################################################### 65 ######################################################################
66@@ -88,18 +88,18 @@ ca.crl: ca.pem 66@@ -88,21 +88,21 @@ ca.crl: ca.pem
67 # 67 #
68 ###################################################################### 68 ######################################################################
69 server.csr server.key: server.cnf 69 server.csr server.key: server.cnf
@@ -79,13 +79,17 @@ index cae939668e..52ae65755f 100644
79+ @[ -f server.p12 ] || $(OPENSSL) pkcs12 -export -in server.crt -inkey server.key -out server.p12 -passin pass:$(PASSWORD_SERVER) -passout pass:$(PASSWORD_SERVER) 79+ @[ -f server.p12 ] || $(OPENSSL) pkcs12 -export -in server.crt -inkey server.key -out server.p12 -passin pass:$(PASSWORD_SERVER) -passout pass:$(PASSWORD_SERVER)
80 chmod g+r server.p12 80 chmod g+r server.p12
81 81
82 server.der: server.pem
83- $(OPENSSL) x509 -inform PEM -outform DER -in server.pem -out server.der
84+ @[ -f server.der ] || $(OPENSSL) x509 -inform PEM -outform DER -in server.pem -out server.der
85
82 server.pem: server.p12 86 server.pem: server.p12
83- $(OPENSSL) pkcs12 -in server.p12 -out server.pem -passin pass:$(PASSWORD_SERVER) -passout pass:$(PASSWORD_SERVER) 87- $(OPENSSL) pkcs12 -in server.p12 -out server.pem -passin pass:$(PASSWORD_SERVER) -passout pass:$(PASSWORD_SERVER)
84+ @[ -f server.pem ] || $(OPENSSL) pkcs12 -in server.p12 -out server.pem -passin pass:$(PASSWORD_SERVER) -passout pass:$(PASSWORD_SERVER) 88+ @[ -f server.pem ] || $(OPENSSL) pkcs12 -in server.p12 -out server.pem -passin pass:$(PASSWORD_SERVER) -passout pass:$(PASSWORD_SERVER)
85 chmod g+r server.pem 89 chmod g+r server.pem
86 90
87 .PHONY: server.vrfy 91 .PHONY: server.vrfy
88@@ -113,19 +113,19 @@ server.vrfy: ca.pem 92@@ -116,19 +116,19 @@ server.vrfy: ca.pem
89 # 93 #
90 ###################################################################### 94 ######################################################################
91 client.csr client.key: client.cnf 95 client.csr client.key: client.cnf
@@ -108,7 +112,7 @@ index cae939668e..52ae65755f 100644
108 chmod g+r client.pem 112 chmod g+r client.pem
109 cp client.pem $(USER_NAME).pem 113 cp client.pem $(USER_NAME).pem
110 114
111@@ -140,18 +140,18 @@ client.vrfy: ca.pem client.pem 115@@ -143,18 +143,18 @@ client.vrfy: ca.pem client.pem
112 # 116 #
113 ###################################################################### 117 ######################################################################
114 inner-server.csr inner-server.key: inner-server.cnf 118 inner-server.csr inner-server.key: inner-server.cnf
@@ -132,5 +136,5 @@ index cae939668e..52ae65755f 100644
132 136
133 .PHONY: inner-server.vrfy 137 .PHONY: inner-server.vrfy
134-- 138--
1352.25.1 1392.34.1
136 140
diff --git a/meta-networking/recipes-connectivity/freeradius/files/0018-Fix-Service-start-error.patch b/meta-networking/recipes-connectivity/freeradius/files/0018-Fix-Service-start-error.patch
deleted file mode 100644
index f1ec181bc1..0000000000
--- a/meta-networking/recipes-connectivity/freeradius/files/0018-Fix-Service-start-error.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From e97ffc1f820beff12bb8084e6337168a1cd27540 Mon Sep 17 00:00:00 2001
2From: Liu Yiding <liuyd.fnst@fujitsu.com>
3Date: Sat, 20 Sep 2025 06:50:17 +0000
4Subject: [PATCH] Fix Service start error
5
6change "fips=no" to "-fips"
7based on discussions with the OpenSSL developers in
8https://github.com/FreeRADIUS/freeradius-server/issues/5631
9
10Upstream-Status: Backport
11https://github.com/FreeRADIUS/freeradius-server/commit/59e262f1134fef8d53d15ae963885a08c9ea8315
12
13Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
14---
15 src/main/tls.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/main/tls.c b/src/main/tls.c
19index 2a348eb9bb..02a4c24f70 100644
20--- a/src/main/tls.c
21+++ b/src/main/tls.c
22@@ -3644,7 +3644,7 @@ int tls_global_init(TLS_UNUSED bool spawn_flag, TLS_UNUSED bool check)
23 CONF_modules_load_file(NULL, NULL, 0);
24
25 #if OPENSSL_VERSION_NUMBER >= 0x30000000L
26- EVP_set_default_properties(NULL, "fips=no");
27+ EVP_set_default_properties(NULL, "-fips");
28 #endif
29
30 /*
31--
322.43.0
33
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
new file mode 100644
index 0000000000..8647c389ab
--- /dev/null
+++ b/meta-networking/recipes-connectivity/freeradius/files/0018-update-license-1.patch
@@ -0,0 +1,175 @@
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
new file mode 100644
index 0000000000..4fa3ecd265
--- /dev/null
+++ b/meta-networking/recipes-connectivity/freeradius/files/0019-update-license-2.patch
@@ -0,0 +1,52 @@
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
new file mode 100644
index 0000000000..f77c585bda
--- /dev/null
+++ b/meta-networking/recipes-connectivity/freeradius/files/0020-update-license-3.patch
@@ -0,0 +1,101 @@
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.7.bb b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.8.bb
index ef98d7285d..2de6ce5bae 100644
--- a/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.7.bb
+++ b/meta-networking/recipes-connectivity/freeradius/freeradius_3.2.8.bb
@@ -13,6 +13,8 @@ LICENSE = "GPL-2.0-only & LGPL-2.0-or-later"
13LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a" 13LIC_FILES_CHKSUM = "file://LICENSE;md5=eb723b61539feef013de476e68b5c50a"
14DEPENDS = "openssl-native openssl libidn libtool libpcap libtalloc" 14DEPENDS = "openssl-native openssl libidn libtool libpcap libtalloc"
15 15
16PATCHTOOL = "git"
17
16SRC_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 \
17 file://freeradius \ 19 file://freeradius \
18 file://volatiles.58_radiusd \ 20 file://volatiles.58_radiusd \
@@ -35,12 +37,14 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.2.x;lfs=0
35 file://0015-bootstrap-check-commands-of-openssl-exist.patch \ 37 file://0015-bootstrap-check-commands-of-openssl-exist.patch \
36 file://0016-version.c-don-t-print-build-flags.patch \ 38 file://0016-version.c-don-t-print-build-flags.patch \
37 file://0017-Add-acinclude.m4-to-include-required-macros.patch \ 39 file://0017-Add-acinclude.m4-to-include-required-macros.patch \
38 file://0018-Fix-Service-start-error.patch \ 40 file://0018-update-license-1.patch \
41 file://0019-update-license-2.patch \
42 file://0020-update-license-3.patch \
39" 43"
40 44
41raddbdir = "${sysconfdir}/${MLPREFIX}raddb" 45raddbdir = "${sysconfdir}/${MLPREFIX}raddb"
42 46
43SRCREV = "694a97dddbdd26423504afe7c530e8e1502b7354" 47SRCREV = "032be31bb52646171099617928ec1703335bcf73"
44 48
45UPSTREAM_CHECK_GITTAGREGEX = "release_(?P<pver>\d+(\_\d+)+)" 49UPSTREAM_CHECK_GITTAGREGEX = "release_(?P<pver>\d+(\_\d+)+)"
46 50
@@ -109,6 +113,7 @@ PACKAGECONFIG[ruby] = "--with-rlm_ruby,--without-rlm_ruby,ruby"
109PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl" 113PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl"
110PACKAGECONFIG[rlm-eap-fast] = "--with-rlm_eap_fast, --without-rlm_eap_fast" 114PACKAGECONFIG[rlm-eap-fast] = "--with-rlm_eap_fast, --without-rlm_eap_fast"
111PACKAGECONFIG[rlm-eap-pwd] = "--with-rlm_eap_pwd, --without-rlm_eap_pwd" 115PACKAGECONFIG[rlm-eap-pwd] = "--with-rlm_eap_pwd, --without-rlm_eap_pwd"
116PACKAGECONFIG[kafka] = "--with-rlm_kafka, --without-rlm_kafka, librdkafka"
112 117
113inherit useradd autotools-brokensep update-rc.d systemd multilib_script multilib_header 118inherit useradd autotools-brokensep update-rc.d systemd multilib_script multilib_header
114 119