Commit Graph

260 Commits

Author SHA1 Message Date
Rudi Heitbaum
af2d56060f xz: update to 5.4.2
ann:
- https://www.mail-archive.com/xz-devel@tukaani.org/msg00635.html
2023-03-19 05:38:51 +00:00
CvH
c8af503bb8 Merge pull request #7459 from heitbaum/7-zip-build
toolchain: migrate from p7zip to 7-zip
2023-03-05 21:34:51 +01:00
Ian Leonard
90c95d5589 zstd: update to 1.5.4
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2023-02-16 19:21:27 +00:00
Rudi Heitbaum
1169750f4a 7-zip: initial package
releases:
- https://7-zip.org/history.txt

This package replaces p7zip 16.02

Co-authored-by: CvH <1355173+CvH@users.noreply.github.com>
2023-02-04 11:48:12 +00:00
Rudi Heitbaum
00913aede1 p7zip: drop package 2023-02-04 03:03:19 +00:00
Rudi Heitbaum
b0140e6ac1 xz: update to 5.4.1
release notes:
- https://github.com/tukaani-project/xz/releases/tag/v5.4.1
2023-01-12 10:51:28 +00:00
Rudi Heitbaum
a81c16ad96 xz: update to 5.4.0
news:
- https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD
2022-12-14 11:50:52 +00:00
Rudi Heitbaum
0f9371e403 libarchive: update to 3.6.2
log:
- https://github.com/libarchive/libarchive/compare/v3.6.1...v3.6.2

release notes:
- https://github.com/libarchive/libarchive/releases/tag/v3.6.2
2022-12-13 13:39:49 +00:00
CvH
cfd7db5ff0 Merge pull request #7173 from HiassofT/le11-revert-y2038
Revert 32-bit Y2038 changes
2022-12-07 21:00:21 +01:00
Matthias Reichl
5508e7fb58 Revert "zip: fix LARGE_FILE_SUPPORT"
This reverts commit f7b92081b5.
2022-12-04 23:44:27 +01:00
Matthias Reichl
6cbc41c59c Revert "zlib: support -D_TIME_BITS=64 for 64-bit time"
This reverts commit 6b43d18f17.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-04 23:44:26 +01:00
Matthias Reichl
9ee4ce2a23 zstd: don't override make_host
There's no need for it, it only delays building until makeinstall
and messes up build time statistics.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-04 13:48:23 +01:00
Matthias Reichl
10db624f40 zstd: use local-cc build flag 2022-12-04 13:48:23 +01:00
Rudi Heitbaum
e9c49900ab zstd: build with cmake-make and remove host dependancy of ccache:host
ccache:host now uses zstd to build, so update the dependancies and
force the use of the LOCAL_CC and LOCAL_CXX compilers.
2022-12-04 13:48:23 +01:00
Rudi Heitbaum
80621c706e zlib: host build depends on ccache:host 2022-12-04 13:48:23 +01:00
Rudi Heitbaum
115e1b7dd4 xz: update to 5.2.9
news:
- https://git.tukaani.org/?p=xz.git;a=blob_plain;f=NEWS;hb=3be6942e5c27d29995d41da52fbe274e4ce4a537

5.2.9 (2022-11-30)

    * liblzma:

        - Fixed an infinite loop in LZMA encoder initialization
          if dict_size >= 2 GiB. (The encoder only supports up
          to 1536 MiB.)

        - Fixed two cases of invalid free() that can happen if
          a tiny allocation fails in encoder re-initialization
          or in lzma_filters_update(). These bugs had some
          similarities with the bug fixed in 5.2.7.

        - Fixed lzma_block_encoder() not allowing the use of
          LZMA_SYNC_FLUSH with lzma_code() even though it was
          documented to be supported. The sync-flush code in
          the Block encoder was already used internally via
          lzma_stream_encoder(), so this was just a missing flag
          in the lzma_block_encoder() API function.

        - GNU/Linux only: Don't put symbol versions into static
          liblzma as it breaks things in some cases (and even if
          it didn't break anything, symbol versions in static
          libraries are useless anyway). The downside of the fix
          is that if the configure options --with-pic or --without-pic
          are used then it's not possible to build both shared and
          static liblzma at the same time on GNU/Linux anymore;
          with those options --disable-static or --disable-shared
          must be used too.

    * New email address for bug reports is <xz@tukaani.org> which
      forwards messages to Lasse Collin and Jia Tan.
2022-12-02 09:50:47 +00:00
Matthias Reichl
1d1e293dc8 zlib: fix download URL
The http://zlib.net/zlib-VERSION link only works for the currently
released version and break whenever zlib releases a new version
(which happened twice this year). This is also problematic when
building older LibreELEC versions as the older zlib can't be downloaded.

