forked from pool/zchunk
- Rebase to 0.9.11
+ Fix small bug where creating a zck_dl context fails when zck context is NULL + Fix security bugs found by Coverity + Fix test failures for zstd <= 1.3.4 + Add gen_xml_dictionary to libexecdir with zck_ prefix + Fix intermittent bug where auto-chunking wasn't deterministic + ABI (but not API change) - Use bool from stdbool.h + Allow specification of output file in zck + Set minimum and maximum chunk sizes for both automatic and manual chunking + New error handling functions + File format changes + API changes - Make requirements between subpackages stricter to avoid issues due to inter-subpackage ABI/API changes OBS-URL: https://build.opensuse.org/package/show/Archiving/zchunk?expand=0&rev=10
This commit is contained in:
parent
c59c6e5866
commit
dabca671bd
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cf734d4f988b348385f45f678582a091643203fbae7e8850cd0aecfd79408ef8
|
|
||||||
size 130200
|
|
3
zchunk-0.9.11.tar.gz
Normal file
3
zchunk-0.9.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ab521a7c99a4a273a924a7c21f0947b79285ff416b9217c6dbab760e4d306317
|
||||||
|
size 1418276
|
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 29 00:40:50 UTC 2018 - Neal Gompa <ngompa13@gmail.com>
|
||||||
|
|
||||||
|
- Rebase to 0.9.11
|
||||||
|
+ Fix small bug where creating a zck_dl context fails when zck
|
||||||
|
context is NULL
|
||||||
|
+ Fix security bugs found by Coverity
|
||||||
|
+ Fix test failures for zstd <= 1.3.4
|
||||||
|
+ Add gen_xml_dictionary to libexecdir with zck_ prefix
|
||||||
|
+ Fix intermittent bug where auto-chunking wasn't deterministic
|
||||||
|
+ ABI (but not API change) - Use bool from stdbool.h
|
||||||
|
+ Allow specification of output file in zck
|
||||||
|
+ Set minimum and maximum chunk sizes for both automatic and
|
||||||
|
manual chunking
|
||||||
|
+ New error handling functions
|
||||||
|
+ File format changes
|
||||||
|
+ API changes
|
||||||
|
- Make requirements between subpackages stricter to avoid issues
|
||||||
|
due to inter-subpackage ABI/API changes
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 18 08:09:07 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
Wed Jul 18 08:09:07 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
15
zchunk.spec
15
zchunk.spec
@ -20,8 +20,9 @@
|
|||||||
%global somajor 1
|
%global somajor 1
|
||||||
%global libname libzck%{somajor}
|
%global libname libzck%{somajor}
|
||||||
%global devname libzck-devel
|
%global devname libzck-devel
|
||||||
|
|
||||||
Name: zchunk
|
Name: zchunk
|
||||||
Version: 0.7.6
|
Version: 0.9.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Compressed file format that allows easy deltas
|
Summary: Compressed file format that allows easy deltas
|
||||||
License: BSD-2-Clause AND MIT
|
License: BSD-2-Clause AND MIT
|
||||||
@ -34,6 +35,8 @@ BuildRequires: pkgconfig(libcurl)
|
|||||||
BuildRequires: pkgconfig(libzstd)
|
BuildRequires: pkgconfig(libzstd)
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
Provides: bundled(buzhash-urlblock) = 0.1
|
Provides: bundled(buzhash-urlblock) = 0.1
|
||||||
|
# ABI is unstable between components and ensures that patching doesn't break things
|
||||||
|
Requires: %{libname} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
zchunk is a compressed file format that splits the file into independent
|
zchunk is a compressed file format that splits the file into independent
|
||||||
@ -58,7 +61,7 @@ This package contains the zchunk library, libzck.
|
|||||||
%package -n %{devname}
|
%package -n %{devname}
|
||||||
Summary: Headers for building against zchunk
|
Summary: Headers for building against zchunk
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{libname} = %{version}
|
Requires: %{libname} = %{version}-%{release}
|
||||||
Provides: %{name}-devel = %{version}-%{release}
|
Provides: %{name}-devel = %{version}-%{release}
|
||||||
|
|
||||||
%description -n %{devname}
|
%description -n %{devname}
|
||||||
@ -77,11 +80,14 @@ library, libzck.
|
|||||||
rm -rf src/lib/hash/sha*
|
rm -rf src/lib/hash/sha*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson -Dwith-zstd=yes -Dwith-openssl=yes
|
%meson -Dwith-openssl=enabled -Dwith-zstd=enabled
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
# Install dictionary generation script
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}
|
||||||
|
install -p contrib/gen_xml_dictionary %{buildroot}%{_libexecdir}/zck_gen_xml_dictionary
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%meson_test
|
%meson_test
|
||||||
@ -90,10 +96,11 @@ rm -rf src/lib/hash/sha*
|
|||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md contrib
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/zck*
|
%{_bindir}/zck*
|
||||||
%{_bindir}/unzck
|
%{_bindir}/unzck
|
||||||
|
%{_libexecdir}/zck_gen_xml_dictionary
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user