Blame SPECS/zip.spec

cf1dcd
Summary: A file compression and packaging utility compatible with PKZIP
cf1dcd
Name: zip
cf1dcd
Version: 3.0
cf1dcd
Release: 23%{?dist}
cf1dcd
License: BSD
cf1dcd
Group: Applications/Archiving
cf1dcd
Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz
cf1dcd
URL: http://www.info-zip.org/Zip.html
cf1dcd
cf1dcd
# This patch will probably be merged to zip 3.1
cf1dcd
# http://www.info-zip.org/board/board.pl?m-1249408491/
cf1dcd
Patch1: zip-3.0-exec-shield.patch
cf1dcd
# Not upstreamed.
cf1dcd
Patch2: zip-3.0-currdir.patch
cf1dcd
# Not upstreamed.
cf1dcd
Patch3: zip-3.0-time.patch
cf1dcd
Patch4: man.patch
cf1dcd
Patch5: zip-3.0-format-security.patch
cf1dcd
Patch6: zipnote.patch
cf1dcd
Patch7: zip-3.0-configure.patch
cf1dcd
Patch8: zip-3.0-covscan1.patch
cf1dcd
BuildRequires: bzip2-devel
cf1dcd
Requires: unzip
cf1dcd
cf1dcd
%global _hardened_build 1
cf1dcd
cf1dcd
%description
cf1dcd
The zip program is a compression and file packaging utility.  Zip is
cf1dcd
analogous to a combination of the UNIX tar and compress commands and
cf1dcd
is compatible with PKZIP (a compression and file packaging utility for
cf1dcd
MS-DOS systems).
cf1dcd
cf1dcd
Install the zip package if you need to compress files using the zip
cf1dcd
program.
cf1dcd
cf1dcd
%prep
cf1dcd
%setup -q -n zip30
cf1dcd
%patch1 -p1 -b .exec-shield
cf1dcd
%patch2 -p1 -b .currdir
cf1dcd
%patch3 -p1 -b .time
cf1dcd
%patch4 -p1 -b .man
cf1dcd
%patch5 -p1 -b .format-security
cf1dcd
%patch6 -p1 -b .zipnote
cf1dcd
%patch7 -p1 -b .zipconfigure
cf1dcd
%patch8 -p1 -b .covscan1
cf1dcd
cf1dcd
%build
cf1dcd
make -f unix/Makefile generic_gcc refix=%{_prefix} LFLAGS2="$RPM_LD_FLAGS" CFLAGS_NOOPT="-I. -DUNIX $RPM_OPT_FLAGS" %{?_smp_mflags}
cf1dcd
cf1dcd
%install
cf1dcd
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cf1dcd
mkdir -p $RPM_BULD_ROOT%{_mandir}/man1
cf1dcd
cf1dcd
make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \
cf1dcd
        MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install
cf1dcd
cf1dcd
%files
cf1dcd
%license LICENSE
cf1dcd
%doc README CHANGES TODO WHATSNEW WHERE README.CR
cf1dcd
%doc proginfo/algorith.txt
cf1dcd
%{_bindir}/zipnote
cf1dcd
%{_bindir}/zipsplit
cf1dcd
%{_bindir}/zip
cf1dcd
%{_bindir}/zipcloak
cf1dcd
%{_mandir}/man1/zip.1*
cf1dcd
%{_mandir}/man1/zipcloak.1*
cf1dcd
%{_mandir}/man1/zipnote.1*
cf1dcd
%{_mandir}/man1/zipsplit.1*
cf1dcd
cf1dcd
%changelog
cf1dcd
* Tue Nov 13 2018 Jakub Martisko <jamartis@redhat.com> - 3.0-23
cf1dcd
- Set the ziperr function as noreturn
cf1dcd
- Fix email in the previous chnagelog entry
cf1dcd
- Related: #1602741
cf1dcd
cf1dcd
* Fri Oct 19 2018 Jakub Martisko <jamartis@redhat.com> - 3.0-22
cf1dcd
- Add missing linker flags
cf1dcd
- Port the configure patch from unzip that allows linker flags configuration
cf1dcd
  from the spec file
