Skip to contentSkip to conversation

avahi: upgrade 0.8 -> 0.9-rc4

RFC PATCH In review Ross Burton 3 participants 8 messages May 14 – Jun 3

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 avahi: upgrade 0.8 -> 0.9-rc4

As per upstream[1], 0.9-rc4 is pretty much what is going to be in the 0.9 release, and upgrading to this now will make upgrading to the final release a lot simplier.

As there are no tarballs for the release candidates, switch to git. This means we need to disable the manpages as they need xmltoman to build.

Delete all of the backported CVE patches as they're included in this release. The cvelistv5 database has version information on all of these CVEs, so they don't reappear in reports.

Delete invalid-service.patch, fixed upstream differently in [2].

Upstream has deleted the in-tree init scripts, so copy them from before deletion and add alongside the recipe.

Consolidate the systemd options, and depend on libsystemd as avahi links to that instead of duplicating the code.

Pass --runstatedir so that /run is used as expected.

[1] https://github.com/avahi/avahi/issues/503#issuecomment-4443016376
[2] avahi 93b1436 ("core: no longer supply bogus services to callbacks")

---
 .../avahi/{avahi_0.8.bb => avahi_0.9.bb}      |  52 ++--
 ...01-Fix-opening-etc-resolv.conf-error.patch |   2 +-
 .../avahi/files/CVE-2023-1981.patch           |  58 -----
 .../avahi/files/CVE-2023-38469-1.patch        |  48 ----
 .../avahi/files/CVE-2023-38469-2.patch        |  65 -----
 .../avahi/files/CVE-2023-38470-1.patch        |  59 -----
 .../avahi/files/CVE-2023-38470-2.patch        |  52 ----
 .../avahi/files/CVE-2023-38471-1.patch        |  73 ------
 .../avahi/files/CVE-2023-38471-2.patch        |  52 ----
 .../avahi/files/CVE-2023-38472.patch          |  46 ----
 .../avahi/files/CVE-2023-38473.patch          | 110 ---------
 .../avahi/files/CVE-2024-52615.patch          | 228 ------------------
 .../avahi/files/CVE-2024-52616.patch          | 104 --------
 .../avahi/files/CVE-2025-68276.patch          |  68 ------
 .../avahi/files/CVE-2025-68468.patch          |  32 ---
 .../avahi/files/CVE-2025-68471.patch          |  36 ---
 .../avahi/files/CVE-2026-24401.patch          |  74 ------
 .../avahi/files/CVE-2026-34933-1.patch        | 108 ---------
 .../avahi/files/CVE-2026-34933-2.patch        |  96 --------
 .../avahi/files/avahi-daemon.in               | 198 +++++++++++++++
 .../avahi/files/avahi-dnsconfd.in             | 197 +++++++++++++++
 .../avahi/files/handle-hup.patch              |  41 ----
 .../avahi/files/initscript.patch              |  51 ----
 .../avahi/files/invalid-service.patch         |  29 ---
 .../avahi/files/local-ping.patch              | 152 ------------
 25 files changed, 416 insertions(+), 1615 deletions(-)
 rename meta/recipes-connectivity/avahi/{avahi_0.8.bb => avahi_0.9.bb} (83%)
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38469-1.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38470-1.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38471-1.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38473.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2024-52616.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2025-68468.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2025-68471.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch
 create mode 100644 meta/recipes-connectivity/avahi/files/avahi-daemon.in
 create mode 100644 meta/recipes-connectivity/avahi/files/avahi-dnsconfd.in
 delete mode 100644 meta/recipes-connectivity/avahi/files/handle-hup.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/initscript.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/invalid-service.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/local-ping.patch
meta/recipes-connectivity/avahi/avahi_0.9.bb renamed from meta/recipes-connectivity/avahi/avahi_0.8.bb +20 -32
similarity index 83%
rename from meta/recipes-connectivity/avahi/avahi_0.8.bb
rename to meta/recipes-connectivity/avahi/avahi_0.9.bb
index 0042c3c2e3d..b5b63cf1ee4 100644
@@ -18,35 +18,18 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
                     file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969 \
                     file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf"
 
-SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/avahi-${PV}.tar.gz \
+SRC_URI = "git://github.com/avahi/avahi;protocol=https;branch=master;tag=v0.9-rc4 \
            file://00avahi-autoipd \
            file://99avahi-autoipd \
-           file://initscript.patch \
+           file://avahi-daemon.in \
+           file://avahi-dnsconfd.in \
            file://0001-Fix-opening-etc-resolv.conf-error.patch \
-           file://handle-hup.patch \
-           file://local-ping.patch \
-           file://invalid-service.patch \
-           file://CVE-2023-1981.patch \
-           file://CVE-2023-38469-1.patch \
-           file://CVE-2023-38469-2.patch \
-           file://CVE-2023-38470-1.patch \
-           file://CVE-2023-38470-2.patch \
-           file://CVE-2023-38471-1.patch \
-           file://CVE-2023-38471-2.patch \
-           file://CVE-2023-38472.patch \
-           file://CVE-2023-38473.patch \
-           file://CVE-2024-52616.patch \
-           file://CVE-2024-52615.patch \
-           file://CVE-2025-68276.patch \
-           file://CVE-2026-24401.patch \
-           file://CVE-2025-68468.patch \
-           file://CVE-2025-68471.patch \
-           file://CVE-2026-34933-1.patch \
-           file://CVE-2026-34933-2.patch \
            "
 
+PV = "0.9~rc4"
+SRCREV = "625ca0fac19229f6dfa3a6c6b698ae657187e50c"
+
 GITHUB_BASE_URI = "https://github.com/avahi/avahi/releases/"
-SRC_URI[sha256sum] = "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda"
 
 CVE_STATUS[CVE-2021-26720] = "not-applicable-platform: Issue only affects Debian/SUSE"
 
@@ -55,17 +38,20 @@ DEPENDS = "expat libcap libdaemon glib-2.0 glib-2.0-native"
 # For gtk related PACKAGECONFIGs: gtk, gtk3
 AVAHI_GTK ?= ""
 
-PACKAGECONFIG ??= "dbus ${@bb.utils.contains_any('DISTRO_FEATURES','x11 wayland','${AVAHI_GTK}','',d)}"
+PACKAGECONFIG ??= "dbus ${@bb.utils.contains_any('DISTRO_FEATURES','x11 wayland','${AVAHI_GTK}','',d)} ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
 PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus"
 PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+"
 PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3"
 PACKAGECONFIG[libdns_sd] = "--enable-compat-libdns_sd --enable-dbus,,dbus"
 PACKAGECONFIG[libevent] = "--enable-libevent,--disable-libevent,libevent"
+PACKAGECONFIG[systemd] = "--enable-libsystemd,--disable-libsystemd --without-systemdsystemunitdir,systemd"
 PACKAGECONFIG[qt5] = "--enable-qt5,--disable-qt5,qtbase"
 
 inherit autotools pkgconfig gettext gobject-introspection github-releases
 
-EXTRA_OECONF = "--with-avahi-priv-access-group=adm \
+EXTRA_OECONF = " \
+             --runstatedir=${runtimedir} \
+             --with-avahi-priv-access-group=adm \
              --disable-stack-protector \
              --disable-gdbm \
              --disable-dbm \
@@ -75,14 +61,12 @@ EXTRA_OECONF = "--with-avahi-priv-access-group=adm \
              --disable-qt4 \
              --disable-python \
              --disable-doxygen-doc \
-             --enable-manpages \
+             --disable-manpages \
              ${EXTRA_OECONF_SYSVINIT} \
-             ${EXTRA_OECONF_SYSTEMD} \
            "
 
 # The distro choice determines what init scripts are installed
 EXTRA_OECONF_SYSVINIT = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','--with-distro=debian','--with-distro=none',d)}"
