From 253e33e343ec13aa3908a237b5a3f44abc2c5c87 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Tue, 7 Nov 2023 08:12:30 +0100 Subject: [PATCH] libtorrent: Add UPSTREAM_CHECK_GITTAGREGEX This makes sure only tags like "vX.Y.Z" are identified as releases. Signed-off-by: Peter Kjellerstedt Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb b/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb index fec05571d1..c235547fea 100644 --- a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb +++ b/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb @@ -6,16 +6,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" DEPENDS = "zlib libsigc++-2.0 openssl cppunit" +PV = "0.13.8+git" + SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https" SRCREV = "e60f222241319aaae482789517ad00ae9344bd13" +UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\.\d+)+)" + CVE_STATUS[CVE-2009-1760] = "backported-patch: patched in our product" -PV = "0.13.8+git${SRCPV}" - S = "${WORKDIR}/git" - PACKAGECONFIG ??= "instrumentation aligned" PACKAGECONFIG:remove:mipsarch = "instrumentation"