bonnie++: 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 bonnie++
INFO: Current version: 2.00a
INFO: Latest version: 1.04

After the patch:
$ devtool latest-version bonnie++
INFO: Current version: 2.00a
INFO: Latest version: 2.00a

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-12 21:43:49 +08:00 committed by Khem Raj
parent b141991577
commit 82371d6b24
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -12,6 +12,9 @@ SRC_URI = "\
" "
SRC_URI[sha256sum] = "a8d33bbd81bc7eb559ce5bf6e584b9b53faea39ccfb4ae92e58f27257e468f0e" SRC_URI[sha256sum] = "a8d33bbd81bc7eb559ce5bf6e584b9b53faea39ccfb4ae92e58f27257e468f0e"
UPSTREAM_CHECK_URI = "https://doc.coker.com.au/projects/bonnie/"
UPSTREAM_CHECK_REGEX = "bonnie\+\+-(?P<pver>\d+(\.\d+)+[a-z]?).tgz"
# force lfs to skip configure's check, because we are cross-building # force lfs to skip configure's check, because we are cross-building
PACKAGECONFIG ?= "lfs" PACKAGECONFIG ?= "lfs"
PACKAGECONFIG[lfs] = "--enable-lfs,--disable-lfs" PACKAGECONFIG[lfs] = "--enable-lfs,--disable-lfs"