From 3611e5dc4e62ecf45f824c0db850a92ac9aa932b Mon Sep 17 00:00:00 2001 From: Andy Chiang Date: Tue, 13 Oct 2026 01:13:34 +0700 Subject: [PATCH] libnatpmp: skip version check This fixes: ``` natpmpc: [skip] Version check override natpmpc: No executables in the package provided version 20230423 natpmpc: Generic tests failed ``` Ref: https://github.com/openwrt/packages/actions/runs/37582454054/job/112685069909?pr=30718 Signed-off-by: Andy Chiang --- libs/libnatpmp/test-version.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/libnatpmp/test-version.sh diff --git a/libs/libnatpmp/test-version.sh b/libs/libnatpmp/test-version.sh new file mode 100644 index 0000000000..e815d63085 --- /dev/null +++ b/libs/libnatpmp/test-version.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +case "$1" in +libnatpmp1|natpmpc) + exit 0 + ;; +*) + echo "test-version.sh: unhandled sub-package '$1'" >&2 + exit 1 + ;; +esac