Commit Graph

61 Commits

Author SHA1 Message Date
Troy Dawson
088d0461a0 zchunk package is retired on branch c10s for BAKERY-412 2024-03-21 19:51:11 +00:00
Jonathan Dieter
b1543e76f3 Update to 1.4.0
* Add native OpenSSL 3 compatibility
* Add new function for getting zchunk context from chunk
* Fix bug when assembling from multiple sources

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2023-12-19 20:10:16 +00:00
Jonathan Dieter
5d02b22bac Update to 1.3.2 which fixes a couple of unsigned integer overflow bugs
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2023-10-05 20:10:35 +01:00
Jonathan Dieter
a04907a050 Update license tag to be SPDX compatible
Signed-off-by: Jonathan Dieter <jonathan.dieter@cyara.com>
2023-08-04 09:43:30 +01:00
Fedora Release Engineering
dcd9a50676 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:38:27 +00:00
Jonathan Dieter
5950ea2a8e Fix a few low severity security bugs
- An off-by-one overflow when reading compressed integers from a
   malicious zchunk file
 - Error handling being skipped when the number of bytes read doesn't
   match what's expected
 - Not freeing memory when attempting to reallocate to size 0

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2023-04-04 21:35:44 +01:00
Jonathan Dieter
c7e33f933d Add option to generate a zchunk header from an uncompressed file
This can now be done without actually creating the zchunk file

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2023-02-25 14:59:08 +00:00
Jonathan Dieter
72328c27c8 Fix test compatibility with zstd-1.5.4
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2023-02-18 19:11:07 +00:00
Fedora Release Engineering
87cf13a991 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 08:13:07 +00:00
Jonathan Dieter
6a7cac0bec Fix small formatting issues
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2022-09-16 21:42:25 +01:00
Fedora Release Engineering
2dc706a0dd Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:52:33 +00:00
Jonathan Dieter
d7bf4d9d36 Fix a number of small issues highlighted by Coverity
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2022-04-18 17:43:16 +01:00
Jonathan Dieter
cd87f58e8e Update to 1.2.1 which fixes a few bugs
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2022-03-12 16:57:25 +00:00
Jonathan Dieter
2224c2782f Update to 1.2.0
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2022-02-20 17:19:14 +00:00
Fedora Release Engineering
543d8f0536 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 05:49:02 +00:00
Sahana Prasad
9df5fb6d84 Rebuilt with OpenSSL 3.0.0 2021-09-14 19:18:38 +02:00
Fedora Release Engineering
eb7fd304b8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 22:15:24 +00:00
Jonathan Dieter
1f58bfcd3e Fix major bug when creating a zchunk file w/ dict
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2021-06-01 20:46:11 +01:00
Jonathan Dieter
f6ea1e7d5d Update to 1.1.14
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2021-05-20 21:27:47 +01:00
Jonathan Dieter
2100feb87c Stage changed sources
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2021-05-20 20:59:32 +01:00
Jonathan Dieter
d58b2a4fcf Update to 1.1.13
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2021-05-20 20:54:04 +01:00
Jonathan Dieter
a2b24f432c Fix multipart download failures on rare web servers
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2021-05-01 18:28:57 +01:00
Fedora Release Engineering
6c4b5e26b8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-28 00:39:45 +00:00
Jonathan Dieter
0e0ab101b4 Fix for tests when building against zstd-1.4.7+ and new man pages
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2020-12-30 22:58:28 +00:00
Fedora Release Engineering
d8d91ebc4b - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 15:20:44 +00:00
Fedora Release Engineering
1c1e52cc0a - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 05:16:05 +00:00
Jonathan Dieter
acb0ef8bd7 Fix small bug in corner case when handling write failures
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2020-01-18 21:41:25 +00:00
Jonathan Dieter
aaa3141be5 Fix download failure when content-type isn't included in each range
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2019-11-13 17:26:20 +00:00
Fedora Release Engineering
52f591323b - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 04:57:32 +00:00
Jonathan Dieter
d5bc46de6d Actually upload new sources
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2019-05-19 18:25:39 +01:00
Jonathan Dieter
91a89dc75d Fix multipart range handling to work with quotes
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2019-05-19 18:13:53 +01:00
Adam Williamson
1ddba674cc Rebuild with Meson fix for #1699099 2019-04-16 13:18:35 -07:00
Jonathan Dieter
2591af0162 Bump for missing sources
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2019-04-15 13:08:29 +01:00
Jonathan Dieter
14b595c550 Add missing sources
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2019-04-15 13:06:16 +01:00
Jonathan Dieter
1693cd4333 Fix compilation on old GCC versions
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2019-04-15 12:41:20 +01:00
Jonathan Dieter
fb32d4d4e7 Optimize chunk matching while downloading, significantly reducing CPU usage
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2019-03-23 22:28:17 +00:00
Jonathan Dieter
43b3032c09 Fix multipart boundary bug when dealing with lighttpd servers
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2019-03-16 23:06:24 +00:00
Fedora Release Engineering
7d29c9275f - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 13:08:49 +00:00
Jonathan Dieter
132ad5e2e9 Fix several memory leaks and off-by-one bugs
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2019-01-24 20:48:29 +00:00
Jonathan Dieter
668b1fd611 Fix bug where identical chunks weren't matched 2018-12-28 22:18:49 +00:00
Jonathan Dieter
f1fcea0afc Use hash table for finding identical chunks, speeding up process considerably 2018-12-28 14:19:33 +00:00
Jonathan Dieter
1e211ce212 Bump to 1.0 release with API/ABI stability guarantee
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2018-12-22 20:50:06 +00:00
Jonathan Dieter
3def856f98 Disable some tests in big-endian architectures 2018-12-09 19:04:17 +00:00
Jonathan Dieter
c1bb1e7c35 Add zck_gen_zdict binary to generate optimal zdict for a zchunk file 2018-12-08 22:33:03 +00:00
Jonathan Dieter
ff3550a048 Switch from optional flags to more robust optional elements 2018-11-13 14:18:07 +00:00
Jonathan Dieter
bacf4dabfa Sanity check hex hashes passed in as an option
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2018-11-01 19:38:07 +00:00
Jonathan Dieter
da9d4344d0 Update tests for zstd-1.3.6
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2018-10-08 14:56:22 +01:00
Jonathan Dieter
a65ba16384 Add read support for zchunk files with optional flags
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2018-10-08 14:33:00 +01:00
Jonathan Dieter
83ac07755c Update to 0.9.11 which fixes small bug in zck_dl
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2018-09-28 15:33:04 +01:00
Jonathan Dieter
9754031271 Update to 0.9.10 with security bug fixes
Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
2018-09-18 14:39:04 +01:00