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