cvsdist 688762c
Summary: The GNU data compression program.
cvsdist 688762c
Name: gzip
8daeb8e
Version: 1.3.5
Ivana Varekova f196612
Release: 5
cvsdist c09ae5f
License: GPL
cvsdist 688762c
Group: Applications/File
cvsdist 2043c0d
Source: ftp://alpha.gnu.org/gnu/gzip/gzip-%{version}.tar.gz
8daeb8e
Patch0: gzip-1.3.5-openbsd-owl-tmp.patch
8daeb8e
Patch1: gzip-1.3.5-zforce.patch
8daeb8e
Patch3: gzip-1.3.5-stderr.patch
cvsdist d656f64
Patch4: gzip-1.3.1-zgreppipe.patch
cvsdist d656f64
Patch5: gzip-1.3-rsync.patch
cvsdist a0fdb8c
Patch6: gzip-1.3.3-window-size.patch
Ivana Varekova 8977975
Patch7: gzip-1.3.3-addsuffix.patch
8daeb8e
Patch8: gzip-1.3.5-zgrep-sed.patch
Ivana Varekova 83827e1
Patch9: gzip-1.3.5-gzip-perm.patch
Ivana Varekova f196612
Patch10: gzip-1.3.5-gunzip-dir.patch
cvsdist 688762c
URL: http://www.gzip.org/
cvsdist 688762c
Prereq: /sbin/install-info
cvsdist d656f64
Requires: mktemp less
cvsdist 688762c
Buildroot: %{_tmppath}/gzip-%{version}-root
cvsdist 688762c
cvsdist 688762c
%description
cvsdist 688762c
The gzip package contains the popular GNU gzip data compression
cvsdist c09ae5f
program. Gzipped files have a .gz extension.
cvsdist 688762c
cvsdist 688762c
Gzip should be installed on your Red Hat Linux system, because it is a
cvsdist 688762c
very commonly used data compression program.
cvsdist 688762c
cvsdist 688762c
%prep
cvsdist 688762c
%setup -q
8daeb8e
%patch0 -p1 -b .owl-tmp
8daeb8e
%patch1 -p1 -b .zforce
8daeb8e
%patch3 -p1 -b .stderr
cvsdist d656f64
%patch4 -p1 -b .nixi
cvsdist a0fdb8c
%patch5 -p1 -b .rsync
cvsdist a0fdb8c
%patch6 -p1 -b .window-size
Ivana Varekova 8977975
%patch7 -p1 -b .addsuffix
8daeb8e
%patch8 -p0 -b .sed
Ivana Varekova 83827e1
%patch9 -p1 -b .perm
Ivana Varekova f196612
%patch10 -p1 -b .dir
cvsdist 688762c
cvsdist 688762c
%build
0d10424
export DEFS="NO_ASM"
cvsdist f416ef7
export CPPFLAGS="-DHAVE_LSTAT"
cvsdist 688762c
%configure  --bindir=/bin
cvsdist a0fdb8c
cvsdist 688762c
make 
cvsdist 688762c
make gzip.info
cvsdist 688762c
cvsdist 688762c
%install
cvsdist a0fdb8c
rm -rf ${RPM_BUILD_ROOT}
cvsdist a0fdb8c
%makeinstall  bindir=${RPM_BUILD_ROOT}/bin
cvsdist a0fdb8c
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
cvsdist a0fdb8c
ln -sf ../../bin/gzip ${RPM_BUILD_ROOT}%{_bindir}/gzip
cvsdist a0fdb8c
ln -sf ../../bin/gunzip ${RPM_BUILD_ROOT}%{_bindir}/gunzip
cvsdist 688762c
cvsdist 688762c
for i in  zcmp zegrep zforce zless znew gzexe zdiff zfgrep zgrep zmore ; do
cvsdist a0fdb8c
    mv ${RPM_BUILD_ROOT}/bin/$i ${RPM_BUILD_ROOT}%{_bindir}/$i
