256 Commits

Author SHA1 Message Date
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
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 f7b92081b549a98f47b6d0dbf6e5a8bdca057f27.
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 6b43d18f17e32cd4fbe88db466155f0e7a39f602.

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
Rudi Heitbaum
6b43d18f17 zlib: support -D_TIME_BITS=64 for 64-bit time 2022-07-22 07:25:46 +00:00
heitbaum
ca5352dd2d libarchive: update to 3.6.1
release notes:
- https://github.com/libarchive/libarchive/releases
2022-05-06 08:40:30 +00:00
Rudi Heitbaum
0bac3d0b38 p7zip: patch to support C++17 compiler 2022-04-11 12:42:41 +00:00
CvH
ee58fd10a0
Merge pull request #6339 from heitbaum/zlib
zlib: update to 1.2.12
2022-04-02 11:58:53 +02:00
CvH
e07a360c6e
Merge pull request #6175 from heitbaum/pkginfo
PKGCONFIG use ./lib/pkgconfig/ for both host and target
2022-04-02 11:58:29 +02:00
Rudi Heitbaum
2d5a7c1671 zlib: update to 1.2.12
Changelog: https://www.zlib.net/ChangeLog.txt

ChangeLog file for zlib

Changes in 1.2.12 (27 Mar 2022)
- Cygwin does not have _wopen(), so do not create gzopen_w() there
- Permit a deflateParams() parameter change as soon as possible
- Limit hash table inserts after switch from stored deflate
- Fix bug when window full in deflate_stored()
- Fix CLEAR_HASH macro to be usable as a single statement
- Avoid a conversion error in gzseek when off_t type too small
- Have Makefile return non-zero error code on test failure
- Avoid some conversion warnings in gzread.c and gzwrite.c
- Update use of errno for newer Windows CE versions
- Small speedup to inflate [psumbera]
- Return an error if the gzputs string length can't fit in an int
- Add address checking in clang to -w option of configure
- Don't compute check value for raw inflate if asked to validate
- Handle case where inflateSync used when header never processed
- Avoid the use of ptrdiff_t
- Avoid an undefined behavior of memcpy() in gzappend()
- Avoid undefined behaviors of memcpy() in gz*printf()
- Avoid an undefined behavior of memcpy() in _tr_stored_block()
- Make the names in functions declarations identical to definitions
- Remove old assembler code in which bugs have manifested
- Fix deflateEnd() to not report an error at start of raw deflate
- Add legal disclaimer to README
- Emphasize the need to continue decompressing gzip members
- Correct the initialization requirements for deflateInit2()
- Fix a bug that can crash deflate on some input when using Z_FIXED
- Assure that the number of bits for deflatePrime() is valid
- Use a structure to make globals in enough.c evident
- Use a macro for the printf format of big_t in enough.c
- Clean up code style in enough.c, update version
- Use inline function instead of macro for index in enough.c
- Clarify that prefix codes are counted in enough.c
- Show all the codes for the maximum tables size in enough.c
- Add gznorm.c example, which normalizes gzip files
- Fix the zran.c example to work on a multiple-member gzip file
- Add tables for crc32_combine(), to speed it up by a factor of 200
- Add crc32_combine_gen() and crc32_combine_op() for fast combines
- Speed up software CRC-32 computation by a factor of 1.5 to 3
- Use atomic test and set, if available, for dynamic CRC tables
- Don't bother computing check value after successful inflateSync()
- Correct comment in crc32.c
- Add use of the ARMv8 crc32 instructions when requested
- Use ARM crc32 instructions if the ARM architecture has them
- Explicitly note that the 32-bit check values are 32 bits
- Avoid adding empty gzip member after gzflush with Z_FINISH
- Fix memory leak on error in gzlog.c
- Fix error in comment on the polynomial representation of a byte
- Clarify gz* function interfaces, referring to parameter names
- Change macro name in inflate.c to avoid collision in VxWorks
- Correct typo in blast.c
- Improve portability of contrib/minizip
- Fix indentation in minizip's zip.c
- Replace black/white with allow/block. (theresa-m)
- minizip warning fix if MAXU32 already defined. (gvollant)
- Fix unztell64() in minizip to work past 4GB. (Daniël Hörchner)
- Clean up minizip to reduce warnings for testing
- Add fallthrough comments for gcc
- Eliminate use of ULL constants
- Separate out address sanitizing from warnings in configure
- Remove destructive aspects of make distclean
- Check for cc masquerading as gcc or clang in configure
- Fix crc32.c to compile local functions only if used
2022-03-29 09:29:59 +00:00
heitbaum
e700310a97 pigz: update to 2.7
update 2.6 (2021-02-06) to 2.7 (2022-01-15)

