|
|
|
@ -1,22 +1,21 @@
|
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
|
|
Name: libarchive
|
|
|
|
|
Version: 3.5.3
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 3.7.7
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A library for handling streaming archive formats
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
# Licenses:
|
|
|
|
|
# ./configure: FSFUL
|
|
|
|
|
# ./build/autoconf/lib-ld.m4: FSFULLR
|
|
|
|
|
# ./configure: FSFUL
|
|
|
|
|
# ./unzip/la_queue.h: BSD-3-Clause
|
|
|
|
|
# ./aclocal.m4: (FSFULLR and/or GPL-2) with Libtool-exception exception
|
|
|
|
|
License: BSD-2-Clause AND FSFULLR AND GPL-2.0-or-later WITH Libtool-exception AND BSD-3-Clause AND FSFUL
|
|
|
|
|
URL: https://www.libarchive.org/
|
|
|
|
|
Source0: https://libarchive.org/downloads/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch1: openssl3-rmd160failure.patch
|
|
|
|
|
# Source: https://github.com/libarchive/libarchive/commit/cfaa28168a07ea4a53276b63068f94fce37d6aff
|
|
|
|
|
Patch2: %{name}-3.5.3-Fix-CVE-2022-26280.patch
|
|
|
|
|
# Source: https://github.com/libarchive/libarchive/commit/b1b501161013296d19dfe9acb84a341c8a1755b9
|
|
|
|
|
Patch3: %{name}-3.5.3-Fix-size-filed-in-pax-header.patch
|
|
|
|
|
# Source: https://github.com/libarchive/libarchive/commit/fd180c36036df7181a64931264732a10ad8cd024
|
|
|
|
|
Patch4: %{name}-3.5.3-Fix-CVE-2022-36227.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: bison
|
|
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
@ -24,6 +23,7 @@ BuildRequires: e2fsprogs-devel
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: libacl-devel
|
|
|
|
|
BuildRequires: libattr-devel
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
BuildRequires: libzstd-devel
|
|
|
|
|
BuildRequires: lz4-devel
|
|
|
|
@ -37,6 +37,13 @@ BuildRequires: xz-devel
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
# When configured against OpenSSL 1.1, the RIPEMD-160 support was not detected,
|
|
|
|
|
# so it was not compiled in previously. With OpenSSL 3.0, it's now detected as
|
|
|
|
|
# being available, but it only actually works when the legacy provider is
|
|
|
|
|
# loaded, which breaks the RIPEMD-160 test. This patch disables the RIPEMD-160
|
|
|
|
|
# support explicitly.
|
|
|
|
|
Patch0001: 0001-Drop-rmd160-from-OpenSSL.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Libarchive is a programming library that can create and read several different
|
|
|
|
|
streaming archive formats, including most popular tar variants, several cpio
|
|
|
|
@ -80,12 +87,21 @@ The bsdcat program typically takes a filename as an argument or reads standard
|
|
|
|
|
input when used in a pipe. In both cases decompressed data it written to
|
|
|
|
|
standard output.
|
|
|
|
|
|
|
|
|
|
%package -n bsdunzip
|
|
|
|
|
Summary: Extract files from a ZIP archive
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n bsdunzip
|
|
|
|
|
The bsdunzip package contains standalone bsdunzip utility split off regular
|
|
|
|
|
libarchive packages. It is designed to provide an interface compatible with Info-ZIP's.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -ifv
|
|
|
|
|
%configure --disable-static LT_SYS_LIBRARY_PATH=%_libdir
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
@ -216,41 +232,101 @@ run_testsuite
|
|
|
|
|
%{_bindir}/bsdcat
|
|
|
|
|
%{_mandir}/*/bsdcat*
|
|
|
|
|
|
|
|
|
|
%files -n bsdunzip
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc NEWS README.md
|
|
|
|
|
%{_bindir}/bsdunzip
|
|
|
|
|
%{_mandir}/*/bsdunzip*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 23 2022 Lukas Javorsky <ljavorsk@redhat.com> - 3.5.3-4
|
|
|
|
|
* Mon Nov 18 2024 Lukas Javorsky <ljavorsk@redhat.com> - 3.7.7-1
|
|
|
|
|
- Rebase to version 3.7.7
|
|
|
|
|
- Fixing SAST issues, accepted by upstream
|
|
|
|
|
- Resolves: RHEL-39391 RHEL-67895
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.7.2-9
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Oct 14 2024 Lukas Javorsky <ljavorsk@redhat.com> - 3.7.2-7
|
|
|
|
|
- Fix CVE-2024-48957
|
|
|
|
|
- Resolves: RHEL-62015
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.7.2-7
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 06 2024 Lukas Javorsky <ljavorsk@redhat.com> - 3.7.2-6
|
|
|
|
|
- Fix CVE-2024-20696
|
|
|
|
|
- Resolves: RHEL-40042
|
|
|
|
|
|
|
|
|
|
* Mon May 27 2024 Lukas Javorsky <ljavorsk@redhat.com> - 3.7.2-5
|
|
|
|
|
- Fix for CVE-2024-26256
|
|
|
|
|
|
|
|
|
|
* Tue May 14 2024 Lukas Javorsky <ljavorsk@redhat.com> - 3.7.2-4
|
|
|
|
|
- Add forgotten licenses and migrate them to SPDX format
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Sep 12 2023 Lukas Javorsky <ljavorsk@redhat.com> - 3.7.2-1
|
|
|
|
|
- Rebase to version 3.7.2
|
|
|
|
|
|
|
|
|
|
* Mon Jul 31 2023 Lukas Javorsky <ljavorsk@redhat.com> - 3.7.1-1
|
|
|
|
|
- Rebase to version 3.7.1
|
|
|
|
|
|
|
|
|
|
* Tue Jul 25 2023 Lukas Javorsky <ljavorsk@redhat.com> - 3.7.0-1
|
|
|
|
|
- Rebase to version 3.7.0
|
|
|
|
|
- Add new bsdunzip subpackage
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 08 2023 Davide Cavalca <dcavalca@fedoraproject.org> - 3.6.1-5
|
|
|
|
|
- Backport upstream PR#1772 for better pathname portability across OS
|
|
|
|
|
Resolves: #2136961
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 02 2022 Lukas Javorsky <ljavorsk@redhat.com> - 3.6.1-3
|
|
|
|
|
- Resolves: CVE-2022-36227
|
|
|
|
|
|
|
|
|
|
* Tue Jul 12 2022 Lukas Javorsky <ljavorsk@redhat.com> - 3.5.3-3
|
|
|
|
|
- Resolves: #2106651
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 18 2022 Lukas Javorsky <ljavorsk@redhat.com> - 3.5.3-2
|
|
|
|
|
- Resolves: CVE-2022-26280
|
|
|
|
|
* Fri Apr 08 2022 Lukas Javorsky <ljavorsk@redhat.com> - 3.6.1-1
|
|
|
|
|
- Rebase to version 3.6.1
|
|
|
|
|
- Resolves: #2071934
|
|
|
|
|
|
|
|
|
|
* Tue Feb 22 2022 Matej Mužila <mmuzila@redhat.com> - 3.6.0-1
|
|
|
|
|
- Rebase to version 3.6.0
|
|
|
|
|
- Resolves: #2051860
|
|
|
|
|
|
|
|
|
|
* Mon Feb 14 2022 Lukas Javorsky <ljavorsk@redhat.com> - 3.5.3-1
|
|
|
|
|
- Rebase to version 3.5.3
|
|
|
|
|
|
|
|
|
|
* Mon Aug 23 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.5.2-1
|
|
|
|
|
- Rebased to version 3.5.2 (#1996634)
|
|
|
|
|
- Fixed symlink handling
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.5.1-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Fri Dec 03 2021 Stephen Gallagher <sgallagh@redhat.com> - 3.5.2-5
|
|
|
|
|
- Drop RIPEMD-160 support for OpenSSL 3.0
|
|
|
|
|
|
|
|
|
|
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.5.1-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
|
|
Related: rhbz#1971065
|
|
|
|
|
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 3.5.2-3
|
|
|
|
|
- Rebuilt with OpenSSL 3.0.0
|
|
|
|
|
|
|
|
|
|
* Thu May 27 2021 Petr Kubat <pkubat@redhat.com> - 3.5.1-5
|
|
|
|
|
- Return error when ripemd160 is used with OpenSSL3 (#1962067)
|
|
|
|
|
* Mon Aug 30 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.5.2-2
|
|
|
|
|
- Fixed symlink handling
|
|
|
|
|
|
|
|
|
|
* Mon May 10 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.5.1-4
|
|
|
|
|
- Fixed covscan issues (#1938755)
|
|
|
|
|
* Mon Aug 23 2021 Ondrej Dubaj <odubaj@redhat.com> - 3.5.2-1
|
|
|
|
|
- Rebased to version 3.5.2
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.5.1-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|