From: Josef Schlehofer Date: Tue, 30 Jun 2026 13:32:58 +0000 (+0200) Subject: giflib: add version check override X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=093c05cdc13b3ff6c3e0fe5b5c5e6cfcc1151b21;p=openwrt-packages.git giflib: add version check override The giflib-utils executables (gif2rgb, gifbuild, gifclrmp, giffix, giftext, giftool) do not report the package version when run, which causes the generic version probe to fail. Add a test-version.sh to skip the version check for the giflib and giflib-utils packages. Signed-off-by: Josef Schlehofer --- diff --git a/libs/giflib/test-version.sh b/libs/giflib/test-version.sh new file mode 100755 index 000000000..0b3c938ab --- /dev/null +++ b/libs/giflib/test-version.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +# shellcheck shell=busybox + +# None of the giflib-utils executables print the package version. +# Skip the generic version probe. + +case "$PKG_NAME" in +giflib|giflib-utils) + exit 0 + ;; + +*) + echo "Untested package: $PKG_NAME" >&2 + exit 1 + ;; +esac