- remove patch from upstream fixing build failure with gcc
- patch CMakeLists.txt to use pkg-config to find system zstd (instead of
trying to fetch zstd source from github..)
- enable zstd support
Minizip was originally developed in 1998. It was first included in the zlib
distribution as an additional code contribution starting in zlib 1.1.2. Since
that time, it has been continually improved upon and contributed to by many
people.
+ Creating and extracting zip archives.
+ Adding and removing entries from zip archives.
+ Read and write raw zip entry data.
+ Reading and writing zip archives from memory.
+ Zlib, BZIP2, LZMA, and ZSTD compression methods.
+ Password protection through Traditional PKWARE and WinZIP AES encryption.
+ Buffered streaming for improved I/O performance.
with fixes and tweaks from cwen@:
- add patch to fix build on gcc
- disable -Os
- build & enable tests
some ports bundle it, some ports allow building against a systemwide
one, some ports bundle/rely on an incompatible version - all those will be
fixed in following commits.
required by an upcoming geo/spatialite/libspatialite update.
ok bentley@ cwen@
algorithm that compresses data using a combination of a modern
variant of the LZ77 algorithm, Huffman coding and 2nd order context
modeling, with a compression ratio comparable to the best currently
available general-purpose compression methods. It is similar in
speed with deflate but offers more dense compression.
Original version by thfr. Moved to current python port standards by
me. Typo fix pointed out by sthen.
ok sthen
The bindings provided in this package cover the frame format, the
block format, and the streaming format specifications. The frame
format bindings are the recommended ones to use, as this guarantees
interoperability with other implementations and language bindings.
Needed for thfr's pending py-unitypy port and another port I have in progress
Some details picked up from thfr's version. Tweak from sthen.
ok sthen
- 'COMPILER=base-clang ports-gcc' is needed because of -Wvla in a couple
of Makefiles, which is easily patched out
- switch ALL_TARGET to 'default' as 'allmost' builds stuff that we do
not package. This saves a couple of seconds while building, plus the
build is C-only
- No need for WANTLIB+=atomic/LDFLAGS+=-latomic (hppa only). There is
nothing related to atomics in the stuff that is build (related to
ALL_TARGET)
- No need to set CXX* in MAKE_ENV as the build is C-only
- No need to set CFLAGS. Upstream's (GNU)Makefile properly amends CFLAGS
on a per-target basis. We already provide CFLAGS through MAKE_ENV, let
the Makefile do its job
- Update CPPFLAGS
OK sthen@
archivers/zstd has tripled. This is caused by zstd building everything
in examples and contrib, which we do not package. Setting ALL_TARGET
fixes this. Build time, on my x230, dropped from 20m41.61s to 5m47.06s.
No REVISION bump required.
OK naddy@
I highly suspect this is not needed but it's too tempting to just bump
three ports and forget about it.
No objection from tb@ (py-tlslite-ng maintainer)
LASzip quickly turns bulky LAS files into compact LAZ files without
information loss and is the de-facto standard for LiDAR compression.
LASzip compression can be many times smaller and many times faster than
generic compressors like bz2, gzip, and rar because it knows what the
different bytes in a LAS file represent.
with tweaks from & ok sthen@ jca@
CVE-2018-1000035 (heap overflow in processing password-protected archives)
CVE-2019-13232 (mishandles the overlapping of files inside a ZIP container)
From Moritz Buhl
revert to using MASTER_SITES again
successfully extracts a few test archives from GOG.com
While here, add comments with reason for COMPILER=base-clang ports-gcc
(C++17), and reason for WANTLIBs boost_system-mt and pthread which
portcheck lists as "Extra"
Changelog: https://constexpr.org/innoextract/changelog
This is used for -T0 which auto-detects the number of cores for parallel
compression. xz prefers sysctl over sysconf (see m4/tuklib_cpucores.m4
and src/common/tuklib_cpucores.c for reasons) but this doesn't work for
us; just set an autoconf cache variable to force sysconf which works
better for us.