2007-02-06 12:09:28 +00:00
|
|
|
Summary: A utility for unpacking zip files
|
2004-09-09 13:48:17 +00:00
|
|
|
Name: unzip
|
2005-12-22 13:58:12 +00:00
|
|
|
Version: 5.52
|
2008-03-19 13:58:17 +00:00
|
|
|
Release: 9%{?dist}
|
2004-09-09 13:48:50 +00:00
|
|
|
License: BSD
|
2004-09-09 13:48:17 +00:00
|
|
|
Group: Applications/Archiving
|
2005-12-22 13:58:12 +00:00
|
|
|
Source: ftp://ftp.info-zip.org/pub/infozip/src/unzip552.tar.gz
|
2004-09-09 13:48:50 +00:00
|
|
|
Patch0: unzip542-rpmoptflags.patch
|
2004-12-02 18:05:00 +00:00
|
|
|
Patch2: unzip-5.51-link-segv.patch
|
2005-02-10 09:28:26 +00:00
|
|
|
Patch3: unzip-5.51-link-segv2.patch
|
2005-12-22 13:58:12 +00:00
|
|
|
Patch6: unzip-5.52-toctou.patch
|
|
|
|
Patch7: unzip-5.52-near-4GB.patch
|
2006-02-06 11:43:00 +00:00
|
|
|
Patch8: unzip-5.52-near-4GB2.patch
|
|
|
|
Patch9: unzip-5.52-long-filename.patch
|
2007-02-06 12:09:28 +00:00
|
|
|
Patch10: unzip-5.52-makefile.patch
|
2007-09-04 08:59:53 +00:00
|
|
|
Patch11: unzip-5.52-open.patch
|
2008-01-22 14:07:19 +00:00
|
|
|
Patch12: unzip-5.52-4GB3.patch
|
2008-01-23 13:30:46 +00:00
|
|
|
Patch13: unzip-5.52-4GB_types.patch
|
2008-02-08 14:10:35 +00:00
|
|
|
Patch14: unzip-5.52-249057.patch
|
2008-03-19 13:58:17 +00:00
|
|
|
Patch15: unzip-5.52-cve-2008-0888.patch
|
2004-09-09 13:48:50 +00:00
|
|
|
URL: http://www.info-zip.org/pub/infozip/UnZip.html
|
2007-02-06 12:09:28 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-09-09 13:48:17 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The unzip utility is used to list, test, or extract files from a zip
|
|
|
|
archive. Zip archives are commonly found on MS-DOS systems. The zip
|
|
|
|
utility, included in the zip package, creates zip archives. Zip and
|
|
|
|
unzip are both compatible with archives created by PKWARE(R)'s PKZIP
|
|
|
|
for MS-DOS, but the programs' options and default behaviors do differ
|
|
|
|
in some respects.
|
|
|
|
|
|
|
|
Install the unzip package if you need to list, test or extract files from
|
|
|
|
a zip archive.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2005-02-03 14:18:07 +00:00
|
|
|
%patch0 -p1 -b .rpmo
|
|
|
|
%patch2 -p1 -b .link-segv
|
2005-02-10 09:28:26 +00:00
|
|
|
%patch3 -p1 -b .morn
|
2005-12-22 13:58:12 +00:00
|
|
|
%patch6 -p1 -b .toctou
|
|
|
|
%patch7 -p1 -b .4GB
|
2006-02-06 11:43:00 +00:00
|
|
|
%patch8 -p1 -b .4GB2
|
|
|
|
%patch9 -p1 -b .lfn
|
2007-02-06 12:09:28 +00:00
|
|
|
%patch10 -p1 -b .make
|
2007-09-04 08:59:53 +00:00
|
|
|
%patch11 -p1 -b .open
|
2008-01-22 14:07:19 +00:00
|
|
|
%patch12 -p1 -b .4GB3
|
2008-01-23 13:30:46 +00:00
|
|
|
%patch13 -p1 -b .4BG4
|
2008-02-08 14:10:35 +00:00
|
|
|
%patch14 -p1 -b .err
|
2008-03-19 13:58:17 +00:00
|
|
|
%patch15 -p1 -b .cve-2008-0888
|
2004-09-09 13:48:17 +00:00
|
|
|
ln -s unix/Makefile Makefile
|
|
|
|
|
|
|
|
%build
|
2007-02-06 12:09:28 +00:00
|
|
|
make CFLAGS="-D_LARGEFILE64_SOURCE" linux_noasm LF2="" %{?_smp_mflags}
|
2004-09-09 13:48:17 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-02-06 12:09:28 +00:00
|
|
|
make prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT/%{_mandir}/man1 INSTALL="cp -p" install LF2=""
|
2004-09-09 13:48:17 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-02-07 08:57:35 +00:00
|
|
|
%doc README BUGS LICENSE
|
2007-02-06 12:09:28 +00:00
|
|
|
%{_bindir}/*
|
2004-09-09 13:48:50 +00:00
|
|
|
%{_mandir}/*/*
|
2004-09-09 13:48:17 +00:00
|
|
|
|
|
|
|
%changelog
|
2008-03-19 13:58:17 +00:00
|
|
|
* Wed Mar 19 2008 Ivana Varekova <varekova@redhat.com> - 5.52-9
|
|
|
|
- fix crash (double free) on malformed zip archive
|
|
|
|
CVE-2008-0888 (#431438)
|
|
|
|
|
2008-02-08 14:10:35 +00:00
|
|
|
* Fri Feb 8 2008 Ivana Varekova <varekova@redhat.com> - 5.52-8
|
|
|
|
- fix output when out of space error appears
|
|
|
|
|
2008-01-23 13:30:46 +00:00
|
|
|
* Wed Jan 23 2008 Ivana Varekova <varekova@redhat.com> - 5.52-7
|
|
|
|
- fix another long file support problem
|
|
|
|
|
2008-01-22 14:07:19 +00:00
|
|
|
* Tue Jan 22 2008 Ivana Varekova <varekova@redhat.com> - 5.52-6
|
2008-01-23 13:30:46 +00:00
|
|
|
- add 4GB patch (#429674)
|
2008-01-22 14:07:19 +00:00
|
|
|
|
2007-09-04 08:59:53 +00:00
|
|
|
* Tue Sep 4 2007 Ivana Varekova <varekova@redhat.com> - 5.52-5
|
|
|
|
- fix open call
|
|
|
|
|
2007-02-07 08:57:35 +00:00
|
|
|
* Wed Feb 7 2007 Ivana Varekova <varekova@redhat.com> - 5.52-4
|
|
|
|
- incorporate the next peckage review comment
|
|
|
|
|
2007-02-06 12:09:28 +00:00
|
|
|
* Tue Feb 6 2007 Ivana Varekova <varekova@redhat.com> - 5.52-3
|
|
|
|
- Resolves: 226516
|
|
|
|
Incorporate the package review
|
|
|
|
|
2006-07-12 08:36:50 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.52-2.2.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-02-11 05:55:34 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.52-2.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 14:10:43 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.52-2.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-02-06 11:43:00 +00:00
|
|
|
* Mon Feb 6 2006 Ivana Varekova <varekova@redhat.com> 5.52-2
|
|
|
|
- fix bug 180078 - unzip -l causing error
|
|
|
|
- fix CVE-2005-4667 - unzip long file name buffer overflow
|
|
|
|
|
|
|
|
* Thu Dec 22 2005 Ivana Varekova <varekova@redhat.com> 5.52-1
|
2005-12-22 13:58:12 +00:00
|
|
|
- update to 5.52
|
|
|
|
|
2005-12-09 22:43:41 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-08-03 12:21:09 +00:00
|
|
|
* Wed Aug 3 2005 Ivana Varekova <varekova@redhat.com> 5.51-12
|
|
|
|
- fix bug 164928 - TOCTOU issue in unzip
|
|
|
|
|
2005-05-09 07:52:11 +00:00
|
|
|
* Mon May 9 2005 Ivana Varekova <varekova@redhat.com> 5.51-11
|
2007-02-06 12:09:28 +00:00
|
|
|
- fix bug 156959 – invalid file mode on created files
|
2005-05-09 07:52:11 +00:00
|
|
|
|
2005-03-07 08:38:57 +00:00
|
|
|
* Mon Mar 7 2005 Ivana Varekova <varekova@redhat.com> 5.51-10
|
|
|
|
- rebuilt
|
|
|
|
|
2005-02-10 09:28:26 +00:00
|
|
|
* Thu Feb 10 2005 Ivana Varekova <varekova@redhat.com> 5.51-9
|
|
|
|
- fix the other problem with unpacking zipfiles containing symlinks
|
|
|
|
(bug #134073)
|
|
|
|
|
|
|
|
* Thu Feb 03 2005 Ivana Varekova <varekova@redhat.com> 5.51-8
|
2005-02-03 14:18:07 +00:00
|
|
|
- fix segfault with unpacking of zipfiles containing dangling symlinks
|
|
|
|
(bug #134073)
|
|
|
|
|
2004-12-02 18:05:00 +00:00
|
|
|
* Thu Dec 02 2004 Lon Hohberger <lhh@redhat.com> 5.51-6
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
* Thu Dec 02 2004 Lon Hohberger <lhh@redhat.com> 5.51-5
|
|
|
|
- Fix segfault on extraction of symlinks
|
|
|
|
|
2004-09-09 13:57:47 +00:00
|
|
|
* Mon Jun 21 2004 Lon Hohberger <lhh@redhat.com> 5.51-4
|
|
|
|
- Extend max file/archive size to 2^32-8193 (4294959103) bytes
|
|
|
|
|
2004-09-09 13:57:33 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 13:56:50 +00:00
|
|
|
* Tue Jun 08 2004 Lon Hohberger <lhh@redhat.com> 5.51-2
|
|
|
|
- Rebuild
|
|
|
|
|
2004-09-09 13:56:37 +00:00
|
|
|
* Tue Jun 08 2004 Lon Hohberger <lhh@redhat.com> 5.51-1.1
|
|
|
|
- Update to 5.51; remove dotdot patch.
|
|
|
|
|
2004-09-09 13:56:31 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 13:55:41 +00:00
|
|
|
* Mon Nov 17 2003 Lon Hohberger <lhh@redhat.com> 5.50-36
|
|
|
|
- Rebuild for FC-next
|
|
|
|
|
2004-09-09 13:55:21 +00:00
|
|
|
* Fri Aug 01 2003 Lon Hohberger <lhh@redhat.com> 5.50-35
|
|
|
|
- Rebuild for Severn
|
|
|
|
|
|
|
|
* Fri Aug 01 2003 Lon Hohberger <lhh@redhat.com> 5.50-34
|
|
|
|
- Rebuild for Taroon
|
|
|
|
|
2004-09-09 13:54:45 +00:00
|
|
|
* Fri Aug 01 2003 Lon Hohberger <lhh@redhat.com> 5.50-33
|
|
|
|
- Rebuild for 9 errata
|
|
|
|
|
|
|
|
* Fri Aug 01 2003 Lon Hohberger <lhh@redhat.com> 5.50-32
|
|
|
|
- Rebuild for 8.0 errata
|
|
|
|
|
|
|
|
* Fri Aug 01 2003 Lon Hohberger <lhh@redhat.com> 5.50-31
|
|
|
|
- Rebuild for 7.3 errata
|
|
|
|
|
|
|
|
* Wed Jul 30 2003 Lon Hohberger <lhh@redhat.com> 5.50-30
|
|
|
|
- SECURITY Round 3: Fix up original patch (from 5.50-9) to fix
|
|
|
|
^V/ exploit, but still allow '-:', which the other patch (5.50-18)
|
|
|
|
does not allow. Never allow explicit writing to the root
|
|
|
|
directory; force users to change there and extract it manually.
|
|
|
|
|
|
|
|
* Wed Jul 30 2003 Lon Hohberger <lhh@redhat.com> 5.50-29
|
|
|
|
- Rebuild for Severn
|
|
|
|
|
|
|
|
* Wed Jul 30 2003 Lon Hohberger <lhh@redhat.com> 5.50-28
|
|
|
|
- Rebuild
|
|
|
|
|
2004-09-09 13:53:05 +00:00
|
|
|
* Wed Jul 30 2003 Lon Hohberger <lhh@redhat.com> 5.50-27
|
|
|
|
- Rebuild for 9
|
|
|
|
|
|
|
|
* Wed Jul 30 2003 Lon Hohberger <lhh@redhat.com> 5.50-26
|
|
|
|
- Rebuild for 8.0
|
|
|
|
|
|
|
|
* Tue Jul 22 2003 Lon Hohberger <lhh@redhat.com> 5.50-23
|
|
|
|
- Rebuild for 7.3
|
|
|
|
|
|
|
|
* Mon Jul 21 2003 Lon Hohberger <lhh@redhat.com> 5.50-22
|
|
|
|
- Rebuild for Severn
|
|
|
|
|
|
|
|
* Mon Jul 21 2003 Lon Hohberger <lhh@redhat.com> 5.50-21
|
|
|
|
- Rebuild
|
|
|
|
|
2004-09-09 13:52:47 +00:00
|
|
|
* Mon Jul 21 2003 Lon Hohberger <lhh@redhat.com> 5.50-20
|
|
|
|
- Rebuild for 9
|
|
|
|
|
|
|
|
* Mon Jul 21 2003 Lon Hohberger <lhh@redhat.com> 5.50-19
|
|
|
|
- Rebuild for 8.0
|
|
|
|
|
|
|
|
* Mon Jul 21 2003 Lon Hohberger <lhh@redhat.com> 5.50-18
|
|
|
|
- SECURITY: Incorporate far cleaner patch from Ben Laurie
|
|
|
|
<ben@algroup.co.uk> which also fixes ^V/ (quote-slash).
|
|
|
|
Patch checks post-decode as opposed to inline as previous
|
|
|
|
patch does.
|
|
|
|
|
|
|
|
* Mon Jun 16 2003 Lon Hohberger <lhh@redhat.com> 5.50-17
|
|
|
|
- Rebuilt per request
|
|
|
|
|
|
|
|
* Thu Jun 12 2003 Lon Hohberger <lhh@redhat.com> 5.50-16
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
* Thu Jun 12 2003 Lon Hohberger <lhh@redhat.com> 5.50-15
|
|
|
|
- Rebuilt
|
|
|
|
|
2004-09-09 13:52:29 +00:00
|
|
|
* Thu Jun 12 2003 Lon Hohberger <lhh@redhat.com> 5.50-14
|
|
|
|
- Rebuilt: Red Hat Linux 9
|
|
|
|
|
|
|
|
* Thu Jun 12 2003 Lon Hohberger <lhh@redhat.com> 5.50-13
|
|
|
|
- Rebuilt: Red Hat Enterprise Linux 2.1
|
|
|
|
|
|
|
|
* Thu Jun 12 2003 Lon Hohberger <lhh@redhat.com> 5.50-12
|
|
|
|
- Rebuilt Red Hat Linux 8.0
|
|
|
|
|
|
|
|
* Thu Jun 12 2003 Lon Hohberger <lhh@redhat.com> 5.50-11
|
|
|
|
- Rebuilt Red Hat Linux 7.3
|
|
|
|
|
|
|
|
* Wed Jun 11 2003 Lon Hohberger <lhh@redhat.com> 5.50-10
|
|
|
|
- Rebuilt
|
|
|
|
|
|
|
|
* Wed Jun 11 2003 Lon Hohberger <lhh@redhat.com> 5.50-9
|
|
|
|
- SECURITY: Scour start of filename for ../ patterns which
|
|
|
|
include quote and/or control characters.
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 13:50:46 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Dec 19 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- bump and rebuild
|
|
|
|
|
2004-09-09 13:50:38 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 13:50:22 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2007-02-06 12:09:28 +00:00
|
|
|
* Thu Apr 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 5.50-3
|
2004-09-09 13:50:22 +00:00
|
|
|
- Rebuild
|
|
|
|
|
2007-02-06 12:09:28 +00:00
|
|
|
* Tue Apr 2 2002 Trond Eivind Glomsrød <teg@redhat.com> 5.50-2
|
2004-09-09 13:50:10 +00:00
|
|
|
- Make it not strip
|
|
|
|
|
2007-02-06 12:09:28 +00:00
|
|
|
* Wed Mar 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 5.50-1
|
2004-09-09 13:49:18 +00:00
|
|
|
- 5.50
|
|
|
|
|
2007-02-06 12:09:28 +00:00
|
|
|
* Thu Feb 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 5.42-3
|
2004-09-09 13:49:18 +00:00
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2007-02-06 12:09:28 +00:00
|
|
|
* Mon May 21 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 13:48:50 +00:00
|
|
|
- 5.42
|
|
|
|
- Don't strip binaries explicitly
|
|
|
|
- build without assembly, it doesn't seem to increase performance
|
|
|
|
- make it respect RPM_OPT_FLAGS, define _GNU_SOURCE
|
|
|
|
- use %%{_tmppath}
|
|
|
|
- "License:" replaces "Copyright:"
|
|
|
|
- Update URL
|
|
|
|
- include zipgrep
|
|
|
|
- COPYING doesn't exist anymore, include LICENSE instead
|
|
|
|
|
2004-09-09 13:48:17 +00:00
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Sun Jun 11 2000 BIll Nottingham <notting@redhat.com>
|
|
|
|
- rebuild in new env.; FHS fixes.
|
|
|
|
|
|
|
|
* Tue Apr 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
|
|
|
|
- 4.51 (an acceptable license at last...)
|
|
|
|
|
|
|
|
* Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- handle compressed man pages
|
|
|
|
|
|
|
|
* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- update to 5.40
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 5)
|
|
|
|
|
|
|
|
* Thu Dec 17 1998 Michael Maher <mike@redhat.com>
|
|
|
|
- built for 6.0
|
|
|
|
|
|
|
|
* Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- build root
|
|
|
|
|
|
|
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Tue Oct 21 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- builds on non i386 platforms
|
|
|
|
|
|
|
|
* Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
|
|
|
|
- updated the version
|
|
|
|
|
|
|
|
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|