Path to this page:
./
devel/zlib,
General purpose data compression library
Branch: CURRENT,
Version: 1.3.1,
Package name: zlib-1.3.1,
Maintainer: pkgsrc-usersThis is a general purpose data compression library. All the code
is thread safe. The data format used by the library is described
by RFCs (Request for Comments) 1950 to 1952.
Questions about zlib should be sent to <zlib@quest.jpl.nasa.gov>.
Required to build:[
pkgtools/cwrappers]
Master sites:
Version history: (Expand)
- (2024-02-09) Updated to version: zlib-1.3.1
- (2024-01-25) Updated to version: zlib-1.2.13nb1
- (2022-10-14) Updated to version: zlib-1.2.13
- (2022-05-13) Updated to version: zlib-1.2.12nb1
- (2022-03-30) Updated to version: zlib-1.2.12
- (2022-03-24) Updated to version: zlib-1.2.11nb1
CVS history: (Expand)
2024-08-05 12:53:58 by Tobias Nygren | Files touched by this commit (1) |
Log message:
zlib: include <unistd.h> in gzguts.h. Needed for close(2) in gzwrite.c.
|
2024-06-04 20:33:45 by Benny Siegert | Files touched by this commit (1) |
Log message:
zlib: always include unistd.h on Linux
Newer compilers, such as gcc14 in Fedora 40, make calling undeclared
functions an error. zlib uses lseek, which is in unistd.h. The existing
zconf.h has complex logic to include unistd.h in some cases, when it should
probably just include it unconditionally.
Set -DZ_HAVE_UNISTD_H in CFLAGS.Linux. This should probably just be added
unconditionally, but I was hesitant to do so without asking.
|
2024-02-08 22:33:34 by Adam Ciarcinski | Files touched by this commit (28) | |
Log message:
zlib: updated to 1.3.1
Changes in 1.3.1 (22 Jan 2024)
- 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()
- Various portability and appearance improvements
Changes in 1.3 (18 Aug 2023)
- Remove K&R function definitions and zlib2ansi
- Fix bug in deflateBound() for level 0 and memLevel 9
- Fix bug when gzungetc() is used immediately after gzopen()
- Fix bug when using gzflush() with a very small buffer
- Fix crash when gzsetparams() attempted for transparent write
- Fix test/example.c to work with FORCE_STORED
- Rewrite of zran in examples (see zran.c version history)
- Fix minizip to allow it to open an empty zip file
- Fix reading disk number start on zip64 files in minizip
- Fix logic error in minizip argument processing
- Add minizip testing to Makefile
- Read multiple bytes instead of byte-by-byte in minizip unzip.c
- Add memory sanitizer to configure (--memory)
- Various portability improvements
- Various documentation improvements
- Various spelling and typo corrections
|
2024-01-26 13:47:03 by Dr. Thomas Orgis | Files touched by this commit (1) |
Log message:
devel/zlib: add missing zlib.map
|
2024-01-25 17:41:20 by Dr. Thomas Orgis | Files touched by this commit (1) |
Log message:
devel/zlib: include the version script from upstream
Adding symbol versions to the shared library on Linux.
This brings zlib more in line what distro builds have on Linux, avoiding
lots of complaints in the case that you have to replace native zlib with
an upgraded version from pkgsrc (to build octave on CentOS 7.x, for
example).
|
2024-01-13 21:07:34 by Taylor R Campbell | Files touched by this commit (24) |
Log message:
*/builtin.mk: Use ${_CROSS_DESTDIR:U} for build-time file checks.
These are questions about the target system, whose files at
build-time are all relative to ${_CROSS_DESTDIR} if it is defined,
i.e., if USE_CROSS_COMPILE is set to yes.
No change to native builds because ${_CROSS_DESTDIR:U} is empty in
them. (Possible minor change by adding :Q to ${H_FOO} in command
lines, but if this makes a difference it likely fixes problems.)
|
2022-11-09 14:14:32 by Joerg Sonnenberger | Files touched by this commit (223) |
Log message:
Reset MAINTAINER
|
2022-10-14 09:43:57 by Thomas Klausner | Files touched by this commit (25) | |
Log message:
zlib: update to 1.2.13
Replace the existing files (except files/Makefile) from upstream sources.
Add LICENSE file.
Clean up some pkglint.
Fixes CVE-2022-37434.
Changes in 1.2.13 (13 Oct 2022)
- Fix configure issue that discarded provided CC definition
- Correct incorrect inputs provided to the CRC functions
- Repair prototypes and exporting of new CRC functions
- Fix inflateBack to detect invalid input with distances too far
- Have infback() deliver all of the available output up to any error
- Fix a bug when getting a gzip header extra field with inflate()
- Fix bug in block type selection when Z_FIXED used
- Tighten deflateBound bounds
- Remove deleted assembler code references
- Various portability and appearance improvements
|