Skip to contentSkip to conversation

mosquitto: bump to 2.0.21

PATCH New [email protected] 1 participant 18 messages Nov 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/18 mosquitto: bump to 2.0.21

From: Louis Rannou <[email protected]>

Upgrade to mosquitto 2.0.21. Update the patch status for issue 2895 and create a new patch for an issue introduced in 2.0.19 which causes connections to get down when the clock is changed.

(cherry picked from commit 2a27eacee2dc066365e32bafa66c666bcd93b3ca)
---
 .../mosquitto/files/2895.patch                |  2 +-
 .../mosquitto/files/3238.patch                | 25 +++++++++++++++++++
 ...osquitto_2.0.20.bb => mosquitto_2.0.21.bb} |  3 ++-
 3 files changed, 28 insertions(+), 2 deletions(-)
 create mode 100644 meta-networking/recipes-connectivity/mosquitto/files/3238.patch
 rename meta-networking/recipes-connectivity/mosquitto/{mosquitto_2.0.20.bb => mosquitto_2.0.21.bb} (96%)
meta-networking/recipes-connectivity/mosquitto/files/2895.patch +1 -1
index 853f881754..4c39a290b0 100644
@@ -5,7 +5,7 @@ Subject: [PATCH] Mosquitto now waits for network-online when starting
 
 See: https://github.com/eclipse/mosquitto/issues/2878
 ---
