summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/lz4
Commit message (Collapse)AuthorAgeFilesLines
* meta: remove consecutive blank linesAlexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | Some of them were introduced by mass-removal of S = WORKDIR/git assignments; rather than try to fix up (or redo) just these, I've run this sed command over the whole tree: sed -i -z -E 's/([ \t\f\v\r]*\n){3,}/\n\n/g' `find . -name *.bb -o -name *.inc` The rationale is that more than one empty line is wasting vertical screen space, and does nothing for readability. (From OE-Core rev: cedc4ff7c9bcfb22a20e43e47f9759f4007a4f1a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove S in recipes that fetch from git via setting ↵Alexander Kanavin2025-06-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BB_GIT_DEFAULT_DESTSUFFIX Removing all the S = ${WORKDIR}/git assignments works because BB_GIT_DEFAULT_DESTSUFFIX is set to match S from bitbake.conf (which itself is set to match typical tarball releases). A few recipes are setting S to a sub-directory of the git tree and need to be adjusted accordingly. bzip2 recipe is fetching a tarball and separately cloning tests; adjust the recipe to put the latter into 'bzip2-tests', instead of 'git'. devupstream.bbclass no longer needs to rewrite S, and is adjusted accordingly. Adjust scripts/lib/recipetool/append.py to not hardcode 'git' as unpack destination. Adjust kernel-yocto.bbclass to use the git unpack variable instead of hardcoding 'git' (there's also removal of repetition of string constants and a correction of workdir/unpackdir mismatch in one of the if-else branches). Ensure build-appliance-image recipe does not use 'git' as checkout directory for poky repo, but rather explicitly name it 'poky'. Ensure reproducible.py code that looks for git repositories does not hardcode 'git' but uses the destination set by BB_GIT_DEFAULT_DESTSUFFIX. Ensure recipetool does not write out unneeded S settings into newly created recipes that fetch from git. Adjust selftest to not hardcode 'git' as unpack directory. (From OE-Core rev: f80c07019ddadaf9c5fb890faabfda7920ecd15e) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: Disable static libraries againRichard Purdie2024-08-291-1/+1
| | | | | | | | | This option was incorrectly removed in the recent upgrade. We don't use/need the static library so disable the build of it to save time/disk usage. (From OE-Core rev: 2ba36d98bb0fcdd8d918da8fb69f09a06b75fd46) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: Fix static library reproducibility issueRichard Purdie2024-08-293-2/+35
| | | | | | | | | | | | The autobuilder was seeing an intermittent reproducbility issue in lz4 with regard to symbol ordering in the static library. Add a patch to fix this which has been submitted upstream. Fix the SRC_URI whitespace and cleanup the patch directory naming whilst here. (From OE-Core rev: 79d6d0fa239ab0cf271c01d8169a7d41811f8b4e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: upgrade 1.9.4 -> 1.10.0Alexander Kanavin2024-08-281-5/+5
| | | | | | | | | | | | | 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 <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve_check: convert CVE_CHECK_IGNORE to CVE_STATUSAndrej Valek2023-07-211-2/+1
| | | | | | | | | | | | | - Try to add convert and apply statuses for old CVEs - Drop some obsolete ignores, while they are not relevant for current version (From OE-Core rev: 1634ed4048cf56788cd5c2c1bdc979b70afcdcd7) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Reviewed-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: Add ptest supportQiu Tingting2023-05-022-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | Add a ptest for lz4. - It is taking around 9 min to execute with kvm, so added it to PTEST_SLOW. - It contains one case: test_frame. - Below is the run log: START: ptest-runner 2023-04-06T00:36 BEGIN: /usr/lib/lz4/ptest Starting lz4frame tester (64-bits, 1.9.4) Seed = 7314 Basic tests completed All tests completed PASS: lz4/test_frame DURATION: 573 END: /usr/lib/lz4/ptest 2023-04-06T00:45 STOP: ptest-runner TOTAL: 1 FAIL: 0 (From OE-Core rev: 2ee144a0bfb88823bfa788697bb7afc9a572c413) Signed-off-by: Qiu Tingting <qiutt@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: upgrade 1.9.3 -> 1.9.4wangmy2022-09-012-33/+4
| | | | | | | | | | | | | | | CVE-2021-3520.patch removed since it's included in 1.9.4 License-Update: Copyright year updated to 2020 description of 3rd party applications changed (From OE-Core rev: f95c66050bc69af7769d1868b0118cefb24e5b0d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/scripts: Automated conversion of OE renamed variablesRichard Purdie2022-02-211-1/+1
| | | | | | (From OE-Core rev: aa52af4518604b5bf13f3c5e885113bf868d6c81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Update github.com urls to use httpsRichard Purdie2021-11-031-1/+1
| | | | | | | | | | | | | | Github has announced there will be no more git:// fetching from their servers: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git and they're about to start having brownout periods to encourage people to update. This runs the conversion script over OE-Core to update our urls to use https instead of git. (From OE-Core rev: b37b61e9a1e448a34957db9ae39285d21352552e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: remove redundant BSD licenseRoss Burton2021-09-031-1/+1
| | | | | | | | | | The upstream license is BSD-2-Clause or GPLv2, so remove the redundant and ambiguous BSD license. (From OE-Core rev: 53cf640e72118d0a7916b165d78c68090aa06381) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: remove rest of ptest artifactsArmin Kuster2021-09-012-44/+0
| | | | | | | | | | | Commit: 953f6d9a71 lz4: remove ptest changes missed removing the run-ptest file (From OE-Core rev: 28aaf1223396820f8fcd9a6aade46b5007b030a6) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: Security Fix for CVE-2021-3520Armin Kuster2021-09-012-0/+28
| | | | | | | | | | | | | | Source: https://github.com/lz4/lz4 MR: 111604 Type: Security Fix Disposition: Backport from https://github.com/lz4/lz4/commit/8301a21773ef61656225e264f4f06ae14462bca7#diff-7055e9cf14c488aea9837aaf9f528b58ee3c22988d7d0d81d172ec62d94a88a7 ChangeID: 58492f950164e75954a97cf084df6f9af3d88244 Description: (From OE-Core rev: 6d6a089a2f637051333e0137d2e748c823e2aa98) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: use CFLAGS from bitbakeMikko Rapeli2021-04-241-1/+1
| | | | | | | | | | | Currently lz4 uses it's own defaults which include O3 optimization. Switch from O3 to bitbake default O2 reduces binary package size from 467056 to 331888 bytes. Enables also building with Os if needed. (From OE-Core rev: abaaf8c6bcd368728d298937a9406eb2aebc7a7d) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-support: Add HOMEPAGE / DESCRIPTIONDorinda2021-03-111-0/+1
| | | | | | | | | | | | Added missing HOMEPAGE and DESCRIPTION found using the test command `oe-selftest -r distrodata.Distrodata.test_missing_homepg` [YOCTO #13471] (From OE-Core rev: 325db7fea11315e8dd53274853f33b716247d1bf) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: upgrade 1.9.2 -> 1.9.3Alexander Kanavin2020-12-091-2/+2
| | | | | | | (From OE-Core rev: a8ab527033e5220dc57766e5f7fd7ed316ab528c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: Use the new branch naming from upstreamRichard Purdie2020-12-031-1/+1
| | | | | | | | | | Upstream renamed master -> dev, update SRC_URI to match. [YOCTO #14135] (From OE-Core rev: 3369aa0322693604533ef7d30dca234e52605fe2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: disable static libraryAlexander Kanavin2020-06-041-1/+1
| | | | | | | | | | | It was found to be built in a non-reproducible way. [YOCTO #13925] (From OE-Core rev: f8f3f03e7ffcefdb6a97b747a26276dec4bfa77c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: Whitelist CVE-2014-4715Adrian Bunk2019-11-051-0/+3
| | | | | | | (From OE-Core rev: ccb65286b955d44dacd5fc794851a0c313d116a6) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4:upgrade 1.9.1 -> 1.9.2Zang Ruochen2019-08-221-1/+1
| | | | | | | (From OE-Core rev: 4ee4e7a2a8eddfa2700ad7a289b58019a656d5ca) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: upgrade 1.9.0 -> 1.9.1Alexander Kanavin2019-05-221-1/+1
| | | | | | | (From OE-Core rev: 7c0d51db40a6130ee306381bc18a4a426810a66b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: update to 1.9.0Oleksandr Kravchuk2019-04-231-1/+1
| | | | | | | (From OE-Core rev: b3248a7a47c0fb9a06697a29428856bfbad61af7) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: upgrade 1.8.2 -> 1.8.3Denys Dmytriyenko2019-02-191-1/+1
| | | | | | | (From OE-Core rev: 9f67079b03239d7c46552070ad5c80d7d7f4c5bf) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: upgrade 1.8.1.2 -> 1.8.2Denys Dmytriyenko2018-05-291-1/+1
| | | | | | | | (From OE-Core rev: 235afa344423188af2a24aa2664c628d5809699b) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: upgrade 1.7.4 -> 1.8.1.2Denys Dmytriyenko2018-05-042-87/+5
| | | | | | | | | | | | 0001-tests-Makefile-don-t-use-LIBDIR-as-variable.patch accepted upstream. License-Update: rephrased clarification regarding lib/ vs. programs/, tests/ and examples/ https://github.com/lz4/lz4/commit/97df1c9789cbc8a7891cadbd49ea5053574e2f72 (From OE-Core rev: 633a2ac95b72c685031aa6c76943c2fb073e1921) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: remove ptest changesRoss Burton2018-01-061-9/+1
| | | | | | | | | | | This recipe installs the test suite by copying the entire build tree into /usr/share/ptest, which is both wasteful and breaks packaging as lz4-ptest then gets renamed by debian.bbclass to liblz4. (From OE-Core rev: b1ef094bc0bba54bd54b03c0a3c082d9b6025895) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: fix upstream version checkAlexander Kanavin2017-11-091-0/+1
| | | | | | | (From OE-Core rev: c6606acfe3a8c831de9b19749aaa61a3888aecbe) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: Add patch to fix re-buildsJussi Kukkonen2017-06-282-0/+83
| | | | | | | | | | | | Configure fails when rebuilding lz4 as LIBDIR is used in two different places for two different things and we override it with a environment variable. (From OE-Core rev: c594cacc88b4239f2be2ee97ea127ae27186dbcd) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: update to lastest 1.7.4Armin Kuster2017-05-123-21/+76
| | | | | | | | | | | | | update SRC_URI: as of 1.7.3, repo changed. same owner Renamed recipe to reflect PV and added Epoch Added ptest, tests added v1.7.3 updated LICENSE to be more accurate. (From OE-Core rev: 962459c55406432537e10ab743cfa325b703e12a) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: do not append to BBCLASSEXTENDMing Liu2017-03-101-1/+1
| | | | | | | | | | | Replace some "+=/=+" with "=" when setting BBCLASSEXTEND, they are redundant and inconsistent with the same setting in other recipes. (From OE-Core rev: 09266d6c91acd8ba4df6e8242aa44d9ba41e9cee) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: update to 131Armin Kuster2015-08-191-3/+3
| | | | | | | | | | Clean up SRC_URI. (From OE-Core rev: 60d31e69790691f097fe1d06c8e8b6ff4087cbe8) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: update package to 128 and SRC_URIArmin Kuster2015-04-211-6/+6
| | | | | | | | | | The main reason for the update is to use github as the project moved away from googlecode. (From OE-Core rev: 090727384bed38c4317a25d2ecf4c7855a3ffaaa) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: update to r127Armin Kuster2015-01-161-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dropped Makefile from license check. r127 added : lz4frame_static.h r126 New : lz4frame API is now integrated into liblz4 Fixed : GCC 4.9 bug on highest performance settings, reported by Greg Slazinski Fixed : bug within LZ4 HC streaming mode, reported by James Boyle Fixed : older compiler don't like nameless unions, reported by Cheyi Lin Changed : lz4 is C90 compatible Changed : added -pedantic option, fixed a few minor warnings r125 New 32/64 bits, little/big endian and strict/efficient align detection routines (internal) New directory structure Small decompression speed improvement Fixed a bug into LZ4_compress_limitedOutput(), thanks to Christopher Speller lz4 utility uses lz4frame library (lz4io modified) r124 New : LZ4 HC streaming mode Fixed : LZ4F_compressBound() using null preferencesPtr (From OE-Core rev: c40d785990ca361eb198b4a6ee92dcda5bf6d43d) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: update to version r123Armin Kuster2014-11-091-2/+2
| | | | | | | | | | | | | | Makefile md5sum changed since version is hardcode in it. Added : experimental lz4frame API; special thanks to Takayuki Matsuoka and Christopher Jackson for testings and suggestions Fix : s390x support, thanks to Nobuhiro Iwamatsu (From OE-Core rev: 593bbc9cef20017a85cf4ee2d9865152624d5b40) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: update to version 122Armin Kuster2014-09-031-2/+2
| | | | | | | | | | | | | | | | | | | | | Makefile md5sum changed its is where they bump the version. r122 fixes: Fix : AIX & AIX64 support (SamG) Fix : mips 64-bits support (lew van) Added : Examples directory, using code examples from Takayuki Matsuoka Updated : Framing specification, to v1.4.1 Updated : xxHash, to r36 r121 fixes: Fix : make install for OS-X and BSD, thanks to Takayuki Matsuoka Added : make install for kFreeBSD and Hurd (Nobuhiro Iwamatsu) Fix : LZ4 HC streaming bug (From OE-Core rev: 9dc1e2c5724b6eeda87edceac16d2e7107577f5a) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: update to 120Armin Kuster2014-08-111-2/+3
| | | | | | | | | | | Update package to version 120 Add Makefile to LIC_FILES_CHKSUM check as it changes with every rev. (From OE-Core rev: 0554d4121f05c449f37b6ebde96dd1d02e71eb0c) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: update to latestArmin Kuster2014-07-191-2/+2
| | | | | | | | | | | | update to version r119 LICENSE md5sum changed since it was updated in r117 for copyright date change Fixes CVE-2014-4611 (From OE-Core rev: b1811c07589a3eff5702d435f8feface63f1c39e) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: fix CCRobert Yang2014-02-241-1/+1
| | | | | | | | | | | | It defined the CC to ${TARGET_PREFIX}gcc which lost the --sysroot and was incorrect, it would cause unexpected errors, we should define it as CC=${CC}. [YOCTO #5869] (From OE-Core rev: 5eb0f6e03e5a543f7bad6fcf0cab4173cc8882d8) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: actually install thingsKoen Kooi2014-01-281-1/+5
| | | | | | | | | | This failure was masked by having lz4 installed on the host system :( (From OE-Core rev: a2a77730f28decfd2448bcda68280174b55cf54c) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lz4: add r112Koen Kooi2014-01-141-0/+17
lz4-native is needed for kernels using lz4 compression, which was merged in 3.11. Lz4 has a similar compression rate to lzo but decompresses a lot (>4x) faster. (From OE-Core rev: 13e5da254529716b0445895d70b40489ce22941b) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>