ann:
- https://zlib.net/pipermail/pigz-announce_zlib.net/2022-January/000017.html
2022-02-05 04:36:27 +00:00
heitbaum
b45749cfe1 zlib: set PKGCONFIG directories for both host and target to lib/pkgconfig 2022-01-30 12:17:05 +00:00
heitbaum
d678bf06f2 zstd: update to 1.5.2
release notes:
- https://github.com/facebook/zstd/releases/tag/v1.5.2
2022-01-22 21:09:12 +00:00
Ian Leonard
a5752c039f libarchive: update to 3.5.2
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-12-30 22:15:56 +00:00
Ian Leonard
1a5bd70b0e zstd: update to 1.5.1
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-12-22 06:13:55 +00:00
Ian Leonard
82fd4b1de7 zstd: drop upstreamed patch
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-08-12 16:38:51 +00:00
Ian Leonard
c5823d0864 zstd: update to 1.5.0, change to .tar.zstd tarball
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-08-11 18:16:42 +00:00
SupervisedThinking
dd7280f18a zstd: update to 1.4.9 / add upstreamed build fix patch 2021-03-19 20:03:54 +01:00
heitbaum
2b30d3a0d5 pigz: update to 2.6
update 2.5 (2021-01-24) to 2.6 (2021-02-06)
log: https://github.com/madler/pigz/commits/master
changelog (from pigz.c):
- Add --huffman/-H and --rle/U strategy options
- Fix issue when compiling for no threads
- Fail silently on a broken pipe
2021-02-07 10:50:30 +00:00
heitbaum
f308f10a08 pigz: update to 2.5
update 2.4 (2017-12-26) to 2.5 (2021-01-24)
log: https://github.com/madler/pigz/commits/master
changelog (from pigz.c):
- Add --alias/-A option to set .zip name for stdin input
- Add --comment/-C option to add comment in .gz or .zip
- Fix a bug that misidentified a multi-entry .zip
- Fix a bug that did not emit double syncs for -i -p 1
- Fix a bug in yarn that could try to access freed data
- Do not delete multi-entry .zip files when extracting
- Do not reject .zip entries with bit 11 set
- Avoid a possible threads lock-order inversion
- Ignore trailing junk after a gzip stream by default
2021-01-30 06:44:34 +00:00
Ian Leonard
34142fb3ea compress: automated code cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-01-19 19:33:43 +00:00
Christian Hewitt
b9272a4e90
Merge pull request #4773 from CvH/10.0/unzip_cleanup
drop unzip and minizip package
2021-01-16 16:47:35 +04:00
heitbaum
daffc88144 libarchive: update to 3.5.1 2021-01-08 04:22:23 +00:00
CvH
a02158a092 zip: cleanup version 2020-12-27 20:30:27 +01:00
Ian Leonard
2420e1b8a4 zstd: update to 1.4.8
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-12-27 09:01:50 +00:00
CvH
e7202e014f minizip: drop package 2020-12-19 17:56:07 +01:00
heitbaum
a7b57d43bf minizip: updated to 2.10.4 and fixed failed compile 2020-12-19 17:55:36 +01:00
CvH
4aba62ccfe unzip: drop package 2020-12-19 11:13:25 +01:00
Andre Heider
7c6c3f3728 lz4: fix compilation
The cmake files were moved upstream [0] and the build now fails because it
silently falls back to the GNU Makefile:
install: cannot change permissions of '/usr/local/bin/': Operation not permitted

Point to the new location and set PKG_TOOLCHAIN explicitely to "cmake", which
would have caugth this issue:
CMake Error: The source directory "/tmp/libreelec/build.LibreELEC-H6.arm-9.80-devel/build/lz4-1.9.3/contrib/cmake_unofficial" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
FAILURE: ./scripts/build lz4:host during configure_host (default)

[0] 31d477db07
2020-12-17 09:59:51 +01:00
heitbaum
5ab1a9036e xz: updated to 5.2.5 2020-12-16 12:32:17 +00:00
heitbaum
ff061734eb lz4: updated to 1.9.3 2020-12-13 11:20:23 +00:00
heitbaum
38381ecf01 libarchive: updated to 3.5.0 2020-12-13 11:20:23 +00:00
Ian Leonard
8016cd0394 zstd: add configure options
legacy_level=0 disables support for packages compressed with zstd before
version 0.8 (~August 2016).

Support for the other compression libraries adds a symlink feature to the
zstd binary for it to mimic that library's regular tool. Example, a
symlink pointing to zstd named 'gzip' will cause zstd to pretend to be gzip.
The cli tools aren't used, so there is no purpose to adding this support.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-10-14 19:19:22 +00:00