From a07d522d70edd9b2ba455403417491b5f4a5bf9b Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Wed, 12 Nov 2025 21:44:01 +0800 Subject: [PATCH] php: 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 php INFO: Current version: 8.4.14 INFO: Latest version: After the patch: $ devtool latest-version php INFO: Current version: 8.4.14 INFO: Latest version: 8.4.14 Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/php/php_8.4.14.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-devtools/php/php_8.4.14.bb b/meta-oe/recipes-devtools/php/php_8.4.14.bb index 483ba19ddd..ecec5ae04d 100644 --- a/meta-oe/recipes-devtools/php/php_8.4.14.bb +++ b/meta-oe/recipes-devtools/php/php_8.4.14.bb @@ -27,6 +27,9 @@ SRC_URI:append:class-target = " \ file://php-fpm.service \ " +UPSTREAM_CHECK_URI = "https://github.com/php/php-src/releases" +UPSTREAM_CHECK_REGEX = "releases/tag/php-(?P\d+(\.\d+)+)" + S = "${UNPACKDIR}/php-${PV}" SRC_URI[sha256sum] = "f2139ce4cb7a6c5643ee98caa34e5c32ba841c2ba293e34a3d0357faa84bb3e7"