Commit Graph

64 Commits

Author SHA1 Message Date
Rudi Heitbaum
51fd280c1f zlib: update to 1.3.1
release notes:
- https://www.zlib.net

Version 1.3.1 has these key updates from 1.3:
- Reject overflows of zip header fields in minizip.
- Fix bug in inflateSync() for data held in bit buffer.
- Add LIT_MEM define to use more memory for a small deflate speedup.
- Fix decision on the emission of Zip64 end records in minizip.
- Add bounds checking to ERR_MSG() macro, used by zError().
- Neutralize zip file traversal attacks in miniunz.
- Fix a bug in ZLIB_DEBUG compiles in check_match().
2024-01-25 13:03:59 +00:00
Rudi Heitbaum
6948a5326f zlib: update to 1.3
ann:
- http://madler.net/pipermail/zlib-announce_madler.net/2023/000014.html

release notes:
- https://github.com/madler/zlib/releases/tag/v1.3
2023-08-20 12:18:01 +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
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
Rudi Heitbaum
80621c706e zlib: host build depends on ccache:host 2022-12-04 13:48:23 +01: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
a265d5fd90 zlib: update to 1.2.13
release notes:
- https://zlib.net
2022-10-15 02:14:27 +00:00
Rudi Heitbaum
6b43d18f17 zlib: support -D_TIME_BITS=64 for 64-bit time 2022-07-22 07:25:46 +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
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
b45749cfe1 zlib: set PKGCONFIG directories for both host and target to lib/pkgconfig 2022-01-30 12:17:05 +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
CvH
85e5b4dc1f cleanup: PKG_SHORTDESC 2018-10-22 15:06:12 +02:00
CvH
4cffa5fe6f cleanup: remove PKG_ARCH="any" 2018-10-22 15:06:12 +02:00
CvH
4317bc5002 cleanup: remove PKG_SECTION 2018-10-22 15:06:11 +02:00
MilhouseVH
a84b6e0cb3 elfutils: install shared libelf libs on host build
And fix libelf detection

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-08-13 22:46:50 +01:00
CvH
c8601550aa spdx: packages/compress 2018-07-17 23:58:49 +02:00
Sascha Kuehndel (InuSasha)
2bd83f8d15 buildsystem: replace PKG_USE_NINJA 2017-11-22 00:41:12 +01:00
Sascha Kuehndel (InuSasha)
3846ec7dac buildsystem: replace PKG_AUTORECONF 2017-11-22 00:41:12 +01:00
Lukas Rusak
39e4348605 fixup! zlib: remove building minizip 2017-10-13 15:12:45 -07:00
Lukas Rusak
fbbc6ad9d6 zlib: remove building minizip 2017-10-13 15:11:59 -07:00
Lukas Rusak
a130ffaee9 zlib: don't build with ninja 2017-10-13 15:01:52 -07:00
cvh
db6cd91143 packages: remove circular dependency to toolchain 2017-08-17 14:02:21 +02:00
Peter Vicman
50a51452be build system: add sha256 checksum to all packages
putting #1597 in use
2017-07-17 20:49:23 +02:00
Sascha Kuehndel (InuSasha)
66590c9488 dependency-tree: host packages depend on toolchain 2017-05-10 20:50:10 +02:00