From: Alexandru Ardelean Date: Sat, 30 May 2026 18:12:17 +0000 (+0300) Subject: mdnsresponder: add version check override X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=7a319329a60527c547adc51b50c49d6920427689;p=openwrt-packages.git mdnsresponder: add version check override None of the shipped binaries (mdnsd, dns-sd, mDNSClient/Net/Proxy*, mDNSResponder) print the package version, so the generic probe always fails. Add a test-version.sh exiting 0 for the three subpackages. Signed-off-by: Alexandru Ardelean --- diff --git a/net/mdnsresponder/test-version.sh b/net/mdnsresponder/test-version.sh new file mode 100755 index 000000000..9ea88b07d --- /dev/null +++ b/net/mdnsresponder/test-version.sh @@ -0,0 +1,21 @@ +#!/bin/sh + +# shellcheck shell=busybox + +case "$PKG_NAME" in +mdnsresponder) + # Meta package, no executables + exit 0 + ;; + +mdnsd|mdns-utils) + # None of the shipped binaries print the package version on --help; + # upstream just dumps usage. Skip the generic version probe. + exit 0 + ;; + +*) + echo "Untested package: $PKG_NAME" >&2 + exit 1 + ;; +esac