cf1dcd
- Related: #1624188
cf1dcd
cf1dcd
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-21
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
cf1dcd
cf1dcd
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-20
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cf1dcd
cf1dcd
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-19
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
cf1dcd
cf1dcd
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-18
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
cf1dcd
cf1dcd
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 3.0-17
cf1dcd
- Add missing %%license macro
cf1dcd
cf1dcd
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-16
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cf1dcd
cf1dcd
* Fri Jun 26 2015 Petr Stodulka <pstodulk@redhat.com> - 3.0-15
cf1dcd
- Added requirement for unzip (#1235956)
cf1dcd
cf1dcd
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-14
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
cf1dcd
cf1dcd
* Wed Jan 28 2015 Petr Stodulka <pstodulk@redhat.com> - 3.0-13
cf1dcd
- fix crashing zipnote when editing .zip files (#1179420)
cf1dcd
cf1dcd
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-12
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
cf1dcd
cf1dcd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-11
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
cf1dcd
cf1dcd
* Tue Apr  1 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.0-10
cf1dcd
- Add patch to fix format-security FTBFS (RHBZ 1037412)
cf1dcd
cf1dcd
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-9
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
cf1dcd
cf1dcd
* Fri Apr 26 2013 Michal Luscon <mluscon@redhat.com> - 3.0-8
cf1dcd
- Fix missing -q option in zipsplit and zipnote man pages
cf1dcd
cf1dcd
* Sat Feb 23 2013 Ville Skyttä <ville.skytta@iki.fi> - 3.0-7
cf1dcd
- Enable bzip2 support.
cf1dcd
- Fix bogus date in %%changelog.
cf1dcd
cf1dcd
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-6
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
cf1dcd
cf1dcd
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-5
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
cf1dcd
cf1dcd
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-4
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
cf1dcd
cf1dcd
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-3
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cf1dcd
cf1dcd
* Mon May 24 2010 Karel Klic <kklic@redhat.com> - 3.0-2
cf1dcd
- Removed BuildRoot tag
cf1dcd
- Removed %%clean section
cf1dcd
- Removed trailing whitespaces in the spec file
cf1dcd
cf1dcd
* Fri Nov 13 2009 Karel Klic <kklic@redhat.com> - 3.0-1
cf1dcd
- New upstream version
cf1dcd
- Removed zip23.patch, because ZMEM is not used anyway
cf1dcd
- Removed zip-2.31-install.patch, problem solved in upstream
cf1dcd
- Removed zip23-umask.patch, upstream uses mkstemp which solves the problem
cf1dcd
- Removed zip-2.31-near-4GB.patch, because upstream version
cf1dcd
  handles large files well
cf1dcd
- Removed zip-2.31-configure.patch, configure is better in the current version
cf1dcd
- Removed zip-2.3-sf.patch, the error message doesn't exist in upstream anymore
cf1dcd
- Removed zip-2.31-umask_mode.patch, which fixes also removed near-4GB patch
cf1dcd
- Updated zip-2.31-time.patch for zip 3.0
cf1dcd
- Updated exec-shield.patch for zip 3.0
cf1dcd
- Updated zip-2.3-currdir.patch for zip 3.0
cf1dcd
cf1dcd
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.31-8
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
cf1dcd
cf1dcd
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.31-7
cf1dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
cf1dcd
cf1dcd
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.31-6
cf1dcd
- Autorebuild for GCC 4.3
cf1dcd
cf1dcd
* Wed Nov 14 2007 Ivana Varekova <varekova@redhat.com> - 2.31-5
cf1dcd
- add S_IWOTH option
cf1dcd
cf1dcd
* Mon Nov  5 2007 Ivana Varekova <varekova@redhat.com> - 2.31-4
cf1dcd
- fix "zip does not honor umask setting when creating archives"
cf1dcd
- fix "zip segfaults by attempt to archive big file"
cf1dcd
- spec file cleanup
cf1dcd
cf1dcd
* Wed Feb  7 2007 Ivana Varekova <varekova@redhat.com> - 2.31-3
cf1dcd
- incorporate the next peckage review comment
cf1dcd
cf1dcd
* Tue Feb  6 2007 Ivana Varekova <varekova@redhat.com> - 2.31-2
cf1dcd
- incorporate the package review
cf1dcd
cf1dcd
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.31-1.2.2
cf1dcd
- rebuild
cf1dcd
cf1dcd
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.31-1.2.1
cf1dcd
- bump again for double-long bug on ppc(64)
cf1dcd
cf1dcd
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.31-1.2
cf1dcd
- rebuilt for new gcc4.1 snapshot and glibc changes
cf1dcd
cf1dcd
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
cf1dcd
- rebuilt
cf1dcd
cf1dcd
* Thu Nov 10 2005 Ivana Varekova <varekova@redhat.com> 2.31-1
cf1dcd
- update to 2.31
cf1dcd
cf1dcd
* Mon Mar  7 2005 Ivana Varekova <varekova@redhat.com> 2.3-30
cf1dcd
- rebuilt
cf1dcd
cf1dcd
* Mon Jan 17 2005 Ivana Varekova <varekova@redhat.com> 2.3-29
cf1dcd
- Fix bug #142237 - problem with -d and ./files containing archives
cf1dcd
cf1dcd
* Mon Jun 21 2004 Lon Hohberger <lhh@redhat.com> 2.3-24
cf1dcd
- Extend max file/archive size to 2^32-8193 (4294959103) bytes
cf1dcd
- Include better debugging output for configure script
cf1dcd
cf1dcd
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cf1dcd
- rebuilt
cf1dcd
cf1dcd
* Fri Mar 19 2004 Lon Hohberger <lhh@redhat.com> 2.3-22
cf1dcd
- Fix typos
cf1dcd
cf1dcd
* Tue Feb 17 2004 Lon Hohberger <lhh@redhat.com> 2.3-21
cf1dcd
- Include LICENSE file per bugzilla #116004
cf1dcd
cf1dcd
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cf1dcd
- rebuilt
cf1dcd
cf1dcd
* Mon Dec 22 2003 Lon Hohberger <lhh@redhat.com> 2.3-19
cf1dcd
- Make temp file have umask 0066 mode (#112516)
cf1dcd
cf1dcd
* Fri Oct 24 2003 Lon Hohberger <lhh@redhat.com> 2.3-18
cf1dcd
- Incorporate Arjan's exec-shield patch for i386
cf1dcd
cf1dcd
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cf1dcd
- rebuilt
cf1dcd
cf1dcd
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cf1dcd
- rebuilt
cf1dcd
cf1dcd
* Thu Dec 19 2002 Tim Powers <timp@redhat.com>
cf1dcd
- bump and rebuild
cf1dcd
cf1dcd
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cf1dcd
- automated rebuild
cf1dcd
cf1dcd
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cf1dcd
- automated rebuild
cf1dcd
cf1dcd
* Tue Apr  2 2002 Trond Eivind Glomsrød <teg@redhat.com>
cf1dcd
- Don't strip explicitly
cf1dcd
cf1dcd
* Wed Mar 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.3-11
cf1dcd
- Add URL
cf1dcd
cf1dcd
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cf1dcd
- Bump release + rebuild.
cf1dcd
cf1dcd
* Fri Aug 25 2000 Bill Nottingham <notting@redhat.com>
cf1dcd
- add encryption code (#16878)
cf1dcd
cf1dcd
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
cf1dcd
- automatic rebuild
cf1dcd
cf1dcd
* Sun Jun 11 2000 Bill Nottingham <notting@redhat.com>
cf1dcd
- rebuild in new environment
cf1dcd
cf1dcd
* Mon Mar 13 2000 Bill Nottingham <notting@redhat.com>
cf1dcd
- spec file cleanups (#10143)
cf1dcd
cf1dcd
* Mon Feb  7 2000 Bill Nottingham <notting@redhat.com>
cf1dcd
- fix some perms
cf1dcd
cf1dcd
* Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
cf1dcd
- fix description
cf1dcd
- man pages are compressed
cf1dcd
cf1dcd
* Tue Jan 11 2000 Bill Nottingham <notting@redhat.com>
cf1dcd
- update to 2.3
cf1dcd
cf1dcd
* Fri Jul 30 1999 Bill Nottingham <notting@redhat.com>
cf1dcd
- update to 2.2
cf1dcd
cf1dcd
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cf1dcd
- auto rebuild in the new build environment (release 8)
cf1dcd
cf1dcd
* Thu Mar 18 1999 Cristian Gafton <gafton@redhat.com>
cf1dcd
- updated text in the spec file
cf1dcd
cf1dcd
* Fri Jan 15 1999 Cristian Gafton <gafton@redhat.com>
cf1dcd
- patch top build on the arm
cf1dcd
cf1dcd
* Mon Dec 21 1998 Michael Maher <mike@redhat.com>
cf1dcd
- built package for 6.0
cf1dcd
cf1dcd
* Mon Aug 10 1998 Jeff Johnson <jbj@redhat.com>
cf1dcd
- build root
cf1dcd
cf1dcd
* Fri May 08 1998 Prospector System <bugs@redhat.com>
cf1dcd
- translations modified for de, fr, tr
cf1dcd
cf1dcd
* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
cf1dcd
- built against glibc