ipset: add UPSTREAM_CHECK_URI

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct
latest stable verison.

Before the patch:
$ devtool latest-version ipset
INFO: Current version: 7.24
INFO: Latest version:

After the patch:
$ devtool latest-version ipset
INFO: Current version: 7.24
INFO: Latest version: 7.24

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2025-11-09 21:40:28 +08:00 committed by Khem Raj
parent 25d14588ca
commit 5f756ae780
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -13,6 +13,9 @@ SRC_URI = "https://ipset.netfilter.org/${BP}.tar.bz2 \
file://0001-ipset-Define-portable-basename-function.patch"
SRC_URI[sha256sum] = "fbe3424dff222c1cb5e5c34d38b64524b2217ce80226c14fdcbb13b29ea36112"
UPSTREAM_CHECK_URI = "https://ipset.netfilter.org/install.html"
UPSTREAM_CHECK_REGEX = "ipset-(?P<pver>\d+(\.\d+)+).tar"
inherit autotools pkgconfig module-base
EXTRA_OECONF += "-with-kbuild=${KBUILD_OUTPUT} --with-ksource=${STAGING_KERNEL_DIR}"