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
This commit is contained in:
Bernhard M. Wiedemann 2019-11-06 09:03:27 +00:00 committed by Git OBS Bridge
parent 9be93ef415
commit 9650867759
5 changed files with 42 additions and 16 deletions

View File

@ -1,19 +1,17 @@
diff -Naur -Naru zstd-1.3.4/programs/zstd.1 zstd-1.3.4.new/programs/zstd.1 Index: zstd-1.4.4/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 --- zstd-1.4.4.orig/programs/zstd.1
@@ -177,7 +177,14 @@ +++ zstd-1.4.4/programs/zstd.1
.TP @@ -213,6 +213,12 @@ All arguments after \fB\-\-\fR are treat
\fB\-\-\fR .SS "Restricted usage of Environment Variables"
All arguments after \fB\-\-\fR are treated as files 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 +.SH Parallel Zstd OPTIONS
+Additional options for the pzstd utility +Additional options for the pzstd utility
+.TP +.TP
+.BR \-p ", " --processes +.BR \-p ", " --processes
+ number of threads to use for (de)compression (default:4) + number of threads to use for (de)compression (default:4)
+ +.
+
.SH "DICTIONARY BUILDER" .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\. \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\.
. .

View File

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

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

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

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Tue Nov 5 18:39:50 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
- 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 <idonmez@suse.com> Tue Aug 20 07:25:49 UTC 2019 - Ismail Dönmez <idonmez@suse.com>

View File

@ -19,13 +19,13 @@
%define major 1 %define major 1
%define libname lib%{name}%{major} %define libname lib%{name}%{major}
Name: zstd Name: zstd
Version: %{major}.4.3 Version: %{major}.4.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
Group: Productivity/Archiving/Compression Group: Productivity/Archiving/Compression
URL: https://github.com/facebook/zstd 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 Source99: baselibs.conf
Patch1: pzstd.1.patch Patch1: pzstd.1.patch
BuildRequires: gcc BuildRequires: gcc