cvsdist 688762c
done
cvsdist 688762c
cvsdist a0fdb8c
gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/gzip.info*
cvsdist 688762c
cvsdist a0fdb8c
# we don't ship it, so let's remove it from ${RPM_BUILD_ROOT}
cvsdist a0fdb8c
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
cvsdist a0fdb8c
cvsdist a0fdb8c
%clean
cvsdist a0fdb8c
rm -rf ${RPM_BUILD_ROOT}
cvsdist 688762c
cvsdist 688762c
%post
cvsdist 688762c
/sbin/install-info %{_infodir}/gzip.info.gz %{_infodir}/dir 
cvsdist 688762c
cvsdist 688762c
%preun
cvsdist 688762c
if [ $1 = 0 ]; then
cvsdist 688762c
    /sbin/install-info --delete %{_infodir}/gzip.info.gz %{_infodir}/dir
cvsdist 688762c
fi
cvsdist 688762c
cvsdist 688762c
%files
cvsdist 688762c
%defattr(-,root,root)
cvsdist 688762c
%doc NEWS README AUTHORS ChangeLog THANKS TODO
cvsdist 688762c
/bin/*
cvsdist a0fdb8c
%{_bindir}/*
cvsdist 688762c
%{_mandir}/*/*
cvsdist 688762c
%{_infodir}/gzip.info*
cvsdist 688762c
cvsdist 688762c
%changelog
Ivana Varekova f196612
* Fri Apr 29 2005 Ivana Varekova <varekova@redhat.com> 1.3.5-5
Ivana Varekova f196612
- fix bug 156269 - CAN-2005-1228 directory traversal bug
Ivana Varekova f196612
 (using the patch from Ulf Harnhammar)
