diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-09-27 14:09:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-28 08:01:10 +0100 |
commit | afefe7de281e558ed823460f80ddc631e718feb3 (patch) | |
tree | 69cc46fb93265fcbc2bcf9064829b088fa2dbed5 /meta/recipes-devtools/flex | |
parent | 35708f8860adbf51549b2b2b07c176ba34eed812 (diff) | |
download | poky-afefe7de281e558ed823460f80ddc631e718feb3.tar.gz |
meta: fix version checks in all github recipes using the github-releases class
(From OE-Core rev: b04316bdd28b7945c2c91b4e43c007b650eedc14)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/flex')
-rw-r--r-- | meta/recipes-devtools/flex/flex_2.6.4.bb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb index 8736b3585e..15cf6f5cca 100644 --- a/meta/recipes-devtools/flex/flex_2.6.4.bb +++ b/meta/recipes-devtools/flex/flex_2.6.4.bb | |||
@@ -12,7 +12,7 @@ BBCLASSEXTEND = "native nativesdk" | |||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \ | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067 \ |
13 | file://src/gettext.h;beginline=1;endline=17;md5=9c05dda2f58d89b850c399cf22e1a00c" | 13 | file://src/gettext.h;beginline=1;endline=17;md5=9c05dda2f58d89b850c399cf22e1a00c" |
14 | 14 | ||
15 | SRC_URI = "https://github.com/westes/flex/releases/download/v${PV}/flex-${PV}.tar.gz \ | 15 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/flex-${PV}.tar.gz \ |
16 | file://run-ptest \ | 16 | file://run-ptest \ |
17 | file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ | 17 | file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ |
18 | ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \ | 18 | ${@bb.utils.contains('PTEST_ENABLED', '1', '', 'file://disable-tests.patch', d)} \ |
@@ -24,16 +24,14 @@ SRC_URI = "https://github.com/westes/flex/releases/download/v${PV}/flex-${PV}.ta | |||
24 | SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d" | 24 | SRC_URI[md5sum] = "2882e3179748cc9f9c23ec593d6adc8d" |
25 | SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" | 25 | SRC_URI[sha256sum] = "e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995" |
26 | 26 | ||
27 | # Flex has moved to github from 2.6.1 onwards | 27 | GITHUB_BASE_URI = "https://github.com/westes/flex/releases" |
28 | UPSTREAM_CHECK_URI = "https://github.com/westes/flex/releases" | ||
29 | UPSTREAM_CHECK_REGEX = "flex-(?P<pver>\d+(\.\d+)+)\.tar" | ||
30 | 28 | ||
31 | # Disputed - yes there is stack exhaustion but no bug and it is building the | 29 | # Disputed - yes there is stack exhaustion but no bug and it is building the |
32 | # parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address | 30 | # parser, not running it, effectively similar to a compiler ICE. Upstream no plans to address |
33 | # https://github.com/westes/flex/issues/414 | 31 | # https://github.com/westes/flex/issues/414 |
34 | CVE_CHECK_IGNORE += "CVE-2019-6293" | 32 | CVE_CHECK_IGNORE += "CVE-2019-6293" |
35 | 33 | ||
36 | inherit autotools gettext texinfo ptest | 34 | inherit autotools gettext texinfo ptest github-releases |
37 | 35 | ||
38 | M4 = "${bindir}/m4" | 36 | M4 = "${bindir}/m4" |
39 | M4:class-native = "${STAGING_BINDIR_NATIVE}/m4" | 37 | M4:class-native = "${STAGING_BINDIR_NATIVE}/m4" |