2006-12-19 00:18:06 +01:00
|
|
|
#
|
|
|
|
# spec file for package unzip (Version 5.52)
|
|
|
|
#
|
2008-03-28 05:05:35 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:18:06 +01:00
|
|
|
#
|
2008-09-15 12:33:26 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-05-06 17:18:57 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2006-12-19 00:18:06 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-03-28 05:05:35 +01:00
|
|
|
|
2007-05-06 17:18:57 +02:00
|
|
|
Name: unzip
|
2007-12-06 01:40:08 +01:00
|
|
|
License: BSD 3-Clause
|
2007-05-06 17:18:57 +02:00
|
|
|
Group: Productivity/Archiving/Compression
|
|
|
|
Provides: crunzip
|
|
|
|
Obsoletes: crunzip
|
2007-12-06 01:40:08 +01:00
|
|
|
AutoReqProv: on
|
2007-05-06 17:18:57 +02:00
|
|
|
Version: 5.52
|
2008-12-15 13:17:41 +01:00
|
|
|
Release: 142
|
2007-05-06 17:18:57 +02:00
|
|
|
Summary: A program to unpack compressed files
|
|
|
|
Source: unzip552.tar.bz2
|
2007-12-06 01:40:08 +01:00
|
|
|
Url: http://www.info-zip.org/
|
2007-05-06 17:18:57 +02:00
|
|
|
Patch: unzip.dif
|
|
|
|
Patch1: unzip-iso8859_2.patch
|
|
|
|
Patch3: unzip-optflags.patch
|
|
|
|
Patch4: unzip-5.52-filename_too_long.patch
|
|
|
|
Patch5: unzip-no_file_name_translation.patch
|
2007-12-06 01:40:08 +01:00
|
|
|
Patch6: unzip-near-4GB.patch
|
|
|
|
Patch7: unzip-CVE-2005-2475.patch
|
2007-12-07 20:20:19 +01:00
|
|
|
Patch8: unzip-open_missing_mode.patch
|
2008-03-28 05:05:35 +01:00
|
|
|
Patch9: unzip-5.5.2-goo-sec.patch
|
2007-05-06 17:18:57 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2006-12-19 00:18:06 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
UnZip is an extraction utility for archives compressed in .zip format
|
|
|
|
(known as "zip files"). Although highly compatible both with PKWARE's
|
|
|
|
PKZIP(tm) and PKUNZIP utilities for MS-DOS and with Info-ZIP's own Zip
|
|
|
|
program, our primary objectives have been portability and non-MS-DOS
|
|
|
|
functionality. This version can also extract encrypted archives.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Info-ZIP <zip-bugs@lists.wku.edu>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch3
|
|
|
|
%patch4
|
2007-05-06 17:18:57 +02:00
|
|
|
%patch5
|
2007-12-06 01:40:08 +01:00
|
|
|
%patch6
|
|
|
|
%patch7
|
2007-12-07 20:20:19 +01:00
|
|
|
%patch8
|
2008-03-28 05:05:35 +01:00
|
|
|
%patch9
|
2006-12-19 00:18:06 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
export RPM_OPT_FLAGS="%optflags -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fstack-protector"
|
2007-12-06 01:40:08 +01:00
|
|
|
make -f unix/Makefile LF2= linux_noasm
|
2006-12-19 00:18:06 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
|
2008-12-15 13:17:41 +01:00
|
|
|
for i in unzip funzip unzipsfx; \
|
2006-12-19 00:18:06 +01:00
|
|
|
do install $i $RPM_BUILD_ROOT%{_bindir};done;
|
2008-12-15 13:17:41 +01:00
|
|
|
ln -s unzip $RPM_BUILD_ROOT%{_bindir}/zipinfo
|
2006-12-19 00:18:06 +01:00
|
|
|
install unix/zipgrep $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
for i in man/*.1; \
|
|
|
|
do \
|
|
|
|
install -m 644 $i $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
2008-09-15 12:33:26 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-12-19 00:18:06 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_mandir}/man1/*
|
|
|
|
%doc BUGS COPYING.OLD Contents History.* INSTALL LICENSE README ToDo WHERE
|
|
|
|
%doc *.txt proginfo
|
|
|
|
%{_bindir}/unzip
|
|
|
|
%{_bindir}/funzip
|
|
|
|
%{_bindir}/unzipsfx
|
|
|
|
%{_bindir}/zipinfo
|
|
|
|
%{_bindir}/zipgrep
|
|
|
|
|
2007-05-06 17:18:57 +02:00
|
|
|
%changelog
|
2008-12-15 13:17:41 +01:00
|
|
|
* Tue Dec 09 2008 schwab@suse.de
|
|
|
|
- Fix last change.
|
2008-09-15 12:33:26 +02:00
|
|
|
* Mon Sep 15 2008 ro@suse.de
|
|
|
|
- use hardlink instead of softlink
|
2008-03-28 05:05:35 +01:00
|
|
|
* Mon Feb 04 2008 pth@suse.de
|
|
|
|
- Add patch to fix erroneous freeing of buffers (bnc#358425)
|
|
|
|
* Fri Dec 07 2007 pth@suse.de
|
2007-12-07 20:20:19 +01:00
|
|
|
- Pass file mode when calling open with O_CREAT.
|
2008-03-28 05:05:35 +01:00
|
|
|
* Mon Dec 03 2007 pth@suse.de
|
2007-12-06 01:40:08 +01:00
|
|
|
- Add patch to extend the maximum file/archive size to 2^32-8193
|
|
|
|
(4294959103) bytes.
|
2008-03-28 05:05:35 +01:00
|
|
|
- Add patch to fix CVE-2005-2475 (bnc#274156)
|
|
|
|
* Thu Jun 21 2007 adrian@suse.de
|
2007-06-22 00:15:56 +02:00
|
|
|
- fix changelog entry order
|
2008-03-28 05:05:35 +01:00
|
|
|
* Thu May 03 2007 pth@suse.de
|
2007-05-06 17:18:57 +02:00
|
|
|
- Add patch from Takashi Iwai that adds a new option (-S) to
|
2008-03-28 05:05:35 +01:00
|
|
|
unzip and infozip that disables file name translation (bnc#267901).
|
2007-05-06 17:18:57 +02:00
|
|
|
- Recompress tarball with bzip2
|
2008-03-28 05:05:35 +01:00
|
|
|
* Fri Jan 27 2006 mls@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-03-28 05:05:35 +01:00
|
|
|
* Thu Jan 26 2006 pth@suse.de
|
|
|
|
- Reject file names that are too long (bnc#140304)
|
2006-12-19 00:18:06 +01:00
|
|
|
- Use stack protector.
|
2008-03-28 05:05:35 +01:00
|
|
|
* Fri Jan 20 2006 schwab@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Don't strip binaries.
|
2008-03-28 05:05:35 +01:00
|
|
|
* Thu Dec 15 2005 pth@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Compile with (limited) large file support. This will support
|
|
|
|
single files exceeding 2 GB as long as the archive stays below
|
|
|
|
that theshold.
|
2008-12-15 13:17:41 +01:00
|
|
|
* Mon Jun 13 2005 rommel@suse.de
|
2008-03-28 05:05:35 +01:00
|
|
|
- update to version 5.52 (bnc#67279)
|
|
|
|
* Sat Aug 07 2004 rommel@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- update to version 5.51
|
|
|
|
(fixes old security bugs, adds PKWARE's compression code Deflate64)
|
2008-03-28 05:05:35 +01:00
|
|
|
* Wed May 19 2004 ro@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- added -fno-strict-aliasing
|
|
|
|
- really use RPM_OPT_FLAGS
|
2008-03-28 05:05:35 +01:00
|
|
|
* Sun Jan 11 2004 adrian@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- build as user
|
2008-03-28 05:05:35 +01:00
|
|
|
* Tue Sep 23 2003 rommel@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- replaced fix for ../ exploit with a fix both for
|
|
|
|
the ../ exploit and '/' exploit (Bugzilla #29311)
|
2008-03-28 05:05:35 +01:00
|
|
|
* Thu Jul 03 2003 rommel@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- added fix for ../ exploit (Bugzilla #27667)
|
2008-03-28 05:05:35 +01:00
|
|
|
* Fri Jan 17 2003 rommel@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- fixed Summary: to be more verbose about what this package does
|
2008-12-15 13:17:41 +01:00
|
|
|
* Tue Sep 17 2002 ro@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- removed bogus self-provides
|
2008-03-28 05:05:35 +01:00
|
|
|
* Fri Jul 05 2002 kukuk@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Use %%ix86 macro
|
2008-03-28 05:05:35 +01:00
|
|
|
* Mon Mar 11 2002 rommel@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Update to 5.50
|
|
|
|
- took over parts of pmladek's patch (see below)
|
2008-03-28 05:05:35 +01:00
|
|
|
* Thu Jan 24 2002 grimmer@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- added unzip-5.42-iso8859_2.patch to fix coding conversion
|
|
|
|
between Microsoft and Linux file names
|
|
|
|
(originally from http://www.axis.cz/linux/zip_unzip.php3,
|
|
|
|
enhanced to support both ISO8859-1 and ISO8859-2 by Petr Mladek
|
|
|
|
<pmladek@suse.cz>)
|
2008-03-28 05:05:35 +01:00
|
|
|
* Mon Apr 09 2001 grimmer@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Update to 5.42
|
|
|
|
- file list fixes (new license file, documentation renames)
|
2008-03-28 05:05:35 +01:00
|
|
|
* Wed Dec 13 2000 grimmer@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Update to 5.41 (now includes decryption support)
|
|
|
|
- now Provides and Obsoletes crunzip
|
|
|
|
- bzipped sources
|
|
|
|
- use BuildRoot
|
2008-03-28 05:05:35 +01:00
|
|
|
* Tue Feb 29 2000 schwab@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Add support for ia64.
|
|
|
|
- /usr/man -> /usr/share/man
|
2008-03-28 05:05:35 +01:00
|
|
|
* Wed Dec 22 1999 grimmer@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Added "Conflicts: crzip" to spec file
|
|
|
|
- cleaned up Provides: tag
|
2008-03-28 05:05:35 +01:00
|
|
|
* Fri Dec 17 1999 grimmer@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Spec file cleanups
|
2008-03-28 05:05:35 +01:00
|
|
|
* Sat Nov 27 1999 kukuk@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- Use linux_noasm Makefile target on SPARC
|
2008-03-28 05:05:35 +01:00
|
|
|
* Mon Sep 13 1999 bs@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
2008-03-28 05:05:35 +01:00
|
|
|
* Wed Sep 08 1999 uli@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- uses target linux_noasm for PPC
|
2008-03-28 05:05:35 +01:00
|
|
|
* Wed Feb 24 1999 grimmer@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- new version (5.40)
|
|
|
|
- specfile modifications
|
|
|
|
- added french description
|
2008-03-28 05:05:35 +01:00
|
|
|
* Mon Jan 11 1999 ro@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- use target linux_noasm for alpha
|
2008-03-28 05:05:35 +01:00
|
|
|
* Fri Jan 23 1998 rj@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- version 5.32
|
2008-03-28 05:05:35 +01:00
|
|
|
* Thu Feb 06 1997 rj@suse.de
|
2006-12-19 00:18:06 +01:00
|
|
|
- version 5.12
|
|
|
|
- new test/changes/plist files
|