19 Commits

Author SHA1 Message Date
7fbdba7718 automatic version update by autodist [release 3.8.1-1mamba;Mon Jun 02 2025] 2025-06-02 17:10:03 +02:00
46d3446603 automatic version update by autodist [release 3.8.0-1mamba;Fri May 23 2025] 2025-05-23 18:44:08 +02:00
0117044de1 automatic version update by autodist [release 3.7.9-1mamba;Mon Mar 31 2025] 2025-04-01 22:02:52 +02:00
8cb10ebe2b automatic version update by autodist [release 3.7.8-1mamba;Thu Mar 20 2025] 2025-03-22 14:45:10 +01:00
c76ada0249 automatic version update by autodist [release 3.7.7-1mamba;Sun Oct 13 2024] 2024-10-14 01:01:43 +02:00
868ee04c61 automatic version update by autodist [release 3.7.6-1mamba;Tue Sep 24 2024] 2024-09-24 15:44:23 +02:00
0c03c39b71 automatic version update by autodist [release 3.7.5-1mamba;Sat Sep 14 2024] 2024-09-15 11:45:21 +02:00
fbb7b780ea automatic version update by autodist [release 3.7.4-1mamba;Sat Apr 27 2024] 2024-04-27 09:18:41 +02:00
e06b146d0a automatic version update by autodist [release 3.7.3-1mamba;Fri Apr 12 2024] 2024-04-13 13:48:42 +02:00
7b4b4208f7 backport upstream patch to fix possibly malicious past commit (see https://github.com/libarchive/libarchive/pull/2101 ) [release 3.7.2-2mamba;Fri Apr 05 2024] 2024-04-06 00:52:20 +02:00
f878bdcf64 automatic version update by autodist [release 3.7.2-1mamba;Tue Sep 12 2023] 2024-01-06 03:47:47 +01:00
4a8ea5ef93 automatic version update by autodist [release 3.7.1-1mamba;Sun Jul 30 2023] 2024-01-06 03:47:46 +01:00
310ee69b95 automatic version update by autodist [release 3.7.0-1mamba;Sat Jul 22 2023] 2024-01-06 03:47:45 +01:00
c90cc28ed7 remove requirement for unexisting pkgconfig(iconv) [release 3.6.2-2mamba;Fri Dec 30 2022] 2024-01-06 03:47:44 +01:00
71e568ad8a automatic version update by autodist [release 3.6.1-1mamba;Sat Apr 09 2022] 2024-01-06 03:47:44 +01:00
cc6f856b6c automatic version update by autodist [release 3.6.0-1mamba;Thu Feb 10 2022] 2024-01-06 03:47:44 +01:00
1b669b31a8 automatic version update by autodist [release 3.5.3-1mamba;Wed Feb 09 2022] 2024-01-06 03:47:44 +01:00
95472f5825 update to 3.5.2 [release 3.5.2-1mamba;Sat Dec 04 2021] 2024-01-06 03:47:44 +01:00
63740334ed rebuilt with debug package [release 3.5.0-2mamba;Thu Dec 31 2020] 2024-01-06 03:47:44 +01:00

View File

@ -1,27 +1,30 @@
Name: libarchive
Version: 3.5.0
Version: 3.8.1
Release: 1mamba
Summary: Single library to read/write tar, cpio, pax, zip, iso9660, etc.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://libarchive.org/
Source: https://github.com/libarchive/libarchive/releases/download/v%{version}/libarchive-%{version}.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://libarchive.org/
Source: https://github.com/libarchive/libarchive.git/v%{version}/libarchive-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: libb2-devel
BuildRequires: libbzip2-devel
BuildRequires: libgomp-devel
BuildRequires: liblz4-devel
BuildRequires: liblzma-devel
BuildRequires: liblzo-devel
BuildRequires: libnettle-devel
BuildRequires: libopenssl-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: libe2fs-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar variants, several cpio formats, and both BSD and GNU ar variants.
@ -35,8 +38,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libarchive is a programming library that can create and read several different streaming archive formats, including most popular tar variants, several cpio formats, and both BSD and GNU ar variants.
It can also write shar archives and read ISO9660 CDROM images and ZIP archives.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%package tools
Group: Applications/Archiving
@ -52,15 +54,20 @@ This package contains the following programs built on libarchive:
- bsdcpio
A different interface to cpio with essentially the same functionality.
%prep
%setup -q
autoreconf -f -i
%build
%configure \
--enable-shared \
--disable-static \
--enable-bsdcat=shared \
--enable-bsdtar=shared \
--enable-bsdcpio=shared \
--with-lzo2 \
--with-nettle \
--enable-largefile
%make
@ -69,14 +76,15 @@ This package contains the following programs built on libarchive:
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# Don't require unexisting pkgconfig(iconv)
sed -i "s/iconv //" %{buildroot}%{_libdir}/pkgconfig/libarchive.pc
mv %{buildroot}%{_mandir}/man5/cpio.5 %{buildroot}%{_mandir}/man5/archive_cpio.5
mv %{buildroot}%{_mandir}/man5/tar.5 %{buildroot}%{_mandir}/man5/archive_tar.5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -87,7 +95,6 @@ mv %{buildroot}%{_mandir}/man5/tar.5 %{buildroot}%{_mandir}/man5/archive_tar.5
%defattr(-,root,root)
%{_includedir}/archive_entry.h
%{_includedir}/archive.h
%{_libdir}/libarchive.la
%{_libdir}/libarchive.so
%{_libdir}/pkgconfig/libarchive.pc
%{_mandir}/man3/*
@ -101,11 +108,73 @@ mv %{buildroot}%{_mandir}/man5/tar.5 %{buildroot}%{_mandir}/man5/archive_tar.5
%{_bindir}/bsdcat
%{_bindir}/bsdcpio
%{_bindir}/bsdtar
%{_bindir}/bsdunzip
%{_mandir}/man1/bsdcat.1*
%{_mandir}/man1/bsdcpio.1*
%{_mandir}/man1/bsdtar.1*
%{_mandir}/man1/bsdunzip.1*
%changelog
* Mon Jun 02 2025 Automatic Build System <autodist@openmamba.org> 3.8.1-1mamba
- automatic version update by autodist
* Fri May 23 2025 Automatic Build System <autodist@openmamba.org> 3.8.0-1mamba
- automatic version update by autodist
* Mon Mar 31 2025 Automatic Build System <autodist@openmamba.org> 3.7.9-1mamba
- automatic version update by autodist
* Thu Mar 20 2025 Automatic Build System <autodist@openmamba.org> 3.7.8-1mamba
- automatic version update by autodist
* Sun Oct 13 2024 Automatic Build System <autodist@openmamba.org> 3.7.7-1mamba
- automatic version update by autodist
* Tue Sep 24 2024 Automatic Build System <autodist@openmamba.org> 3.7.6-1mamba
- automatic version update by autodist
* Sat Sep 14 2024 Automatic Build System <autodist@openmamba.org> 3.7.5-1mamba
- automatic version update by autodist
* Sat Apr 27 2024 Automatic Build System <autodist@openmamba.org> 3.7.4-1mamba
- automatic version update by autodist
* Fri Apr 12 2024 Automatic Build System <autodist@openmamba.org> 3.7.3-1mamba
- automatic version update by autodist
* Fri Apr 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.2-2mamba
- backport upstream patch to fix possibly malicious past commit (see https://github.com/libarchive/libarchive/pull/2101 )
* Tue Sep 12 2023 Automatic Build System <autodist@mambasoft.it> 3.7.2-1mamba
- automatic version update by autodist
* Sun Jul 30 2023 Automatic Build System <autodist@mambasoft.it> 3.7.1-1mamba
- automatic version update by autodist
* Sat Jul 22 2023 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
- automatic version update by autodist
* Fri Dec 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.2-2mamba
- remove requirement for unexisting pkgconfig(iconv)
* Sat Dec 17 2022 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist
* Sat Apr 09 2022 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Thu Feb 10 2022 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Wed Feb 09 2022 Automatic Build System <autodist@mambasoft.it> 3.5.3-1mamba
- automatic version update by autodist
* Sat Dec 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.2-1mamba
- update to 3.5.2
* Thu Dec 31 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.0-2mamba
- rebuilt with debug package
* Thu Dec 03 2020 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba
- automatic version update by autodist