SHA256
1
0
forked from pool/zstd

9 Commits

Author SHA256 Message Date
b9aa9972f2 Sync changes to SLFO-1.2 branch 2025-08-20 14:34:56 +02:00
48ab3d59f2 Accepting request 1265120 from Archiving
OBS-URL: https://build.opensuse.org/request/show/1265120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zstd?expand=0&rev=41
2025-03-31 09:38:11 +00:00
90cbfd2d2a - Add patch (non-upstreamable):
* 0001-Don-t-export-libzstd_static-CMake-target.patch

OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=108
2025-03-28 09:30:07 +00:00
c43c9d2ed0 Accepting request 1254402 from Archiving
build with cmake as it is needed for building blender 4.4
  this should not be a problem any more as cmake:mini is in ring0

OBS-URL: https://build.opensuse.org/request/show/1254402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zstd?expand=0&rev=40
2025-03-20 18:23:26 +00:00
b198a24604 fixup non-cmake build
OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=106
2025-03-19 12:39:51 +00:00
cc6f0e403e - build with cmake as it is needed for building blender 4.4
this should not be a problem any more as cmake:mini is in ring0

OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=105
2025-03-19 12:38:39 +00:00
7a6fd11ae8 Accepting request 1247255 from Archiving
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

OBS-URL: https://build.opensuse.org/request/show/1247255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zstd?expand=0&rev=39
2025-02-22 18:04:14 +00:00
70acebaad7 Drop pzstd.1.patch - not upstream, but also not needed
OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=103
2025-02-20 03:11:55 +00:00
0339201dc4 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

OBS-URL: https://build.opensuse.org/package/show/Archiving/zstd?expand=0&rev=102
2025-02-20 03:01:34 +00:00
7 changed files with 31 additions and 84 deletions

View File

@@ -1,17 +0,0 @@
Index: zstd-1.5.6/programs/zstd.1
===================================================================
--- zstd-1.5.6.orig/programs/zstd.1
+++ zstd-1.5.6/programs/zstd.1
@@ -258,6 +258,12 @@ do not store the original filename and t
\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 default compression level and number of threads to use during compression, respectively\.
.

View File

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

View File

@@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQJFBAADCgAvFiEETvSsY0VfyfRUXZt974/plSi1L/0FAmYDZzgRHHNpZ25pbmdA
enN0ZC5uZXQACgkQ74/plSi1L/1Slw/+L4Z0YQU+3OwcbS7c/dmP/FHiCtyZHdHg
ShhC4YEmDvFsYeYLotkhB9v0rf+/ZMZLzaHGWbBqSA27VMfHNth0NA/onDE01PGm
0WetCZKG8DS4Nay/6YA/M9Z2Ag/LrXEZd2r643p/eiGXq70ufKpZujMF9B4iXW8c
T/vPPXiRffB/KuzPRSoGfiN5HZwD1+FWfZ+X2SWhEZ9tutwcaYpKazJtwOb6eEBN
SwDg7elwp3aqt0ci6CVCeU810lNmAKuedhHU6nZPSBeXWEMGSQ6OHJhKdm/Jolkv
r0DtiKvQFn1cN8rzohmxLO3/OplTDEOnSgfVkyfxxldu+0j4hvR3eCOOicHp70v/
WTSpVSlraIn4nJdTfLwO7xNxntdiGczR/fqLmewIctg2gY9wfx7ITOTgTyumuVcX
C0boMIS/Ra6l4RtLvwRC/QMXQNLmnkGPxULnGPpDfOfnF1NJzr0AVsD5D1V3wlZl
+ANBR3sjQbQOYGr7h15wgGWmTx/0hvANceUZcBWR2fUvBQQGkkwSQPpHjqdcVC8c
cMs56qFyihrXWyX3kohuPJ2EQEQl/s3FGoZKnuLjh98nXSh5uuXODDJUaB7adu2d
Ok2hJ34Xzyvgx1PwrHW6upfNeKsTcxATVg+1l42Yan0hExiZ+prDANdr8DJT/MYf
vSAV1ZQ2rPU=
=YKei
-----END PGP SIGNATURE-----

BIN
zstd-1.5.7.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

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

@@ -0,0 +1,17 @@
-----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-----

View File

@@ -1,38 +1,18 @@
-------------------------------------------------------------------
Thu Mar 28 15:56:09 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
Thu Feb 27 11:12:09 UTC 2025 - Ali Abdallah <ali.abdallah@suse.com>
- update to 1.5.6:
* Introduce a new stable parameter ZSTD_c_targetCBlockSize,
- 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
- drop zstd-pr-3961.patch, merged upstream
-------------------------------------------------------------------
Thu Mar 14 07:13:30 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Backport PAC/BTI fix for aarch64
https://github.com/facebook/zstd/pull/3961 :
* zstd-pr-3961.patch
-------------------------------------------------------------------
Fri Dec 29 13:21:02 UTC 2023 - ecsos <ecsos@opensuse.org>
- Disable build of gzip for Leap 15.x to fix build error.
-------------------------------------------------------------------
Thu May 25 11:41:00 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Revert the addition of build specific cmake files: breaks
gdal, apache-arrow and possibly others -- boo#1211566
* note that shipping cmake files is not intentional or supported
upstream at the moment: gh#facebook/zstd#3642
-------------------------------------------------------------------
Wed May 10 01:42:06 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
- Add cmake files manually because we do not want to add
cmake to the bootstrap ring0
-------------------------------------------------------------------
Thu Apr 13 11:15:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -146,21 +126,6 @@ Fri Feb 10 08:22:04 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
* misc: Fix `contrib/` seekable format
* misc: Improve speed of the one-file library generator
- rebase pzstd.1.patch
* Dropped patches:
- Disallow-empty-output-directory.patch
- Fix-buffer-underflow-for-null-dir1.patch
Fixed upstream
-------------------------------------------------------------------
Thu Feb 9 08:39:08 UTC 2023 - Ali Abdallah <ali.abdallah@suse.com>
- Fix CVE-2022-4899, bsc#1209533
* Fix buffer underflow when dir1 == ""
* Disallow empty string as an argument for --output-dir-flat=""
and --output-dir-mirror="".
- Added patches:
* Disallow-empty-output-directory.patch
* Fix-buffer-underflow-for-null-dir1.patch
-------------------------------------------------------------------
Tue Jan 3 09:03:22 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -23,7 +23,7 @@
%define with_gzip 1
%endif
Name: zstd
Version: 1.5.6
Version: 1.5.7
Release: 0
Summary: Zstandard compression tools
License: BSD-3-Clause AND GPL-2.0-only
@@ -33,7 +33,6 @@ 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
Source2: zstd.keyring
Source99: baselibs.conf
Patch1: pzstd.1.patch
BuildRequires: gcc
# C++ is needed for pzstd only
BuildRequires: gcc-c++