diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2025-11-12 21:44:01 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-12 09:39:00 -0800 |
| commit | a07d522d70edd9b2ba455403417491b5f4a5bf9b (patch) | |
| tree | 4ef8b1dab73f7cb66d31ea2849689c1c8340261a | |
| parent | a582f6250f17aa14199fad29e380ab80403adfa1 (diff) | |
| download | meta-openembedded-a07d522d70edd9b2ba455403417491b5f4a5bf9b.tar.gz | |
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 <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/php/php_8.4.14.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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 = " \ | |||
| 27 | file://php-fpm.service \ | 27 | file://php-fpm.service \ |
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | UPSTREAM_CHECK_URI = "https://github.com/php/php-src/releases" | ||
| 31 | UPSTREAM_CHECK_REGEX = "releases/tag/php-(?P<pver>\d+(\.\d+)+)" | ||
| 32 | |||
| 30 | S = "${UNPACKDIR}/php-${PV}" | 33 | S = "${UNPACKDIR}/php-${PV}" |
| 31 | 34 | ||
| 32 | SRC_URI[sha256sum] = "f2139ce4cb7a6c5643ee98caa34e5c32ba841c2ba293e34a3d0357faa84bb3e7" | 35 | SRC_URI[sha256sum] = "f2139ce4cb7a6c5643ee98caa34e5c32ba841c2ba293e34a3d0357faa84bb3e7" |