Switch PKG_URL to the tar.gz files at https://zlib.net/fossils/ as
this location provides all (current and older) releases.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-11-23 19:27:25 +01:00
Rudi Heitbaum
655007f731 xz: update to 5.2.8
news:
- https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;h=c244b42a6771a6e8af206318dfc500d78929fd6f;hb=5476089d9c42b9b04e92b80e1800b384a98265cb
2022-11-14 07:59:25 +00:00
Rudi Heitbaum
a265d5fd90 zlib: update to 1.2.13
release notes:
- https://zlib.net
2022-10-15 02:14:27 +00:00
Rudi Heitbaum
643c5487c4 xz: update to 5.2.7
set PKG_TOOLCHAIN="configure" as the cmake support in xz is experimental

- due to https://git.tukaani.org/?p=xz.git;a=commit;h=31d80c6b261b24220776dfaeb8a04f80f80e0a24
  and the static builds of xz - --enable-symbol-versions=no needs to be
  set to compile Python3

ann:
- https://tukaani.org/xz/

release notes:
- https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;h=0205423e79ce8297102096b0fc8b030ddf5b2023;hb=d2003362dd42004355a5550ee7a60ace3b3ea2d8

5.2.7 (2022-09-30)

    * liblzma:

        - Made lzma_filters_copy() to never modify the destination
          array if an error occurs. lzma_stream_encoder() and
          lzma_stream_encoder_mt() already assumed this. Before this
          change, if a tiny memory allocation in lzma_filters_copy()
          failed it would lead to a crash (invalid free() or invalid
          memory reads) in the cleanup paths of these two encoder
          initialization functions.

        - Added missing integer overflow check to lzma_index_append().
          This affects xz --list and other applications that decode
          the Index field from .xz files using lzma_index_decoder().
          Normal decompression of .xz files doesn't call this code
          and thus most applications using liblzma aren't affected
          by this bug.

        - Single-threaded .xz decoder (lzma_stream_decoder()): If
          lzma_code() returns LZMA_MEMLIMIT_ERROR it is now possible
          to use lzma_memlimit_set() to increase the limit and continue
          decoding. This was supposed to work from the beginning
          but there was a bug. With other decoders (.lzma or
          threaded .xz decoder) this already worked correctly.

        - Fixed accumulation of integrity check type statistics in
          lzma_index_cat(). This bug made lzma_index_checks() return
          only the type of the integrity check of the last Stream
          when multiple lzma_indexes were concatenated. Most
          applications don't use these APIs but in xz it made
          xz --list not list all check types from concatenated .xz
          files. In xz --list --verbose only the per-file "Check:"
          lines were affected and in xz --robot --list only the "file"
          line was affected.

        - Added ABI compatibility with executables that were linked
          against liblzma in RHEL/CentOS 7 or other liblzma builds
          that had copied the problematic patch from RHEL/CentOS 7
          (xz-5.2.2-compat-libs.patch). For the details, see the
          comment at the top of src/liblzma/validate_map.sh.

          WARNING: This uses __symver__ attribute with GCC >= 10.
          In other cases the traditional __asm__(".symver ...")
          is used. Using link-time optimization (LTO, -flto) with
          GCC versions older than 10 can silently result in
          broken liblzma.so.5 (incorrect symbol versions)! If you
          want to use -flto with GCC, you must use GCC >= 10.
          LTO with Clang seems to work even with the traditional
          __asm__(".symver ...") method.

    * xzgrep: Fixed compatibility with old shells that break if
      comments inside command substitutions have apostrophes (').
      This problem was introduced in 5.2.6.

    * Build systems:

        - New #define in config.h: HAVE_SYMBOL_VERSIONS_LINUX

        - Windows: Fixed liblzma.dll build with Visual Studio project
          files. It broke in 5.2.6 due to a change that was made to
          improve CMake support.

        - Windows: Building liblzma with UNICODE defined should now
          work.

        - CMake files are now actually included in the release tarball.
          They should have been in 5.2.5 already.

        - Minor CMake fixes and improvements.

    * Added a new translation: Turkish
2022-10-08 09:36:58 +00:00
Peter Vicman
f7b92081b5 zip: fix LARGE_FILE_SUPPORT 2022-09-02 09:16:03 +00:00
Rudi Heitbaum
0b00ecea05 zstd: drop PKG_TOOLCHAIN hardcoding - was already meson 2022-08-28 04:38:36 +00:00
Rudi Heitbaum
f7d07553d3 lz4: drop PKG_TOOLCHAIN hardcoding - already defaults to cmake 2022-08-28 04:38:36 +00:00
Rudi Heitbaum
0b2a808570 xz: update to 5.2.6 and https and PKG_URL
5.2.6 released on 2022-08-12. This includes a security fix to xzgrep
(CVE-2022-1271, ZDI-CAN-16587) for which a standalone patch was already
released on 2022-04-07.

news: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD
2022-08-19 08:05:45 +00:00
Rudi Heitbaum
9cb4a69631 lz4: update to 1.9.4 2022-08-16 09:10:32 +00:00