-Upstream-Status: Pending
+Upstream-Status: Submitted [https://github.com/eclipse-mosquitto/mosquitto/pull/2895]
 
  service/systemd/mosquitto.service.simple | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-connectivity/mosquitto/files/3238.patch new file +25 -0
new file mode 100644
index 0000000000..89795f4cd9
@@ -0,0 +1,25 @@
+From 2cb8129793b54de7c68efe1a4a8e91c788077a8e Mon Sep 17 00:00:00 2001
+From: "Roger A. Light" <[email protected]>
+Date: Thu, 1 May 2025 11:58:23 +0100
+Subject: [PATCH] Fix incorrect reference clock being selected on startup on
+ Linux.
+
+Closes #3238. Thanks to Eric Guin and karlri.
+Closes #3168.
+---
+Upstream-Status: Backport 2.0.22
+ src/mosquitto.c | 1 +
+ 2 files changed, 3 insertions(+)
+
+diff --git a/src/mosquitto.c b/src/mosquitto.c
+index ff83ef3da..2aea55237 100644
+--- a/src/mosquitto.c
++++ b/src/mosquitto.c
+@@ -465,6 +465,7 @@ int main(int argc, char *argv[])
+ #endif
+ 	struct mosquitto *ctxt, *ctxt_tmp;
+ 
++	mosquitto_time_init();
+ #if defined(WIN32) || defined(__CYGWIN__)
+ 	if(argc == 2){
+ 		if(!strcmp(argv[1], "run")){
meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.21.bb renamed from meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.20.bb +2 -1
similarity index 96%
rename from meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.20.bb
rename to meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.21.bb
index 2bc1303185..86d26304ee 100644
@@ -17,9 +17,10 @@ DEPENDS = "uthash cjson"
 SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
            file://mosquitto.init \
            file://2895.patch \
+           file://3238.patch \
 "
 
-SRC_URI[sha256sum] = "ebd07d89d2a446a7f74100ad51272e4a8bf300b61634a7812e19f068f2759de8"
+SRC_URI[sha256sum] = "7ad5e84caeb8d2bb6ed0c04614b2a7042def961af82d87f688ba33db857b899d"
 
 inherit systemd update-rc.d useradd cmake pkgconfig
 
#1 lore raw

PATCH 2/18 mosquitto: bump to 2.0.22

From: Gianfranco Costamagna <[email protected]>

Refresh patches, drop patch 3238, now part of upstream codebase

(cherry picked from commit 0331499e1f023471173e5d35d29d7ef2362b4aeb)
---
 .../mosquitto/files/2895.patch                | 15 +++++++++--
 .../mosquitto/files/3238.patch                | 25 -------------------
 ...osquitto_2.0.21.bb => mosquitto_2.0.22.bb} |  3 +--
 3 files changed, 14 insertions(+), 29 deletions(-)
 delete mode 100644 meta-networking/recipes-connectivity/mosquitto/files/3238.patch
 rename meta-networking/recipes-connectivity/mosquitto/{mosquitto_2.0.21.bb => mosquitto_2.0.22.bb} (96%)
meta-networking/recipes-connectivity/mosquitto/files/2895.patch +13 -2
index 4c39a290b0..d9432e749e 100644
@@ -10,8 +10,6 @@ Upstream-Status: Submitted [https://github.com/eclipse-mosquitto/mosquitto/pull/
  service/systemd/mosquitto.service.simple | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
-diff --git a/service/systemd/mosquitto.service.simple b/service/systemd/mosquitto.service.simple
-index 15ee0d6..c2a330b 100644
 --- a/service/systemd/mosquitto.service.simple
 +++ b/service/systemd/mosquitto.service.simple
 @@ -1,8 +1,8 @@
@@ -25,3 +23,16 @@ index 15ee0d6..c2a330b 100644
  
  [Service]
  ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
+--- a/service/systemd/mosquitto.service.notify
++++ b/service/systemd/mosquitto.service.notify
+@@ -1,8 +1,8 @@
+ [Unit]
+ Description=Mosquitto MQTT Broker
+ Documentation=man:mosquitto.conf(5) man:mosquitto(8)
+-After=network.target
+-Wants=network.target
++After=network-online.target
++Wants=network-online.target
+ 
+ [Service]
+ Type=notify
meta-networking/recipes-connectivity/mosquitto/files/3238.patch deleted +0 -25
deleted file mode 100644
index 89795f4cd9..0000000000
@@ -1,25 +0,0 @@
-From 2cb8129793b54de7c68efe1a4a8e91c788077a8e Mon Sep 17 00:00:00 2001
-From: "Roger A. Light" <[email protected]>
-Date: Thu, 1 May 2025 11:58:23 +0100
-Subject: [PATCH] Fix incorrect reference clock being selected on startup on
- Linux.
-
-Closes #3238. Thanks to Eric Guin and karlri.
-Closes #3168.
----
-Upstream-Status: Backport 2.0.22
- src/mosquitto.c | 1 +
- 2 files changed, 3 insertions(+)
-
-diff --git a/src/mosquitto.c b/src/mosquitto.c
-index ff83ef3da..2aea55237 100644
---- a/src/mosquitto.c
-+++ b/src/mosquitto.c
-@@ -465,6 +465,7 @@ int main(int argc, char *argv[])
- #endif
- 	struct mosquitto *ctxt, *ctxt_tmp;
- 
-+	mosquitto_time_init();
- #if defined(WIN32) || defined(__CYGWIN__)
- 	if(argc == 2){
- 		if(!strcmp(argv[1], "run")){
meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.22.bb renamed from meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.21.bb +1 -2
similarity index 96%
rename from meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.21.bb
rename to meta-networking/recipes-connectivity/mosquitto/mosquitto_2.0.22.bb
index 86d26304ee..189250ea60 100644
@@ -17,10 +17,9 @@ DEPENDS = "uthash cjson"
 SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
            file://mosquitto.init \
            file://2895.patch \
-           file://3238.patch \
 "
 
-SRC_URI[sha256sum] = "7ad5e84caeb8d2bb6ed0c04614b2a7042def961af82d87f688ba33db857b899d"
+SRC_URI[sha256sum] = "2f752589ef7db40260b633fbdb536e9a04b446a315138d64a7ff3c14e2de6b68"
 
 inherit systemd update-rc.d useradd cmake pkgconfig
 
#2 lore raw

PATCH 3/18 libldb: upgrade 2.8.1 -> 2.8.2

In reply to [email protected]

From: Yi Zhao <[email protected]>

(cherry picked from commit e48e7e48a2f6db337579100ed93d79213c3318e0)
---
 .../libldb/{libldb_2.8.1.bb => libldb_2.8.2.bb}               | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-support/libldb/{libldb_2.8.1.bb => libldb_2.8.2.bb} (95%)
meta-networking/recipes-support/libldb/libldb_2.8.2.bb renamed from meta-networking/recipes-support/libldb/libldb_2.8.1.bb +2 -2
similarity index 95%
rename from meta-networking/recipes-support/libldb/libldb_2.8.1.bb
rename to meta-networking/recipes-support/libldb/libldb_2.8.2.bb
index 29ff2cf6f2..d5d83bfbc1 100644
@@ -9,7 +9,7 @@ RDEPENDS:pyldb += "python3"
 export PYTHONHASHSEED="1"
 export PYTHONARCHDIR = "${PYTHON_SITEPACKAGES_DIR}"
 
-SRC_URI = "http://samba.org/ftp/ldb/ldb-${PV}.tar.gz \
+SRC_URI = "https://samba.org/ftp/ldb/ldb-${PV}.tar.gz \
            file://0001-do-not-import-target-module-while-cross-compile.patch \
            file://0002-ldb-Add-configure-options-for-packages.patch \
            file://0003-Fix-pyext_PATTERN-for-cross-compilation.patch \
@@ -34,7 +34,7 @@ LIC_FILES_CHKSUM = "file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9ada
                     file://man/ldb.3.xml;beginline=261;endline=262;md5=137f9fd61040c1505d1aa1019663fd08 \
                     file://tools/ldbdump.c;endline=19;md5=a7d4fc5d1f75676b49df491575a86a42"
 
-SRC_URI[sha256sum] = "b68ce6eb0ccd2870fa3c8c334f2028b5d16606fd41308696c17b71959f7bf59f"
+SRC_URI[sha256sum] = "0e9aeb657aedbd048b1c0de4afe5b01a8dd33c24a6adb8361a0829374a2fc016"
 
 inherit pkgconfig waf-samba ptest
 
#3 lore raw

PATCH 4/18 samba: upgrade 4.19.8 -> 4.19.9

In reply to [email protected]

From: Yi Zhao <[email protected]>

ChangeLog:
https://www.samba.org/samba/history/samba-4.19.9.html

(cherry picked from commit f7305be2c8b81d012a7d7019a9f029f6f7588fba)
---
 .../samba/{samba_4.19.8.bb => samba_4.19.9.bb}                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-connectivity/samba/{samba_4.19.8.bb => samba_4.19.9.bb} (99%)
meta-networking/recipes-connectivity/samba/samba_4.19.9.bb renamed from meta-networking/recipes-connectivity/samba/samba_4.19.8.bb +1 -1
similarity index 99%
rename from meta-networking/recipes-connectivity/samba/samba_4.19.8.bb
rename to meta-networking/recipes-connectivity/samba/samba_4.19.9.bb
index 429f983c93..30b7ea5a1f 100644
@@ -31,7 +31,7 @@ SRC_URI:append:libc-musl = " \
            file://samba-4.3.9-remove-getpwent_r.patch \
            "
 
-SRC_URI[sha256sum] = "1aeff76c207f383477ce4badebd154691c408d2e15b01b333c85eb775468ddf6"
+SRC_URI[sha256sum] = "71ed406444714c90bb9d36c576d807b67af15449f297e91106d42b3ca2fa5549"
 
 UPSTREAM_CHECK_REGEX = "samba\-(?P<pver>4\.19(\.\d+)+).tar.gz"
 
#4 lore raw

PATCH 5/18 squid: Upgrade to 6.10

In reply to [email protected]

From: Peter Marko <[email protected]>

Solves CVE-2024-37894

(cherry picked from commit c393973c8516d56d547297902ef27c02d16a54b1)
---
 .../recipes-daemons/squid/files/Skip-AC_RUN_IFELSE-tests.patch | 2 +-
 .../recipes-daemons/squid/{squid_6.9.bb => squid_6.10.bb}      | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
 rename meta-networking/recipes-daemons/squid/{squid_6.9.bb => squid_6.10.bb} (97%)
meta-networking/recipes-daemons/squid/files/Skip-AC_RUN_IFELSE-tests.patch +1 -1
index e0d002c68c..489850e3bd 100644
@@ -37,7 +37,7 @@ Signed-off-by: Jackie Huang <[email protected]>
    ])
 --- a/acinclude/lib-checks.m4
 +++ b/acinclude/lib-checks.m4
-@@ -205,7 +205,9 @@ AC_DEFUN([SQUID_CHECK_OPENSSL_CONST_SSL_
+@@ -205,7 +205,9 @@ AC_DEFUN([SQUID_CHECK_OPENSSL_CONST_SSL_METHOD],[
    [
     AC_MSG_RESULT([no])
    ],
meta-networking/recipes-daemons/squid/squid_6.10.bb renamed from meta-networking/recipes-daemons/squid/squid_6.9.bb +1 -2
similarity index 97%
rename from meta-networking/recipes-daemons/squid/squid_6.9.bb
rename to meta-networking/recipes-daemons/squid/squid_6.10.bb
index 490a5401c3..332390d365 100644
@@ -20,11 +20,10 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${BPN}-${PV}.tar.xz \
            file://volatiles.03_squid \
            file://0002-squid-make-squid-conf-tests-run-on-target-device.patch \
            file://squid.nm \
-           file://CVE-2024-37894.patch \
            file://CVE-2025-59362.patch \
            "
 
-SRC_URI[sha256sum] = "1ad72d46e1cb556e9561214f0fb181adb87c7c47927ef69bc8acd68a03f61882"
+SRC_URI[sha256sum] = "0b07b187e723f04770dd25beb89aec12030a158696aa8892d87c8b26853408a7"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://errors/COPYRIGHT;md5=d324bc1f9447d1d1588d75b22a678dc4 \
#5 lore raw

PATCH 6/18 squid: upgrade 6.10 -> 6.12

In reply to [email protected]

From: Peter Marko <[email protected]>

License-Update: copyright year updated

Add patch to fix new build failure from release tarball.

(cherry picked from commit 928ef34eadcab1272a2bc3a694873eede05a746d)
---
 ...e-reference-to-nonexisting-directory.patch | 55 +++++++++++++++++++
 .../squid/{squid_6.10.bb => squid_6.12.bb}    |  5 +-
 2 files changed, 58 insertions(+), 2 deletions(-)
 create mode 100644 meta-networking/recipes-daemons/squid/files/0001-libltdl-remove-reference-to-nonexisting-directory.patch
 rename meta-networking/recipes-daemons/squid/{squid_6.10.bb => squid_6.12.bb} (95%)
meta-networking/recipes-daemons/squid/files/0001-libltdl-remove-reference-to-nonexisting-directory.patch new file +55 -0
new file mode 100644
index 0000000000..9babcfb24d
@@ -0,0 +1,55 @@
+From a6638a007a42917fea4b03e5c30d9b7208c634c4 Mon Sep 17 00:00:00 2001
+From: Peter Marko <[email protected]>
+Date: Thu, 7 Nov 2024 22:04:40 +0100
+Subject: [PATCH] libltdl: remove reference to nonexisting directory
+
+Commit [1] removed directory libltdl/m4 from release tarball by merging
+all those files into libltdl/aclocal.m4, however makefiles still
+reference it causing following error in do_configure:
+
+| autoreconf: Entering directory 'libltdl'
+| autoreconf: configure.ac: not using Gettext
+| autoreconf: running: aclocal --system-acdir=WORKDIR/recipe-sysroot/usr/share/aclocal/ -I WORKDIR/squid-6.12/acinclude/ -I WORKDIR/recipe-sysroot-native/usr/share/aclocal/ --force -I m4
+| aclocal: error: couldn't open directory 'm4': No such file or directory
+| autoreconf: error: aclocal failed with exit status: 1
+
+Remove these invalid references.
+
+[1] https://github.com/squid-cache/squid/commit/b4addc2262e5bee37543f8d1ab9dd98337bafba3
+
+Signed-off-by: Peter Marko <[email protected]>
+Upstream-Status: Inappropriate [upstream ticket https://lists.squid-cache.org/pipermail/squid-users/2024-November/027244.html]
+---
+ libltdl/Makefile.am | 2 +-
+ libltdl/Makefile.in | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libltdl/Makefile.am b/libltdl/Makefile.am
+index aad98e2..8a9539b 100644
+--- a/libltdl/Makefile.am
++++ b/libltdl/Makefile.am
+@@ -29,7 +29,7 @@
+ ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ #####
+ 
+-ACLOCAL_AMFLAGS = -I m4
++ACLOCAL_AMFLAGS =
+ AUTOMAKE_OPTIONS = foreign
+ AM_CPPFLAGS =
+ AM_LDFLAGS =
+diff --git a/libltdl/Makefile.in b/libltdl/Makefile.in
+index 9929557..c77df2e 100644
+--- a/libltdl/Makefile.in
++++ b/libltdl/Makefile.in
+@@ -448,7 +448,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-ACLOCAL_AMFLAGS = -I m4
++ACLOCAL_AMFLAGS =
+ AUTOMAKE_OPTIONS = foreign
+ 
+ # -I$(srcdir) is needed for user that built libltdl with a sub-Automake
+-- 
+2.30.2
+
meta-networking/recipes-daemons/squid/squid_6.12.bb renamed from meta-networking/recipes-daemons/squid/squid_6.10.bb +3 -2
similarity index 95%
rename from meta-networking/recipes-daemons/squid/squid_6.10.bb
rename to meta-networking/recipes-daemons/squid/squid_6.12.bb
index 332390d365..4c00d12900 100644
@@ -19,14 +19,15 @@ SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${BPN}-${PV}.tar.xz \
            file://run-ptest \
            file://volatiles.03_squid \
            file://0002-squid-make-squid-conf-tests-run-on-target-device.patch \
+           file://0001-libltdl-remove-reference-to-nonexisting-directory.patch \
            file://squid.nm \
            file://CVE-2025-59362.patch \
            "
 
-SRC_URI[sha256sum] = "0b07b187e723f04770dd25beb89aec12030a158696aa8892d87c8b26853408a7"
+SRC_URI[sha256sum] = "f3df3abb2603a513266f24a5d4699a9f0d76b9f554d1848b67f9c51cd3b3cb50"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://errors/COPYRIGHT;md5=d324bc1f9447d1d1588d75b22a678dc4 \
+                    file://errors/COPYRIGHT;md5=6fbb6a2adc362e206da7b4f42846cdec \
                     "
 DEPENDS = "libtool"
 
#6 lore raw

PATCH 7/18 squid: download from github

In reply to [email protected]

From: Peter Marko <[email protected]>

Devtool could not find latest versions before.

Download page [1] shows message
"Squid sources are released through GitHub. Please refer to the Releases Page to find all released versions."

Note that also squid security advisories were moved to Github.

[1] https://www.squid-cache.org/Versions/

(cherry picked from commit f088e1e1f93e6bd15358f921624159ab279953ab)
---
 meta-networking/recipes-daemons/squid/squid_6.12.bb | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
meta-networking/recipes-daemons/squid/squid_6.12.bb +6 -3
index 4c00d12900..ba5ca3a698 100644
@@ -9,10 +9,9 @@ HOMEPAGE = "http://www.squid-cache.org"
 SECTION = "web"
 LICENSE = "GPL-2.0-or-later"
 
-MAJ_VER = "${@oe.utils.trim_version("${PV}", 1)}"
-MIN_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+PV_U = "${@d.getVar('PV').replace('.', '_')}"
 
-SRC_URI = "http://www.squid-cache.org/Versions/v${MAJ_VER}/${BPN}-${PV}.tar.xz \
+SRC_URI = "https://github.com/squid-cache/${BPN}/releases/download/SQUID_${PV_U}/${BPN}-${PV}.tar.xz \
            file://Set-up-for-cross-compilation.patch \
            file://Skip-AC_RUN_IFELSE-tests.patch \
            file://squid-use-serial-tests-config-needed-by-ptest.patch \
@@ -29,6 +28,10 @@ SRC_URI[sha256sum] = "f3df3abb2603a513266f24a5d4699a9f0d76b9f554d1848b67f9c51cd3
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://errors/COPYRIGHT;md5=6fbb6a2adc362e206da7b4f42846cdec \
                     "
+
+UPSTREAM_CHECK_URI = "https://github.com/squid-cache/${BPN}/releases/"
+UPSTREAM_CHECK_REGEX = "v?(?P<pver>\d+(\.\d+)+)"
+
 DEPENDS = "libtool"
 
 inherit autotools pkgconfig useradd ptest perlnative systemd
#7 lore raw

PATCH 8/18 squid: upgrade 6.12 -> 6.14

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

License-Update: copyright years updated

Changelog:
https://github.com/squid-cache/squid/releases/tag/SQUID_6_13
https://github.com/squid-cache/squid/releases/tag/SQUID_6_14

---
 .../recipes-daemons/squid/{squid_6.12.bb => squid_6.14.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-daemons/squid/{squid_6.12.bb => squid_6.14.bb} (97%)
meta-networking/recipes-daemons/squid/squid_6.14.bb renamed from meta-networking/recipes-daemons/squid/squid_6.12.bb +2 -2
similarity index 97%
rename from meta-networking/recipes-daemons/squid/squid_6.12.bb
rename to meta-networking/recipes-daemons/squid/squid_6.14.bb
index ba5ca3a698..e6841719cc 100644
@@ -23,10 +23,10 @@ SRC_URI = "https://github.com/squid-cache/${BPN}/releases/download/SQUID_${PV_U}
            file://CVE-2025-59362.patch \
            "
 
-SRC_URI[sha256sum] = "f3df3abb2603a513266f24a5d4699a9f0d76b9f554d1848b67f9c51cd3b3cb50"
+SRC_URI[sha256sum] = "9eafe06f58a199b918e79d33d8aa03afb9ae0c11d18974dca0b44c2669cab6dd"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
-                    file://errors/COPYRIGHT;md5=6fbb6a2adc362e206da7b4f42846cdec \
+                    file://errors/COPYRIGHT;md5=c2a0e15750d3a9743af9109fecc05622 \
                     "
 
 UPSTREAM_CHECK_URI = "https://github.com/squid-cache/${BPN}/releases/"
#8 lore raw

PATCH 9/18 postfix: upgrade 3.8.6 -> 3.8.9

In reply to [email protected]

From: Yi Zhao <[email protected]>

ChangeLog:
http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.8.9.HISTORY

(cherry picked from commit 9e656e3ac21523260ea9a5b8a84c6853898a2b05)
---
 .../postfix/{postfix_3.8.6.bb => postfix_3.8.9.bb}              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-daemons/postfix/{postfix_3.8.6.bb => postfix_3.8.9.bb} (99%)
meta-networking/recipes-daemons/postfix/postfix_3.8.9.bb renamed from meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb +1 -1
similarity index 99%
rename from meta-networking/recipes-daemons/postfix/postfix_3.8.6.bb
rename to meta-networking/recipes-daemons/postfix/postfix_3.8.9.bb
index b0ac51a9dd..1df5d1b415 100644
@@ -29,7 +29,7 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P
            file://0006-postfix-add-preliminary-setting.patch \
            "
 
-SRC_URI[sha256sum] = "4b6e17c826cc438cc3016a9c0a55ea7e77c6cbafba7dd57241d81b690b0e9774"
+SRC_URI[sha256sum] = "d0205a11e36d57b640daaa17a7e7166b8abc730d93b1db7e92e32dfb24bbfde1"
 
 UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.8(\.\d+)+).tar.gz"
 
#9 lore raw

PATCH 10/18 postfix: upgrade 3.8.9 -> 3.8.12

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Release Notes:
http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.8.12.RELEASE_NOTES

Dropped 0006-postfix-add-preliminary-setting.patch as changes are now part of current version 3.8.12 (20250919)
http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-3.8.12.HISTORY

---
 ...0006-postfix-add-preliminary-setting.patch | 31 -------------------
 .../{postfix_3.8.9.bb => postfix_3.8.12.bb}   |  3 +-
 2 files changed, 1 insertion(+), 33 deletions(-)
 delete mode 100644 meta-networking/recipes-daemons/postfix/files/0006-postfix-add-preliminary-setting.patch
 rename meta-networking/recipes-daemons/postfix/{postfix_3.8.9.bb => postfix_3.8.12.bb} (98%)
meta-networking/recipes-daemons/postfix/files/0006-postfix-add-preliminary-setting.patch deleted +0 -31
deleted file mode 100644
index 50d0073262..0000000000
@@ -1,31 +0,0 @@
-From c09d377cd3b91c4c4360ebfab5be37f6296ff26a Mon Sep 17 00:00:00 2001
-From: Jinfeng Wang <[email protected]>
-Date: Wed, 16 Jul 2025 02:54:28 +0000
-Subject: [PATCH] postfix: add preliminary setting
-
-post-install call postconf commands to modify main.cf. When multiple
-parameters to postconf, the order of those parameters in main.cf is random.
-Then it will reproduce random results in rootfs file(sample-main.cf). To
-fix this, add preliminary setting in main.cf.
-
-Upstream-Status: Inappropriate [this is the use of post-install,
-upstream is not affected]
-
-Signed-off-by: Jinfeng Wang <[email protected]>
----
- conf/main.cf | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/conf/main.cf b/conf/main.cf
-index 2ee7996..0c208e6 100644
---- a/conf/main.cf
-+++ b/conf/main.cf
-@@ -683,3 +683,5 @@ sample_directory =
- #
- readme_directory =
- inet_protocols = ipv4
-+shlib_directory =
-+meta_directory =
--- 
-2.31.3
-
meta-networking/recipes-daemons/postfix/postfix_3.8.12.bb renamed from meta-networking/recipes-daemons/postfix/postfix_3.8.9.bb +1 -2
similarity index 98%
rename from meta-networking/recipes-daemons/postfix/postfix_3.8.9.bb
rename to meta-networking/recipes-daemons/postfix/postfix_3.8.12.bb
index 1df5d1b415..d3c91782e7 100644
@@ -26,10 +26,9 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P
            file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \
            file://0004-Fix-icu-config.patch \
            file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \
-           file://0006-postfix-add-preliminary-setting.patch \
            "
 
-SRC_URI[sha256sum] = "d0205a11e36d57b640daaa17a7e7166b8abc730d93b1db7e92e32dfb24bbfde1"
+SRC_URI[sha256sum] = "0fdabc9f272ee6c85781750dbd2642920701795f948f2fd3abe7b46a1f5160a9"
 
 UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.8(\.\d+)+).tar.gz"
 
#10 lore raw

PATCH 11/18 samba: Run populate-volatile.sh update in postinst

In reply to [email protected]

From: Chaitanya Vadrevu <[email protected]>

samba-common installs a volatiles configuration file but had not been calling populate-volatile.sh to apply the configuration. This causes samba installation to fail on a running target due to missing directories.

Call "populate-volatile.sh update" in samba-common's postinst which creates the required directories and enables samba to work.

(cherry picked from commit 9fd087d29861383ef5b2261a97c220bd895c3142)
---
 meta-networking/recipes-connectivity/samba/samba_4.19.9.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-networking/recipes-connectivity/samba/samba_4.19.9.bb +6 -0
index 30b7ea5a1f..d50d9f5155 100644
@@ -353,4 +353,10 @@ RDEPENDS:${PN}-test = "\
     ${PN}-testsuite \
     "
 
+pkg_postinst:${PN}-common() {
+    if [ -z "$D" ] && [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then
+        ${sysconfdir}/init.d/populate-volatile.sh update
+    fi
+}
+
 ALLOW_EMPTY:${PN}-test = "1"
#11 lore raw

PATCH 12/18 pure-ftpd: upgrade 1.0.51 -> 1.0.52

In reply to [email protected]

From: Wang Mingyu <[email protected]>

nostrip.patch
refreshed for 1.0.52

License-Update: Copyright year updated to 2024

Changelog:
==========
- The QUIT command is now accepted during a transfer.
- The server can be built with --with-minimal again.
- Fixed an out of bounds read in the MLSD command.
- Larger mmap()ed pages are used on aarch64.
- Improved compatibility with HPUX
- Improved OpenSSL API compatibility
- Improved compatibility with OpenWall Linux
- Improved compatibility with Netfilter

(cherry picked from commit fac6357f60463b80cfa2e348804a587f343481ff)
---
 .../recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch      | 7 +++----
 .../pure-ftpd/{pure-ftpd_1.0.51.bb => pure-ftpd_1.0.52.bb} | 4 ++--
 2 files changed, 5 insertions(+), 6 deletions(-)
 rename meta-networking/recipes-daemons/pure-ftpd/{pure-ftpd_1.0.51.bb => pure-ftpd_1.0.52.bb} (81%)
meta-networking/recipes-daemons/pure-ftpd/pure-ftpd/nostrip.patch +3 -4
index 32d714f6f4..90244cf096 100644
@@ -1,4 +1,4 @@
-From 79fd22c0def26eba130db98e312bb00fec32ac0a Mon Sep 17 00:00:00 2001
+From ed60c2ad3a7ed9762fcb6a304c7f60544606baef Mon Sep 17 00:00:00 2001
 From: Tudor Florea <[email protected]>
 Date: Tue, 4 Aug 2015 03:07:01 +0200
 Subject: [PATCH] Don't mess with CFLAGS and LDFLAGS when --with-minimal is
@@ -10,16 +10,15 @@ Upstream-Status: Inappropriate [config]
 
 Signed-off-by: Paul Eggleton <[email protected]>
 Signed-off-by: Tudor Florea <[email protected]>
-
 ---
  configure.ac | 2 --
  1 file changed, 2 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 695ce68..0f28b55 100644
+index e578b2b..3874124 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -414,8 +414,6 @@ AC_ARG_WITH(minimal,
+@@ -415,8 +415,6 @@ AC_ARG_WITH(minimal,
      AC_DEFINE(NO_FTP_USERS)
      AC_DEFINE(WITHOUT_ASCII)    
      AC_DEFINE(BORING_MODE)
meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.52.bb renamed from meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.51.bb +2 -2
similarity index 81%
rename from meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.51.bb
rename to meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.52.bb
index 6f03f73db5..1ce3c468b7 100644
@@ -3,7 +3,7 @@ DESCRIPTION = "Pure-FTPd is a free (BSD license), secure, production-quality and
 HOMEPAGE = "http://www.pureftpd.org/project/pure-ftpd"
 SECTION = "net"
 LICENSE = "0BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=194bc994ad6bbd4ff5a021082fe52156"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5138d4a8a877b32de6a78cf7e9e99c25"
 
 DEPENDS = "libcap virtual/crypt"
 
@@ -11,7 +11,7 @@ SRC_URI = "http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-${PV}.t
            file://0001-Remove-hardcoded-usr-local-includes-from-configure.a.patch \
            file://nostrip.patch \
 "
-SRC_URI[sha256sum] = "4160f66b76615eea2397eac4ea3f0a146b7928207b79bc4cc2f99ad7b7bd9513"
+SRC_URI[sha256sum] = "1126f3a95856d08889ff89703cb1aa9ec9924d939d154e96904c920f05dc3c74"
 
 inherit autotools
 
#12 lore raw

PATCH 13/18 pureftp: fix autoreconf

In reply to [email protected]

From: Ross Burton <[email protected]>

autoreconf needs to be told where to find macros as the Makefile.am does not do this.

(cherry picked from commit 76a756989a0bda434a2295a0ad9b67c951c270df)
---
 meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.52.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-daemons/pure-ftpd/pure-ftpd_1.0.52.bb +2 -0
index 1ce3c468b7..8a56ad5078 100644
@@ -15,5 +15,7 @@ SRC_URI[sha256sum] = "1126f3a95856d08889ff89703cb1aa9ec9924d939d154e96904c920f05
 
 inherit autotools
 
+EXTRA_AUTORECONF += "-I m4"
+
 PACKAGECONFIG[libsodium] ="ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=yes, \
                            ac_cv_lib_sodium_crypto_pwhash_scryptsalsa208sha256_str=no, libsodium"
#13 lore raw

PATCH 14/18 proftpd: upgrade 1.3.7c -> 1.3.7f

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

https://github.com/proftpd/proftpd/blob/1.3.7/NEWS

---
 .../proftpd/{proftpd_1.3.7c.bb => proftpd_1.3.7f.bb}            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-daemons/proftpd/{proftpd_1.3.7c.bb => proftpd_1.3.7f.bb} (99%)
meta-networking/recipes-daemons/proftpd/proftpd_1.3.7f.bb renamed from meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb +1 -1
similarity index 99%
rename from meta-networking/recipes-daemons/proftpd/proftpd_1.3.7c.bb
rename to meta-networking/recipes-daemons/proftpd/proftpd_1.3.7f.bb
index ec38fb54e1..be434a58c2 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.proftpd.org"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb0d1484d11915fa88a6a7702f1dc184"
 
-SRCREV = "75aa739805a6e05eeb31189934a3d324e7862962"
+SRCREV = "ceb2f7771e8dd7f0697b5c151f97dd39aa5c453a"
 BRANCH = "1.3.7"
 
 SRC_URI = "git://github.com/proftpd/proftpd.git;branch=${BRANCH};protocol=https \
#14 lore raw

PATCH 15/18 iscsi-initiator-utils: upgrade 2.1.8 -> 2.1.9

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

This release sees more bug fixes, and no major functional changes. Several memory issues were addressed in iscsiuio, making it more reliable.

Changelog:
https://github.com/open-iscsi/open-iscsi/blob/2.1.9/Changelog

---
 ...-initiator-utils_2.1.8.bb => iscsi-initiator-utils_2.1.9.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-daemons/iscsi-initiator-utils/{iscsi-initiator-utils_2.1.8.bb => iscsi-initiator-utils_2.1.9.bb} (98%)
meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.9.bb renamed from meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.8.bb +1 -1
similarity index 98%
rename from meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.8.bb
rename to meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.9.bb
index 2caddbb54a..18ab16bc20 100644
@@ -12,7 +12,7 @@ DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRCREV = "543ba0f15d340b97f30782308cec424a6738fec3"
+SRCREV = "678c3e9232b2b7177b7131071910da14f065e037"
 
 SRC_URI = "git://github.com/open-iscsi/open-iscsi;branch=master;protocol=https \
            file://0001-Makefile-Do-not-set-Werror.patch \
#15 lore raw

PATCH 16/18 arno-iptables-firewall: upgrade 2.1.1 -> 2.1.1a

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Release Notes:
https://github.com/arno-iptables-firewall/aif/releases/tag/2.1.1a

---
 ...ables-firewall_2.1.1.bb => arno-iptables-firewall_2.1.1a.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-filter/arno-iptables-firewall/{arno-iptables-firewall_2.1.1.bb => arno-iptables-firewall_2.1.1a.bb} (97%)
meta-networking/recipes-filter/arno-iptables-firewall/arno-iptables-firewall_2.1.1a.bb renamed from meta-networking/recipes-filter/arno-iptables-firewall/arno-iptables-firewall_2.1.1.bb +1 -1
similarity index 97%
rename from meta-networking/recipes-filter/arno-iptables-firewall/arno-iptables-firewall_2.1.1.bb
rename to meta-networking/recipes-filter/arno-iptables-firewall/arno-iptables-firewall_2.1.1a.bb
index e124fd2906..1dcd252b17 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "http://rocky.eld.leidenuniv.nl/joomla/index.php?option=com_content&v
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://gpl_license.txt;md5=11c7b65c4a4acb9d5175f7e9bf99c403"
 
-SRCREV = "a96b81da4a9b619e4045805f5f13a1e982c95663"
+SRCREV = "a4569b7602ef6ac850ceb8762da6f588e809457c"
 SRC_URI = "git://github.com/arno-iptables-firewall/aif;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
#16 lore raw

PATCH 17/18 frr: upgrade 9.1 -> 9.1.3

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Dropped patches which are part of this release.

Release Notes:
https://github.com/FRRouting/frr/releases/tag/frr-9.1.1
https://github.com/FRRouting/frr/releases/tag/frr-9.1.2
https://github.com/FRRouting/frr/releases/tag/frr-9.1.3

---
 .../frr/frr/CVE-2024-31948.patch              | 130 --------------
 .../frr/frr/CVE-2024-31949.patch              | 163 ------------------
 .../frr/frr/CVE-2024-31950.patch              |  68 --------
 .../frr/frr/CVE-2024-31951.patch              | 110 ------------
 .../frr/frr/CVE-2024-34088.patch              |  83 ---------
 .../frr/frr/CVE-2024-44070.patch              |  54 ------
 .../frr/{frr_9.1.bb => frr_9.1.3.bb}          |   8 +-
 7 files changed, 1 insertion(+), 615 deletions(-)
 delete mode 100644 meta-networking/recipes-protocols/frr/frr/CVE-2024-31948.patch
 delete mode 100644 meta-networking/recipes-protocols/frr/frr/CVE-2024-31949.patch
 delete mode 100644 meta-networking/recipes-protocols/frr/frr/CVE-2024-31950.patch
 delete mode 100644 meta-networking/recipes-protocols/frr/frr/CVE-2024-31951.patch
 delete mode 100644 meta-networking/recipes-protocols/frr/frr/CVE-2024-34088.patch
 delete mode 100644 meta-networking/recipes-protocols/frr/frr/CVE-2024-44070.patch
 rename meta-networking/recipes-protocols/frr/{frr_9.1.bb => frr_9.1.3.bb} (94%)
meta-networking/recipes-protocols/frr/frr/CVE-2024-31948.patch deleted +0 -130
deleted file mode 100644
index bc1f2edc7d..0000000000
@@ -1,130 +0,0 @@
-From a11446687169c679b5e51b57f151a6f6c119656c Mon Sep 17 00:00:00 2001
-From: Donatas Abraitis <[email protected]>
-Date: Wed, 27 Mar 2024 18:42:56 +0200
-Subject: [PATCH 1/2] bgpd: Fix error handling when receiving BGP Prefix SID
- attribute
-
-Without this patch, we always set the BGP Prefix SID attribute flag without
-checking if it's malformed or not. RFC8669 says that this attribute MUST be discarded.
-
-Also, this fixes the bgpd crash when a malformed Prefix SID attribute is received,
-with malformed transitive flags and/or TLVs.
-
-Reported-by: Iggy Frankovic <[email protected]>
-Signed-off-by: Donatas Abraitis <[email protected]>
-
-CVE: CVE-2024-31948
-Upstream-Status: Backport [https://github.com/FRRouting/frr/commit/ba6a8f1a31e1a88df2de69ea46068e8bd9b97138]
-
-Signed-off-by: Zhang Peng <[email protected]>
----
- bgpd/bgp_attr.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
-index 56e77eb3a..2639ff864 100644
---- a/bgpd/bgp_attr.c
-+++ b/bgpd/bgp_attr.c
-@@ -1390,6 +1390,7 @@ bgp_attr_malformed(struct bgp_attr_parser_args *args, uint8_t subcode,
- 	case BGP_ATTR_AS4_AGGREGATOR:
- 	case BGP_ATTR_AGGREGATOR:
- 	case BGP_ATTR_ATOMIC_AGGREGATE:
-+	case BGP_ATTR_PREFIX_SID:
- 		return BGP_ATTR_PARSE_PROCEED;
- 
- 	/* Core attributes, particularly ones which may influence route
-@@ -3144,8 +3145,6 @@ enum bgp_attr_parse_ret bgp_attr_prefix_sid(struct bgp_attr_parser_args *args)
- 	struct attr *const attr = args->attr;
- 	enum bgp_attr_parse_ret ret;
- 
--	attr->flag |= ATTR_FLAG_BIT(BGP_ATTR_PREFIX_SID);
--
- 	uint8_t type;
- 	uint16_t length;
- 	size_t headersz = sizeof(type) + sizeof(length);
-@@ -3195,6 +3194,8 @@ enum bgp_attr_parse_ret bgp_attr_prefix_sid(struct bgp_attr_parser_args *args)
- 		}
- 	}
- 
-+	SET_FLAG(attr->flag, ATTR_FLAG_BIT(BGP_ATTR_PREFIX_SID));
-+
- 	return BGP_ATTR_PARSE_PROCEED;
- }
- 
--- 
-2.34.1
-
-From 70555e1c0927b84f3aae9406379b00c976b2fa0c Mon Sep 17 00:00:00 2001
-From: Donatas Abraitis <[email protected]>
-Date: Wed, 27 Mar 2024 19:08:38 +0200
-Subject: [PATCH 2/2] bgpd: Prevent from one more CVE triggering this place
-
-If we receive an attribute that is handled by bgp_attr_malformed(), use
-treat-as-withdraw behavior for unknown (or missing to add - if new) attributes.
-
-Signed-off-by: Donatas Abraitis <[email protected]>
-
-CVE: CVE-2024-31948
-Upstream-Status: Backport [https://github.com/FRRouting/frr/commit/babb23b74855e23c987a63f8256d24e28c044d07]
-
-Signed-off-by: Zhang Peng <[email protected]>
----
- bgpd/bgp_attr.c | 33 ++++++++++++++++++++++-----------
- 1 file changed, 22 insertions(+), 11 deletions(-)
-
-diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
-index 2639ff864..797f05d60 100644
---- a/bgpd/bgp_attr.c
-+++ b/bgpd/bgp_attr.c
-@@ -1381,6 +1381,15 @@ bgp_attr_malformed(struct bgp_attr_parser_args *args, uint8_t subcode,
- 			(args->startp - STREAM_DATA(BGP_INPUT(peer)))
- 				+ args->total);
- 
-+	/* Partial optional attributes that are malformed should not cause
-+	 * the whole session to be reset. Instead treat it as a withdrawal
-+	 * of the routes, if possible.
-+	 */
-+	if (CHECK_FLAG(flags, BGP_ATTR_FLAG_TRANS) &&
-+	    CHECK_FLAG(flags, BGP_ATTR_FLAG_OPTIONAL) &&
-+	    CHECK_FLAG(flags, BGP_ATTR_FLAG_PARTIAL))
-+		return BGP_ATTR_PARSE_WITHDRAW;
-+
- 	switch (args->type) {
- 	/* where an attribute is relatively inconsequential, e.g. it does not
- 	 * affect route selection, and can be safely ignored, then any such
-@@ -1418,19 +1427,21 @@ bgp_attr_malformed(struct bgp_attr_parser_args *args, uint8_t subcode,
- 					  BGP_NOTIFY_UPDATE_ERR, subcode,
- 					  notify_datap, length);
- 		return BGP_ATTR_PARSE_ERROR;
-+	default:
-+		/* Unknown attributes, that are handled by this function
-+		 * should be treated as withdraw, to prevent one more CVE
-+		 * from being introduced.
-+		 * RFC 7606 says:
-+		 * The "treat-as-withdraw" approach is generally preferred
-+		 * and the "session reset" approach is discouraged.
-+		 */
-+		flog_err(EC_BGP_ATTR_FLAG,
-+			 "%s(%u) attribute received, while it is not known how to handle it, treating as withdraw",
-+			 lookup_msg(attr_str, args->type, NULL), args->type);
-+		break;
- 	}
- 
--	/* Partial optional attributes that are malformed should not cause
--	 * the whole session to be reset. Instead treat it as a withdrawal
--	 * of the routes, if possible.
--	 */
--	if (CHECK_FLAG(flags, BGP_ATTR_FLAG_TRANS)
--	    && CHECK_FLAG(flags, BGP_ATTR_FLAG_OPTIONAL)
--	    && CHECK_FLAG(flags, BGP_ATTR_FLAG_PARTIAL))
--		return BGP_ATTR_PARSE_WITHDRAW;
--
--	/* default to reset */
--	return BGP_ATTR_PARSE_ERROR_NOTIFYPLS;
-+	return BGP_ATTR_PARSE_WITHDRAW;
- }
- 
- /* Find out what is wrong with the path attribute flag bits and log the error.
--- 
-2.34.1
-
meta-networking/recipes-protocols/frr/frr/CVE-2024-31949.patch deleted +0 -163

163 lines not on this page · raw message

meta-networking/recipes-protocols/frr/frr/CVE-2024-31950.patch deleted +0 -68

69 lines not on this page · raw message

meta-networking/recipes-protocols/frr/frr/CVE-2024-31951.patch deleted +0 -110

111 lines not on this page · raw message

meta-networking/recipes-protocols/frr/frr/CVE-2024-34088.patch deleted +0 -83

84 lines not on this page · raw message

meta-networking/recipes-protocols/frr/frr/CVE-2024-44070.patch deleted +0 -54

54 lines not on this page · raw message

meta-networking/recipes-protocols/frr/frr_9.1.3.bb renamed from meta-networking/recipes-protocols/frr/frr_9.1.bb +1 -7
similarity index 94%
rename from meta-networking/recipes-protocols/frr/frr_9.1.bb
rename to meta-networking/recipes-protocols/frr/frr_9.1.3.bb
index ce9876c79f..f3b4816941 100644
@@ -13,15 +13,9 @@ LIC_FILES_CHKSUM = "file://doc/licenses/GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a
 SRC_URI = "git://github.com/FRRouting/frr.git;protocol=https;branch=stable/9.1 \
            file://frr.pam \
            file://0001-zebra-Mimic-GNU-basename-API-for-non-glibc-library-e.patch \
-           file://CVE-2024-34088.patch \
-           file://CVE-2024-31950.patch \
-           file://CVE-2024-31951.patch \
-           file://CVE-2024-31948.patch \
-           file://CVE-2024-31949.patch \
-           file://CVE-2024-44070.patch \
            "
 
-SRCREV = "ca2d6f0f1e000951224a18973cc1827f7f5215b5"
+SRCREV = "ad1766d17be022587fe05ebe1a7bf10e1b7dce19"
 
 UPSTREAM_CHECK_GITTAGREGEX = "frr-(?P<pver>\d+(\.\d+)+)$"
 
#17 lore raw

PATCH 18/18 freeradius: upgrade 3.2.5 -> 3.2.6

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Release Notes:
https://github.com/FreeRADIUS/freeradius-server/releases/tag/release_3_2_6

Refresh patch 0008-libtool-do-not-use-jlibtool.patch due to upstream commit:
https://github.com/FreeRADIUS/freeradius-server/commit/315f09e4ebde14f171f107020f05473dbc9ac8f6

---
 .../0008-libtool-do-not-use-jlibtool.patch    | 105 +++++++++++++-----
 ...reeradius_3.2.5.bb => freeradius_3.2.6.bb} |   2 +-
 2 files changed, 80 insertions(+), 27 deletions(-)
 rename meta-networking/recipes-connectivity/freeradius/{freeradius_3.2.5.bb => freeradius_3.2.6.bb} (99%)
meta-networking/recipes-connectivity/freeradius/files/0008-libtool-do-not-use-jlibtool.patch +79 -26
index 559b857b63..b85f26c70d 100644
@@ -1,4 +1,4 @@
-From d0fa5b259c2dc942d0a43a9cf1bfc32f40c184f9 Mon Sep 17 00:00:00 2001
+From fa211ce85ff385d670562ec7332fb350d8c02e2b Mon Sep 17 00:00:00 2001
 From: Jackie Huang <[email protected]>
 Date: Thu, 7 Jan 2016 22:37:30 -0800
 Subject: [PATCH] libtool: do not use jlibtool
@@ -11,27 +11,27 @@ Upstream-Status: Inappropriate [embedded specific]
 
 Signed-off-by: Jackie Huang <[email protected]>
 Signed-off-by: Yi Zhao <[email protected]>
+Signed-off-by: Ankur Tyagi <[email protected]>
 ---
- Make.inc.in        |  4 ++--
- scripts/boiler.mk  |  2 ++
- scripts/install.mk | 14 +++++++-------
- scripts/libtool.mk | 22 ++++++++++++++++------
- 4 files changed, 27 insertions(+), 15 deletions(-)
+ Make.inc.in        |  3 +-
+ scripts/boiler.mk  |  4 ++-
+ scripts/install.mk | 14 +++++-----
+ scripts/libtool.mk | 69 +++++++++++++++++++++++++++-------------------
+ 4 files changed, 52 insertions(+), 38 deletions(-)
 
 diff --git a/Make.inc.in b/Make.inc.in
-index 05f82776ff..e78f3fe9dc 100644
+index fefb022a26..e78f3fe9dc 100644
 --- a/Make.inc.in
 +++ b/Make.inc.in
-@@ -57,7 +57,7 @@ CPPFLAGS	= @CPPFLAGS@
+@@ -57,6 +57,7 @@ CPPFLAGS	= @CPPFLAGS@
  LIBPREFIX	= @LIBPREFIX@
  EXEEXT		= @EXEEXT@
  
--LIBTOOL		= JLIBTOOL
 +LIBTOOL		= @LIBTOOL@
  ACLOCAL		= @ACLOCAL@
  AUTOCONF	= @AUTOCONF@
  AUTOHEADER	= @AUTOHEADER@
-@@ -168,7 +168,7 @@ ANALYZE.c       := @clang_path@
+@@ -167,7 +168,7 @@ ANALYZE.c       := @clang_path@
  #
  ifeq "$(USE_SHARED_LIBS)" "yes"
  	TESTBINDIR = ./$(BUILD_DIR)/bin/local
@@ -41,25 +41,34 @@ index 05f82776ff..e78f3fe9dc 100644
  	TESTBINDIR = ./$(BUILD_DIR)/bin
  	TESTBIN    = ./$(BUILD_DIR)/bin
 diff --git a/scripts/boiler.mk b/scripts/boiler.mk
-index 2ce0c18f34..567cc0f22f 100644
+index 9d70104747..f436163583 100644
 --- a/scripts/boiler.mk
 +++ b/scripts/boiler.mk
-@@ -272,6 +272,7 @@ define COMPILE_C_CMDS
+@@ -271,6 +271,7 @@ define COMPILE_C_CMDS
  	$(Q)$(ECHO) CC $<
  	$(Q)$(strip ${COMPILE.c} -o $@ -c -MD ${CPPFLAGS} ${CFLAGS} ${SRC_CFLAGS} ${INCDIRS} \
  	    $(addprefix -I, ${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} $<)
-+	${Q}mv $(dir $@)/.libs/$(notdir $*.d) ${BUILD_DIR}/objs/$*.d
++    ${Q}mv $(dir $@)/.libs/$(notdir $*.d) ${BUILD_DIR}/objs/$*.d
  endef
  else
  #
-@@ -287,6 +288,7 @@ define COMPILE_C_CMDS
+@@ -286,6 +287,7 @@ define COMPILE_C_CMDS
  	$(Q)cppcheck --enable=style -q ${CHECKFLAGS} $(filter -isystem%,${SRC_CFLAGS}) \
  	     $(filter -I%,${SRC_CFLAGS}) $(filter -D%,${SRC_CFLAGS}) ${INCDIRS} \
  	     $(addprefix -I,${SRC_INCDIRS}) ${SRC_DEFS} ${DEFS} --suppress=variableScope --suppress=invalidscanf $<
-+	${Q}mv $(dir $@)/.libs/$(notdir $*.d) ${BUILD_DIR}/objs/$*.d
++    ${Q}mv $(dir $@)/.libs/$(notdir $*.d) ${BUILD_DIR}/objs/$*.d
  endef
  endif
  
+@@ -603,7 +605,7 @@ $(BUILD_DIR):
+ 
+ # Define compilers and linkers
+ #
+-BOOTSTRAP_BUILD = 
++BOOTSTRAP_BUILD =
+ COMPILE.c = ${CC}
+ COMPILE.cxx = ${CXX}
+ CPP = cc -E
 diff --git a/scripts/install.mk b/scripts/install.mk
 index 916411563b..e38c1ed697 100644
 --- a/scripts/install.mk
@@ -116,21 +125,67 @@ index 916411563b..e38c1ed697 100644
  
  
 diff --git a/scripts/libtool.mk b/scripts/libtool.mk
-index 381127ec2d..e83d7e6ad7 100644
+index 64c2fe0804..5ee5f321b9 100644
 --- a/scripts/libtool.mk
 +++ b/scripts/libtool.mk
-@@ -60,7 +60,9 @@ ifeq "${LIBTOOL}" "JLIBTOOL"
-     # Tell GNU Make to use this value, rather than anything specified
-     # on the command line.
-     override LIBTOOL := ${JLIBTOOL}
--endif    # else we're not using jlibtool
+@@ -29,29 +29,33 @@ ifeq "$(findstring darwin,$(HOSTINFO))" "darwin"
+ 	JLIBTOOL_DEFS += -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
+ endif
+ 
+-JLIBTOOL := ${BUILD_DIR}/make/jlibtool
+-
+-# Add a rule to build jlibtool BEFORE any other targets.  This
+-# means that we can use it to build the later targets.
+-all install: ${JLIBTOOL}
+-
+-# Note that we need to use a compilation rule that does NOT
+-# include referencing ${LIBTOOL}, as we don't have a jlibtool
+-# binary!
+-${JLIBTOOL}: ${top_makedir}/jlibtool.c
+-	$(Q)mkdir -p $(dir $@)
+-	$(Q)echo CC jlibtool.c
+-	$(Q)${CC} $< -o $@ ${JLIBTOOL_DEFS}
+-
+-clean: jlibtool_clean
+-
+-.PHONY: jlibtool_clean
+-jlibtool_clean:
+-	$(Q)rm -f ${JLIBTOOL}
+-
+-# Tell GNU Make to use this value, rather than anything specified
+-# on the command line.
+-override LIBTOOL := ${JLIBTOOL}
++ifeq "${LIBTOOL}" "JLIBTOOL"
++    JLIBTOOL := ${BUILD_DIR}/make/jlibtool
++
++    # Add a rule to build jlibtool BEFORE any other targets.  This
++    # means that we can use it to build the later targets.
++    all install: ${JLIBTOOL}
++
++    # Note that we need to use a compilation rule that does NOT
++    # include referencing ${LIBTOOL}, as we don't have a jlibtool
++    # binary!
++    ${JLIBTOOL}: ${top_makedir}/jlibtool.c
++        $(Q)mkdir -p $(dir $@)
++        $(Q)echo CC jlibtool.c
++        $(Q)${CC} $< -o $@ ${JLIBTOOL_DEFS}
++
++    clean: jlibtool_clean
++
++    .PHONY: jlibtool_clean
++    jlibtool_clean:
++        $(Q)rm -f ${JLIBTOOL}
++
++    # Tell GNU Make to use this value, rather than anything specified
++    # on the command line.
++    override LIBTOOL := ${JLIBTOOL}
 +else    # else we're not using jlibtool
 +    all install: ${LIBTOOL}
 +endif
  
  # When using libtool, it produces a '.libs' directory.  Ensure that it
  # is removed on "make clean", too.
-@@ -74,11 +76,19 @@ clean: .libs_clean
+@@ -65,12 +69,19 @@ clean: .libs_clean
  # Re-define compilers and linkers
  #
  OBJ_EXT = lo
@@ -139,6 +194,7 @@ index 381127ec2d..e83d7e6ad7 100644
 -LINK.c = ${LIBTOOL} --silent --mode=link ${CC}
 -LINK.cxx = ${LIBTOOL} --mode=link ${CXX}
 -PROGRAM_INSTALL = ${LIBTOOL} --silent --mode=install ${INSTALL}
+-
 +ifeq "${LIBTOOL}" "JLIBTOOL"
 +    COMPILE.c = ${LIBTOOL} --silent --mode=compile ${CC}
 +    COMPILE.cxx = ${LIBTOOL} --mode=compile ${CXX}
@@ -153,8 +209,5 @@ index 381127ec2d..e83d7e6ad7 100644
 +    PROGRAM_INSTALL = ${LIBTOOL} --mode=install ${INSTALL}
 +endif
  
- 
  # LIBTOOL_ENDINGS - Given a library ending in ".a" or ".so", replace that
--- 
-2.25.1
-
+ #   extension with ".la".
meta-networking/recipes-connectivity/freeradius/freeradius_3.2.6.bb renamed from meta-networking/recipes-connectivity/freeradius/freeradius_3.2.5.bb +1 -1
similarity index 99%
rename from meta-networking/recipes-connectivity/freeradius/freeradius_3.2.5.bb
rename to meta-networking/recipes-connectivity/freeradius/freeradius_3.2.6.bb
index 70f2496170..9c75bc0d3d 100644
@@ -39,7 +39,7 @@ SRC_URI = "git://github.com/FreeRADIUS/freeradius-server.git;branch=v3.2.x;lfs=0
 
 raddbdir = "${sysconfdir}/${MLPREFIX}raddb"
 
-SRCREV = "a7acce80f5ba2271d9aeb737a4a91a5bf8317f31"
+SRCREV = "a696279897f9e87c2fb2b1b8388da5a4aa09835f"
 
 UPSTREAM_CHECK_GITTAGREGEX = "release_(?P<pver>\d+(\_\d+)+)"