Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison.
Before the patch: $ devtool latest-version postfix INFO: Current version: 3.10.5 INFO: Latest version: After the patch: $ devtool latest-version postfix INFO: Current version: 3.10.5 INFO: Latest version: 3.10.5 Signed-off-by: Yi Zhao <[email protected]> --- meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb b/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb index edcdc1a8ca..8b3becda9f 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.10.5.bb @@ -30,7 +30,8 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P SRC_URI[sha256sum] = "6a926bf702173861b08e49bcb51fca3a2f269f9a337f72ef159bf46052087e35" -UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.10(\.\d+)+).tar.gz" +UPSTREAM_CHECK_URI = "https://www.postfix.org/announcements.html" +UPSTREAM_CHECK_REGEX = "postfix-(?P<pver>\d+(\.\d+)+)" S = "${UNPACKDIR}/postfix-${PV}" -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#121410): https://lists.openembedded.org/g/openembedded-devel/message/121410 Mute This Topic: https://lists.openembedded.org/mt/116202071/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
