New upstream version 0.7alpha.

- No tarball was uploaded so temporarily use tarball from github.
- Fixes CVE-2018-14679 libmspack: off-by-one error in the CHM PMGI/PMGL
  chunk number validity checks
This commit is contained in:
Richard W.M. Jones 2018-08-01 16:46:51 +01:00
parent 77b894ad1e
commit 854770f0e2
3 changed files with 19 additions and 11 deletions

7
.gitignore vendored
View File

@ -1,6 +1 @@
libmspack-0.0.20060920alpha.tar.gz
/libmspack-0.2alpha.tar.gz
/libmspack-0.3alpha.tar.gz
/libmspack-0.4alpha.tar.gz
/libmspack-0.5alpha.tar.gz
/libmspack-0.6alpha.tar.gz
/libmspack-*.tar.gz

View File

@ -1,16 +1,20 @@
Name: libmspack
Version: 0.6
Release: 0.3.alpha%{?dist}
Version: 0.7
Release: 0.1.alpha%{?dist}
Summary: Library for CAB and related files compression and decompression
Group: System Environment/Libraries
License: LGPLv2
URL: http://www.cabextract.org.uk/libmspack/
Source0: http://www.cabextract.org.uk/libmspack/%{name}-%{version}alpha.tar.gz
#Source0: http://www.cabextract.org.uk/libmspack/%{name}-%{version}alpha.tar.gz
Source0: https://github.com/kyz/libmspack/archive/v0.7alpha/%{name}-v0.7alpha.tar.gz
Patch0: %{name}-0.4alpha-doc.patch
BuildRequires: doxygen
BuildRequires: gcc
# Temporarily while building from github tarball:
BuildRequires: autoconf, automake, libtool
%description
The purpose of libmspack is to provide both compression and decompression of
@ -28,11 +32,14 @@ for developing applications that use %{name}.
%prep
%setup -q -n %{name}-%{version}alpha
%setup -q -n %{name}-%{version}alpha/libmspack
%patch0 -p1
chmod a-x mspack/mspack.h
# Temporarily while building from github tarball:
autoreconf -i
%build
CFLAGS="%{optflags} -fno-strict-aliasing" \
@ -76,6 +83,12 @@ popd
%changelog
* Wed Aug 01 2018 Richard W.M. Jones <rjones@redhat.com> - 0.7-0.1.alpha
- New upstream version 0.7alpha.
- No tarball was uploaded so temporarily use tarball from github.
- Fixes CVE-2018-14679 libmspack: off-by-one error in the CHM PMGI/PMGL
chunk number validity checks
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6-0.3.alpha
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libmspack-0.6alpha.tar.gz) = 7ba4a584d335c2d703628a3c179bc0d323574632357cdfe04622f960dcc4ef970b5739799397b6802d44a312f7ed9d589b4be223facf044bbfdbfd76d9c7405d
SHA512 (libmspack-v0.7alpha.tar.gz) = f8118b61d223acbe983a2c1cfb4703b7b906232ce86be916b70f6920a05aa342dcd2ca91f3aa9610a16eb7cb3102e9484c78ba08adbc6a7c0521e895f2bbf231