]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gnupg: follow odd-even scheme in upstream version checks
authorAlexander Kanavin <alex@linutronix.de>
Tue, 11 Mar 2025 10:04:59 +0000 (11:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Mar 2025 21:29:34 +0000 (21:29 +0000)
Unfortunately this has been overlooked, and resulted in
erroneous updates to testing/development releases.

The check will report an 'unknown' latest version until 2.6.0
is released.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gnupg/gnupg_2.5.4.bb

index e6a7e3fb4079e08d37ac411e8ce3bfd2faf392f7..0001631d2c54ffead429ffa0a30ce54a152f18b0 100644 (file)
@@ -11,9 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=189af8afca6d6075ba6c9e0aa8077626 \
 
 DEPENDS = "npth libassuan libksba zlib bzip2 readline libgcrypt"
 
-inherit autotools gettext texinfo pkgconfig
+inherit autotools gettext texinfo pkgconfig upstream-version-is-even
 
-UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
+UPSTREAM_CHECK_URI = "https://gnupg.org/ftp/gcrypt/gnupg/"
 SRC_URI = "${GNUPG_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
            file://0002-use-pkgconfig-instead-of-npth-config.patch \
            file://0004-autogen.sh-fix-find-version-for-beta-checking.patch \