Ivana Varekova f196612
Ivana Varekova 83827e1
* Tue Apr 26 2005 Ivana Varekova <varekova@redhat.com> 1.3.5-4
Ivana Varekova 83827e1
- fix bug 155746 - CAN-2005-0988 Race condition in gzip (patch9)
Ivana Varekova 83827e1
0d10424
* Wed Mar 23 2005 Tomas Mraz <tmraz@redhat.com> 1.3.5-3
0d10424
- don't use the asm code again as it's slower than the gcc compiled one
0d10424
- convert the .spec to UTF-8
0d10424
f9e3e2d
* Tue Mar 22 2005 Tomas Mraz <tmraz@redhat.com> 1.3.5-2
8daeb8e
- upstream 1.3.5
8daeb8e
- dropped long ago obsolete dirinfo patch
8daeb8e
- escape file names in zgrep (#123012)
f9e3e2d
- make stack in match.S nonexecutable
8daeb8e
jryska 0e3a5dd
* Fri Mar 04 2005 Jiri Ryska <jryska@redhat.com>
jryska 0e3a5dd
- rebuilt
jryska 0e3a5dd
Ivana Varekova 8977975
* Mon Dec 13 2004 Ivana Varekova <varekova@redhat.com>
Ivana Varekova d6f0865
- fix patch - remove brackets
Ivana Varekova d6f0865
Ivana Varekova d6f0865
* Mon Dec 13 2004 Ivana Varekova <varekova@redhat.com>
Ivana Varekova 8977975
- fix bug #106551 problem with zmore which requires the suffix .gz in file name
Ivana Varekova 8977975
cvsdist c494dc8
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist c494dc8
- rebuilt
cvsdist c494dc8
cvsdist f68fe2a
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist f68fe2a
- rebuilt
cvsdist f68fe2a
cvsdist 901eaf6
* Tue Oct 28 2003 Jeff Johnson <jbj@redhat.com> 1.3.3-11
cvsdist 901eaf6
- rebuilt.
cvsdist 901eaf6
cvsdist 901eaf6
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 901eaf6
- rebuilt
cvsdist 901eaf6
cvsdist a0fdb8c
* Fri Jan 31 2003 Jeff Johnson <jbj@redhat.com> 1.3.3-9
cvsdist a0fdb8c
- enlarge window buffer to avoid accessing beyond end-of-buffer (#78413,#83095).
cvsdist a0fdb8c
- re-enable rsync ready patch.
cvsdist a0fdb8c
cvsdist a0fdb8c
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist a0fdb8c
- rebuilt
cvsdist a0fdb8c
cvsdist a0fdb8c
* Fri Nov 22 2002 Jeff Johnson <jbj@redhat.com> 1.3.3-7
cvsdist a0fdb8c
- workaround mis-compilation with gcc-3.2-4 on alpha for now (#78413).
cvsdist a0fdb8c
cvsdist a0fdb8c
* Mon Nov 18 2002 Tim Powers <timp@redhat.com>
cvsdist a0fdb8c
- rebuild on all arches
cvsdist a0fdb8c
- remove file from buildroot we aren't shipping
cvsdist a0fdb8c
cvsdist eda8cdc
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist eda8cdc
- automated rebuild
cvsdist eda8cdc
0d10424
* Fri Jun 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.3.3-4
cvsdist 04c2f65
- Fix the reading of unitialized memory problem (#66913)
cvsdist 04c2f65
cvsdist 04c2f65
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 04c2f65
- automated rebuild
cvsdist 04c2f65
0d10424
* Thu Apr 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.3.3-2
cvsdist 04c2f65
- Rebuild
cvsdist 04c2f65
0d10424
* Wed Mar 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.3.3-1
cvsdist 2043c0d
- 1.3.3
cvsdist 2043c0d
cvsdist d656f64
* Sun Mar 10 2002 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist d656f64
- add rsyncable patch #58888
cvsdist d656f64
0d10424
* Thu Feb 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.3.2-3
cvsdist d656f64
- Rebuild
cvsdist d656f64
cvsdist d656f64
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist d656f64
- automated rebuild
cvsdist d656f64
cvsdist d656f64
* Mon Nov 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.3.2-1
cvsdist d656f64
- 1.3.2: no need for autoconf 2.5x hacks anymore
cvsdist d656f64
cvsdist d656f64
* Sat Nov 17 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist d656f64
- update to 1.3.1:
cvsdist d656f64
	- disable patch2
cvsdist d656f64
0d10424
* Fri Oct 26 2001 Trond Eivind Glomsrød <teg@redhat.com> 1.3.0-16
cvsdist d656f64
- replace tempfile patches with improved ones solar@openwall.com
cvsdist d656f64
- Add less to the dependency chain - zless needs it
cvsdist d656f64
0d10424
* Thu Aug 23 2001 Trond Eivind Glomsrød <teg@redhat.com> 1.3.0-15
cvsdist c09ae5f
- Fix typo in comment in zgrep (#52465) 
cvsdist c09ae5f
- Copyright -> License
cvsdist c09ae5f
0d10424
* Tue Jun  5 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist dab6e53
- Patch various uses of $$ in the bundled scripts
cvsdist dab6e53
0d10424
* Mon Jun  4 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist dab6e53
- Fix the SIGPIPE patch to avoid blank lines (#43319)
cvsdist dab6e53
cvsdist f416ef7
* Thu Feb 08 2001 Philipp Knirsch <pknirsch@redhat.de>
cvsdist f416ef7
- Fixed buzilla bug #26680. Wrong skip value after mktemp patch and forced
cvsdist f416ef7
  overwrite for output file during decompression.
cvsdist f416ef7
0d10424
* Tue Jan 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist f416ef7
- trap SIGPIPE in zgrep, so "zgrep | less" gets a happy ending
cvsdist f416ef7
  (#24104)
cvsdist f416ef7
0d10424
* Sun Dec 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist f416ef7
- add HAVE_LSTAT define, to avoid it doing weird things to symlinks
cvsdist f416ef7
  instead of ignoring them as the docs say it should (#22045)
cvsdist f416ef7
0d10424
* Fri Dec 01 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist f416ef7
- rebuild
cvsdist f416ef7
0d10424
* Thu Nov 09 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist f416ef7
- patch all scripts so usage error messages are written to 
cvsdist f416ef7
  stderr (#20597)
cvsdist f416ef7
0d10424
* Mon Oct 30 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist f416ef7
- disable assembly, as it is faster without it (bug #19910)
cvsdist f416ef7
cvsdist 688762c
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
cvsdist 688762c
- automatic rebuild
cvsdist 688762c
0d10424
* Tue Jun 27 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 688762c
- rebuild
cvsdist 688762c
0d10424
* Wed Jun 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 688762c
- Use %%{_mandir}, %%{_infodir},  %%configure, %%makeinstall
cvsdist 688762c
  and %%{_tmppath}
cvsdist 688762c
0d10424
* Fri May 12 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 688762c
- Add root as default owner of the files, permits building 
cvsdist 688762c
  as non-root user
cvsdist 688762c
0d10424
* Wed May 10 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist 688762c
- Build system handles stripping
cvsdist 688762c
- Don't do thing the system does, like creating directories
cvsdist 688762c
- use --bindir /bin
cvsdist 688762c
- Added URL
cvsdist 688762c
- skip unnecesarry sed step
cvsdist 688762c
- Include THANKS, AUTHORS, ChangeLog, TODO
cvsdist 688762c
cvsdist 688762c
* Mon Mar 20 2000 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 688762c
- 1.3
cvsdist 688762c
- handle RPM_OPT_FLAGS
cvsdist 688762c
cvsdist 688762c
* Tue Feb 15 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 688762c
- handle compressed man pages even better
cvsdist 688762c
cvsdist 688762c
* Tue Feb 08 2000 Cristian Gafton <gafton@redhat.com>
cvsdist 688762c
- adopt patch from Paul Eggert to fix detection of the improper tables in
cvsdist 688762c
  inflate.c(huft_build)
cvsdist 688762c
- the latest released version 1.2.4a, which provides documentation updates
cvsdist 688762c
  only. But it lets us use small revision numbers again
cvsdist 688762c
- add an dirinfo entry for gzip.info so we can get rid of the ugly --entry
cvsdist 688762c
  args to install-info
cvsdist 688762c
cvsdist 688762c
* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
cvsdist 688762c
- handle compressed manpages
cvsdist 688762c
cvsdist 688762c
* Thu Feb 03 2000 Elliot Lee <sopwith@redhat.com>
cvsdist 688762c
- Fix bug #7970
cvsdist 688762c
cvsdist 688762c
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 688762c
- auto rebuild in the new build environment (release 14)
cvsdist 688762c
cvsdist 688762c
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 688762c
- built against gliibc 2.1
cvsdist 688762c
cvsdist 688762c
* Thu May 07 1998 Prospector System <bugs@redhat.com>
cvsdist 688762c
- translations modified for de, fr, tr
cvsdist 688762c
cvsdist 688762c
* Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com>
cvsdist 688762c
- added /usr/bin/gzip and /usr/bin/gunzip symlinks as some programs are too
cvsdist 688762c
  brain dead to figure out they should be at least trying to use $PATH
cvsdist 688762c
- added BuildRoot
cvsdist 688762c
cvsdist 688762c
* Wed Jan 28 1998 Erik Troan <ewt@redhat.com>
cvsdist 688762c
- fix /tmp races
cvsdist 688762c
cvsdist 688762c
* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
cvsdist 688762c
- uses install-info
cvsdist 688762c
- applied patch for gzexe
cvsdist 688762c
cvsdist 688762c
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
cvsdist 688762c
- built against glibc
cvsdist 688762c
cvsdist 688762c
* Tue Apr 22 1997 Marc Ewing <marc@redhat.com>
cvsdist 688762c
- (Entry added for Marc by Erik) fixed gzexe to use /bin/gzip
cvsdist 688762c