Accepting request 1067313 from Archiving

zchunk is already updated to work with zstd-1.5.4

- update to 1.5.4:
  * perf: +20% faster huffman decompression for targets that
    can't compile x64 assembly
  * perf: up to +10% faster streaming compression at levels 1-2
  * perf: +4-13% for levels 5-12 by optimizing function
    generation
  * pref: +3-11% compression speed for `arm` target
  * perf: +5-30% faster dictionary compression at levels 1-4
  * perf: +10-20% cold dict compression speed by prefetching
    CDict tables
  * perf: +1% faster compression by removing a branch in
    ZSTD_fast_noDict
  * perf: Small compression ratio improvements in high
    compression mode
  * perf: small speed improvement by better detecting
    `STATIC_BMI2` for `clang`
  * perf: Improved streaming performance when
    `ZSTD_c_stableInBuffer` is set
  * cli: Asynchronous I/O for improved cli speed
  * cli: Change `zstdless` behavior to align with `zless`
  * cli: Keep original file if `-c` or `--stdout` is given
  * cli: Keep original files when result is concatenated into a
    single output with `-o`
  * cli: Preserve Permissions and Ownership of regular files
  * cli: Print zlib/lz4/lzma library versions with `-vv`
  * cli: Print checksum value for single frame files with `-lv`
  * cli: Print `dictID` when present with `-lv`
  * cli: when `stderr` is *not* the console, disable status
    updates, but preserve final summary
  * cli: support `--best` and `--no-name` in `gzip` compatibility

OBS-URL: https://build.opensuse.org/request/show/1067313
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zstd?expand=0&rev=30
This commit is contained in:
2023-02-25 18:54:13 +00:00
committed by Git OBS Bridge
7 changed files with 115 additions and 36 deletions

View File

@@ -1,17 +1,17 @@
Index: zstd-1.5.2/programs/zstd.1 Index: zstd-1.5.4/programs/zstd.1
=================================================================== ===================================================================
--- zstd-1.5.2.orig/programs/zstd.1 --- zstd-1.5.4.orig/programs/zstd.1
+++ zstd-1.5.2/programs/zstd.1 +++ zstd-1.5.4/programs/zstd.1
@@ -217,6 +217,12 @@ If input directory contains "\.\.", the @@ -171,6 +171,12 @@ do not store the original filename and t
. .TP
.IP "" 0 \fB\-\-best\fR
. alias to the option \fB\-9\fR\.
+.SS Parallel Zstd OPTIONS +.SS Parallel Zstd OPTIONS
+Additional options for the pzstd utility +Additional options for the pzstd utility
+.TP +.TP
+\fB\-p\fR, \fB\-\-processes\fR +\fB\-p\fR, \fB\-\-processes\fR
+ number of threads to use for (de)compression (default:4) + number of threads to use for (de)compression (default:4)
+. +.
.SS "Restricted usage of Environment Variables" .SS "Environment Variables"
Using environment variables to set parameters has security implications\. Therefore, this avenue is intentionally restricted\. Only \fBZSTD_CLEVEL\fR and \fBZSTD_NBTHREADS\fR are currently supported\. They set the compression level and number of threads to use during compression, respectively\. Employing environment variables to set parameters has security implications\. Therefore, this avenue is intentionally limited\. Only \fBZSTD_CLEVEL\fR and \fBZSTD_NBTHREADS\fR are currently supported\. They set the compression level and number of threads to use during compression, respectively\.
. .P

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0
size 1936664

View File