-EXTRA_OECONF_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES','systemd','--with-systemdsystemunitdir=${systemd_system_unitdir}/','--without-systemdsystemunitdir',d)}"
 
 do_configure:prepend() {
     # This m4 file will get in the way of our introspection.m4 with special cross-compilation fixes
@@ -97,9 +81,9 @@ RRECOMMENDS:${PN}:append:libc-glibc = " avahi-libnss-mdns"
 
 do_install() {
 	autotools_do_install
-	rm -rf ${D}/run
+
+	rm -rf ${D}${runtimedir}
 	test -d ${D}${datadir}/dbus-1 && rmdir --ignore-fail-on-non-empty ${D}${datadir}/dbus-1
-	rm -rf ${D}${libdir}/avahi
 
 	# Move example service files out of /etc/avahi/services so we don't
 	# advertise ssh & sftp-ssh by default
@@ -147,9 +131,8 @@ FILES:avahi-daemon = "${sbindir}/avahi-daemon \
                       ${sysconfdir}/avahi/avahi-daemon.conf \
                       ${sysconfdir}/avahi/hosts \
                       ${sysconfdir}/avahi/services \
-                      ${sysconfdir}/dbus-1 \
                       ${sysconfdir}/init.d/avahi-daemon \
-                      ${datadir}/dbus-1/interfaces \
+                      ${datadir}/dbus-1 \
                       ${datadir}/avahi/avahi-service.dtd \
                       ${datadir}/avahi/service-types \
                       ${datadir}/dbus-1/system-services"
@@ -194,6 +177,11 @@ do_install:append() {
 	install -d ${D}${sysconfdir}/udhcpc.d
 	install ${UNPACKDIR}/00avahi-autoipd ${D}${sysconfdir}/udhcpc.d
 	install ${UNPACKDIR}/99avahi-autoipd ${D}${sysconfdir}/udhcpc.d
+
+	install -d ${D}${sysconfdir}/init.d
+	install ${UNPACKDIR}/avahi-daemon.in ${D}${sysconfdir}/init.d/avahi-daemon
+	install ${UNPACKDIR}/avahi-dnsconfd.in ${D}${sysconfdir}/init.d/avahi-dnsconfd
+	sed -i -e 's,@sbindir@,${sbindir},g' -e 's,@sysconfdir@,${sysconfdir},g' ${D}${sysconfdir}/init.d/avahi-*
 }
 
 # At the time the postinst runs, dbus might not be setup so only restart if running 
meta/recipes-connectivity/avahi/files/0001-Fix-opening-etc-resolv.conf-error.patch +1 -1
index cb8b83fd238..d46b4d88ac8 100644
@@ -39,7 +39,7 @@ index 548c834..63e28e4 100644
 +After=systemd-resolved.service connman.service
  
  [Service]
- Type=dbus
+ BusName=org.freedesktop.Avahi
 -- 
 2.11.0
 
meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch deleted +0 -58

58 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2023-38469-1.patch deleted +0 -48

48 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch deleted +0 -65

65 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2023-38470-1.patch deleted +0 -59

59 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch deleted +0 -52

52 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2023-38471-1.patch deleted +0 -73

73 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch deleted +0 -52

52 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch deleted +0 -46

46 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2023-38473.patch deleted +0 -110

110 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -228

228 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2024-52616.patch deleted +0 -104

104 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch deleted +0 -68

68 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2025-68468.patch deleted +0 -32
deleted file mode 100644
index 3635cc8d53e..00000000000
@@ -1,32 +0,0 @@
-From 483f83828cfda965fac914ff1b39c63c256372b2 Mon Sep 17 00:00:00 2001
-From: Hugo Muis <[email protected]>
-Date: Sun, 2 Mar 2025 18:06:24 +0100
-Subject: [PATCH] core: fix DoS bug by removing incorrect assertion
-
-Closes https://github.com/avahi/avahi/issues/683
-
-CVE: CVE-2025-68468
-
-Upstream-Status: Backport
-[https://github.com/avahi/avahi/commit/f66be13d7f31a3ef806d226bf8b67240179d309a]
-
-Signed-off-by: Amaury Couderc <[email protected]>
----
- avahi-core/browse.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/avahi-core/browse.c b/avahi-core/browse.c
-index 86e4432..79595fe 100644
---- a/avahi-core/browse.c
-+++ b/avahi-core/browse.c
-@@ -295,7 +295,6 @@ static void lookup_multicast_callback(
-                 lookup_drop_cname(l, interface, protocol, 0, r);
-             else {
-                 /* It's a normal record, so let's call the user callback */
--                assert(avahi_key_equal(b->key, l->key));
- 
-                 b->callback(b, interface, protocol, event, r, flags, b->userdata);
-             }
--- 
-2.43.0
-
meta/recipes-connectivity/avahi/files/CVE-2025-68471.patch deleted +0 -36
deleted file mode 100644
index 210565cdd61..00000000000
@@ -1,36 +0,0 @@
-From 4e84c1d6eb2f54d1643bd7ce62817c722ca36d25 Mon Sep 17 00:00:00 2001
-From: Hugo Muis <[email protected]>
-Date: Sun, 2 Mar 2025 18:06:24 +0100
-Subject: [PATCH] core: fix DoS bug by changing assert to return
-
-Closes https://github.com/avahi/avahi/issues/678
-
-CVE: CVE-2025-68471
-
-Upstream-Status: Backport
-[https://github.com/avahi/avahi/commit/9c6eb53bf2e290aed84b1f207e3ce35c54cc0aa1]
-
-Signed-off-by: Amaury Couderc <[email protected]>
----
- avahi-core/browse.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/avahi-core/browse.c b/avahi-core/browse.c
-index 2941e57..86e4432 100644
---- a/avahi-core/browse.c
-+++ b/avahi-core/browse.c
-@@ -320,7 +320,10 @@ static int lookup_start(AvahiSRBLookup *l) {
-     assert(l);
- 
-     assert(!(l->flags & AVAHI_LOOKUP_USE_WIDE_AREA) != !(l->flags & AVAHI_LOOKUP_USE_MULTICAST));
--    assert(!l->wide_area && !l->multicast);
-+    if (l->wide_area || l->multicast) {
-+        /* Avoid starting a duplicate lookup */
-+        return 0;
-+    }
- 
-     if (l->flags & AVAHI_LOOKUP_USE_WIDE_AREA) {
- 
--- 
-2.43.0
-
meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch deleted +0 -74

74 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -108

108 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch deleted +0 -96

96 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/avahi-daemon.in new file +198 -0

198 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/avahi-dnsconfd.in new file +197 -0

197 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/handle-hup.patch deleted +0 -41

41 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/initscript.patch deleted +0 -51

51 lines not on this page · raw message

meta/recipes-connectivity/avahi/files/invalid-service.patch deleted +0 -29
deleted file mode 100644
index 8f188aff2c6..00000000000
@@ -1,29 +0,0 @@
-From 46490e95151d415cd22f02565e530eb5efcef680 Mon Sep 17 00:00:00 2001
-From: Asger Hautop Drewsen <[email protected]>
-Date: Mon, 9 Aug 2021 14:25:08 +0200
-Subject: [PATCH] Fix avahi-browse: Invalid service type
-
-Invalid service types will stop the browse from completing, or
-in simple terms "my washing machine stops me from printing".
-
-Upstream-Status: Submitted [https://github.com/lathiat/avahi/pull/472]
-Signed-off-by: Ross Burton <[email protected]>
----
- avahi-core/browse-service.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/avahi-core/browse-service.c b/avahi-core/browse-service.c
-index 63e0275a..ac3d2ecb 100644
---- a/avahi-core/browse-service.c
-+++ b/avahi-core/browse-service.c
-@@ -103,7 +103,9 @@ AvahiSServiceBrowser *avahi_s_service_browser_prepare(
-     AVAHI_CHECK_VALIDITY_RETURN_NULL(server, AVAHI_PROTO_VALID(protocol), AVAHI_ERR_INVALID_PROTOCOL);
-     AVAHI_CHECK_VALIDITY_RETURN_NULL(server, !domain || avahi_is_valid_domain_name(domain), AVAHI_ERR_INVALID_DOMAIN_NAME);
-     AVAHI_CHECK_VALIDITY_RETURN_NULL(server, AVAHI_FLAGS_VALID(flags, AVAHI_LOOKUP_USE_WIDE_AREA|AVAHI_LOOKUP_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
--    AVAHI_CHECK_VALIDITY_RETURN_NULL(server, avahi_is_valid_service_type_generic(service_type), AVAHI_ERR_INVALID_SERVICE_TYPE);
-+
-+    if (!avahi_is_valid_service_type_generic(service_type))
-+        service_type = "_invalid._tcp";
- 
-     if (!domain)
-         domain = server->domain_name;
meta/recipes-connectivity/avahi/files/local-ping.patch deleted +0 -152

152 lines not on this page · raw message

Signature · 1 line
2.43.0
#1 lore raw

How confident are we with the release happening on time before we release in next 5 months time

Quoted 1,966 lines · Ross Burton via lists.openembedded.org

As per upstream[1], 0.9-rc4 is pretty much what is going to be in the 0.9 release, and upgrading to this now will make upgrading to the final release a lot simplier.

As there are no tarballs for the release candidates, switch to git. This means we need to disable the manpages as they need xmltoman to build.

Delete all of the backported CVE patches as they're included in this release. The cvelistv5 database has version information on all of these CVEs, so they don't reappear in reports.

Delete invalid-service.patch, fixed upstream differently in [2].

Upstream has deleted the in-tree init scripts, so copy them from before deletion and add alongside the recipe.

Consolidate the systemd options, and depend on libsystemd as avahi links to that instead of duplicating the code.

Pass --runstatedir so that /run is used as expected.

[1] https://github.com/avahi/avahi/issues/503#issuecomment-4443016376
[2] avahi 93b1436 ("core: no longer supply bogus services to callbacks")

---
 .../avahi/{avahi_0.8.bb => avahi_0.9.bb}      |  52 ++--
 ...01-Fix-opening-etc-resolv.conf-error.patch |   2 +-
 .../avahi/files/CVE-2023-1981.patch           |  58 -----
 .../avahi/files/CVE-2023-38469-1.patch        |  48 ----
 .../avahi/files/CVE-2023-38469-2.patch        |  65 -----
 .../avahi/files/CVE-2023-38470-1.patch        |  59 -----
 .../avahi/files/CVE-2023-38470-2.patch        |  52 ----
 .../avahi/files/CVE-2023-38471-1.patch        |  73 ------
 .../avahi/files/CVE-2023-38471-2.patch        |  52 ----
 .../avahi/files/CVE-2023-38472.patch          |  46 ----
 .../avahi/files/CVE-2023-38473.patch          | 110 ---------
 .../avahi/files/CVE-2024-52615.patch          | 228 ------------------
 .../avahi/files/CVE-2024-52616.patch          | 104 --------
 .../avahi/files/CVE-2025-68276.patch          |  68 ------
 .../avahi/files/CVE-2025-68468.patch          |  32 ---
 .../avahi/files/CVE-2025-68471.patch          |  36 ---
 .../avahi/files/CVE-2026-24401.patch          |  74 ------
 .../avahi/files/CVE-2026-34933-1.patch        | 108 ---------
 .../avahi/files/CVE-2026-34933-2.patch        |  96 --------
 .../avahi/files/avahi-daemon.in               | 198 +++++++++++++++
 .../avahi/files/avahi-dnsconfd.in             | 197 +++++++++++++++
 .../avahi/files/handle-hup.patch              |  41 ----
 .../avahi/files/initscript.patch              |  51 ----
 .../avahi/files/invalid-service.patch         |  29 ---
 .../avahi/files/local-ping.patch              | 152 ------------
 25 files changed, 416 insertions(+), 1615 deletions(-)
 rename meta/recipes-connectivity/avahi/{avahi_0.8.bb => avahi_0.9.bb}
(83%)
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2023-38469-1.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2023-38470-1.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2023-38471-1.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2023-38473.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2024-52616.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2025-68468.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2025-68471.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch
 create mode 100644 meta/recipes-connectivity/avahi/files/avahi-daemon.in
 create mode 100644 meta/recipes-connectivity/avahi/files/
avahi-dnsconfd.in
 delete mode 100644 meta/recipes-connectivity/avahi/files/handle-hup.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/initscript.patch
 delete mode 100644
meta/recipes-connectivity/avahi/files/invalid-service.patch
 delete mode 100644 meta/recipes-connectivity/avahi/files/local-ping.patch
meta/recipes-connectivity/avahi/avahi_0.9.bb renamed from meta/recipes-connectivity/avahi/avahi_0.8.bb +6 -23
similarity index 83%
rename from meta/recipes-connectivity/avahi/avahi_0.8.bb
rename to meta/recipes-connectivity/avahi/avahi_0.9.bb
index 0042c3c2e3d..b5b63cf1ee4 100644
@@ -18,35 +18,18 @@ LIC_FILES_CHKSUM =
 "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
 
 file://avahi-daemon/main.c;endline=21;md5=9ee77368c5407af77caaef1b07285969
 \
 
 file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf"
 
-SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/avahi-${PV}.tar.gz \
+SRC_URI = "git://
 github.com/avahi/avahi;protocol=https;branch=master;tag=v0.9-rc4 \
            file://00avahi-autoipd \
            file://99avahi-autoipd \
-           file://initscript.patch \
+           file://avahi-daemon.in \
+           file://avahi-dnsconfd.in \
            file://0001-Fix-opening-etc-resolv.conf-error.patch \
-           file://handle-hup.patch \
-           file://local-ping.patch \
-           file://invalid-service.patch \
-           file://CVE-2023-1981.patch \
-           file://CVE-2023-38469-1.patch \
-           file://CVE-2023-38469-2.patch \
-           file://CVE-2023-38470-1.patch \
-           file://CVE-2023-38470-2.patch \
-           file://CVE-2023-38471-1.patch \
-           file://CVE-2023-38471-2.patch \
-           file://CVE-2023-38472.patch \
-           file://CVE-2023-38473.patch \
-           file://CVE-2024-52616.patch \
-           file://CVE-2024-52615.patch \
-           file://CVE-2025-68276.patch \
-           file://CVE-2026-24401.patch \
-           file://CVE-2025-68468.patch \
-           file://CVE-2025-68471.patch \
-           file://CVE-2026-34933-1.patch \
-           file://CVE-2026-34933-2.patch \
            "
 
+PV = "0.9~rc4"
+SRCREV = "625ca0fac19229f6dfa3a6c6b698ae657187e50c"
+
 GITHUB_BASE_URI = "https://github.com/avahi/avahi/releases/"
-SRC_URI[sha256sum] =

"060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda"

CVE_STATUS[CVE-2021-26720] = "not-applicable-platform: Issue only affects
Debian/SUSE"

meta/recipes-connectivity/avahi/avahi_0.9.bb renamed from meta/recipes-connectivity/avahi/avahi_0.8.bb +0 -0
@@ -55,17 +38,20 @@ DEPENDS = "expat libcap libdaemon glib-2.0

glib-2.0-native"
# For gtk related PACKAGECONFIGs: gtk, gtk3
AVAHI_GTK ?= ""

-PACKAGECONFIG ??= "dbus ${@bb.utils.contains_any('DISTRO_FEATURES','x11 wayland','${AVAHI_GTK}','',d)}"
+PACKAGECONFIG ??= "dbus ${@bb.utils.contains_any('DISTRO_FEATURES','x11 wayland','${AVAHI_GTK}','',d)} ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+" PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3" PACKAGECONFIG[libdns_sd] = "--enable-compat-libdns_sd --enable-dbus,,dbus" PACKAGECONFIG[libevent] = "--enable-libevent,--disable-libevent,libevent"

meta/recipes-connectivity/avahi/avahi_0.9.bb renamed from meta/recipes-connectivity/avahi/avahi_0.8.bb +5 -4
+PACKAGECONFIG[systemd] = "--enable-libsystemd,--disable-libsystemd
--without-systemdsystemunitdir,systemd"
 PACKAGECONFIG[qt5] = "--enable-qt5,--disable-qt5,qtbase"
 
 inherit autotools pkgconfig gettext gobject-introspection github-releases
 
-EXTRA_OECONF = "--with-avahi-priv-access-group=adm \
+EXTRA_OECONF = " \
+             --runstatedir=${runtimedir} \
+             --with-avahi-priv-access-group=adm \
              --disable-stack-protector \
              --disable-gdbm \
              --disable-dbm \
@@ -75,14 +61,12 @@ EXTRA_OECONF = "--with-avahi-priv-access-group=adm \
              --disable-qt4 \
              --disable-python \
              --disable-doxygen-doc \
-             --enable-manpages \
+             --disable-manpages \
              ${EXTRA_OECONF_SYSVINIT} \
-             ${EXTRA_OECONF_SYSTEMD} \
            "
 
 # The distro choice determines what init scripts are installed
 EXTRA_OECONF_SYSVINIT =

"${@bb.utils.contains('DISTRO_FEATURES','sysvinit','--with-distro=debian','--with-distro=none',d)}" -EXTRA_OECONF_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES','systemd','--with-systemdsystemunitdir=${systemd_system_unitdir}/','--without-systemdsystemunitdir',d)}"

do_configure:prepend() {
# This m4 file will get in the way of our introspection.m4 with
special cross-compilation fixes

meta/recipes-connectivity/avahi/avahi_0.9.bb renamed from meta/recipes-connectivity/avahi/avahi_0.8.bb +0 -0
@@ -97,9 +81,9 @@ RRECOMMENDS:${PN}:append:libc-glibc = "

avahi-libnss-mdns"

do_install() {
autotools_do_install

meta/recipes-connectivity/avahi/avahi_0.9.bb renamed from meta/recipes-connectivity/avahi/avahi_0.8.bb +2 -1
-       rm -rf ${D}/run
+
+       rm -rf ${D}${runtimedir}
        test -d ${D}${datadir}/dbus-1 && rmdir --ignore-fail-on-non-empty

${D}${datadir}/dbus-1

meta/recipes-connectivity/avahi/avahi_0.9.bb renamed from meta/recipes-connectivity/avahi/avahi_0.8.bb +4 -3
-       rm -rf ${D}${libdir}/avahi
 
        # Move example service files out of /etc/avahi/services so we don't
        # advertise ssh & sftp-ssh by default
@@ -147,9 +131,8 @@ FILES:avahi-daemon = "${sbindir}/avahi-daemon \
                       ${sysconfdir}/avahi/avahi-daemon.conf \
                       ${sysconfdir}/avahi/hosts \
                       ${sysconfdir}/avahi/services \
-                      ${sysconfdir}/dbus-1 \
                       ${sysconfdir}/init.d/avahi-daemon \
-                      ${datadir}/dbus-1/interfaces \
+                      ${datadir}/dbus-1 \
                       ${datadir}/avahi/avahi-service.dtd \
                       ${datadir}/avahi/service-types \
                       ${datadir}/dbus-1/system-services"
@@ -194,6 +177,11 @@ do_install:append() {
        install -d ${D}${sysconfdir}/udhcpc.d
        install ${UNPACKDIR}/00avahi-autoipd ${D}${sysconfdir}/udhcpc.d
        install ${UNPACKDIR}/99avahi-autoipd ${D}${sysconfdir}/udhcpc.d
+
+       install -d ${D}${sysconfdir}/init.d
+       install ${UNPACKDIR}/avahi-daemon.in

${D}${sysconfdir}/init.d/avahi-daemon
+ install ${UNPACKDIR}/avahi-dnsconfd.in
${D}${sysconfdir}/init.d/avahi-dnsconfd
+ sed -i -e 's,@sbindir@,${sbindir},g' -e 's,@sysconfdir@,${sysconfdir},g'
${D}${sysconfdir}/init.d/avahi-*
}

# At the time the postinst runs, dbus might not be setup so only restart
if running
diff --git a/meta/recipes-connectivity/avahi/files/0001-Fix-opening-etc-resolv.conf-error.patch b/meta/recipes-connectivity/avahi/files/0001-Fix-opening-etc-resolv.conf-error.patch index cb8b83fd238..d46b4d88ac8 100644
---
a/meta/recipes-connectivity/avahi/files/0001-Fix-opening-etc-resolv.conf-error.patch
+++
b/meta/recipes-connectivity/avahi/files/0001-Fix-opening-etc-resolv.conf-error.patch

meta/recipes-connectivity/avahi/avahi_0.9.bb renamed from meta/recipes-connectivity/avahi/avahi_0.8.bb +1 -1
@@ -39,7 +39,7 @@ index 548c834..63e28e4 100644
 +After=systemd-resolved.service connman.service
 
  [Service]
- Type=dbus
+ BusName=org.freedesktop.Avahi
 --
 2.11.0
 
meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch deleted +0 -11
deleted file mode 100644
index 4d7924d13a6..00000000000
@@ -1,58 +0,0 @@
-From a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <[email protected]>
-Date: Thu, 17 Nov 2022 01:51:53 +0100
-Subject: [PATCH] Emit error if requested service is not found
-
-It currently just crashes instead of replying with error. Check return
-value and emit error instead of passing NULL pointer to reply.
-
-Fixes #375
-
-Upstream-Status: Backport [import from ubuntu

https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-1981.patch?h=ubuntu/jammy-security
-Upstream
<https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-1981.patch?h=ubuntu/jammy-security-Upstream>
commit
https://github.com/lathiat/avahi/commit/a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f
]

meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch deleted +0 -11
-CVE: CVE-2023-1981
-Signed-off-by: Vijay Anusuri <[email protected]>
----
- avahi-daemon/dbus-protocol.c | 20 ++++++++++++++------
- 1 file changed, 14 insertions(+), 6 deletions(-)
-
-diff --git a/avahi-daemon/dbus-protocol.c b/avahi-daemon/dbus-protocol.c
-index 70d7687bc..406d0b441 100644
---- a/avahi-daemon/dbus-protocol.c
-+++ b/avahi-daemon/dbus-protocol.c
-@@ -375,10 +375,14 @@ static DBusHandlerResult

dbus_get_alternative_host_name(DBusConnection *c, DBusM

meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch deleted +0 -13
-     }
-
-     t = avahi_alternative_host_name(n);
--    avahi_dbus_respond_string(c, m, t);
--    avahi_free(t);
-+    if (t) {
-+        avahi_dbus_respond_string(c, m, t);
-+        avahi_free(t);
-
--    return DBUS_HANDLER_RESULT_HANDLED;
-+        return DBUS_HANDLER_RESULT_HANDLED;
-+    } else {
-+        return avahi_dbus_respond_error(c, m, AVAHI_ERR_NOT_FOUND,

"Hostname not found");
-+ }
- }
-
- static DBusHandlerResult dbus_get_alternative_service_name(DBusConnection *c, DBusMessage *m, DBusError *error) {
-@@ -389,10 +393,14 @@ static DBusHandlerResult dbus_get_alternative_service_name(DBusConnection *c, DB

meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch deleted +0 -13
-     }
-
-     t = avahi_alternative_service_name(n);
--    avahi_dbus_respond_string(c, m, t);
--    avahi_free(t);
-+    if (t) {
-+        avahi_dbus_respond_string(c, m, t);
-+        avahi_free(t);
-
--    return DBUS_HANDLER_RESULT_HANDLED;
-+        return DBUS_HANDLER_RESULT_HANDLED;
-+    } else {
-+        return avahi_dbus_respond_error(c, m, AVAHI_ERR_NOT_FOUND,

"Service not found");
-+ }
- }
-
- static DBusHandlerResult dbus_create_new_entry_group(DBusConnection *c, DBusMessage *m, DBusError *error) {

meta/recipes-connectivity/avahi/files/CVE-2023-38469-1.patch deleted +0 -8
deleted file mode 100644
index a078f66102f..00000000000
@@ -1,48 +0,0 @@
-From 72842945085cc3adaccfdfa2853771b0e75ef991 Mon Sep 17 00:00:00 2001
-From: Evgeny Vereshchagin <[email protected]>
-Date: Mon, 23 Oct 2023 20:29:31 +0000
-Subject: [PATCH] avahi: core: reject overly long TXT resource records
-
-Closes https://github.com/lathiat/avahi/issues/455
-
-Upstream-Status: Backport [

https://github.com/lathiat/avahi/commit/a337a1ba7d15853fb56deef1f464529af6e3a1cf
]

meta/recipes-connectivity/avahi/files/CVE-2023-38469-1.patch deleted +0 -26
-CVE: CVE-2023-38469
-
-Signed-off-by: Meenali Gupta <[email protected]>
----
- avahi-core/rr.c | 9 ++++++++-
- 1 file changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/avahi-core/rr.c b/avahi-core/rr.c
-index 7fa0bee..b03a24c 100644
---- a/avahi-core/rr.c
-+++ b/avahi-core/rr.c
-@@ -32,6 +32,7 @@
- #include <avahi-common/malloc.h>
- #include <avahi-common/defs.h>
-
-+#include "dns.h"
- #include "rr.h"
- #include "log.h"
- #include "util.h"
-@@ -688,11 +689,17 @@ int avahi_record_is_valid(AvahiRecord *r) {
-         case AVAHI_DNS_TYPE_TXT: {
-
-             AvahiStringList *strlst;
-+            size_t used = 0;
-
--            for (strlst = r->data.txt.string_list; strlst; strlst =

strlst->next)
-+ for (strlst = r->data.txt.string_list; strlst; strlst =
strlst->next) {

meta/recipes-connectivity/avahi/files/CVE-2023-38469-1.patch deleted +0 -13
-                 if (strlst->size > 255 || strlst->size <= 0)
-                     return 0;
-
-+                used += 1+strlst->size;
-+                if (used > AVAHI_DNS_RDATA_MAX)
-+                    return 0;
-+            }
-+
-             return 1;
-         }
-     }
---
-2.40.0
meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch deleted +0 -10
deleted file mode 100644
index f8f60ddca1c..00000000000
@@ -1,65 +0,0 @@
-From c6cab87df290448a63323c8ca759baa516166237 Mon Sep 17 00:00:00 2001
-From: Evgeny Vereshchagin <[email protected]>
-Date: Wed, 25 Oct 2023 18:15:42 +0000
-Subject: [PATCH] tests: pass overly long TXT resource records
-
-to make sure they don't crash avahi any more.
-It reproduces https://github.com/lathiat/avahi/issues/455
-
-Canonical notes:
-nickgalanis> removed first hunk since there is no .github dir in this

release

meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch deleted +0 -2
-
-Upstream-Status: Backport [import from ubuntu

https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-38469-2.patch?h=ubuntu/jammy-security
-Upstream
<https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-38469-2.patch?h=ubuntu/jammy-security-Upstream>
commit
https://github.com/lathiat/avahi/commit/c6cab87df290448a63323c8ca759baa516166237
]

meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch deleted +0 -39
-CVE: CVE-2023-38469
-Signed-off-by: Vijay Anusuri <[email protected]>
----
- avahi-client/client-test.c       | 14 ++++++++++++++
- 1 files changed, 14 insertions(+)
-
-Index: avahi-0.8/avahi-client/client-test.c
-===================================================================
---- avahi-0.8.orig/avahi-client/client-test.c
-+++ avahi-0.8/avahi-client/client-test.c
-@@ -22,6 +22,7 @@
- #endif
-
- #include <stdio.h>
-+#include <string.h>
- #include <assert.h>
-
- #include <avahi-client/client.h>
-@@ -33,6 +34,8 @@
- #include <avahi-common/malloc.h>
- #include <avahi-common/timeval.h>
-
-+#include <avahi-core/dns.h>
-+
- static const AvahiPoll *poll_api = NULL;
- static AvahiSimplePoll *simple_poll = NULL;
-
-@@ -222,6 +225,9 @@ int main (AVAHI_GCC_UNUSED int argc, AVA
-     uint32_t cookie;
-     struct timeval tv;
-     AvahiAddress a;
-+    uint8_t rdata[AVAHI_DNS_RDATA_MAX+1];
-+    AvahiStringList *txt = NULL;
-+    int r;
-
-     simple_poll = avahi_simple_poll_new();
-     poll_api = avahi_simple_poll_get(simple_poll);
-@@ -258,6 +264,14 @@ int main (AVAHI_GCC_UNUSED int argc, AVA
-     printf("%s\n", avahi_strerror(avahi_entry_group_add_service (group,

AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, "Lathiat's Site", "_http._tcp", NULL, NULL, 80, "foo=bar", NULL)));
- printf("add_record: %d\n", avahi_entry_group_add_record (group,
AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, "TestX", 0x01, 0x10, 120, "\5booya", 6));
-

-+    memset(rdata, 1, sizeof(rdata));
-+    r = avahi_string_list_parse(rdata, sizeof(rdata), &txt);
-+    assert(r >= 0);
-+    assert(avahi_string_list_serialize(txt, NULL, 0) == sizeof(rdata));
-+    error = avahi_entry_group_add_service_strlst(group, AVAHI_IF_UNSPEC,

AVAHI_PROTO_UNSPEC, 0, "TestX", "_qotd._tcp", NULL, NULL, 123, txt);
-+ assert(error == AVAHI_ERR_INVALID_RECORD);
-+ avahi_string_list_free(txt);
-+

meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch deleted +0 -3
-     avahi_entry_group_commit (group);
-
-     domain = avahi_domain_browser_new (avahi, AVAHI_IF_UNSPEC,

AVAHI_PROTO_UNSPEC, NULL, AVAHI_DOMAIN_BROWSER_BROWSE, 0, avahi_domain_browser_callback, (char*) "omghai3u");

meta/recipes-connectivity/avahi/files/CVE-2023-38470-1.patch deleted +0 -11
deleted file mode 100644
index 91f9e677ace..00000000000
@@ -1,59 +0,0 @@
-From af7bfad67ca53a7c4042a4a2d85456b847e9f249 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <[email protected]>
-Date: Tue, 11 Apr 2023 15:29:59 +0200
-Subject: [PATCH] avahi: Ensure each label is at least one byte long
-
-The only allowed exception is single dot, where it should return empty
-string.
-
-Fixes #454.
-
-Upstream-Status: Backport [

https://github.com/lathiat/avahi/commit/94cb6489114636940ac683515417990b55b5d66c
]

meta/recipes-connectivity/avahi/files/CVE-2023-38470-1.patch deleted +0 -13
-CVE: CVE-2023-38470
-
-Signed-off-by: Meenali Gupta <[email protected]>
----
- avahi-common/domain-test.c | 14 ++++++++++++++
- avahi-common/domain.c      |  2 +-
- 2 files changed, 15 insertions(+), 1 deletion(-)
-
-diff --git a/avahi-common/domain-test.c b/avahi-common/domain-test.c
-index cf763ec..3acc1c1 100644
---- a/avahi-common/domain-test.c
-+++ b/avahi-common/domain-test.c
-@@ -45,6 +45,20 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED

char *argv[]) {

meta/recipes-connectivity/avahi/files/CVE-2023-38470-1.patch deleted +0 -7
-     printf("%s\n", s = avahi_normalize_name_strdup("fo\\\\o\\..f oo."));
-     avahi_free(s);
-
-+    printf("%s\n", s = avahi_normalize_name_strdup("."));
-+    avahi_free(s);
-+
-+    s =

avahi_normalize_name_strdup(",.=.}.=.?-.}.=.?.?.}.}.?.?.?.z.?.?.}.}." -+ "}.?.?.?.r.=.=.}.=.?.}}.}.?.?.?.zM.=.=.?.?.}.}.?.?.}.}.}" -+ ".?.?.?.r.=.=.}.=.?.}}.}.?.?.?.zM.=.=.?.?.}.}.?.?.?.zM.?" -+ "?.}.}.}.?.?.?.r.=.?.}.=.?.?.}.?.?.?.}.=.?.?.}??.}.}.?.?." -+ "?.z.?.?.}.}.}.?.?.?.r.=.=.}.=.?.}}.}.?.?.?.zM.??.}.}.}." -+ "??.?.zM.??.}.}.}.?.?.?.r.=.?.}.=.?.?.}.?.?.?.}.=.?.?.}?" -+ "?.}.}.?.?.?.z.?.?.}.}.}.?.?.?.r.=.=.}.=.?.}}.}.?.?.?.zM." -+ "??.}.}.}.?.?.?.r.=.=.?.?`.?.?}.}.}.?.?.?.r.=.?.}.=.?.?."
-+ "}.?.?.?.}.=.?.?.}");
-+ assert(s == NULL);
-+
- printf("%i\n", avahi_domain_equal("\\065aa
bbb\\.\\046cc.cc\\\\.dee.fff.", "Aaa BBB\\.\\.cc.cc\\\\.dee.fff"));

meta/recipes-connectivity/avahi/files/CVE-2023-38470-1.patch deleted +0 -7
-     printf("%i\n", avahi_domain_equal("A", "a"));
-
-diff --git a/avahi-common/domain.c b/avahi-common/domain.c
-index 3b1ab68..e66d241 100644
---- a/avahi-common/domain.c
-+++ b/avahi-common/domain.c
-@@ -201,7 +201,7 @@ char *avahi_normalize_name(const char *s, char

*ret_s, size_t size) {

meta/recipes-connectivity/avahi/files/CVE-2023-38470-1.patch deleted +0 -10
-         }
-
-         if (!empty) {
--            if (size < 1)
-+            if (size < 2)
-                 return NULL;
-
-             *(r++) = '.';
---
-2.40.0
meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch deleted +0 -8
deleted file mode 100644
index e0736bf210a..00000000000
@@ -1,52 +0,0 @@
-From 20dec84b2480821704258bc908e7b2bd2e883b24 Mon Sep 17 00:00:00 2001
-From: Evgeny Vereshchagin <[email protected]>
-Date: Tue, 19 Sep 2023 03:21:25 +0000
-Subject: [PATCH] [common] bail out when escaped labels can't fit into ret
-
-Fixes:
-```
-==93410==ERROR: AddressSanitizer: stack-buffer-overflow on address

0x7f9e76f14c16 at pc 0x00000047208d bp 0x7ffee90a6a00 sp 0x7ffee90a61c8

meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch deleted +0 -2
-READ of size 1110 at 0x7f9e76f14c16 thread T0
-    #0 0x47208c in __interceptor_strlen (out/fuzz-domain+0x47208c)

(BuildId: 731b20c1eef22c2104e75a6496a399b10cfc7cba)

meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch deleted +0 -2
-    #1 0x534eb0 in avahi_strdup avahi/avahi-common/malloc.c:167:12
-    #2 0x53862c in avahi_normalize_name_strdup

avahi/avahi-common/domain.c:226:12
-```

meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch deleted +0 -3
-and
-```
-fuzz-domain: fuzz/fuzz-domain.c:38: int LLVMFuzzerTestOneInput(const

uint8_t *, size_t): Assertion `avahi_domain_equal(s, t)' failed. -==101571== ERROR: libFuzzer: deadly signal
- #0 0x501175 in __sanitizer_print_stack_trace
(/home/vagrant/avahi/out/fuzz-domain+0x501175) (BuildId:
682bf6400aff9d41b64b6e2cc3ef5ad600216ea8)
- #1 0x45ad2c in fuzzer::PrintStackTrace()
(/home/vagrant/avahi/out/fuzz-domain+0x45ad2c) (BuildId:
682bf6400aff9d41b64b6e2cc3ef5ad600216ea8)
- #2 0x43fc07 in fuzzer::Fuzzer::CrashCallback()
(/home/vagrant/avahi/out/fuzz-domain+0x43fc07) (BuildId:
682bf6400aff9d41b64b6e2cc3ef5ad600216ea8)
- #3 0x7f1581d7ebaf (/lib64/libc.so.6+0x3dbaf) (BuildId:
c9f62793b9e886eb1b95077d4f26fe2b4aa1ac25)
- #4 0x7f1581dcf883 in __pthread_kill_implementation
(/lib64/libc.so.6+0x8e883) (BuildId:
c9f62793b9e886eb1b95077d4f26fe2b4aa1ac25)
- #5 0x7f1581d7eafd in gsignal (/lib64/libc.so.6+0x3dafd) (BuildId:
c9f62793b9e886eb1b95077d4f26fe2b4aa1ac25)
- #6 0x7f1581d6787e in abort (/lib64/libc.so.6+0x2687e) (BuildId:
c9f62793b9e886eb1b95077d4f26fe2b4aa1ac25)
- #7 0x7f1581d6779a in __assert_fail_base.cold
(/lib64/libc.so.6+0x2679a) (BuildId:
c9f62793b9e886eb1b95077d4f26fe2b4aa1ac25)
- #8 0x7f1581d77186 in __assert_fail (/lib64/libc.so.6+0x36186)
(BuildId: c9f62793b9e886eb1b95077d4f26fe2b4aa1ac25)
- #9 0x5344a4 in LLVMFuzzerTestOneInput
/home/vagrant/avahi/fuzz/fuzz-domain.c:38:9
-```

meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch deleted +0 -4
-
-It's a follow-up to 94cb6489114636940ac683515417990b55b5d66c
-
-Upstream-Status: Backport [import from ubuntu

https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-38470-2.patch?h=ubuntu/jammy-security
-CVE
<https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-38470-2.patch?h=ubuntu/jammy-security-CVE>:
CVE-2023-38470 #Follow-up patch

meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch deleted +0 -19
-Signed-off-by: Vijay Anusuri <[email protected]>
----
- avahi-common/domain.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-Index: avahi-0.8/avahi-common/domain.c
-===================================================================
---- avahi-0.8.orig/avahi-common/domain.c
-+++ avahi-0.8/avahi-common/domain.c
-@@ -210,7 +210,8 @@ char *avahi_normalize_name(const char *s
-         } else
-             empty = 0;
-
--        avahi_escape_label(label, strlen(label), &r, &size);
-+        if (!(avahi_escape_label(label, strlen(label), &r, &size)))
-+            return NULL;
-     }
-
-     return ret_s;
meta/recipes-connectivity/avahi/files/CVE-2023-38471-1.patch deleted +0 -4
deleted file mode 100644
index b3f716495db..00000000000
@@ -1,73 +0,0 @@
-From 48d745db7fd554fc33e96ec86d3675ebd530bb8e Mon Sep 17 00:00:00 2001
-From: Michal Sekletar <[email protected]>
-Date: Mon, 23 Oct 2023 13:38:35 +0200
-Subject: [PATCH] avahi: core: extract host name using

avahi_unescape_label()

meta/recipes-connectivity/avahi/files/CVE-2023-38471-1.patch deleted +0 -9
-
-Previously we could create invalid escape sequence when we split the
-string on dot. For example, from valid host name "foo\\.bar" we have
-created invalid name "foo\\" and tried to set that as the host name
-which crashed the daemon.
-
-Fixes #453
-
-Upstream-Status: Backport [

https://github.com/lathiat/avahi/commit/894f085f402e023a98cbb6f5a3d117bd88d93b09
]

meta/recipes-connectivity/avahi/files/CVE-2023-38471-1.patch deleted +0 -24
-CVE: CVE-2023-38471
-
-Signed-off-by: Meenali Gupta <[email protected]>
----
- avahi-core/server.c | 27 +++++++++++++++++++++------
- 1 file changed, 21 insertions(+), 6 deletions(-)
-
-diff --git a/avahi-core/server.c b/avahi-core/server.c
-index e507750..40f1d68 100644
---- a/avahi-core/server.c
-+++ b/avahi-core/server.c
-@@ -1295,7 +1295,11 @@ static void update_fqdn(AvahiServer *s) {
- }
-
- int avahi_server_set_host_name(AvahiServer *s, const char *host_name) {
--    char *hn = NULL;
-+    char label_escaped[AVAHI_LABEL_MAX*4+1];
-+    char label[AVAHI_LABEL_MAX];
-+    char *hn = NULL, *h;
-+    size_t len;
-+
-     assert(s);
-
-     AVAHI_CHECK_VALIDITY(s, !host_name ||

avahi_is_valid_host_name(host_name), AVAHI_ERR_INVALID_HOST_NAME); -@@ -1305,17 +1309,28 @@ int avahi_server_set_host_name(AvahiServer *s, const char *host_name) {

meta/recipes-connectivity/avahi/files/CVE-2023-38471-1.patch deleted +0 -6
-     else
-         hn = avahi_normalize_name_strdup(host_name);
-
--    hn[strcspn(hn, ".")] = 0;
-+    h = hn;
-+    if (!avahi_unescape_label((const char **)&hn, label, sizeof(label)))

{
-+ avahi_free(h);
-+ return AVAHI_ERR_INVALID_HOST_NAME;
-+ }
-+
-+ avahi_free(h);
-+

-+    h = label_escaped;
-+    len = sizeof(label_escaped);
-+    if (!avahi_escape_label(label, strlen(label), &h, &len))

-+ return AVAHI_ERR_INVALID_HOST_NAME;
-
-- if (avahi_domain_equal(s->host_name, hn) && s->state !=
AVAHI_SERVER_COLLISION) {
-- avahi_free(hn);
-+ if (avahi_domain_equal(s->host_name, label_escaped) && s->state !=
AVAHI_SERVER_COLLISION)

meta/recipes-connectivity/avahi/files/CVE-2023-38471-1.patch deleted +0 -15
-         return avahi_server_set_errno(s, AVAHI_ERR_NO_CHANGE);
--    }
-
-     withdraw_host_rrs(s);
-
-     avahi_free(s->host_name);
--    s->host_name = hn;
-+    s->host_name = avahi_strdup(label_escaped);
-+    if (!s->host_name)
-+        return AVAHI_ERR_NO_MEMORY;
-
-     update_fqdn(s);
-
---
-2.40.0
meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch deleted +0 -4
deleted file mode 100644
index 44737bfc2e1..00000000000
@@ -1,52 +0,0 @@
-From b675f70739f404342f7f78635d6e2dcd85a13460 Mon Sep 17 00:00:00 2001
-From: Evgeny Vereshchagin <[email protected]>
-Date: Tue, 24 Oct 2023 22:04:51 +0000
-Subject: [PATCH] core: return errors from avahi_server_set_host_name

properly

meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch deleted +0 -4
-
-It's a follow-up to 894f085f402e023a98cbb6f5a3d117bd88d93b09
-
-Upstream-Status: Backport [import from ubuntu

https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-38471-2.patch?h=ubuntu/jammy-security
-Upstream
<https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-38471-2.patch?h=ubuntu/jammy-security-Upstream>
commit
https://github.com/lathiat/avahi/commit/b675f70739f404342f7f78635d6e2dcd85a13460
]

meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch deleted +0 -19
-CVE: CVE-2023-38471 #Follow-up Patch
-Signed-off-by: Vijay Anusuri <[email protected]>
----
- avahi-core/server.c | 9 ++++++---
- 1 file changed, 6 insertions(+), 3 deletions(-)
-
-Index: avahi-0.8/avahi-core/server.c
-===================================================================
---- avahi-0.8.orig/avahi-core/server.c
-+++ avahi-0.8/avahi-core/server.c
-@@ -1309,10 +1309,13 @@ int avahi_server_set_host_name(AvahiServ
-     else
-         hn = avahi_normalize_name_strdup(host_name);
-
-+    if (!hn)
-+        return avahi_server_set_errno(s, AVAHI_ERR_NO_MEMORY);
-+
-     h = hn;
-     if (!avahi_unescape_label((const char **)&hn, label, sizeof(label)))

{

meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch deleted +0 -14
-         avahi_free(h);
--        return AVAHI_ERR_INVALID_HOST_NAME;
-+        return avahi_server_set_errno(s, AVAHI_ERR_INVALID_HOST_NAME);
-     }
-
-     avahi_free(h);
-@@ -1320,7 +1323,7 @@ int avahi_server_set_host_name(AvahiServ
-     h = label_escaped;
-     len = sizeof(label_escaped);
-     if (!avahi_escape_label(label, strlen(label), &h, &len))
--        return AVAHI_ERR_INVALID_HOST_NAME;
-+        return avahi_server_set_errno(s, AVAHI_ERR_INVALID_HOST_NAME);
-
-     if (avahi_domain_equal(s->host_name, label_escaped) && s->state !=

AVAHI_SERVER_COLLISION)

meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch deleted +0 -10
-         return avahi_server_set_errno(s, AVAHI_ERR_NO_CHANGE);
-@@ -1330,7 +1333,7 @@ int avahi_server_set_host_name(AvahiServ
-     avahi_free(s->host_name);
-     s->host_name = avahi_strdup(label_escaped);
-     if (!s->host_name)
--        return AVAHI_ERR_NO_MEMORY;
-+        return avahi_server_set_errno(s, AVAHI_ERR_NO_MEMORY);
-
-     update_fqdn(s);
-
meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch deleted +0 -4
deleted file mode 100644
index 85dbded73bd..00000000000
@@ -1,46 +0,0 @@
-From b024ae5749f4aeba03478e6391687c3c9c8dee40 Mon Sep 17 00:00:00 2001
-From: Michal Sekletar <[email protected]>
-Date: Thu, 19 Oct 2023 17:36:44 +0200
-Subject: [PATCH] core: make sure there is rdata to process before parsing

it

meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch deleted +0 -6
-
-Fixes #452
-
-CVE-2023-38472
-
-Upstream-Status: Backport [import from ubuntu

https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-38472.patch?h=ubuntu/jammy-security
-Upstream
<https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-38472.patch?h=ubuntu/jammy-security-Upstream>
commit
https://github.com/lathiat/avahi/commit/b024ae5749f4aeba03478e6391687c3c9c8dee40
]

meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch deleted +0 -17
-CVE: CVE-2023-38472
-Signed-off-by: Meenali Gupta <[email protected]>
-Signed-off-by: Vijay Anusuri <[email protected]>
----
- avahi-client/client-test.c      | 3 +++
- avahi-daemon/dbus-entry-group.c | 2 +-
- 2 files changed, 4 insertions(+), 1 deletion(-)
-
-Index: avahi-0.8/avahi-client/client-test.c
-===================================================================
---- avahi-0.8.orig/avahi-client/client-test.c
-+++ avahi-0.8/avahi-client/client-test.c
-@@ -272,6 +272,9 @@ int main (AVAHI_GCC_UNUSED int argc, AVA
-     assert(error == AVAHI_ERR_INVALID_RECORD);
-     avahi_string_list_free(txt);
-
-+    error = avahi_entry_group_add_record (group, AVAHI_IF_UNSPEC,

AVAHI_PROTO_UNSPEC, 0, "TestX", 0x01, 0x10, 120, "", 0);
-+ assert(error != AVAHI_OK);
-+

meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch deleted +0 -3
-     avahi_entry_group_commit (group);
-
-     domain = avahi_domain_browser_new (avahi, AVAHI_IF_UNSPEC,

AVAHI_PROTO_UNSPEC, NULL, AVAHI_DOMAIN_BROWSER_BROWSE, 0, avahi_domain_browser_callback, (char*) "omghai3u");

meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch deleted +0 -7
-Index: avahi-0.8/avahi-daemon/dbus-entry-group.c
-===================================================================
---- avahi-0.8.orig/avahi-daemon/dbus-entry-group.c
-+++ avahi-0.8/avahi-daemon/dbus-entry-group.c
-@@ -340,7 +340,7 @@ DBusHandlerResult avahi_dbus_msg_entry_g
-         if (!(r = avahi_record_new_full (name, clazz, type, ttl)))
-             return avahi_dbus_respond_error(c, m, AVAHI_ERR_NO_MEMORY,

NULL);

meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch deleted +0 -5
-
--        if (avahi_rdata_parse (r, rdata, size) < 0) {
-+        if (!rdata || avahi_rdata_parse (r, rdata, size) < 0) {
-             avahi_record_unref (r);
-             return avahi_dbus_respond_error(c, m,

AVAHI_ERR_INVALID_RDATA, NULL);

meta/recipes-connectivity/avahi/files/CVE-2023-38472.patch deleted +0 -1
-         }
meta/recipes-connectivity/avahi/files/CVE-2023-38473.patch deleted +0 -12
deleted file mode 100644
index 707acb60fec..00000000000
@@ -1,110 +0,0 @@
-From 88cbbc48d5efff9726694557ca6c3f698f3affe4 Mon Sep 17 00:00:00 2001
-From: Michal Sekletar <[email protected]>
-Date: Wed, 11 Oct 2023 17:45:44 +0200
-Subject: [PATCH] avahi: common: derive alternative host name from its
- unescaped version
-
-Normalization of input makes sure we don't have to deal with special
-cases like unescaped dot at the end of label.
-
-Fixes #451 #487
-
-Upstream-Status: Backport [

https://github.com/lathiat/avahi/commit/b448c9f771bada14ae8de175695a9729f8646797
]

meta/recipes-connectivity/avahi/files/CVE-2023-38473.patch deleted +0 -9
-CVE: CVE-2023-38473
-
-Signed-off-by: Meenali Gupta <[email protected]>
----
- avahi-common/alternative-test.c |  3 +++
- avahi-common/alternative.c      | 27 +++++++++++++++++++--------
- 2 files changed, 22 insertions(+), 8 deletions(-)
-
-diff --git a/avahi-common/alternative-test.c

b/avahi-common/alternative-test.c
-index 9255435..681fc15 100644
---- a/avahi-common/alternative-test.c
-+++ b/avahi-common/alternative-test.c
-@@ -31,6 +31,9 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) {

meta/recipes-connectivity/avahi/files/CVE-2023-38473.patch deleted +0 -6
-     const char* const test_strings[] = {
-
 "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
-         "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXüüüüüüü",
-+        ").",
-+        "\\.",
-+

"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\\\",

meta/recipes-connectivity/avahi/files/CVE-2023-38473.patch deleted +0 -79
-         "gurke",
-         "-",
-         " #",
-diff --git a/avahi-common/alternative.c b/avahi-common/alternative.c
-index b3d39f0..a094e6d 100644
---- a/avahi-common/alternative.c
-+++ b/avahi-common/alternative.c
-@@ -49,15 +49,20 @@ static void drop_incomplete_utf8(char *c) {
- }
-
- char *avahi_alternative_host_name(const char *s) {
-+    char label[AVAHI_LABEL_MAX], alternative[AVAHI_LABEL_MAX*4+1];
-+    char *alt, *r, *ret;
-     const char *e;
--    char *r;
-+    size_t len;
-
-     assert(s);
-
-     if (!avahi_is_valid_host_name(s))
-         return NULL;
-
--    if ((e = strrchr(s, '-'))) {
-+    if (!avahi_unescape_label(&s, label, sizeof(label)))
-+        return NULL;
-+
-+    if ((e = strrchr(label, '-'))) {
-         const char *p;
-
-         e++;
-@@ -74,19 +79,18 @@ char *avahi_alternative_host_name(const char *s) {
-
-     if (e) {
-         char *c, *m;
--        size_t l;
-         int n;
-
-         n = atoi(e)+1;
-         if (!(m = avahi_strdup_printf("%i", n)))
-             return NULL;
-
--        l = e-s-1;
-+        len = e-label-1;
-
--        if (l >= AVAHI_LABEL_MAX-1-strlen(m)-1)
--            l = AVAHI_LABEL_MAX-1-strlen(m)-1;
-+        if (len >= AVAHI_LABEL_MAX-1-strlen(m)-1)
-+            len = AVAHI_LABEL_MAX-1-strlen(m)-1;
-
--        if (!(c = avahi_strndup(s, l))) {
-+        if (!(c = avahi_strndup(label, len))) {
-             avahi_free(m);
-             return NULL;
-         }
-@@ -100,7 +104,7 @@ char *avahi_alternative_host_name(const char *s) {
-     } else {
-         char *c;
-
--        if (!(c = avahi_strndup(s, AVAHI_LABEL_MAX-1-2)))
-+        if (!(c = avahi_strndup(label, AVAHI_LABEL_MAX-1-2)))
-             return NULL;
-
-         drop_incomplete_utf8(c);
-@@ -109,6 +113,13 @@ char *avahi_alternative_host_name(const char *s) {
-         avahi_free(c);
-     }
-
-+    alt = alternative;
-+    len = sizeof(alternative);
-+    ret = avahi_escape_label(r, strlen(r), &alt, &len);
-+
-+    avahi_free(r);
-+    r = avahi_strdup(ret);
-+
-     assert(avahi_is_valid_host_name(r));
-
-     return r;
---
-2.40.0
meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -7
deleted file mode 100644
index 9737f528375..00000000000
@@ -1,228 +0,0 @@
-From 4e2e1ea0908d7e6ad7f38ae04fdcdf2411f8b942 Mon Sep 17 00:00:00 2001
-From: Michal Sekletar <[email protected]>
-Date: Wed, 27 Nov 2024 18:07:32 +0100
-Subject: [PATCH] core/wide-area: fix for CVE-2024-52615
-
-CVE: CVE-2024-52615
-Upstream-Status: Backport [

https://github.com/avahi/avahi/commit/4e2e1ea0908d7e6ad7f38ae04fdcdf2411f8b942
]

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -32
-
-Signed-off-by: Zhang Peng <[email protected]>
----
- avahi-core/wide-area.c | 128 ++++++++++++++++++++++-------------------
- 1 file changed, 69 insertions(+), 59 deletions(-)
-
-diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c
-index 00a15056e..06df7afc6 100644
---- a/avahi-core/wide-area.c
-+++ b/avahi-core/wide-area.c
-@@ -81,6 +81,10 @@ struct AvahiWideAreaLookup {
-
-     AvahiAddress dns_server_used;
-
-+    int fd;
-+    AvahiWatch *watch;
-+    AvahiProtocol proto;
-+
-     AVAHI_LLIST_FIELDS(AvahiWideAreaLookup, lookups);
-     AVAHI_LLIST_FIELDS(AvahiWideAreaLookup, by_key);
- };
-@@ -88,9 +92,6 @@ struct AvahiWideAreaLookup {
- struct AvahiWideAreaLookupEngine {
-     AvahiServer *server;
-
--    int fd_ipv4, fd_ipv6;
--    AvahiWatch *watch_ipv4, *watch_ipv6;
--
-     /* Cache */
-     AVAHI_LLIST_HEAD(AvahiWideAreaCacheEntry, cache);
-     AvahiHashmap *cache_by_key;
-@@ -125,35 +126,67 @@ static AvahiWideAreaLookup*

find_lookup(AvahiWideAreaLookupEngine *e, uint16_t i

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -4
-     return l;
- }
-
-+static void socket_event(AVAHI_GCC_UNUSED AvahiWatch *w, int fd,

AVAHI_GCC_UNUSED AvahiWatchEvent events, void *userdata);
-+
- static int send_to_dns_server(AvahiWideAreaLookup *l, AvahiDnsPacket *p) {
-+ AvahiWideAreaLookupEngine *e;

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -28
-     AvahiAddress *a;
-+    AvahiServer *s;
-+    AvahiWatch *w;
-+    int r;
-
-     assert(l);
-     assert(p);
-
--    if (l->engine->n_dns_servers <= 0)
-+    e = l->engine;
-+    assert(e);
-+
-+    s = e->server;
-+    assert(s);
-+
-+    if (e->n_dns_servers <= 0)
-         return -1;
-
--    assert(l->engine->current_dns_server < l->engine->n_dns_servers);
-+    assert(e->current_dns_server < e->n_dns_servers);
-
--    a = &l->engine->dns_servers[l->engine->current_dns_server];
-+    a = &e->dns_servers[e->current_dns_server];
-     l->dns_server_used = *a;
-
--    if (a->proto == AVAHI_PROTO_INET) {
-+    if (l->fd >= 0) {
-+        /* We are reusing lookup object and sending packet to another

server so let's cleanup before we establish connection to new server. */
-+ s->poll_api->watch_free(l->watch);
-+ l->watch = NULL;

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -8
-
--        if (l->engine->fd_ipv4 < 0)
--            return -1;
-+        close(l->fd);
-+        l->fd = -EBADF;
-+    }
-
--        return avahi_send_dns_packet_ipv4(l->engine->fd_ipv4,

AVAHI_IF_UNSPEC, p, NULL, &a->data.ipv4, AVAHI_DNS_PORT);
-+ assert(a->proto == AVAHI_PROTO_INET || a->proto ==
AVAHI_PROTO_INET6);

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -12
-
--    } else {
--        assert(a->proto == AVAHI_PROTO_INET6);
-+    if (a->proto == AVAHI_PROTO_INET)
-+        r = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() : -1;
-+    else
-+        r = s->config.use_ipv6 ? avahi_open_unicast_socket_ipv6() : -1;
-
--        if (l->engine->fd_ipv6 < 0)
--            return -1;
-+    if (r < 0) {
-+        avahi_log_error(__FILE__ ": Failed to create socket for wide

area lookup");
-+ return -1;
-+ }
-
-- return avahi_send_dns_packet_ipv6(l->engine->fd_ipv6,
AVAHI_IF_UNSPEC, p, NULL, &a->data.ipv6, AVAHI_DNS_PORT);
-+ w = s->poll_api->watch_new(s->poll_api, r, AVAHI_WATCH_IN,
socket_event, l);
-+ if (!w) {
-+ close(r);
-+ avahi_log_error(__FILE__ ": Failed to create socket watch for
wide area lookup");
-+ return -1;
- }
-+

-+    l->fd = r;
-+    l->watch = w;
-+    l->proto = a->proto;

-+
-+ return a->proto == AVAHI_PROTO_INET ?
-+ avahi_send_dns_packet_ipv4(l->fd, AVAHI_IF_UNSPEC, p,
NULL, &a->data.ipv4, AVAHI_DNS_PORT):
-+ avahi_send_dns_packet_ipv6(l->fd, AVAHI_IF_UNSPEC, p,
NULL, &a->data.ipv6, AVAHI_DNS_PORT);
- }

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -26
-
- static void next_dns_server(AvahiWideAreaLookupEngine *e) {
-@@ -246,6 +279,9 @@ AvahiWideAreaLookup *avahi_wide_area_lookup_new(
-     l->dead = 0;
-     l->key = avahi_key_ref(key);
-     l->cname_key = avahi_key_new_cname(l->key);
-+    l->fd = -EBADF;
-+    l->watch = NULL;
-+    l->proto = AVAHI_PROTO_UNSPEC;
-     l->callback = callback;
-     l->userdata = userdata;
-
-@@ -314,6 +350,12 @@ static void lookup_destroy(AvahiWideAreaLookup *l) {
-     if (l->cname_key)
-         avahi_key_unref(l->cname_key);
-
-+    if (l->watch)
-+            l->engine->server->poll_api->watch_free(l->watch);
-+
-+    if (l->fd >= 0)
-+        close(l->fd);
-+
-     avahi_free(l);
- }
-
-@@ -572,14 +614,20 @@ static void handle_packet(AvahiWideAreaLookupEngine

*e, AvahiDnsPacket *p) {
- }
-
- static void socket_event(AVAHI_GCC_UNUSED AvahiWatch *w, int fd, AVAHI_GCC_UNUSED AvahiWatchEvent events, void *userdata) {

--    AvahiWideAreaLookupEngine *e = userdata;
-+    AvahiWideAreaLookup *l = userdata;
-+    AvahiWideAreaLookupEngine *e = l->engine;
meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -4
-     AvahiDnsPacket *p = NULL;
-
--    if (fd == e->fd_ipv4)
--        p = avahi_recv_dns_packet_ipv4(e->fd_ipv4, NULL, NULL, NULL,

NULL, NULL);

-+    assert(l);
-+    assert(e);
-+    assert(l->fd == fd);

-+
-+ if (l->proto == AVAHI_PROTO_INET)
-+ p = avahi_recv_dns_packet_ipv4(l->fd, NULL, NULL, NULL, NULL,
NULL);
- else {
-- assert(fd == e->fd_ipv6);
-- p = avahi_recv_dns_packet_ipv6(e->fd_ipv6, NULL, NULL, NULL,
NULL, NULL);
-+ assert(l->proto == AVAHI_PROTO_INET6);
-+
-+ p = avahi_recv_dns_packet_ipv6(l->fd, NULL, NULL, NULL, NULL,
NULL);

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -4
-     }
-
-     if (p) {
-@@ -598,32 +646,6 @@ AvahiWideAreaLookupEngine

*avahi_wide_area_engine_new(AvahiServer *s) {

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -11
-     e->server = s;
-     e->cleanup_dead = 0;
-
--    /* Create sockets */
--    e->fd_ipv4 = s->config.use_ipv4 ? avahi_open_unicast_socket_ipv4() :
-1;
--    e->fd_ipv6 = s->config.use_ipv6 ? avahi_open_unicast_socket_ipv6() :
-1;
--
--    if (e->fd_ipv4 < 0 && e->fd_ipv6 < 0) {
--        avahi_log_error(__FILE__": Failed to create wide area sockets:

%s", strerror(errno));
--
-- if (e->fd_ipv6 >= 0)
-- close(e->fd_ipv6);
--
-- if (e->fd_ipv4 >= 0)
-- close(e->fd_ipv4);
--
-- avahi_free(e);
-- return NULL;
-- }
--
-- /* Create watches */
--
-- e->watch_ipv4 = e->watch_ipv6 = NULL;
--
-- if (e->fd_ipv4 >= 0)
-- e->watch_ipv4 = s->poll_api->watch_new(e->server->poll_api,
e->fd_ipv4, AVAHI_WATCH_IN, socket_event, e);
-- if (e->fd_ipv6 >= 0)
-- e->watch_ipv6 = s->poll_api->watch_new(e->server->poll_api,
e->fd_ipv6, AVAHI_WATCH_IN, socket_event, e);
--

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -4
-     e->n_dns_servers = e->current_dns_server = 0;
-
-     /* Initialize cache */
-@@ -651,18 +673,6 @@ void

avahi_wide_area_engine_free(AvahiWideAreaLookupEngine *e) {

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -19
-     avahi_hashmap_free(e->lookups_by_id);
-     avahi_hashmap_free(e->lookups_by_key);
-
--    if (e->watch_ipv4)
--        e->server->poll_api->watch_free(e->watch_ipv4);
--
--    if (e->watch_ipv6)
--        e->server->poll_api->watch_free(e->watch_ipv6);
--
--    if (e->fd_ipv6 >= 0)
--        close(e->fd_ipv6);
--
--    if (e->fd_ipv4 >= 0)
--        close(e->fd_ipv4);
--
-     avahi_free(e);
- }
-
-@@ -680,7 +690,7 @@ void

avahi_wide_area_set_servers(AvahiWideAreaLookupEngine *e, const AvahiAddres

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -3
-
-     if (a) {
-         for (e->n_dns_servers = 0; n > 0 && e->n_dns_servers <

AVAHI_WIDE_AREA_SERVERS_MAX; a++, n--)
-- if ((a->proto == AVAHI_PROTO_INET && e->fd_ipv4 >= 0) ||
(a->proto == AVAHI_PROTO_INET6 && e->fd_ipv6 >= 0))
-+ if (a->proto == AVAHI_PROTO_INET || a->proto ==
AVAHI_PROTO_INET6)

meta/recipes-connectivity/avahi/files/CVE-2024-52615.patch deleted +0 -3
-                 e->dns_servers[e->n_dns_servers++] = *a;
-     } else {
-         assert(n == 0);
meta/recipes-connectivity/avahi/files/CVE-2024-52616.patch deleted +0 -7
deleted file mode 100644
index a156f987280..00000000000
@@ -1,104 +0,0 @@
-From f8710bdc8b29ee1176fe3bfaeabebbda1b7a79f7 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <[email protected]>
-Date: Mon, 11 Nov 2024 00:56:09 +0100
-Subject: [PATCH] Properly randomize query id of DNS packets
-
-CVE: CVE-2024-52616
-Upstream-Status: Backport [

https://github.com/avahi/avahi/commit/f8710bdc8b29ee1176fe3bfaeabebbda1b7a79f7
]

meta/recipes-connectivity/avahi/files/CVE-2024-52616.patch deleted +0 -35
-
-Signed-off-by: Zhang Peng <[email protected]>
----
- avahi-core/wide-area.c | 36 ++++++++++++++++++++++++++++--------
- configure.ac           |  3 ++-
- 2 files changed, 30 insertions(+), 9 deletions(-)
-
-diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c
-index 971f5e714..00a15056e 100644
---- a/avahi-core/wide-area.c
-+++ b/avahi-core/wide-area.c
-@@ -40,6 +40,13 @@
- #include "addr-util.h"
- #include "rr-util.h"
-
-+#ifdef HAVE_SYS_RANDOM_H
-+#include <sys/random.h>
-+#endif
-+#ifndef HAVE_GETRANDOM
-+#  define getrandom(d, len, flags) (-1)
-+#endif
-+
- #define CACHE_ENTRIES_MAX 500
-
- typedef struct AvahiWideAreaCacheEntry AvahiWideAreaCacheEntry;
-@@ -84,8 +91,6 @@ struct AvahiWideAreaLookupEngine {
-     int fd_ipv4, fd_ipv6;
-     AvahiWatch *watch_ipv4, *watch_ipv6;
-
--    uint16_t next_id;
--
-     /* Cache */
-     AVAHI_LLIST_HEAD(AvahiWideAreaCacheEntry, cache);
-     AvahiHashmap *cache_by_key;
-@@ -201,6 +206,26 @@ static void sender_timeout_callback(AvahiTimeEvent

*e, void *userdata) {

meta/recipes-connectivity/avahi/files/CVE-2024-52616.patch deleted +0 -40
-     avahi_time_event_update(e, avahi_elapse_time(&tv, 1000, 0));
- }
-
-+static uint16_t get_random_uint16(void) {
-+    uint16_t next_id;
-+
-+    if (getrandom(&next_id, sizeof(next_id), 0) == -1)
-+        next_id = (uint16_t) rand();
-+    return next_id;
-+}
-+
-+static uint16_t avahi_wide_area_next_id(AvahiWideAreaLookupEngine *e) {
-+    uint16_t next_id;
-+
-+    next_id = get_random_uint16();
-+    while (find_lookup(e, next_id)) {
-+        /* This ID is already used, get new. */
-+        next_id = get_random_uint16();
-+    }
-+    return next_id;
-+}
-+
-+
- AvahiWideAreaLookup *avahi_wide_area_lookup_new(
-     AvahiWideAreaLookupEngine *e,
-     AvahiKey *key,
-@@ -227,11 +252,7 @@ AvahiWideAreaLookup *avahi_wide_area_lookup_new(
-     /* If more than 65K wide area quries are issued simultaneously,
-      * this will break. This should be limited by some higher level */
-
--    for (;; e->next_id++)
--        if (!find_lookup(e, e->next_id))
--            break; /* This ID is not yet used. */
--
--    l->id = e->next_id++;
-+    l->id = avahi_wide_area_next_id(e);
-
-     /* We keep the packet around in case we need to repeat our query */
-     l->packet = avahi_dns_packet_new(0);
-@@ -604,7 +625,6 @@ AvahiWideAreaLookupEngine

*avahi_wide_area_engine_new(AvahiServer *s) {
- e->watch_ipv6 = s->poll_api->watch_new(e->server->poll_api,
e->fd_ipv6, AVAHI_WATCH_IN, socket_event, e);

meta/recipes-connectivity/avahi/files/CVE-2024-52616.patch deleted +0 -15
-
-     e->n_dns_servers = e->current_dns_server = 0;
--    e->next_id = (uint16_t) rand();
-
-     /* Initialize cache */
-     AVAHI_LLIST_HEAD_INIT(AvahiWideAreaCacheEntry, e->cache);
-diff --git a/configure.ac b/configure.ac
-index a3211b80e..31bce3d76 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -367,7 +367,8 @@ AC_FUNC_SELECT_ARGTYPES
- # whether libc's malloc does too. (Same for realloc.)
- #AC_FUNC_MALLOC
- #AC_FUNC_REALLOC
--AC_CHECK_FUNCS([gethostname memchr memmove memset mkdir select socket

strchr strcspn strdup strerror strrchr strspn strstr uname setresuid setreuid setresgid setregid strcasecmp gettimeofday putenv strncasecmp strlcpy gethostbyname seteuid setegid setproctitle getprogname]) -+AC_CHECK_FUNCS([gethostname memchr memmove memset mkdir select socket strchr strcspn strdup strerror strrchr strspn strstr uname setresuid setreuid setresgid setregid strcasecmp gettimeofday putenv strncasecmp strlcpy gethostbyname seteuid setegid setproctitle getprogname getrandom]) -+AC_CHECK_HEADERS([sys/random.h])

meta/recipes-connectivity/avahi/files/CVE-2024-52616.patch deleted +0 -4
-
- AC_FUNC_CHOWN
- AC_FUNC_STAT
-
meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch deleted +0 -10
deleted file mode 100644
index b3e11f9597f..00000000000
@@ -1,68 +0,0 @@
-From d5d18ced67e969d6a5052cacdbd7d4b2c97a1a3f Mon Sep 17 00:00:00 2001
-From: Evgeny Vereshchagin <[email protected]>
-Date: Wed, 17 Dec 2025 08:11:23 +0000
-Subject: [PATCH] core: refuse to create wide-area record browsers when
- wide-area is off
-
-It fixes a bug where it was possible for unprivileged local users to
-crash avahi-daemon (with wide-area disabled) by creating record browsers
-with the AVAHI_LOOKUP_USE_WIDE_AREA flag set via D-Bus (either by calling
-the RecordBrowserNew method directly or by creating

hostname/address/service

meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch deleted +0 -6
-resolvers/browsers that create those browsers internally themselves).
-
-```
-$ gdbus call --system --dest org.freedesktop.Avahi --object-path /
--method org.freedesktop.Avahi.Server.ResolveHostName -- -1 -1 yo.local -1 1
-Error: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient

disconnected from message bus without replying
-```
-```
-dbus-protocol.c: interface=org.freedesktop.Avahi.Server, path=/, member=ResolveHostName
-avahi-daemon: wide-area.c:725: avahi_wide_area_scan_cache: Assertion `e' failed.
-==307948==
-==307948== Process terminating with default action of signal 6 (SIGABRT)
-==307948== at 0x4B3630C: __pthread_kill_implementation
(pthread_kill.c:44)

-==307948==    by 0x4ADF921: raise (raise.c:26)
-==307948==    by 0x4AC74AB: abort (abort.c:77)
-==307948==    by 0x4AC741F: __assert_fail_base.cold (assert.c:118)
-==307948==    by 0x48D8B85: avahi_wide_area_scan_cache (wide-area.c:725)
-==307948==    by 0x48C8953: lookup_scan_cache (browse.c:351)
-==307948==    by 0x48C8B1B: lookup_go (browse.c:386)
-==307948==    by 0x48C9148: defer_callback (browse.c:516)
-==307948==    by 0x48AEA0E: expiration_event (timeeventq.c:94)
-==307948==    by 0x489D3AE: timeout_callback (simple-watch.c:447)
-==307948==    by 0x489D787: avahi_simple_poll_dispatch

(simple-watch.c:563)
-==307948== by 0x489D91E: avahi_simple_poll_iterate (simple-watch.c:605)
-==307948==
-```

meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch deleted +0 -8
-
-wide-area has been disabled by default since
-9c4214146738146e454f098264690e8e884c39bd (v0.9-rc2).
-
-https://github.com/avahi/avahi/security/advisories/GHSA-mhf3-865v-g5rc
-
-CVE: CVE-2025-68276
-Upstream-Status: Backport [

https://github.com/avahi/avahi/pull/806/commits/0c013e2e819be3bda74cecf48b5f64956cf8a760
]

meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch deleted +0 -12
-
-Signed-off-by: Adarsh Jagadish Kamini <[email protected]>
----
- avahi-core/browse.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/avahi-core/browse.c b/avahi-core/browse.c
-index e8a915e..59d53cb 100644
---- a/avahi-core/browse.c
-+++ b/avahi-core/browse.c
-@@ -541,6 +541,11 @@ AvahiSRecordBrowser *avahi_s_record_browser_prepare(
-     AVAHI_CHECK_VALIDITY_RETURN_NULL(server, AVAHI_FLAGS_VALID(flags,

AVAHI_LOOKUP_USE_WIDE_AREA|AVAHI_LOOKUP_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
- AVAHI_CHECK_VALIDITY_RETURN_NULL(server, !(flags &
AVAHI_LOOKUP_USE_WIDE_AREA) || !(flags & AVAHI_LOOKUP_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
-
-+ if ((flags & AVAHI_LOOKUP_USE_WIDE_AREA) &&
!server->wide_area_lookup_engine) {
-+ avahi_server_set_errno(server, AVAHI_ERR_NOT_SUPPORTED);
-+ return NULL;
-+ }
-+

meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch deleted +0 -6
-     if (!(b = avahi_new(AvahiSRecordBrowser, 1))) {
-         avahi_server_set_errno(server, AVAHI_ERR_NO_MEMORY);
-         return NULL;
---
-2.34.1
-
meta/recipes-connectivity/avahi/files/CVE-2025-68468.patch deleted +0 -11
deleted file mode 100644
index 3635cc8d53e..00000000000
@@ -1,32 +0,0 @@
-From 483f83828cfda965fac914ff1b39c63c256372b2 Mon Sep 17 00:00:00 2001
-From: Hugo Muis <[email protected]>
-Date: Sun, 2 Mar 2025 18:06:24 +0100
-Subject: [PATCH] core: fix DoS bug by removing incorrect assertion
-
-Closes https://github.com/avahi/avahi/issues/683
-
-CVE: CVE-2025-68468
-
-Upstream-Status: Backport
-[

https://github.com/avahi/avahi/commit/f66be13d7f31a3ef806d226bf8b67240179d309a
]

meta/recipes-connectivity/avahi/files/CVE-2025-68468.patch deleted +0 -14
-
-Signed-off-by: Amaury Couderc <[email protected]>
----
- avahi-core/browse.c | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/avahi-core/browse.c b/avahi-core/browse.c
-index 86e4432..79595fe 100644
---- a/avahi-core/browse.c
-+++ b/avahi-core/browse.c
-@@ -295,7 +295,6 @@ static void lookup_multicast_callback(
-                 lookup_drop_cname(l, interface, protocol, 0, r);
-             else {
-                 /* It's a normal record, so let's call the user callback

*/
-- assert(avahi_key_equal(b->key, l->key));

meta/recipes-connectivity/avahi/files/CVE-2025-68468.patch deleted +0 -2
-
-                 b->callback(b, interface, protocol, event, r, flags,

b->userdata);

meta/recipes-connectivity/avahi/files/CVE-2025-68468.patch deleted +0 -4
-             }
---
-2.43.0
-
meta/recipes-connectivity/avahi/files/CVE-2025-68471.patch deleted +0 -11
deleted file mode 100644
index 210565cdd61..00000000000
@@ -1,36 +0,0 @@
-From 4e84c1d6eb2f54d1643bd7ce62817c722ca36d25 Mon Sep 17 00:00:00 2001
-From: Hugo Muis <[email protected]>
-Date: Sun, 2 Mar 2025 18:06:24 +0100
-Subject: [PATCH] core: fix DoS bug by changing assert to return
-
-Closes https://github.com/avahi/avahi/issues/678
-
-CVE: CVE-2025-68471
-
-Upstream-Status: Backport
-[

https://github.com/avahi/avahi/commit/9c6eb53bf2e290aed84b1f207e3ce35c54cc0aa1
]

meta/recipes-connectivity/avahi/files/CVE-2025-68471.patch deleted +0 -14
-
-Signed-off-by: Amaury Couderc <[email protected]>
----
- avahi-core/browse.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/avahi-core/browse.c b/avahi-core/browse.c
-index 2941e57..86e4432 100644
---- a/avahi-core/browse.c
-+++ b/avahi-core/browse.c
-@@ -320,7 +320,10 @@ static int lookup_start(AvahiSRBLookup *l) {
-     assert(l);
-
-     assert(!(l->flags & AVAHI_LOOKUP_USE_WIDE_AREA) != !(l->flags &

AVAHI_LOOKUP_USE_MULTICAST));
-- assert(!l->wide_area && !l->multicast);
-+ if (l->wide_area || l->multicast) {
-+ /* Avoid starting a duplicate lookup */
-+ return 0;
-+ }

meta/recipes-connectivity/avahi/files/CVE-2025-68471.patch deleted +0 -6
-
-     if (l->flags & AVAHI_LOOKUP_USE_WIDE_AREA) {
-
---
-2.43.0
-
meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch deleted +0 -10
deleted file mode 100644
index 1a442966fc9..00000000000
@@ -1,74 +0,0 @@
-From 5eea2640324928c15936b7a2bcbf8ea0de7b08f7 Mon Sep 17 00:00:00 2001
-From: Hugo Muis <[email protected]>
-Date: Sun, 2 Mar 2025 18:06:24 +0100
-Subject: [PATCH] core: fix uncontrolled recursion bug using a simple loop
- detection algorithm
-
-Closes https://github.com/avahi/avahi/issues/501
-
-CVE: CVE-2026-24401
-Upstream-Status: Backport [

https://github.com/avahi/avahi/commit/78eab31128479f06e30beb8c1cbf99dd921e2524
]

meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch deleted +0 -15
-(cherry picked from commit 78eab31128479f06e30beb8c1cbf99dd921e2524)
-Signed-off-by: Ankur Tyagi <[email protected]>
----
- avahi-core/browse.c | 40 ++++++++++++++++++++++++++++++++++++++++
- 1 file changed, 40 insertions(+)
-
-diff --git a/avahi-core/browse.c b/avahi-core/browse.c
-index f461083..975b3e9 100644
---- a/avahi-core/browse.c
-+++ b/avahi-core/browse.c
-@@ -401,6 +401,40 @@ static int lookup_go(AvahiSRBLookup *l) {
-     return n;
- }
-
-+static int lookup_exists_in_path(AvahiSRBLookup* lookup, AvahiSRBLookup*

from, AvahiSRBLookup* to) {
-+ AvahiRList* rl;
-+ if (from == to)
-+ return 0;
-+ for (rl = from->cname_lookups; rl; rl = rl->rlist_next) {
-+ int r = lookup_exists_in_path(lookup, rl->data, to);
-+ if (r == 1) {
-+ /* loop detected, propagate result */
-+ return r;
-+ } else if (r == 0) {
-+ /* is loop detected? */
-+ return lookup == from;
-+ } else {
-+ /* to not found, continue */
-+ continue;
-+ }

-+    }
-+    /* no path found */
-+    return -1;

-+}
-+
-+static int cname_would_create_loop(AvahiSRBLookup* l, AvahiSRBLookup* n) {
-+ int ret;
-+ if (l == n)
-+ /* Loop to self */
-+ return 1;
-+
-+ ret = lookup_exists_in_path(n, l->record_browser->root_lookup, l);
-+

-+    /* Path to n always exists */
-+    assert(ret != -1);
-+    return ret;

-+}
-+
- static void lookup_handle_cname(AvahiSRBLookup *l, AvahiIfIndex interface, AvahiProtocol protocol, AvahiLookupFlags flags, AvahiRecord *r) {

meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch deleted +0 -3
-     AvahiKey *k;
-     AvahiSRBLookup *n;
-@@ -420,6 +454,12 @@ static void lookup_handle_cname(AvahiSRBLookup *l,

AvahiIfIndex interface, Avahi

meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch deleted +0 -10
-         return;
-     }
-
-+    if (cname_would_create_loop(l, n)) {
-+        /* CNAME loops are not allowed */
-+        lookup_unref(n);
-+        return;
-+    }
-+
-     l->cname_lookups = avahi_rlist_prepend(l->cname_lookups,

lookup_ref(n));

meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch deleted +0 -2
-
-     lookup_go(n);
meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -4
deleted file mode 100644
index 208345a3258..00000000000
@@ -1,108 +0,0 @@
-From 0be89b6bb5c3983837b5e0febcbbbf452ecf7675 Mon Sep 17 00:00:00 2001
-From: Evgeny Vereshchagin <[email protected]>
-Date: Wed, 1 Apr 2026 05:31:58 +0000
-Subject: [PATCH] core: refuse to accept publish flags where both

wide_area and
- multicast are set

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -8
-
-It fixes a bug where it was possible for unprivileged local users to
-crash avahi-daemon via D-Bus by calling EntryGroup methods accepting
-flags and passing both AVAHI_PUBLISH_USE_WIDE_AREA and
-AVAHI_PUBLISH_USE_MULTICAST there. For example when AddRecord was
-invoked like that avahi-daemon crashed with
-```
-dbus-entry-group.c: interface=org.freedesktop.Avahi.EntryGroup,

path=/Client0/EntryGroup1, member=AddRecord
-avahi-daemon: entry.c:57: transport_flags_from_domain: Assertion `!((*flags & AVAHI_PUBLISH_USE_MULTICAST) && (*flags & AVAHI_PUBLISH_USE_WIDE_AREA))' failed.
-==84944==
-==84944== Process terminating with default action of signal 6 (SIGABRT)
-==84944== at 0x4B353BC: __pthread_kill_implementation
(pthread_kill.c:44)

-==84944==    by 0x4ADE941: raise (raise.c:26)
-==84944==    by 0x4AC64AB: abort (abort.c:77)
-==84944==    by 0x4AC641F: __assert_fail_base.cold (assert.c:118)
-==84944==    by 0x48A9404: transport_flags_from_domain (entry.c:57)
-==84944==    by 0x48A9F8F: server_add_internal (entry.c:224)
-==84944==    by 0x48AA49F: avahi_server_add (entry.c:324)
-==84944==    by 0x401A670: avahi_dbus_msg_entry_group_impl

(dbus-entry-group.c:348)
-==84944== by 0x4A70741: ??? (in
/usr/lib/x86_64-linux-gnu/libdbus-1.so.3.38.3)
-==84944== by 0x4A5FB22: dbus_connection_dispatch (in
/usr/lib/x86_64-linux-gnu/libdbus-1.so.3.38.3)
-==84944== by 0x401D01D: dispatch_timeout_callback
(dbus-watch-glue.c:105)
-==84944== by 0x488E3AE: timeout_callback (simple-watch.c:447)
-==84944==
-```

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -6
-It's a follow-up to fbce111b069aa1e4c701ed37ee1d9f6d6cefaac5 where
-those flags were introduced and consistent with the other places
-where wide_area/multicast flags are used.
-
-It was discovered by
-Guillaume Meunier - Head of Vulnerability Operations Center France -

Orange Cyberdefense

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -6
-
-https://github.com/avahi/avahi/security/advisories/GHSA-w65r-6gxh-vhvc
-
-CVE-2026-34933
-
-Upstream-Status: Backport [

https://github.com/avahi/avahi/commit/0be89b6bb5c3983837b5e0febcbbbf452ecf7675
]

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -14
-CVE: CVE-2026-34933
-Signed-off-by: Vijay Anusuri <[email protected]>
----
- avahi-core/entry.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/avahi-core/entry.c b/avahi-core/entry.c
-index 0d862133d..06eb12076 100644
---- a/avahi-core/entry.c
-+++ b/avahi-core/entry.c
-@@ -207,6 +207,7 @@ static AvahiEntry * server_add_internal(
-                                          AVAHI_PUBLISH_UPDATE|
-                                          AVAHI_PUBLISH_USE_WIDE_AREA|
-                                          AVAHI_PUBLISH_USE_MULTICAST),

AVAHI_ERR_INVALID_FLAGS);
-+ AVAHI_CHECK_VALIDITY_RETURN_NULL(s, !(flags &
AVAHI_PUBLISH_USE_WIDE_AREA) || !(flags & AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
- AVAHI_CHECK_VALIDITY_RETURN_NULL(s,
avahi_is_valid_domain_name(r->key->name), AVAHI_ERR_INVALID_HOST_NAME);
- AVAHI_CHECK_VALIDITY_RETURN_NULL(s, r->ttl != 0,
AVAHI_ERR_INVALID_TTL);
- AVAHI_CHECK_VALIDITY_RETURN_NULL(s, !avahi_key_is_pattern(r->key),
AVAHI_ERR_IS_PATTERN);
-@@ -454,6 +455,7 @@ int avahi_server_add_address(

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -4
-                                               AVAHI_PUBLISH_UPDATE|
-
 AVAHI_PUBLISH_USE_WIDE_AREA|
-
 AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
-+    AVAHI_CHECK_VALIDITY(s, !(flags & AVAHI_PUBLISH_USE_WIDE_AREA) ||

!(flags & AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
- AVAHI_CHECK_VALIDITY(s, !name || avahi_is_valid_fqdn(name),
AVAHI_ERR_INVALID_HOST_NAME);

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -7
-
-     /* Prepare the host naem */
-@@ -595,6 +597,7 @@ static int server_add_service_strlst_nocopy(
-
 AVAHI_PUBLISH_UPDATE|
-
 AVAHI_PUBLISH_USE_WIDE_AREA|
-
 AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
-+    AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s, !(flags &

AVAHI_PUBLISH_USE_WIDE_AREA) || !(flags & AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s,
avahi_is_valid_service_name(name), AVAHI_ERR_INVALID_SERVICE_NAME);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s,
avahi_is_valid_service_type_strict(type), AVAHI_ERR_INVALID_SERVICE_TYPE);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s, !domain ||
avahi_is_valid_domain_name(domain), AVAHI_ERR_INVALID_DOMAIN_NAME); -@@ -754,6 +757,7 @@ static int server_update_service_txt_strlst_nocopy(

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -4
-
 AVAHI_PUBLISH_NO_COOKIE|
-
 AVAHI_PUBLISH_USE_WIDE_AREA|
-
 AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
-+    AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s, !(flags &

AVAHI_PUBLISH_USE_WIDE_AREA) || !(flags & AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s,
avahi_is_valid_service_name(name), AVAHI_ERR_INVALID_SERVICE_NAME);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s,
avahi_is_valid_service_type_strict(type), AVAHI_ERR_INVALID_SERVICE_TYPE);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s, !domain ||
avahi_is_valid_domain_name(domain), AVAHI_ERR_INVALID_DOMAIN_NAME); -@@ -843,6 +847,7 @@ int avahi_server_add_service_subtype(
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s, AVAHI_IF_VALID(interface),
AVAHI_ERR_INVALID_INTERFACE);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s,
AVAHI_PROTO_VALID(protocol), AVAHI_ERR_INVALID_PROTOCOL);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s, AVAHI_FLAGS_VALID(flags,
AVAHI_PUBLISH_USE_MULTICAST|AVAHI_PUBLISH_USE_WIDE_AREA), AVAHI_ERR_INVALID_FLAGS);
-+ AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s, !(flags &
AVAHI_PUBLISH_USE_WIDE_AREA) || !(flags & AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s,
avahi_is_valid_service_name(name), AVAHI_ERR_INVALID_SERVICE_NAME);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s,
avahi_is_valid_service_type_strict(type), AVAHI_ERR_INVALID_SERVICE_TYPE);
- AVAHI_CHECK_VALIDITY_SET_RET_GOTO_FAIL(s, !domain ||
avahi_is_valid_domain_name(domain), AVAHI_ERR_INVALID_DOMAIN_NAME); -@@ -910,6 +915,7 @@ static AvahiEntry *server_add_dns_server_name(

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -3
-     assert(name);
-
-     AVAHI_CHECK_VALIDITY_RETURN_NULL(s, AVAHI_FLAGS_VALID(flags,

AVAHI_PUBLISH_USE_WIDE_AREA|AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
-+ AVAHI_CHECK_VALIDITY_RETURN_NULL(s, !(flags &
AVAHI_PUBLISH_USE_WIDE_AREA) || !(flags & AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
- AVAHI_CHECK_VALIDITY_RETURN_NULL(s, type == AVAHI_DNS_SERVER_UPDATE

|| type == AVAHI_DNS_SERVER_RESOLVE, AVAHI_ERR_INVALID_FLAGS);
-     AVAHI_CHECK_VALIDITY_RETURN_NULL(s, port != 0,

AVAHI_ERR_INVALID_PORT);
- AVAHI_CHECK_VALIDITY_RETURN_NULL(s, avahi_is_valid_fqdn(name),
AVAHI_ERR_INVALID_HOST_NAME);
-@@ -967,6 +973,7 @@ int avahi_server_add_dns_server_address(
- AVAHI_CHECK_VALIDITY(s, AVAHI_IF_VALID(interface),
AVAHI_ERR_INVALID_INTERFACE);
- AVAHI_CHECK_VALIDITY(s, AVAHI_PROTO_VALID(protocol) &&
AVAHI_PROTO_VALID(address->proto), AVAHI_ERR_INVALID_PROTOCOL);
- AVAHI_CHECK_VALIDITY(s, AVAHI_FLAGS_VALID(flags,
AVAHI_PUBLISH_USE_MULTICAST|AVAHI_PUBLISH_USE_WIDE_AREA), AVAHI_ERR_INVALID_FLAGS);
-+ AVAHI_CHECK_VALIDITY(s, !(flags & AVAHI_PUBLISH_USE_WIDE_AREA) ||
!(flags & AVAHI_PUBLISH_USE_MULTICAST), AVAHI_ERR_INVALID_FLAGS);
- AVAHI_CHECK_VALIDITY(s, type == AVAHI_DNS_SERVER_UPDATE || type ==
AVAHI_DNS_SERVER_RESOLVE, AVAHI_ERR_INVALID_FLAGS);

meta/recipes-connectivity/avahi/files/CVE-2026-34933-1.patch deleted +0 -2
-     AVAHI_CHECK_VALIDITY(s, port != 0, AVAHI_ERR_INVALID_PORT);
-     AVAHI_CHECK_VALIDITY(s, !domain ||

avahi_is_valid_domain_name(domain), AVAHI_ERR_INVALID_DOMAIN_NAME);

meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch deleted +0 -6
deleted file mode 100644
index 479d0d7e932..00000000000
@@ -1,96 +0,0 @@
-From a93fdd980d2db5d453475c0aa2b39946bd6611bd Mon Sep 17 00:00:00 2001
-From: Evgeny Vereshchagin <[email protected]>
-Date: Wed, 1 Apr 2026 05:30:58 +0000
-Subject: [PATCH] tests: make sure AVAHI_PUBLISH_USE_WIDE_AREA is refused
-
-Upstream-Status: Backport [

https://github.com/avahi/avahi/commit/a93fdd980d2db5d453475c0aa2b39946bd6611bd
]

meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch deleted +0 -12
-CVE: CVE-2026-34933
-Signed-off-by: Vijay Anusuri <[email protected]>
----
- avahi-client/client-test.c | 25 +++++++++++++++++++++++++
- avahi-core/avahi-test.c    | 12 +++++++++++-
- 2 files changed, 36 insertions(+), 1 deletion(-)
-
-diff --git a/avahi-client/client-test.c b/avahi-client/client-test.c
-index 9a015d7..c80e12f 100644
---- a/avahi-client/client-test.c
-+++ b/avahi-client/client-test.c
-@@ -212,6 +212,28 @@ static void terminate(AVAHI_GCC_UNUSED AvahiTimeout

*timeout, AVAHI_GCC_UNUSED v

meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch deleted +0 -4
-     avahi_simple_poll_quit(simple_poll);
- }
-
-+static void test_refuse_publish_flags(AvahiEntryGroup *g,

AvahiPublishFlags flags, int expected) {

-+    AvahiAddress a;
-+    AvahiStringList *l = NULL;
-+    int r;

-+
-+ r = avahi_entry_group_add_record(g, AVAHI_IF_UNSPEC,
AVAHI_PROTO_UNSPEC, flags, "test.local", AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_CNAME, 120, "\0", 1);
-+ assert(r == expected);
-+
-+ avahi_address_parse("224.0.0.251", AVAHI_PROTO_UNSPEC, &a);
-+ r = avahi_entry_group_add_address(g, AVAHI_IF_UNSPEC,
AVAHI_PROTO_UNSPEC, flags, "test.local", &a);
-+ assert(r == expected);
-+
-+ r = avahi_entry_group_add_service_strlst(g, AVAHI_IF_UNSPEC,
AVAHI_PROTO_UNSPEC, flags, "test", "_http._tcp", NULL, NULL, 80, l);
-+ assert(r == expected);
-+
-+ r = avahi_entry_group_update_service_txt_strlst(g, AVAHI_IF_UNSPEC,
AVAHI_PROTO_UNSPEC, flags, "test", "_http._tcp", NULL, l);
-+ assert(r == expected);
-+
-+ r = avahi_entry_group_add_service_subtype(g, AVAHI_IF_UNSPEC,
AVAHI_PROTO_UNSPEC, flags, "test", "_http._tcp", NULL, "_magic._sub._http._tcp");
-+ assert(r == expected);
-+}
-+
- int main (AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char *argv[]) {

meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch deleted +0 -3
-     AvahiClient *avahi;
-     AvahiEntryGroup *group, *group2;
-@@ -275,6 +297,9 @@ int main (AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED

char *argv[]) {
- error = avahi_entry_group_add_record (group, AVAHI_IF_UNSPEC,
AVAHI_PROTO_UNSPEC, 0, "TestX", 0x01, 0x10, 120, "", 0);

meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch deleted +0 -3
-     assert(error != AVAHI_OK);
-
-+    test_refuse_publish_flags(group, AVAHI_PUBLISH_USE_WIDE_AREA,

AVAHI_ERR_NOT_SUPPORTED);
-+ test_refuse_publish_flags(group,
AVAHI_PUBLISH_USE_WIDE_AREA|AVAHI_PUBLISH_USE_MULTICAST, AVAHI_ERR_INVALID_FLAGS);
-+

meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch deleted +0 -3
-     avahi_entry_group_commit (group);
-
-     domain = avahi_domain_browser_new (avahi, AVAHI_IF_UNSPEC,

AVAHI_PROTO_UNSPEC, NULL, AVAHI_DOMAIN_BROWSER_BROWSE, 0, avahi_domain_browser_callback, (char*) "omghai3u");

meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch deleted +0 -25
-diff --git a/avahi-core/avahi-test.c b/avahi-core/avahi-test.c
-index 2a7872b..2bae82b 100644
---- a/avahi-core/avahi-test.c
-+++ b/avahi-core/avahi-test.c
-@@ -30,6 +30,7 @@
- #include <netinet/in.h>
- #include <arpa/inet.h>
-
-+#include <avahi-common/error.h>
- #include <avahi-common/malloc.h>
- #include <avahi-common/simple-watch.h>
- #include <avahi-common/alternative.h>
-@@ -150,6 +151,7 @@ static void remove_entries(void) {
- static void create_entries(int new_name) {
-     AvahiAddress a;
-     AvahiRecord *r;
-+    int error;
-
-     remove_entries();
-
-@@ -181,7 +183,15 @@ static void create_entries(int new_name) {
-         goto fail;
-     }
-
--    if (avahi_server_add_dns_server_address(server, group,

AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, NULL, AVAHI_DNS_SERVER_RESOLVE, avahi_address_parse("192.168.50.1", AVAHI_PROTO_UNSPEC, &a), 53) < 0) {
-+ avahi_address_parse("192.168.50.1", AVAHI_PROTO_UNSPEC, &a);
-+
-+ error = avahi_server_add_dns_server_address(server, group,
AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, AVAHI_PUBLISH_USE_WIDE_AREA, NULL, AVAHI_DNS_SERVER_RESOLVE, &a, 53);
-+ assert(error == AVAHI_ERR_NOT_SUPPORTED);
-+
-+ error = avahi_server_add_dns_server_address(server, group,
AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, AVAHI_PUBLISH_USE_WIDE_AREA|AVAHI_PUBLISH_USE_MULTICAST, NULL, AVAHI_DNS_SERVER_RESOLVE, &a, 53);
-+ assert(error == AVAHI_ERR_INVALID_FLAGS);
-+
-+ if (avahi_server_add_dns_server_address(server, group,
AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0, NULL, AVAHI_DNS_SERVER_RESOLVE, &a,
53) < 0) {

meta/recipes-connectivity/avahi/files/CVE-2026-34933-2.patch deleted +0 -6
-         avahi_log_error("Failed to add new DNS Server address");
-         goto fail;
-     }
---
-2.43.0
-
meta/recipes-connectivity/avahi/files/avahi-daemon.in new file +17 -0
new file mode 100644
index 00000000000..49ec3586896
@@ -0,0 +1,198 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          avahi
+# Required-Start:    $remote_fs dbus
+# Required-Stop:     $remote_fs dbus
+# Should-Start:             $syslog
+# Should-Stop:       $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Avahi mDNS/DNS-SD Daemon
+# Description:       Zeroconf daemon for configuring your network
+#                    automatically
+### END INIT INFO
+#
+# This file is part of avahi.
+#
+# avahi is free software; you can redistribute
#2 lore raw
Quoted 2 lines · Khem Raj

How confident are we with the release happening on time before we release in next 5 months time

There’s a lot of distros leaning on this to happen but indeed it’s a long time coming…

Ross

#3 lore raw
Quoted 3 lines · Ross Burton via lists.openembedded.org
Quoted 1 line

How confident are we with the release happening on time before we release in next 5 months time

There’s a lot of distros leaning on this to happen but indeed it’s a long time coming…

*rant*

I wish upstream developers, and I don't just mean avahi, would remember that 'rc' stands for 'release candidate'. And 'release candidate' means a candidate for release, a source snapshot that is deemed ready, and becomes the actual release, unless any embarrassing last minute issues are reported in a limited timeframe (e.g. days).

What is avahi's track record with those 'rc' tags?

https://github.com/avahi/avahi/tags

*end rant*

That said, we probably should just take it, as long as PV of the actual 0.9 would sort higher than this rc.

Alex

#4 lore raw
Quoted 15 lines · Alexander Kanavin
Quoted 3 lines · Ross Burton via lists.openembedded.org
Quoted 1 line

How confident are we with the release happening on time before we release in next 5 months time

There’s a lot of distros leaning on this to happen but indeed it’s a long time coming…

*rant*

I wish upstream developers, and I don't just mean avahi, would remember that 'rc' stands for 'release candidate'. And 'release candidate' means a candidate for release, a source snapshot that is deemed ready, and becomes the actual release, unless any embarrassing last minute issues are reported in a limited timeframe (e.g. days).

Quoted 8 lines

What is avahi's track record with those 'rc' tags?

https://github.com/avahi/avahi/tags

*end rant*

That said, we probably should just take it, as long as PV of the actual 0.9 would sort higher than this rc.

Agreed, see https://github.com/avahi/avahi/issues/503.

I explicitly set the PV to "0.9~rc4” so that it sorts *before* 0.9.

Ross

#5 lore raw

Hi Ross,

Do we know if other distributions are already shipping 0.9-rc4? If they are, then we are likely in a safer position.

Thanks,
Khem

Quoted 32 lines · Ross Burton
Quoted 4 lines · Alexander Kanavin
Quoted 1 line · Ross Burton via lists.openembedded.org
Quoted 1 line

How confident are we with the release happening on time before we

release in next 5 months time

Quoted 2 lines
Quoted 2 lines

There’s a lot of distros leaning on this to happen but indeed it’s a

long time coming…

Quoted 9 lines

*rant*

I wish upstream developers, and I don't just mean avahi, would remember that 'rc' stands for 'release candidate'. And 'release candidate' means a candidate for release, a source snapshot that is deemed ready, and becomes the actual release, unless any embarrassing last minute issues are reported in a limited timeframe (e.g. days).

Quoted 8 lines

What is avahi's track record with those 'rc' tags?

https://github.com/avahi/avahi/tags

*end rant*

That said, we probably should just take it, as long as PV of the actual 0.9 would sort higher than this rc.

Agreed, see https://github.com/avahi/avahi/issues/503.

I explicitly set the PV to "0.9~rc4” so that it sorts *before* 0.9.

Ross

#6 lore raw
Quoted 4 lines · Khem Raj

Hi Ross,

Do we know if other distributions are already shipping 0.9-rc4? If they are, then we are likely in a safer position.

Gentoo has -rc3, Arch has -rc4, so we wouldn’t be alone. And I really hope that they release a proper 0.9 before we ship our next release!

Ross

#7 lore raw

all good.

Quoted 11 lines · Ross Burton
Quoted 4 lines · Khem Raj

Hi Ross,

Do we know if other distributions are already shipping 0.9-rc4? If they

are, then we are likely in a safer position.

Gentoo has -rc3, Arch has -rc4, so we wouldn’t be alone. And I really hope that they release a proper 0.9 before we ship our next release!

Ross