openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.01k stars 3.49k forks source link

avahi-common: update avahi to resolve issue with 'invalid service type' #23959

Open ncul777 opened 6 months ago

ncul777 commented 6 months ago

Maintainer: @neheb @thess Environment:

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='22.03.4'
DISTRIB_REVISION='r20123-38ccc47687'
DISTRIB_TARGET='ath79/nand'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='OpenWrt 22.03.4 r20123-38ccc47687'
DISTRIB_TAINTS='busybox'

Packages were provided via gli-net

root@GL-XE300:~# opkg install avahi-utils
Installing avahi-utils (0.8-7) to root...
Downloading https://fw.gl-inet.com/releases/v22.03.4/packages-4.2/ath79/packages/avahi-utils_0.8-7_mips_24kc.ipk

But I've now added https://downloads.openwrt.org/releases/22.03.4/packages/mips_24kc/packages/Packages.gz into the distfeeds which gets 0.8-8 (and has same issue)

Description:

There is a bug in avahi if it detects an invalid service then it (avahi-browse -a -r) just stops running with error:

avahi_service_browser_new() failed: Invalid service type

Issue: https://github.com/avahi/avahi/issues/212 PR: https://github.com/avahi/avahi/pull/523

It would be greatly appreciated if at least the fix above could be backported into Openwrt package. The main change is in avahi-common, but avahi-core is also changed.

Note there is a tag 0.9-rc1 Jan 30 2024, which includes other fixes. https://github.com/avahi/avahi/commits/v0.9-rc1/

Thanks

ncul777 commented 4 months ago

@BKPepe, long shot, but is this something you could help with? If not, no worries. Thanks