From 706bd59423fe71df786e6ac0eb8008efc9aeef59 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Tue, 27 Aug 2024 07:23:52 +0200 Subject: lz4: upgrade 1.9.4 -> 1.10.0 Drop most EXTRA_OEMAKE settings as no longer necessary. (makefiles use weak assignments and shell variables then take precedence). License-Update: clarification that it's gpl2-or-later. (From OE-Core rev: a4dde4e0dcc2cc75c4eec5d78fbf2a1e47401050) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/recipes-support/lz4/lz4_1.10.0.bb | 46 ++++++++++++++++++++++++++++++++++ meta/recipes-support/lz4/lz4_1.9.4.bb | 46 ---------------------------------- 2 files changed, 46 insertions(+), 46 deletions(-) create mode 100644 meta/recipes-support/lz4/lz4_1.10.0.bb delete mode 100644 meta/recipes-support/lz4/lz4_1.9.4.bb (limited to 'meta') diff --git a/meta/recipes-support/lz4/lz4_1.10.0.bb b/meta/recipes-support/lz4/lz4_1.10.0.bb new file mode 100644 index 0000000000..40768fb292 --- /dev/null +++ b/meta/recipes-support/lz4/lz4_1.10.0.bb @@ -0,0 +1,46 @@ +SUMMARY = "Extremely Fast Compression algorithm" +DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems." +HOMEPAGE = "https://github.com/lz4/lz4" + +LICENSE = "BSD-2-Clause | GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://lib/LICENSE;md5=5cd5f851b52ec832b10eedb3f01f885a \ + file://programs/COPYING;md5=492daf447d6db0e5eb344a7922e7ec25 \ + file://LICENSE;md5=c111c47e301c2ffe8776729b40b44477 \ + " + +PE = "1" + +SRCREV = "ebb370ca83af193212df4dcbadcc5d87bc0de2f0" + +SRC_URI = "git://github.com/lz4/lz4.git;branch=release;protocol=https \ + file://run-ptest \ + " +UPSTREAM_CHECK_GITTAGREGEX = "v(?P.*)" + +S = "${WORKDIR}/git" + +inherit ptest + +CVE_STATUS[CVE-2014-4715] = "fixed-version: Fixed in r118, which is larger than the current version." + +EXTRA_OEMAKE = "DESTDIR=${D}" + +do_install() { + oe_runmake install +} + +BBCLASSEXTEND = "native nativesdk" + +RDEPENDS:${PN}-ptest += "bash" + +do_compile_ptest() { + oe_runmake -C ${B}/tests/ +} + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests/ + install --mode=755 ${B}/tests/frametest ${D}${PTEST_PATH}/tests/ + sed -i "s#@PTEST_PATH@#${PTEST_PATH}#g" ${D}${PTEST_PATH}/run-ptest + +} + diff --git a/meta/recipes-support/lz4/lz4_1.9.4.bb b/meta/recipes-support/lz4/lz4_1.9.4.bb deleted file mode 100644 index 51a854d44a..0000000000 --- a/meta/recipes-support/lz4/lz4_1.9.4.bb +++ /dev/null @@ -1,46 +0,0 @@ -SUMMARY = "Extremely Fast Compression algorithm" -DESCRIPTION = "LZ4 is a very fast lossless compression algorithm, providing compression speed at 400 MB/s per core, scalable with multi-cores CPU. It also features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems." -HOMEPAGE = "https://github.com/lz4/lz4" - -LICENSE = "BSD-2-Clause | GPL-2.0-only" -LIC_FILES_CHKSUM = "file://lib/LICENSE;md5=5cd5f851b52ec832b10eedb3f01f885a \ - file://programs/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ - file://LICENSE;md5=c5cc3cd6f9274b4d32988096df9c3ec3 \ - " - -PE = "1" - -SRCREV = "5ff839680134437dbf4678f3d0c7b371d84f4964" - -SRC_URI = "git://github.com/lz4/lz4.git;branch=release;protocol=https \ - file://run-ptest \ - " -UPSTREAM_CHECK_GITTAGREGEX = "v(?P.*)" - -S = "${WORKDIR}/git" - -inherit ptest - -CVE_STATUS[CVE-2014-4715] = "fixed-version: Fixed in r118, which is larger than the current version." - -EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' CFLAGS='${CFLAGS}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir} BUILD_STATIC=no" - -do_install() { - oe_runmake install -} - -BBCLASSEXTEND = "native nativesdk" - -RDEPENDS:${PN}-ptest += "bash" - -do_compile_ptest() { - oe_runmake -C ${B}/tests/ -} - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests/ - install --mode=755 ${B}/tests/frametest ${D}${PTEST_PATH}/tests/ - sed -i "s#@PTEST_PATH@#${PTEST_PATH}#g" ${D}${PTEST_PATH}/run-ptest - -} - -- cgit v1.2.3-54-g00ecf