Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
15f20fec9b |
17
pzstd.1.patch
Normal file
17
pzstd.1.patch
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
Index: zstd-1.5.4/programs/zstd.1
|
||||||
|
===================================================================
|
||||||
|
--- zstd-1.5.4.orig/programs/zstd.1
|
||||||
|
+++ zstd-1.5.4/programs/zstd.1
|
||||||
|
@@ -171,6 +171,12 @@ do not store the original filename and t
|
||||||
|
.TP
|
||||||
|
\fB\-\-best\fR
|
||||||
|
alias to the option \fB\-9\fR\.
|
||||||
|
+.SS Parallel Zstd OPTIONS
|
||||||
|
+Additional options for the pzstd utility
|
||||||
|
+.TP
|
||||||
|
+\fB\-p\fR, \fB\-\-processes\fR
|
||||||
|
+ number of threads to use for (de)compression (default:4)
|
||||||
|
+.
|
||||||
|
.SS "Environment Variables"
|
||||||
|
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
|
BIN
zstd-1.5.5.tar.gz
(Stored with Git LFS)
Normal file
BIN
zstd-1.5.5.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
17
zstd-1.5.5.tar.gz.sig
Normal file
17
zstd-1.5.5.tar.gz.sig
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQJFBAADCgAvFiEETvSsY0VfyfRUXZt974/plSi1L/0FAmQsotIRHHNpZ25pbmdA
|
||||||
|
enN0ZC5uZXQACgkQ74/plSi1L/16Jg//RoYFnXQxQFDLy1I47fIGKzBn7U5YXeeT
|
||||||
|
qbCfXqkv0Mr/XUW0z9eWXpKBTMIN+mARX/1gNiM7wIpb1jrah11ZJR6u3k5C/NFZ
|
||||||
|
pqM/HNxDdAjV+C/t6/fgT8VcZEq1jDOI7BM7fZPhi5kLp7UgWmfZfePIF3qMtadp
|
||||||
|
QewGQ9fzzc96XqNFycNZPRGHNVbj7YbT2tGK9RpiWDFbo23c8wuwibur7jX28jPQ
|
||||||
|
6esAmGckzirb3lElByQ4oJwtVwP0lkAtFwJZx/E3EhCszrvnS2j+X+6DgF3Fhz3E
|
||||||
|
7e9YCS5tF0wUr2WMhLeAAFbVYcKezYlLpym7KM5BX6LjAEbaX4eEx66KJECI0LYm
|
||||||
|
HrPo33mBkJcUEX5sXs2P3QQ3phLOIg/TC9ECN7YORLoZca/nj1C7JgdIJ6VFHFZK
|
||||||
|
4JMSO0DOxNiCuvDy+EU9EwCIKhfNTl/vlcyqMjrMJxZ9QO3bykcKUirsOgz8GpO7
|
||||||
|
RwPupGog0E+pDv3GemSYn7kU+N2Vba4b/T/65WpssMJ4zC2z7jMFvEbeoyhKsV2m
|
||||||
|
xClHq4bgk3Tt2WlUS9fH5DMramwhXKIncPsXNlg3rTqiik3GuE+56AijsE/CBAlo
|
||||||
|
MHGAV/IvR2XIo+khZ5wIix15YW/WEbdxB4uT0CeKlBt+XXLTQ/kLAEI3o+IhA4EB
|
||||||
|
jBu+O1qqDVI=
|
||||||
|
=3yPb
|
||||||
|
-----END PGP SIGNATURE-----
|
BIN
zstd-1.5.7.tar.gz
(Stored with Git LFS)
BIN
zstd-1.5.7.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,17 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQJFBAADCgAvFiEETvSsY0VfyfRUXZt974/plSi1L/0FAme2UiwRHHNpZ25pbmdA
|
|
||||||
enN0ZC5uZXQACgkQ74/plSi1L/0AXQ/8Cws6GYY/1VLiBKsxKaOTeETM0poDGtzX
|
|
||||||
plYMAnbSrDLLoUKXN4ovy2Zrz6iJoi1WLdTwpYRR5En90tvaQaDHXrFDvf1bKJw0
|
|
||||||
C5ldy0xDxZ4TPJr7QBL3Xv1/XResNnFjzYdKMKTa4R9gVPca4BTzszolq8VHyKp7
|
|
||||||
aj2NlDdm/jrq67o5GGDo3K+GzUlzvOgxfdV5+eBWyjCYLSzBEfI6kX6mRJ7BdYBL
|
|
||||||
JWk+OnmW7K9vQTYANkrNMTqeKxaI8OJxfs8zk14TqKYSMoyj1MUW94eknj+A6Inv
|
|
||||||
vEW749Pb/u1iUEouRdTuNyG6iDRi1Jm7e9huiocWzNqH7XSYZDDUA0LwGJamdn7y
|
|
||||||
VH9Au8tABEfzHX5KWS/HYkKEkOXagNdUp24Kma9CdhmTjZny9oOJKEvv4rtRMf+z
|
|
||||||
XgoSRIR5OxAv6u0aCgi9CR5xQyiMiklQ07x+r1CpMeaj+dzwOAM0nQtwPmXDVc4d
|
|
||||||
9fwe7fBmBtDHiKqJV5k526UndxRay1GdmS1TOTahDjAbivGpHrVvulabfVO1MbJn
|
|
||||||
PlzMaW+jZ6kJ1+YKZELlwXRi9NeoOSQAQcIheL/DOZ22ThnWKG3fQQ8Q5ismCAkm
|
|
||||||
Hw6ypXSD2mndquoq8eUTlpbjIiqj9CuhIvz9TDnkeJhkWzXhnlC7hA8RNamkKQ5W
|
|
||||||
LC1I0ec0Dkw=
|
|
||||||
=8zJz
|
|
||||||
-----END PGP SIGNATURE-----
|
|
16
zstd.changes
16
zstd.changes
@@ -1,19 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Feb 27 11:12:09 UTC 2025 - Ali Abdallah <ali.abdallah@suse.com>
|
|
||||||
|
|
||||||
- update to 1.5.7:
|
|
||||||
* zstd now employs multiple threads by default
|
|
||||||
* Fix a rare bug in 32-bit mode
|
|
||||||
* Enhanced Compression Speed for Small Data Blocks
|
|
||||||
* Substantial --patch-from performance improvements
|
|
||||||
- Drop pzstd.1.patch - not upstream, but also not needed
|
|
||||||
|
|
||||||
- Changes between 1.5.5 and 1.5.6:
|
|
||||||
* Introduce a new stable parameter ZSTD_c_targetCBlockSize,
|
|
||||||
enabling the division of blocks into smaller segments to
|
|
||||||
enhance initial byte delivery speed for congested networks
|
|
||||||
* library allows allow ganular binary size selection
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 13 11:15:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Apr 13 11:15:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
23
zstd.spec
23
zstd.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package zstd
|
# spec file for package zstd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,13 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%define libname libzstd1
|
%define libname libzstd1
|
||||||
%if 0%{?suse_version} <= 1500
|
|
||||||
%define with_gzip 0
|
|
||||||
%else
|
|
||||||
%define with_gzip 1
|
|
||||||
%endif
|
|
||||||
Name: zstd
|
Name: zstd
|
||||||
Version: 1.5.7
|
Version: 1.5.5
|
||||||
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
|
||||||
@@ -33,6 +28,7 @@ Source0: https://github.com/facebook/zstd/releases/download/v%{version}/%
|
|||||||
Source1: https://github.com/facebook/zstd/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig
|
Source1: https://github.com/facebook/zstd/releases/download/v%{version}/%{name}-%{version}.tar.gz.sig
|
||||||
Source2: zstd.keyring
|
Source2: zstd.keyring
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
|
Patch1: pzstd.1.patch
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
# C++ is needed for pzstd only
|
# C++ is needed for pzstd only
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@@ -87,16 +83,15 @@ targeting faster compression than zlib at comparable ratios.
|
|||||||
|
|
||||||
Needed for compiling programs that link with the library.
|
Needed for compiling programs that link with the library.
|
||||||
|
|
||||||
%if %{with_gzip}
|
|
||||||
%package gzip
|
%package gzip
|
||||||
Summary: zstd and zlib based gzip drop-in
|
Summary: zstd and zlib based gzip drop-in
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
Requires: %{name} >= %{version}
|
|
||||||
Conflicts: busybox-gzip
|
Conflicts: busybox-gzip
|
||||||
Conflicts: gzip
|
Conflicts: gzip
|
||||||
Conflicts: alternative(gzip)
|
Conflicts: alternative(gzip)
|
||||||
Provides: gzip
|
Provides: gzip
|
||||||
Provides: alternative(gzip)
|
Provides: alternative(gzip)
|
||||||
|
Requires: %{name} >= %{version}
|
||||||
|
|
||||||
%description gzip
|
%description gzip
|
||||||
Zstd, short for Zstandard, is a lossless compression algorithm,
|
Zstd, short for Zstandard, is a lossless compression algorithm,
|
||||||
@@ -104,7 +99,6 @@ targeting faster compression than zlib at comparable ratios.
|
|||||||
|
|
||||||
This subpackage provides a compatible alternative to gzip(1) using
|
This subpackage provides a compatible alternative to gzip(1) using
|
||||||
an optimized deflate/zlib handling.
|
an optimized deflate/zlib handling.
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
@@ -129,13 +123,12 @@ export CXXFLAGS="%{optflags} -std=c++11"
|
|||||||
%make_install V=1 VERBOSE=1 prefix=%{_prefix} libdir=%{_libdir}
|
%make_install V=1 VERBOSE=1 prefix=%{_prefix} libdir=%{_libdir}
|
||||||
install -D -m755 contrib/pzstd/pzstd %{buildroot}%{_bindir}/pzstd
|
install -D -m755 contrib/pzstd/pzstd %{buildroot}%{_bindir}/pzstd
|
||||||
install -D -m644 programs/zstd.1 %{buildroot}%{_mandir}/man1/pzstd.1
|
install -D -m644 programs/zstd.1 %{buildroot}%{_mandir}/man1/pzstd.1
|
||||||
%if %{with_gzip}
|
|
||||||
ln -s zstd %{buildroot}/%{_bindir}/gzip
|
ln -s zstd %{buildroot}/%{_bindir}/gzip
|
||||||
ln -s zstd %{buildroot}/%{_bindir}/gunzip
|
ln -s zstd %{buildroot}/%{_bindir}/gunzip
|
||||||
ln -s zstdcat %{buildroot}/%{_bindir}/zcat
|
ln -s zstdcat %{buildroot}/%{_bindir}/zcat
|
||||||
%endif
|
|
||||||
|
|
||||||
%ldconfig_scriptlets -n %{libname}
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING LICENSE
|
%license COPYING LICENSE
|
||||||
@@ -160,15 +153,11 @@ ln -s zstdcat %{buildroot}/%{_bindir}/zcat
|
|||||||
%{_libdir}/libzstd.so
|
%{_libdir}/libzstd.so
|
||||||
|
|
||||||
%files -n lib%{name}-devel-static
|
%files -n lib%{name}-devel-static
|
||||||
%license COPYING LICENSE
|
|
||||||
%{_libdir}/libzstd.a
|
%{_libdir}/libzstd.a
|
||||||
|
|
||||||
%if %{with_gzip}
|
|
||||||
%files gzip
|
%files gzip
|
||||||
%license COPYING LICENSE
|
|
||||||
%{_bindir}/gzip
|
%{_bindir}/gzip
|
||||||
%{_bindir}/gunzip
|
%{_bindir}/gunzip
|
||||||
%{_bindir}/zcat
|
%{_bindir}/zcat
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user