From 9e52dcc6f76628984fc48645f6a0eecc5398bc30 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 13:05:10 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20tar-1.1?= =?UTF-8?q?3.17-8.src.rpm=20Fri=20Aug=2018=202000=20Bernhard=20Rosenkraenz?= =?UTF-8?q?er=20=20-=20really=20fix=20exit=20code=20(Bug?= =?UTF-8?q?=20#15448)=20Mon=20Aug=2007=202000=20Bernhard=20Rosenkraenzer?= =?UTF-8?q?=20=20-=20fix=20exit=20code=20(Bug=20#15448),?= =?UTF-8?q?=20patch=20from=20Tim=20Waugh=20=20Wed=20Jul?= =?UTF-8?q?=2012=202000=20Prospector=20=20-=20automat?= =?UTF-8?q?ic=20rebuild=20Mon=20Jun=2019=202000=20Bernhard=20Rosenkraenzer?= =?UTF-8?q?=20=20-=20FHSify=20Fri=20Apr=2028=202000=20Bil?= =?UTF-8?q?l=20Nottingham=20=20-=20fix=20for=20ia64=20?= =?UTF-8?q?Wed=20Feb=2009=202000=20Bernhard=20Rosenkr=E4nzer=20=20-=20Fix=20the=20exclude=20bug=20(#9201)=20Wed=20Feb=20?= =?UTF-8?q?02=202000=20Cristian=20Gafton=20=20-=20man?= =?UTF-8?q?=20pages=20are=20compressed=20-=20fix=20description=20-=20fix?= =?UTF-8?q?=20fnmatch=20build=20problems=20Sun=20Jan=2009=202000=20Bernhar?= =?UTF-8?q?d=20Rosenkr=E4nzer=20=20-=201.13.17=20-=20remo?= =?UTF-8?q?ve=20dotbug=20patch=20(fixed=20in=20base)=20-=20update=20downlo?= =?UTF-8?q?ad=20URL=20Fri=20Jan=2007=202000=20Bernhard=20Rosenkr=E4nzer=20?= =?UTF-8?q?=20-=20Fix=20a=20severe=20bug=20(tar=20xf=20an?= =?UTF-8?q?y=5Fpackage=5Fcontaining=5F.=20would=20delete=20the=20=20=20=20?= =?UTF-8?q?=20current=20directory)=20Wed=20Jan=2005=202000=20Bernhard=20Ro?= =?UTF-8?q?senkr=E4nzer=20=20-=201.3.16=20-=20unset=20LIN?= =?UTF-8?q?GUAS=20before=20running=20configure=20Tue=20Nov=2009=201999=20B?= =?UTF-8?q?ernhard=20Rosenkr=E4nzer=20=20-=201.13.14=20-?= =?UTF-8?q?=20Update=20man=20page=20to=20know=20about=20-I=20/=20--bzip=20?= =?UTF-8?q?-=20Remove=20dependancy=20on=20rmt=20-=20tar=20can=20be=20used?= =?UTF-8?q?=20for=20anything=20local=20without=20it.=20Fri=20Aug=2027=2019?= =?UTF-8?q?99=20Preston=20Brown=20=20-=20upgrade=20to?= =?UTF-8?q?=201.13.11.=20Wed=20Aug=2018=201999=20Jeff=20Johnson=20=20-=20update=20to=201.13.9.=20Thu=20Aug=2012=201999=20?= =?UTF-8?q?Jeff=20Johnson=20=20-=20update=20to=201.13.6.?= =?UTF-8?q?=20-=20support=20-y=20--bzip2=20options=20for=20bzip2=20compres?= =?UTF-8?q?sion=20(#2415).=20Fri=20Jul=2023=201999=20Jeff=20Johnson=20=20-=20update=20to=201.13.5.=20Tue=20Jul=2013=20199?= =?UTF-8?q?9=20Bill=20Nottingham=20=20-=20update=20to?= =?UTF-8?q?=201.13=20Sat=20Jun=2026=201999=20Jeff=20Johnson=20=20-=20update=20to=201.12.64014.=20-=20pipe=20patch=20corre?= =?UTF-8?q?cted=20for=20remote=20tars=20now=20merged=20in.=20Sun=20Jun=202?= =?UTF-8?q?0=201999=20Jeff=20Johnson=20=20-=20update=20to?= =?UTF-8?q?=20tar-1.12.64013.=20-=20subtract=20(and=20reopen=20#2415)=20bz?= =?UTF-8?q?ip2=20support=20using=20-y.=20-=20move=20gtar=20to=20/bin.=20Tu?= =?UTF-8?q?e=20Jun=2015=201999=20Jeff=20Johnson=20=20-=20u?= =?UTF-8?q?pgrade=20to=20tar-1.12.64011=20to=20-=20add=20bzip2=20support?= =?UTF-8?q?=20(#2415)=20-=20fix=20filename=20bug=20(#3479)=20Mon=20Mar=202?= =?UTF-8?q?9=201999=20Jeff=20Johnson=20=20-=20fix=20suspen?= =?UTF-8?q?ded=20tar=20with=20compression=20over=20pipe=20produces=20error?= =?UTF-8?q?=20(#390).=20Sun=20Mar=2021=201999=20Cristian=20Gafton=20=20-=20auto=20rebuild=20in=20the=20new=20build=20e?= =?UTF-8?q?nvironment=20(release=208)=20Mon=20Mar=2008=201999=20Michael=20?= =?UTF-8?q?Maher=20=20-=20added=20patch=20for=20bad=20nam?= =?UTF-8?q?e=20cache.=20-=20FIXES=20BUG=20320=20Wed=20Feb=2024=201999=20Pr?= =?UTF-8?q?eston=20Brown=20=20-=20Injected=20new=20desc?= =?UTF-8?q?ription=20and=20group.=20Fri=20Dec=2018=201998=20Preston=20Brow?= =?UTF-8?q?n=20=20-=20bumped=20spec=20number=20for=20in?= =?UTF-8?q?itial=20rh=206.0=20build=20Tue=20Aug=2004=201998=20Jeff=20Johns?= =?UTF-8?q?on=20=20-=20add=20/usr/bin/gtar=20symlink=20(ch?= =?UTF-8?q?ange=20#421)=20Tue=20Jul=2014=201998=20Jeff=20Johnson=20=20-=20Fiddle=20bindir/libexecdir=20to=20get=20RH=20in?= =?UTF-8?q?stall=20correct.=20-=20Don't=20include=20/sbin/rmt=20--=20use?= =?UTF-8?q?=20the=20rmt=20from=20dump.=20-=20Turn=20on=20nls.=20Mon=20Apr?= =?UTF-8?q?=2027=201998=20Prospector=20System=20=20-=20tr?= =?UTF-8?q?anslations=20modified=20for=20de,=20fr,=20tr=20Thu=20Oct=2016?= =?UTF-8?q?=201997=20Donnie=20Barnes=20=20-=20updated=20fr?= =?UTF-8?q?om=201.11.8=20to=201.12=20-=20various=20spec=20file=20cleanups?= =?UTF-8?q?=20-=20/sbin/install-info=20support=20Thu=20Jun=2019=201997=20E?= =?UTF-8?q?rik=20Troan=20=20-=20built=20against=20glibc=20?= =?UTF-8?q?Thu=20May=2029=201997=20Michael=20Fulbright=20?= =?UTF-8?q?=20-=20Fixed=20to=20include=20rmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cvsignore | 1 + sources | 1 + tar.spec | 217 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 219 insertions(+) create mode 100644 tar.spec diff --git a/.cvsignore b/.cvsignore index e69de29..d0d5a76 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +tar-1.13.17.tar.gz diff --git a/sources b/sources index e69de29..1f99fa3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4704d86de59410d8687cf2857ffd2f48 tar-1.13.17.tar.gz diff --git a/tar.spec b/tar.spec new file mode 100644 index 0000000..a3e663c --- /dev/null +++ b/tar.spec @@ -0,0 +1,217 @@ +Summary: A GNU file archiving program. +Name: tar +Version: 1.13.17 +Release: 8 +Copyright: GPL +Group: Applications/Archiving +Source: ftp://ftp.gnu.org/pub/gnu/tar/tar-%{version}.tar.gz +Patch0: tar-1.13.14-manpage.patch +Patch1: tar-1.13.17-fnmatch.patch +Patch2: tar-1.3.17-excluded_name.patch +Patch3: tar-1.13.17-ia64.patch +Patch4: tar-1.13.17-exitcode.patch +Prereq: /sbin/install-info +Buildroot: /var/tmp/%{name}-root + +%description +The GNU tar program saves many files together into one archive and can +restore individual files (or all of the files) from the archive. Tar +can also be used to add supplemental files to an archive and to update +or list files in the archive. Tar includes multivolume support, +automatic archive compression/decompression, the ability to perform +remote archives and the ability to perform incremental and full +backups. + +If you want to use tar for remote backups, you'll also need to install +the rmt package. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch4 -p1 -b .exitcode + +%build + +%ifos linux +unset LINGUAS || : +%define optflags $RPM_OPT_FLAGS -DHAVE_STRERROR -D_GNU_SOURCE +%configure --bindir=/bin --libexecdir=/sbin +%ifarch ia64 +patch -p1 < %{PATCH3} +%endif +make LIBS=-lbsd +%else +%configure +make +%endif + +%install +rm -rf $RPM_BUILD_ROOT + +%ifos linux +make prefix=${RPM_BUILD_ROOT}%{_prefix} \ + bindir=${RPM_BUILD_ROOT}/bin \ + libexecdir=${RPM_BUILD_ROOT}/sbin \ + mandir=${RPM_BUILD_ROOT}%{_mandir} \ + infodir=${RPM_BUILD_ROOT}%{_infodir} \ + install +ln -s tar ${RPM_BUILD_ROOT}/bin/gtar +%else +make prefix=${RPM_BUILD_ROOT}%{_prefix} \ + localedir=${RPM_BUILD_ROOT}%{_prefix}/share/locale \ + mandir=${RPM_BUILD_ROOT}%{_mandir} \ + infodir=${RPM_BUILD_ROOT}%{_infodir} \ + install +%endif + +( cd $RPM_BUILD_ROOT + for dir in ./bin ./sbin .%{_prefix}/bin .%{_prefix}/libexec + do + [ -d $dir ] || continue + strip $dir/* || : + done + gzip -9nf .%{_infodir}/tar.info* + rm -f .%{_infodir}/dir +) + +mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 +install -c -m644 tar.1 ${RPM_BUILD_ROOT}%{_mandir}/man1 + +%post +/sbin/install-info %{_infodir}/tar.info.gz %{_infodir}/dir + +%preun +if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/tar.info.gz %{_infodir}/dir +fi + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +%ifos linux +/bin/tar +/bin/gtar +%{_mandir}/man1/tar.1* +%else +%{_prefix}/bin/* +%{_prefix}/libexec/* +%{_mandir}/man*/* +%endif + +%{_infodir}/tar.info* +%{_prefix}/share/locale/*/LC_MESSAGES/* + +%changelog +* Fri Aug 18 2000 Bernhard Rosenkraenzer +- really fix exit code (Bug #15448) + +* Mon Aug 7 2000 Bernhard Rosenkraenzer +- fix exit code (Bug #15448), patch from Tim Waugh + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Mon Jun 19 2000 Bernhard Rosenkraenzer +- FHSify + +* Fri Apr 28 2000 Bill Nottingham +- fix for ia64 + +* Wed Feb 9 2000 Bernhard Rosenkränzer +- Fix the exclude bug (#9201) + +* Wed Feb 02 2000 Cristian Gafton +- man pages are compressed +- fix description +- fix fnmatch build problems + +* Sun Jan 9 2000 Bernhard Rosenkränzer +- 1.13.17 +- remove dotbug patch (fixed in base) +- update download URL + +* Fri Jan 7 2000 Bernhard Rosenkränzer +- Fix a severe bug (tar xf any_package_containing_. would delete the + current directory) + +* Wed Jan 5 2000 Bernhard Rosenkränzer +- 1.3.16 +- unset LINGUAS before running configure + +* Tue Nov 9 1999 Bernhard Rosenkränzer +- 1.13.14 +- Update man page to know about -I / --bzip +- Remove dependancy on rmt - tar can be used for anything local + without it. + +* Fri Aug 27 1999 Preston Brown +- upgrade to 1.13.11. + +* Wed Aug 18 1999 Jeff Johnson +- update to 1.13.9. + +* Thu Aug 12 1999 Jeff Johnson +- update to 1.13.6. +- support -y --bzip2 options for bzip2 compression (#2415). + +* Fri Jul 23 1999 Jeff Johnson +- update to 1.13.5. + +* Tue Jul 13 1999 Bill Nottingham +- update to 1.13 + +* Sat Jun 26 1999 Jeff Johnson +- update to 1.12.64014. +- pipe patch corrected for remote tars now merged in. + +* Sun Jun 20 1999 Jeff Johnson +- update to tar-1.12.64013. +- subtract (and reopen #2415) bzip2 support using -y. +- move gtar to /bin. + +* Tue Jun 15 1999 Jeff Johnson +- upgrade to tar-1.12.64011 to +- add bzip2 support (#2415) +- fix filename bug (#3479) + +* Mon Mar 29 1999 Jeff Johnson +- fix suspended tar with compression over pipe produces error (#390). + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 8) + +* Mon Mar 08 1999 Michael Maher +- added patch for bad name cache. +- FIXES BUG 320 + +* Wed Feb 24 1999 Preston Brown +- Injected new description and group. + +* Fri Dec 18 1998 Preston Brown +- bumped spec number for initial rh 6.0 build + +* Tue Aug 4 1998 Jeff Johnson +- add /usr/bin/gtar symlink (change #421) + +* Tue Jul 14 1998 Jeff Johnson +- Fiddle bindir/libexecdir to get RH install correct. +- Don't include /sbin/rmt -- use the rmt from dump. +- Turn on nls. + +* Mon Apr 27 1998 Prospector System +- translations modified for de, fr, tr + +* Thu Oct 16 1997 Donnie Barnes +- updated from 1.11.8 to 1.12 +- various spec file cleanups +- /sbin/install-info support + +* Thu Jun 19 1997 Erik Troan +- built against glibc + +* Thu May 29 1997 Michael Fulbright +- Fixed to include rmt