@@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAADCgAvFiEETvSsY0VfyfRUXZt974/plSi1L/0FAmHp2lARHHNpZ25pbmdA
enN0ZC5uZXQACgkQ74/plSi1L/3cNA//QJClHfc5gvIfxWO199i4reO6GDOzoNWS
6xi6MCv1fxHHYfJZTij2/Uokyuc3lr0WD0AUGLFOy3jKUtWUCDjgp12iOEKa9pbf
MIJ5jEHUYkC6yAr3omlgpPQ5EXnKs4u1b9AopKs90GKTVKrDreaoyTqlF7nGV3ud
xS5t4r1ihwEnxfe4GcAga2T/uX0iu2yWzqxol3/T/DwqmK0gvEpaw0qEGSVRItW3
dEGiSAOYRfOxPMg1u8KlD/E/oe7GPEIjRkt8RALWRpzg+FuTHhBvUfjKUV7ZJyWa
HNnxzMbsKxDFNzZ/EDfG4ATZQVcL73iEi/3vT4OWHi2NI2U+S1JwKMyV4831jQ8E
M1ta97trYDyCggMCT1Na5zYJZNpGFu1T1Vhb6iFSNyQq0aZilshL3opsgR1CxqUf
BAD+rUpDRsomYH79gjwM45Fe3D3fRxXrVKhur9WsO0+OYpyULBX/oJ7z/9JNL240
yN+QlpIjlkrolPB07ykjN9OsyWuHD6PJ37RVO4laEcsrn+CqGvJ2L/wOsNsQhJ+Y
3Bwp2wLhaNeHNRmRiqc79/pIOqrdiKAp/ji0jVWfBj/QDpnDdxNznzOuehIpmiLB
hSJbeycS/t/RFU3JO7UakdTc8s1mr9VaJSCHcXlgYoeuQ4O0ljKbH/g9Dn/LLWFG
Z4Zccqm7w90=
=89fj
-----END PGP SIGNATURE-----

3
zstd-1.5.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f470992aedad543126d06efab344dc5f3e171893810455787d38347343a4424
size 2161536

17
zstd-1.5.4.tar.gz.sig Normal file
View File

@@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAADCAAvFiEETvSsY0VfyfRUXZt974/plSi1L/0FAmPlnxIRHHNpZ25pbmdA
enN0ZC5uZXQACgkQ74/plSi1L/0HtQ//RlPwx5rGYTeVBenJXspAhOdsX0R2V33y
uUaziGTTlSf4VzANSEprcF9siCOhdsr7a5i6u57FtdtVZR4MHK1DGFcReyXr/vyJ
W5AOGhXGaIgSuRlVbZhv7XGiV5GNqEE4qu1HFEoBUEZ/RXReOH2IYAKQpNq6Phju
aHNH1Zmt/x1P2qzN3wr0livXcddSVThtCBscFCHqL6L4GA8GUtjx5mQV0mkdhaGf
J62FY71eeG8vxolk0hkMIZSnQlyE8rq/DZ+wM/Q3YFfh0NDvggh/Ogejc41SKSv/
+uoobCmEKc+ypqeIYIsWUng3F/HrPnAJOfDc/b+jCJwQc9HQa5tsasQ15uuYqFhl
5fsHyJjFyaG1WZ4eGQ7BSIzhqz37JLY2UQPl5kylo008fFryuOuX2P8gzP94GH8Q
vL98/B13Aj5UM01YluhATj1uGw3AGvaIL9x1wuBKaLVVDypuRlYTkM5FjAEDyLFU
++Un7ZsZBAD1EIxEw+mCPE55wcp+LFBYIH70gIwCKk9aeI1TiJl6be1iptGb/3eV
06z86MghxV15cac8rSqB5i9t90c1kUz/8eU9XrlAYwKYAo9BcQR2G6em6E8f/5t8
4APP0QYi2O78QAjoXUEwT9fbWs+F9hbGN7kj63PIzYLqiMc8MNcz7Unq9yxDNYBk
drCMUln4cHI=
=nV7j
-----END PGP SIGNATURE-----

View File

