|
|
360332 |
Summary: Tar file manipulation API
|
|
|
360332 |
Name: libtar
|
|
|
360332 |
Version: 1.2.11
|
|
|
360332 |
Release: 29%{?dist}
|
|
|
360332 |
License: MIT
|
|
|
360332 |
Group: System Environment/Libraries
|
|
|
360332 |
URL: http://www.feep.net/libtar/
|
|
|
360332 |
Source0: ftp://ftp.feep.net/pub/software/libtar/libtar-%{version}.tar.gz
|
|
|
360332 |
Patch0: http://ftp.debian.org/debian/pool/main/libt/libtar/libtar_1.2.11-4.diff.gz
|
|
|
360332 |
Patch1: libtar-1.2.11-missing-protos.patch
|
|
|
360332 |
Patch2: libtar-macro.patch
|
|
|
360332 |
Patch3: libtar-1.2.11-tar_header.patch
|
|
|
360332 |
Patch4: libtar-1.2.11-mem-deref.patch
|
|
|
360332 |
Patch5: libtar-1.2.11-fix-memleak.patch
|
|
|
360332 |
Patch6: libtar-1.2.11-bz729009.patch
|
|
|
360332 |
Patch7: libtar-1.2.11-CVE-2013-4397.patch
|
|
|
360332 |
Patch8: libtar-1.2.11-bz785760.patch
|
|
|
360332 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
360332 |
BuildRequires: zlib-devel libtool
|
|
|
360332 |
|
|
|
360332 |
%description
|
|
|
360332 |
libtar is a C library for manipulating tar archives. It supports both
|
|
|
360332 |
the strict POSIX tar format and many of the commonly-used GNU
|
|
|
360332 |
extensions.
|
|
|
360332 |
|
|
|
360332 |
|
|
|
360332 |
%package devel
|
|
|
360332 |
Summary: Development files for %{name}
|
|
|
360332 |
Group: Development/Libraries
|
|
|
360332 |
Requires: %{name} = %{version}-%{release}
|
|
|
360332 |
|
|
|
360332 |
%description devel
|
|
|
360332 |
The %{name}-devel package contains libraries and header files for
|
|
|
360332 |
developing applications that use %{name}.
|
|
|
360332 |
|
|
|
360332 |
|
|
|
360332 |
%prep
|
|
|
360332 |
%setup -q
|
|
|
360332 |
%patch0 -p1 -z .deb
|
|
|
360332 |
%patch1 -p1
|
|
|
360332 |
%patch2 -p1
|
|
|
360332 |
%patch3 -p1 -b .tar_header
|
|
|
360332 |
%patch4 -p1 -b .deref
|
|
|
360332 |
%patch5 -p1 -b .fixmem
|
|
|
360332 |
%patch6 -p1
|
|
|
360332 |
%patch7 -p1
|
|
|
360332 |
%patch8 -p1
|
|
|
360332 |
|
|
|
360332 |
# set correct version for .so build
|
|
|
360332 |
%global ltversion %(echo %{version} | tr '.' ':')
|
|
|
360332 |
sed -i 's/-rpath $(libdir)/-rpath $(libdir) -version-number %{ltversion}/' \
|
|
|
360332 |
lib/Makefile.in
|
|
|
360332 |
# sanitize the macro definitions so that aclocal can find them:
|
|
|
360332 |
cd autoconf
|
|
|
360332 |
sed '/^m4_include/d;s/ m4_include/ m4][_include/g' aclocal.m4 >psg.m4
|
|
|
360332 |
rm acsite.m4 aclocal.m4
|
|
|
360332 |
cd ..
|
|
|
360332 |
|
|
|
360332 |
|
|
|
360332 |
%build
|
|
|
360332 |
cp -p /usr/share/libtool/config/config.sub autoconf
|
|
|
360332 |
# config.guess is not needed, macro %%configure specifies --build
|
|
|
360332 |
libtoolize --copy
|
|
|
360332 |
aclocal -I autoconf
|
|
|
360332 |
autoconf
|
|
|
360332 |
%configure --disable-static
|
|
|
360332 |
make %{?_smp_mflags}
|
|
|
360332 |
|
|
|
360332 |
|
|
|
360332 |
%install
|
|
|
360332 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
360332 |
# Without this we get no debuginfo and stripping
|
|
|
360332 |
chmod +x $RPM_BUILD_ROOT%{_libdir}/libtar.so.%{version}
|
|
|
360332 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
360332 |
|
|
|
360332 |
|
|
|
360332 |
%post -p /sbin/ldconfig
|
|
|
360332 |
%postun -p /sbin/ldconfig
|
|
|
360332 |
|
|
|
360332 |
|
|
|
360332 |
%files
|
|
|
360332 |
%doc COPYRIGHT TODO README ChangeLog*
|
|
|
360332 |
%{_bindir}/%{name}
|
|
|
360332 |
%{_libdir}/lib*.so.*
|
|
|
360332 |
|
|
|
360332 |
%files devel
|
|
|
360332 |
%{_includedir}/libtar.h
|
|
|
360332 |
%{_includedir}/libtar_listhash.h
|
|
|
360332 |
%{_libdir}/lib*.so
|
|
|
360332 |
%{_mandir}/man3/*.3*
|
|
|
360332 |
|
|
|
360332 |
|
|
|
360332 |
%changelog
|
|
|
360332 |
* Tue Apr 21 2015 Kamil Dudka <kdudka@redhat.com> - 1.2.11-29
|
|
|
360332 |
- fix resource leaks found by cppcheck (#785760)
|
|
|
360332 |
|
|
|
360332 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.2.11-28
|
|
|
360332 |
- Mass rebuild 2014-01-24
|
|
|
360332 |
|
|
|
360332 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.11-27
|
|
|
360332 |
- Mass rebuild 2013-12-27
|
|
|
360332 |
|
|
|
360332 |
* Fri Oct 04 2013 Kamil Dudka <kdudka@redhat.com> - 1.2.11-26
|
|
|
360332 |
- fix CVE-2013-4397: buffer overflows by expanding a specially-crafted archive
|
|
|
360332 |
|
|
|
360332 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-25
|
|
|
360332 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
360332 |
|
|
|
360332 |
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> - 1.2.11-24
|
|
|
360332 |
- fix specfile issues reported by the fedora-review script
|
|
|
360332 |
|
|
|
360332 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-23
|
|
|
360332 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
360332 |
|
|
|
360332 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-22
|
|
|
360332 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
360332 |
|
|
|
360332 |
* Tue Aug 09 2011 Kamil Dudka <kdudka@redhat.com> - 1.2.11-21
|
|
|
360332 |
- Allow to extract debug-info from /usr/bin/libtar (#729009)
|
|
|
360332 |
|
|
|
360332 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-20
|
|
|
360332 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
360332 |
|
|
|
360332 |
* Thu May 27 2010 Kamil Dudka <kdudka@redhat.com> - 1.2.11-19
|
|
|
360332 |
- Completed review of memory leaks related patches (#589056)
|
|
|
360332 |
|
|
|
360332 |
* Mon May 3 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 1.2.11-18
|
|
|
360332 |
- Fix more memory leaks
|
|
|
360332 |
|
|
|
360332 |
* Mon May 3 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 1.2.11-17
|
|
|
360332 |
- Fix lot of memory leaks
|
|
|
360332 |
|
|
|
360332 |
* Thu Dec 31 2009 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 1.2.11-16
|
|
|
360332 |
- Fix invalid memory de-reference issue in BZ #551415
|
|
|
360332 |
|
|
|
360332 |
* Fri Nov 20 2009 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 1.2.11-15
|
|
|
360332 |
- Fix buffer overflow in BZ #538770
|
|
|
360332 |
|
|
|
360332 |
* Tue Sep 22 2009 Stepan Kasal <skasal@redhat.com> - 1.2.11-14
|
|
|
360332 |
- fix up so that it builds again (#511566)
|
|
|
360332 |
|
|
|
360332 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-13
|
|
|
360332 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
360332 |
|
|
|
360332 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.11-12
|
|
|
360332 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
360332 |
|
|
|
360332 |
* Thu Apr 3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.2.11-11
|
|
|
360332 |
- Fix missing prototype compiler warnings
|
|
|
360332 |
|
|
|
360332 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.11-10
|
|
|
360332 |
- Autorebuild for GCC 4.3
|
|
|
360332 |
|
|
|
360332 |
* Mon Aug 13 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.2.11-9
|
|
|
360332 |
- Update License tag for new Licensing Guidelines compliance
|
|
|
360332 |
|
|
|
360332 |
* Mon Aug 28 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.2.11-8
|
|
|
360332 |
- FE6 Rebuild
|
|
|
360332 |
|
|
|
360332 |
* Sun Jul 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.2.11-7
|
|
|
360332 |
- Taking over as maintainer since Anvil has other priorities
|
|
|
360332 |
- Add a bunch of patches from Debian, which build a .so instead of a .a
|
|
|
360332 |
and fix a bunch of memory leaks.
|
|
|
360332 |
- Reinstate a proper devel package as we now build a .so
|
|
|
360332 |
|
|
|
360332 |
* Thu Mar 16 2006 Dams <anvil[AT]livna.org> - 1.2.11-6.fc5
|
|
|
360332 |
- Modified URL and added one in Source0
|
|
|
360332 |
|
|
|
360332 |
* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.2.11-5
|
|
|
360332 |
- rebuild on all arches
|
|
|
360332 |
|
|
|
360332 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
360332 |
- rebuilt
|
|
|
360332 |
|
|
|
360332 |
* Sat Aug 16 2003 Dams <anvil[AT]livna.org> 0:1.2.11-0.fdr.3
|
|
|
360332 |
- Merged devel and main packages
|
|
|
360332 |
- Package provide now libtar-devel
|
|
|
360332 |
|
|
|
360332 |
* Tue Jul 8 2003 Dams <anvil[AT]livna.org>
|
|
|
360332 |
- Initial build.
|