2018-07-06 14:41:38 +00:00
|
|
|
Name: zchunk
|
2021-06-01 19:46:11 +00:00
|
|
|
Version: 1.1.15
|
2021-09-14 17:18:38 +00:00
|
|
|
Release: 3%{?dist}
|
2018-07-06 14:41:38 +00:00
|
|
|
Summary: Compressed file format that allows easy deltas
|
|
|
|
License: BSD and MIT
|
|
|
|
URL: https://github.com/zchunk/zchunk
|
|
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: pkgconfig(libzstd)
|
|
|
|
BuildRequires: pkgconfig(libcurl)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
BuildRequires: meson
|
|
|
|
Requires: %{name}-libs%{_isa} = %{version}-%{release}
|
|
|
|
Provides: bundled(buzhash-urlblock) = 0.1
|
2020-01-18 21:41:25 +00:00
|
|
|
|
2018-07-06 14:41:38 +00:00
|
|
|
%description
|
|
|
|
zchunk is a compressed file format that splits the file into independent
|
|
|
|
chunks. This allows you to only download the differences when downloading a
|
|
|
|
new version of the file, and also makes zchunk files efficient over rsync.
|
|
|
|
zchunk files are protected with strong checksums to verify that the file you
|
|
|
|
downloaded is in fact the file you wanted.
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: Zchunk library
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
zchunk is a compressed file format that splits the file into independent
|
|
|
|
chunks. This allows you to only download the differences when downloading a
|
|
|
|
new version of the file, and also makes zchunk files efficient over rsync.
|
|
|
|
zchunk files are protected with strong checksums to verify that the file you
|
|
|
|
downloaded is in fact the file you wanted.
|
|
|
|
|
|
|
|
This package contains the zchunk library, libzck.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Headers for building against zchunk
|
|
|
|
Requires: %{name}-libs%{_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
zchunk is a compressed file format that splits the file into independent
|
|
|
|
chunks. This allows you to only download the differences when downloading a
|
|
|
|
new version of the file, and also makes zchunk files efficient over rsync.
|
|
|
|
zchunk files are protected with strong checksums to verify that the file you
|
|
|
|
downloaded is in fact the file you wanted.
|
|
|
|
|
|
|
|
This package contains the headers necessary for building against the zchunk
|
|
|
|
library, libzck.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
# Remove bundled sha libraries
|
|
|
|
rm -rf src/lib/hash/sha*
|
|
|
|
|
|
|
|
%build
|
2018-07-30 22:14:33 +00:00
|
|
|
%meson -Dwith-openssl=enabled -Dwith-zstd=enabled
|
2018-07-06 14:41:38 +00:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
2018-08-10 11:55:53 +00:00
|
|
|
mkdir -p %{buildroot}%{_libexecdir}
|
|
|
|
install contrib/gen_xml_dictionary %{buildroot}%{_libexecdir}/zck_gen_xml_dictionary
|
2018-07-06 14:41:38 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
%files
|
2018-08-10 11:42:39 +00:00
|
|
|
%doc README.md contrib
|
2018-07-06 14:41:38 +00:00
|
|
|
%{_bindir}/zck*
|
|
|
|
%{_bindir}/unzck
|
2018-08-10 11:55:53 +00:00
|
|
|
%{_libexecdir}/zck_gen_xml_dictionary
|
2020-12-30 22:58:28 +00:00
|
|
|
%{_mandir}/man1/*.gz
|
2018-07-06 14:41:38 +00:00
|
|
|
|
|
|
|
%files libs
|
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
|
|
|
%{_libdir}/libzck.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc zchunk_format.txt
|
|
|
|
%{_libdir}/libzck.so
|
|
|
|
%{_libdir}/pkgconfig/zck.pc
|
|
|
|
%{_includedir}/zck.h
|
|
|
|
|
|
|
|
%changelog
|
2021-09-14 17:18:38 +00:00
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.1.15-3
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
2021-07-23 22:15:24 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.15-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-01 19:46:11 +00:00
|
|
|
* Tue Jun 01 2021 Jonathan Dieter <jdieter@gmail.com> - 1.1.15-1
|
|
|
|
- Fix major bug when creating a zchunk file that contains a dictionary
|
|
|
|
|
2021-05-20 20:27:47 +00:00
|
|
|
* Thu May 20 2021 Jonathan Dieter <jdieter@gmail.com> - 1.1.14-1
|
2021-05-20 19:53:27 +00:00
|
|
|
- Fix tests on all arches when built against zstd-1.5.0
|
|
|
|
|
2021-05-01 17:28:57 +00:00
|
|
|
* Sat May 1 2021 Jonathan Dieter <jdieter@gmail.com> - 1.1.11-1
|
|
|
|
- Fix multipart download failures on rare web servers
|
|
|
|
|
2021-01-28 00:39:45 +00:00
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-12-30 22:58:28 +00:00
|
|
|
* Wed Dec 30 2020 Jonathan Dieter <jdieter@gmail.com> - 1.1.9-1
|
|
|
|
- Fixes for test failures with zstd-1.4.7+
|
|
|
|
- Add man pages
|
|
|
|
|
2020-07-29 15:20:44 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-31 05:16:05 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-18 21:41:25 +00:00
|
|
|
* Sat Jan 18 2020 Jonathan Dieter <jdieter@gmail.com> - 1.1.5-1
|
|
|
|
- Fix small bug in corner case when handling write failures
|
|
|
|
|
2019-11-13 17:26:20 +00:00
|
|
|
* Wed Nov 13 2019 Jonathan Dieter <jdieter@gmail.com> - 1.1.4-1
|
|
|
|
- Fix download failure when web server doesn't include content-type with each
|
|
|
|
range
|
|
|
|
|
2019-07-27 04:57:32 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-19 17:25:39 +00:00
|
|
|
* Sun May 19 2019 Jonathan Dieter <jdieter@gmail.com> - 1.1.2-2
|
2019-05-19 17:13:53 +00:00
|
|
|
- Fix multipart range handling to work with quotes, fixes #1706627
|
|
|
|
- Fix file creation permissions so they respect umask
|
2019-05-19 17:25:39 +00:00
|
|
|
- Actually push new sources
|
2019-05-19 17:13:53 +00:00
|
|
|
|
2019-04-16 20:18:35 +00:00
|
|
|
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 1.1.1-3
|
|
|
|
- Rebuild with Meson fix for #1699099
|
|
|
|
|
2019-04-15 12:08:24 +00:00
|
|
|
* Mon Apr 15 2019 Jonathan Dieter <jdieter@gmail.com> - 1.1.1-2
|
2019-04-15 11:41:20 +00:00
|
|
|
- Fix compilation on GCC 4.4.7 so it builds on EL6
|
2019-04-15 12:08:24 +00:00
|
|
|
- Add missing sources
|
2019-04-15 11:41:20 +00:00
|
|
|
- Also, zchunk will now automatically do all your taxes
|
|
|
|
|
2019-03-23 22:28:17 +00:00
|
|
|
* Sat Mar 23 2019 Jonathan Dieter <jdieter@gmail.com> - 1.1.0-1
|
|
|
|
- Optimize chunk matching while downloading, significantly reducing CPU usage
|
|
|
|
|
2019-03-16 23:06:24 +00:00
|
|
|
* Sat Mar 16 2019 Jonathan Dieter <jdieter@gmail.com> - 1.0.4-1
|
|
|
|
- Fix multipart boundary bug when dealing with lighttpd servers
|
|
|
|
|
2019-02-03 13:08:49 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-24 20:48:29 +00:00
|
|
|
* Thu Jan 24 2019 Jonathan Dieter <jdieter@gmail.com> - 1.0.3-1
|
|
|
|
- Fix several memory leaks and use-after-frees
|
|
|
|
|
2018-12-28 22:18:49 +00:00
|
|
|
* Fri Dec 28 2018 Jonathan Dieter <jdieter@gmail.com> - 1.0.2-1
|
2018-12-28 14:19:33 +00:00
|
|
|
- Use hash table for finding identical chunks, speeding up process considerably
|
2018-12-28 22:18:49 +00:00
|
|
|
- Add test case to verify that identical chunk checking is working
|
2018-12-28 14:19:33 +00:00
|
|
|
|
2018-12-22 20:50:06 +00:00
|
|
|
* Sat Dec 22 2018 Jonathan Dieter <jdieter@gmail.com> - 1.0.0-1
|
|
|
|
- 1.0 release. API/ABI stability is now guaranteed
|
|
|
|
|
2018-12-09 19:04:17 +00:00
|
|
|
* Sun Dec 09 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.17-1
|
|
|
|
- Turn off some tests for big-endian architectures since zstd isn't
|
|
|
|
deterministic on them
|
|
|
|
|
2018-12-08 22:33:03 +00:00
|
|
|
* Sat Dec 08 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.16-1
|
|
|
|
- Add zck_gen_zdict binary to generate optimal zdict for a zchunk file
|
|
|
|
- Add functions to API to simplify extracting a single chunk
|
|
|
|
- Change default zstd compression to 9 for a 6x speed increase in compression
|
|
|
|
speed for a 5% increase in compression size
|
|
|
|
|
2018-11-13 14:18:07 +00:00
|
|
|
* Tue Nov 13 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.15-1
|
|
|
|
- Switch from optional flags to more robust optional elements
|
|
|
|
|
2018-11-01 19:38:07 +00:00
|
|
|
* Thu Nov 01 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.14-1
|
|
|
|
- Sanity check hex hashes passed in as an option
|
|
|
|
|
2018-10-08 13:56:22 +00:00
|
|
|
* Mon Oct 08 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.13-1
|
2018-10-08 13:33:00 +00:00
|
|
|
- Add read support for zchunk files with optional flags
|
2018-10-08 13:56:22 +00:00
|
|
|
- Fix tests for zstd-1.3.6
|
2018-10-08 13:33:00 +00:00
|
|
|
|
2018-09-28 14:33:04 +00:00
|
|
|
* Fri Sep 28 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.11-1
|
|
|
|
- Fix small bug where creating a zck_dl context fails when zck context is NULL
|
|
|
|
|
2018-09-18 13:38:44 +00:00
|
|
|
* Tue Sep 18 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.10-1
|
|
|
|
- Update to 0.9.10
|
|
|
|
- Fixes security bugs found by Coverity
|
|
|
|
|
2018-08-10 11:55:53 +00:00
|
|
|
* Fri Aug 10 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.7-2
|
2018-08-10 11:42:39 +00:00
|
|
|
- Add contrib scripts to docs
|
|
|
|
- Fix test failures for zstd <= 1.3.4
|
2018-08-10 11:55:53 +00:00
|
|
|
- Add gen_xml_dictionary to libexecdir with zck_ prefix
|
2018-08-10 11:42:39 +00:00
|
|
|
|
2018-08-01 12:56:57 +00:00
|
|
|
* Wed Aug 01 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.5-1
|
2018-08-01 12:40:49 +00:00
|
|
|
- Update to 0.9.4
|
|
|
|
- Fix failing tests on ppc64, ppc64le, arm7, and s390x
|
2018-08-01 12:56:57 +00:00
|
|
|
- Fix intermittent parallel test failures
|
2018-08-01 12:40:49 +00:00
|
|
|
|
2018-07-31 21:15:57 +00:00
|
|
|
* Tue Jul 31 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.3-1
|
|
|
|
- Update to 0.9.3
|
|
|
|
- Fix intermittent bug where auto-chunking wasn't deterministic
|
|
|
|
|
2018-07-30 22:14:33 +00:00
|
|
|
* Mon Jul 30 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.2-1
|
|
|
|
- Update to 0.9.2
|
|
|
|
- Set minimum and maximum chunk sizes for both automatic and
|
|
|
|
manual chunking
|
|
|
|
- New tests
|
|
|
|
- ABI (but not API change) - Use bool from stdbool.h
|
|
|
|
- Allow specification of output file in zck
|
|
|
|
|
2018-07-25 16:21:37 +00:00
|
|
|
* Wed Jul 25 2018 Jonathan Dieter <jdieter@gmail.com> - 0.9.1-1
|
|
|
|
- Update to 0.9.1
|
2018-07-25 15:49:32 +00:00
|
|
|
- New error handling functions
|
|
|
|
- File format changes
|
|
|
|
- API changes
|
|
|
|
- Proposed permanent stable ABI
|
2018-07-25 16:21:37 +00:00
|
|
|
- Fix Rawhide build error
|
2018-07-25 15:49:32 +00:00
|
|
|
|
2018-07-12 20:21:50 +00:00
|
|
|
* Thu Jul 12 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.6-1
|
|
|
|
- Update to 0.7.6
|
|
|
|
- SHA-512 and SHA-512/128 support
|
|
|
|
- New default chunk checksum type SHA-512/128
|
|
|
|
- Automatic chunking moved into libzck and is now default
|
|
|
|
- New option to disable automatic chunking
|
|
|
|
- Bugfixes
|
|
|
|
|
2018-07-06 14:41:38 +00:00
|
|
|
* Wed Jul 04 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.5-4
|
|
|
|
- Fix ldconfig scriptlets to run on libs package
|
|
|
|
- Rename zchunk-libs-devel to zchunk-devel
|
|
|
|
- Add BR: gcc
|
|
|
|
- Explicitly enable zstd and openssl support
|
|
|
|
- Simplify file globs
|
|
|
|
|
|
|
|
* Tue Jul 03 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.5-1
|
|
|
|
- Split libs into separate package
|
|
|
|
- Fix license
|
|
|
|
- Provide bundled buzhash
|
|
|
|
- Fix punctuation
|
|
|
|
- Simplify source0 using url macro
|
|
|
|
- Remove bundled sha library and add dependency on OpenSSL
|
|
|
|
|
|
|
|
* Mon Jul 02 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.4-2
|
|
|
|
- Add zchunk format definition to -devel documentation
|
|
|
|
|
|
|
|
* Fri Jun 22 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.4-1
|
|
|
|
- Add --stdout argument to unzck
|
|
|
|
- Use meson native versioning rather than manual header and fix
|
|
|
|
pkgconfig output
|
|
|
|
|
|
|
|
* Tue Jun 12 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.2-1
|
|
|
|
- Rename zck_get_dl_range to zck_get_missing_range because it
|
|
|
|
was too similar to the unrelated zck_dl_get_range function
|
|
|
|
|
|
|
|
* Mon Jun 11 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.1-1
|
|
|
|
- New functions in the library
|
|
|
|
|
|
|
|
* Fri Jun 08 2018 Jonathan Dieter <jdieter@gmail.com> - 0.7.0-1
|
|
|
|
- Massive API rework in preparation for ABI stability guarantee
|
|
|
|
|
|
|
|
* Wed Jun 06 2018 Jonathan Dieter <jdieter@gmail.com> - 0.6.2-1
|
|
|
|
- Header and API cleanup
|
|
|
|
- Fix warnings
|
|
|
|
|
|
|
|
* Tue Jun 05 2018 Jonathan Dieter <jdieter@gmail.com> - 0.6.0-1
|
|
|
|
- Massive rework of zckdl utility
|
|
|
|
- Main library no longer depends on curl, only zckdl utility
|
|
|
|
- Rework API
|
|
|
|
- Support for servers that have different maximum ranges in a request
|
|
|
|
|
|
|
|
* Thu May 10 2018 Jonathan Dieter <jdieter@gmail.com> - 0.5.2-1
|
|
|
|
- Add new zck_get_range() function
|
|
|
|
- Add tests
|
|
|
|
- Range functions are no longer prefixed with "Range: bytes="
|
|
|
|
|
|
|
|
* Wed May 09 2018 Jonathan Dieter <jdieter@gmail.com> - 0.5.0-1
|
|
|
|
- Command line utilities now provide help and usage examples and take
|
|
|
|
proper flags
|
|
|
|
- Reading a zchunk header no longer automatically reads the dictionary
|
|
|
|
|
|
|
|
* Sun Apr 29 2018 Jonathan Dieter <jdieter@gmail.com> - 0.4.0-1
|
|
|
|
- Next release with incompatible file format changes
|
|
|
|
- File format has been reworked to allow checking of the header checksum
|
|
|
|
without reading full header into memory at once
|
|
|
|
- Terminology changes for the header
|
|
|
|
|
|
|
|
* Fri Apr 20 2018 Jonathan Dieter <jdieter@gmail.com> - 0.3.0-1
|
|
|
|
- Next release with incompatible file format changes
|
|
|
|
- File format now supports streams and signatures
|
|
|
|
|
|
|
|
* Tue Apr 17 2018 Jonathan Dieter <jdieter@gmail.com> - 0.2.2-1
|
|
|
|
- First release
|
|
|
|
- Fix build on EL7
|