From 9650867759df7f6806f656a800c1dadf48e23aa0fa968b2a82a9a561d6ac104a Mon Sep 17 00:00:00 2001 From: Bernhard Wiedemann Date: Wed, 6 Nov 2019 09:03:27 +0000 Subject: [PATCH] Accepting request 745552 from home:namtrac:branches:Archiving - Update to version 1.4.4 * perf: Improved decompression speed, by > 10% * perf: Better compression speed when re-using a context * perf: Fix compression ratio when compressing large files with small dictionary * perf: zstd reference encoder can generate RLE blocks * perf: minor generic speed optimization * api: new ability to extract sequences from the parser for analysis * api: fixed decoding of magic-less frames * api: fixed ZSTD_initCStream_advanced() performance with fast modes * cli: Named pipes support * cli: short tar's extension support * cli: command --output-dir-flat=DIE , generates target files into requested directory * cli: commands --stream-size=# and --size-hint=# * cli: command --exclude-compressed * cli: faster -t test mode * cli: improved some error messages * cli: fix rare deadlock condition within dictionary builder * misc: Improved documentation : ZSTD_CLEVEL, DYNAMIC_BMI2, ZSTD_CDict, function deprecation, zstd format * misc: fixed educational decoder : accept larger literals section, and removed UNALIGNED() macro - Refresh pzstd.1.patch OBS-URL: https://build.opensuse.org/request/show/745552 OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=45 --- pzstd.1.patch | 20 +++++++++----------- zstd-1.4.3.tar.gz | 3 --- zstd-1.4.4.tar.gz | 3 +++ zstd.changes | 28 ++++++++++++++++++++++++++++ zstd.spec | 4 ++-- 5 files changed, 42 insertions(+), 16 deletions(-) delete mode 100644 zstd-1.4.3.tar.gz create mode 100644 zstd-1.4.4.tar.gz diff --git a/pzstd.1.patch b/pzstd.1.patch index eb2569d..ccaca3f 100644 --- a/pzstd.1.patch +++ b/pzstd.1.patch @@ -1,19 +1,17 @@ -diff -Naur -Naru zstd-1.3.4/programs/zstd.1 zstd-1.3.4.new/programs/zstd.1 ---- zstd-1.3.4/programs/zstd.1 2018-03-26 22:19:34.000000000 +0000 -+++ zstd-1.3.4.new/programs/zstd.1 2018-03-28 04:28:27.532777239 +0000 -@@ -177,7 +177,14 @@ - .TP - \fB\-\-\fR - All arguments after \fB\-\-\fR are treated as files --. -+ +Index: zstd-1.4.4/programs/zstd.1 +=================================================================== +--- zstd-1.4.4.orig/programs/zstd.1 ++++ zstd-1.4.4/programs/zstd.1 +@@ -213,6 +213,12 @@ All arguments after \fB\-\-\fR are treat + .SS "Restricted usage of Environment Variables" + Using environment variables to set parameters has security implications\. Therefore, this avenue is intentionally restricted\. Only \fBZSTD_CLEVEL\fR is supported currently, for setting compression level\. \fBZSTD_CLEVEL\fR can be used to set the level between 1 and 19 (the "normal" range)\. If the value of \fBZSTD_CLEVEL\fR is not a valid integer, it will be ignored with a warning message\. \fBZSTD_CLEVEL\fR just replaces the default compression level (\fB3\fR)\. It can be overridden by corresponding command line arguments\. + . +.SH Parallel Zstd OPTIONS +Additional options for the pzstd utility +.TP +.BR \-p ", " --processes + number of threads to use for (de)compression (default:4) -+ -+ ++. .SH "DICTIONARY BUILDER" \fBzstd\fR offers \fIdictionary\fR compression, which greatly improves efficiency on small files and messages\. It\'s possible to train \fBzstd\fR with a set of samples, the result of which is saved into a file called a \fBdictionary\fR\. Then during compression and decompression, reference the same dictionary, using command \fB\-D dictionaryFileName\fR\. Compression of small files similar to the sample set will be greatly improved\. . diff --git a/zstd-1.4.3.tar.gz b/zstd-1.4.3.tar.gz deleted file mode 100644 index f7d0416..0000000 --- a/zstd-1.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e88ec8d420ff228610b77fba4fbf22b9f8b9d3f223a40ef59c9c075fcdad5767 -size 1899158 diff --git a/zstd-1.4.4.tar.gz b/zstd-1.4.4.tar.gz new file mode 100644 index 0000000..2f15377 --- /dev/null +++ b/zstd-1.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a364f5162c7d1a455cc915e8e3cf5f4bd8b75d09bc0f53965b0c9ca1383c52c8 +size 1962617 diff --git a/zstd.changes b/zstd.changes index 8992e2d..28375ad 100644 --- a/zstd.changes +++ b/zstd.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Tue Nov 5 18:39:50 UTC 2019 - Ismail Dönmez + +- Update to version 1.4.4 + * perf: Improved decompression speed, by > 10% + * perf: Better compression speed when re-using a context + * perf: Fix compression ratio when compressing large files with + small dictionary + * perf: zstd reference encoder can generate RLE blocks + * perf: minor generic speed optimization + * api: new ability to extract sequences from the parser for analysis + * api: fixed decoding of magic-less frames + * api: fixed ZSTD_initCStream_advanced() performance with fast modes + * cli: Named pipes support + * cli: short tar's extension support + * cli: command --output-dir-flat=DIE , generates target files into + requested directory + * cli: commands --stream-size=# and --size-hint=# + * cli: command --exclude-compressed + * cli: faster -t test mode + * cli: improved some error messages + * cli: fix rare deadlock condition within dictionary builder + * misc: Improved documentation : ZSTD_CLEVEL, DYNAMIC_BMI2, + ZSTD_CDict, function deprecation, zstd format + * misc: fixed educational decoder : accept larger literals section, + and removed UNALIGNED() macro +- Refresh pzstd.1.patch + ------------------------------------------------------------------- Tue Aug 20 07:25:49 UTC 2019 - Ismail Dönmez diff --git a/zstd.spec b/zstd.spec index 7e2444e..25656c5 100644 --- a/zstd.spec +++ b/zstd.spec @@ -19,13 +19,13 @@ %define major 1 %define libname lib%{name}%{major} Name: zstd -Version: %{major}.4.3 +Version: %{major}.4.4 Release: 0 Summary: Zstandard compression tools License: BSD-3-Clause AND GPL-2.0-only Group: Productivity/Archiving/Compression URL: https://github.com/facebook/zstd -Source0: https://github.com/facebook/zstd/releases/download/v%{version}/%{name}-%{version}.tar.gz +Source0: https://github.com/facebook/zstd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf Patch1: pzstd.1.patch BuildRequires: gcc