@@ -1,3 +1,87 @@
-------------------------------------------------------------------
Fri Feb 10 08:22:04 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
- update to 1.5.4:
* perf: +20% faster huffman decompression for targets that
can't compile x64 assembly
* perf: up to +10% faster streaming compression at levels 1-2
* perf: +4-13% for levels 5-12 by optimizing function
generation
* pref: +3-11% compression speed for `arm` target
* perf: +5-30% faster dictionary compression at levels 1-4
* perf: +10-20% cold dict compression speed by prefetching
CDict tables
* perf: +1% faster compression by removing a branch in
ZSTD_fast_noDict
* perf: Small compression ratio improvements in high
compression mode
* perf: small speed improvement by better detecting
`STATIC_BMI2` for `clang`
* perf: Improved streaming performance when
`ZSTD_c_stableInBuffer` is set
* cli: Asynchronous I/O for improved cli speed
* cli: Change `zstdless` behavior to align with `zless`
* cli: Keep original file if `-c` or `--stdout` is given
* cli: Keep original files when result is concatenated into a
single output with `-o`
* cli: Preserve Permissions and Ownership of regular files
* cli: Print zlib/lz4/lzma library versions with `-vv`
* cli: Print checksum value for single frame files with `-lv`
* cli: Print `dictID` when present with `-lv`
* cli: when `stderr` is *not* the console, disable status
updates, but preserve final summary
* cli: support `--best` and `--no-name` in `gzip` compatibility
mode
* cli: support for `posix` high resolution timer
`clock_gettime()`, for improved benchmark accuracy
* cli: improved help/usage (`-h`, `-H`) formatting
* cli: Fix better handling of bogus numeric values
* cli: Fix input consists of multiple files _and_ `stdin`
* cli: Fix tiny files passthrough
* cli: Fix for `-r` on empty directory
* cli: Fix empty string as argument for `--output-dir-*`
* cli: Fix decompression memory usage reported by `-vv --long`
* cli: Fix infinite loop when empty input is passed to trainer
* cli: Fix `--adapt` doesn't work when `--no-progress` is also
set
* api: Support for Block-Level Sequence Producer
* api: Support for in-place decompression
* api: New `ZSTD_CCtx_setCParams()` function, set all
parameters defined in a `ZSTD_compressionParameters`
structure
* api: Streaming decompression detects incorrect header ID
sooner
* api: Window size resizing optimization for edge case
* api: More accurate error codes for busy-loop scenarios
* api: Fix limit overflow in `compressBound` and
`decompressBound` (#3362, #3373, Cyan4973) reported by
@nigeltao
* api: Deprecate several advanced experimental functions:
streaming (#3408, @embg), copy
* bug: Fix corruption that rarely occurs in 32-bit mode with
wlog=25
* bug: Fix for block-splitter
* bug: Fixes for Sequence Compression API
* bug: Fix leaking thread handles on Windows
* bug: Fix timing issues with cmake/meson builds
* build: Allow user to select legacy level for cmake
* build: Enable legacy support by default in cmake
* build: Meson build script improvements
* build: Add aarch64 to supported architectures for zstd_trace
* build: support AIX architecture
* build: Fix `ZSTD_LIB_MINIFY` build macro, which now reduces
static library size by half
* build: Fix Windows issues with Multithreading translation
layer (#3364, #3380, @yoniko) and ARM64 target
* build: Fix `cmake` script
* doc: Updated man page, providing more details for `--train`
mode
* doc: Add decompressor errata document
* misc: Enable Intel CET
* misc: Fix `contrib/` seekable format
* misc: Improve speed of the one-file library generator
- rebase pzstd.1.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 3 09:03:22 UTC 2023 - Dirk Müller <dmueller@suse.com> Tue Jan 3 09:03:22 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,7 +18,7 @@
%define libname libzstd1 %define libname libzstd1
Name: zstd Name: zstd
Version: 1.5.2 Version: 1.5.4
Release: 0 Release: 0
Summary: Zstandard compression tools Summary: Zstandard compression tools
License: BSD-3-Clause AND GPL-2.0-only License: BSD-3-Clause AND GPL-2.0-only
@@ -48,11 +48,6 @@ compression than gzip. For roughly the same time, zstd achives a
~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster ~12%% better ratio than gzip. LZMA outperforms zstd by ~10%% faster
compression for same ratio, or ~14%% size reduction for same time. compression for same ratio, or ~14%% size reduction for same time.
# This compression summary is based on https://lists.opensuse.org/opensuse-factory/2019-05/msg00344.html
%package -n %{libname} %package -n %{libname}
Summary: Zstd compression library Summary: Zstd compression library
Group: System/Libraries Group: System/Libraries