|
|
db0607 |
Summary: Fast compression and decompression utilities
|
|
|
db0607 |
Name: ncompress
|
|
|
db0607 |
Version: 4.2.4.4
|
|
|
db0607 |
Release: 13%{?dist}
|
|
|
db0607 |
License: Public Domain
|
|
|
db0607 |
Group: Applications/File
|
|
|
db0607 |
URL: http://ncompress.sourceforge.net/
|
|
|
db0607 |
Source: http://prdownloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
|
|
|
db0607 |
|
|
|
db0607 |
# allow to build ncompress
|
|
|
db0607 |
# ~> downstream
|
|
|
db0607 |
Patch0: ncompress-4.2.4.4-make.patch
|
|
|
db0607 |
|
|
|
db0607 |
# from dist-git commit 0539779d937
|
|
|
db0607 |
# (praiskup: removed redundant part as -DNOFUNCDEF is defined)
|
|
|
db0607 |
# ~> downstream
|
|
|
db0607 |
Patch1: ncompress-4.2.4.4-lfs.patch
|
|
|
db0607 |
|
|
|
db0607 |
# exit when too long filename is given (do not segfault)
|
|
|
db0607 |
# ~> #unknown
|
|
|
db0607 |
# ~> downstream
|
|
|
db0607 |
Patch2: ncompress-4.2.4.4-filenamelen.patch
|
|
|
db0607 |
|
|
|
db0607 |
# permit files > 2GB to be compressed
|
|
|
db0607 |
# ~> #126775
|
|
|
db0607 |
Patch3: ncompress-4.2.4.4-2GB.patch
|
|
|
db0607 |
|
|
|
db0607 |
# do not fail to compress on ppc/s390x
|
|
|
db0607 |
# ~> #207001
|
|
|
db0607 |
Patch4: ncompress-4.2.4.4-endians.patch
|
|
|
db0607 |
|
|
|
db0607 |
# use memmove instead of memcpy
|
|
|
db0607 |
# ~> 760657
|
|
|
db0607 |
# ~> downstream
|
|
|
db0607 |
Patch5: ncompress-4.2.4.4-memmove.patch
|
|
|
db0607 |
|
|
|
db0607 |
# silence gcc warnings
|
|
|
db0607 |
# ~> downstream
|
|
|
db0607 |
Patch6: ncompress-4.2.4.4-silence-gcc.patch
|
|
|
db0607 |
|
|
|
db0607 |
# do not set exit_code when an error is ignored
|
|
|
db0607 |
# ~> #1830869
|
|
|
db0607 |
# ~> upstream (pkubat)
|
|
|
db0607 |
Patch7: ncompress-4.2.4.4-exit-code-ignored.patch
|
|
|
db0607 |
|
|
|
db0607 |
BuildRequires: glibc-devel
|
|
|
db0607 |
|
|
|
db0607 |
%description
|
|
|
db0607 |
The ncompress package contains the compress and uncompress file
|
|
|
db0607 |
compression and decompression utilities, which are compatible with the
|
|
|
db0607 |
original UNIX compress utility (.Z file extensions). These utilities
|
|
|
db0607 |
can't handle gzipped (.gz file extensions) files, but gzip can handle
|
|
|
db0607 |
compressed files.
|
|
|
db0607 |
|
|
|
db0607 |
Install ncompress if you need compression/decompression utilities
|
|
|
db0607 |
which are compatible with the original UNIX compress utility.
|
|
|
db0607 |
|
|
|
db0607 |
%prep
|
|
|
db0607 |
%setup -q
|
|
|
db0607 |
|
|
|
db0607 |
# configure build system
|
|
|
db0607 |
# ~> downstream
|
|
|
db0607 |
%patch0 -p1 -b .configure-buildsystem
|
|
|
db0607 |
|
|
|
db0607 |
%ifarch sparc m68k armv4l ppc s390 s390x ppc64 sparc64
|
|
|
db0607 |
ARCH_FLAGS="$ARCH_FLAGS -DBYTEORDER=1234"
|
|
|
db0607 |
%endif
|
|
|
db0607 |
|
|
|
db0607 |
%ifarch alpha ia64
|
|
|
db0607 |
ARCH_FLAGS="$ARCH_FLAGS -DNOALLIGN=0"
|
|
|
db0607 |
%endif
|
|
|
db0607 |
|
|
|
db0607 |
sed "s/\$(ARCH_FLAGS)/$ARCH_FLAGS/" Makefile.def > Makefile
|
|
|
db0607 |
|
|
|
db0607 |
%patch1 -p1 -b .lfs
|
|
|
db0607 |
%patch2 -p1 -b .filenamelen
|
|
|
db0607 |
%patch3 -p1 -b .2GB
|
|
|
db0607 |
%patch4 -p1 -b .endians
|
|
|
db0607 |
%patch5 -p1 -b .memmove
|
|
|
db0607 |
%patch6 -p1 -b .silence-gcc
|
|
|
db0607 |
%patch7 -p1 -b .exit-code-ignored
|
|
|
db0607 |
|
|
|
db0607 |
%build
|
|
|
db0607 |
make CFLAGS="%{optflags} %{?nc_endian} %{?nc_align} %{build_ldflags}"
|
|
|
db0607 |
|
|
|
db0607 |
%install
|
|
|
db0607 |
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
|
|
db0607 |
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
db0607 |
install -p -m755 compress $RPM_BUILD_ROOT/%{_bindir}
|
|
|
db0607 |
ln -sf compress $RPM_BUILD_ROOT/%{_bindir}/uncompress
|
|
|
db0607 |
install -p -m644 compress.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
db0607 |
ln -sf compress.1 $RPM_BUILD_ROOT%{_mandir}/man1/uncompress.1
|
|
|
db0607 |
|
|
|
db0607 |
%files
|
|
|
db0607 |
%{_bindir}/compress
|
|
|
db0607 |
%{_bindir}/uncompress
|
|
|
db0607 |
%{_mandir}/man1/*
|
|
|
db0607 |
%doc LZW.INFO README
|
|
|
db0607 |
|
|
|
db0607 |
%changelog
|
|
|
db0607 |
* Wed May 06 2020 Ondrej Dubaj <odubaj@redhat.com> - 4.2.4.4-13
|
|
|
db0607 |
- Fixed exit code return when error is ignored (#1830869)
|
|
|
db0607 |
|
|
|
db0607 |
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 4.2.4.4-12
|
|
|
db0607 |
- Use LDFLAGS from redhat-rpm-config
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Feb 23 2018 Pavel Raiskup <praiskup@redhat.com> - 4.2.4.4-11
|
|
|
db0607 |
- drop fileutils BR, rhbz#1548106
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.4.4-10
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.4.4-9
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.4.4-8
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.4.4-7
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.4.4-6
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4.4-5
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4.4-4
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4.4-3
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4.4-2
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Mar 01 2013 Pavel Raiskup <praiskup@redhat.com> - 4.2.4.4-1
|
|
|
db0607 |
- upstream is dead -> rebase to fork of Mike Frysinger
|
|
|
db0607 |
- silence gcc warnings, fedora-review fixes
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-59
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-58
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-57
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Jan 03 2012 Ondrej Vasik <ovasik@redhat.com> - 4.2.4-56
|
|
|
db0607 |
- use memmove instead of memcpy to prevent memory overlap corruption
|
|
|
db0607 |
(#760657)
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-55
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Feb 23 2010 Ondrej Vasik <ovasik@redhat.com> - 4.2.4-54
|
|
|
db0607 |
- do patch original Makefile.def instead of creating new Makefile
|
|
|
db0607 |
|
|
|
db0607 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-53
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.4-52
|
|
|
db0607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Mon Dec 01 2008 Ondrej Vasik <ovasik@redhat.com> - 4.2.4-51
|
|
|
db0607 |
- check malloc success (#473488)
|
|
|
db0607 |
- fix few compiler warnings, free malloc memory before exit
|
|
|
db0607 |
- new URL
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.2.4-50
|
|
|
db0607 |
- Autorebuild for GCC 4.3
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Feb 09 2007 Peter Vrabec <pvrabec@redhat.com> 4.2.4-49
|
|
|
db0607 |
- fix spec file to meet Fedora standards (#226185)
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Jan 10 2007 Peter Vrabec <pvrabec@redhat.com> 4.2.4-48
|
|
|
db0607 |
- fix some rpmlint issues
|
|
|
db0607 |
|
|
|
db0607 |
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 4.2.4-47
|
|
|
db0607 |
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Sep 19 2006 Peter Vrabec <pvrabec@redhat.com> 4.2.4-46
|
|
|
db0607 |
- fix endian problem (#207001)
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Aug 10 2006 Peter Vrabec <pvrabec@redhat.com> 4.2.4-45
|
|
|
db0607 |
- fix bss buffer underflow CVE-2006-1168 (#201919)
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.2.4-44.1
|
|
|
db0607 |
- rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Apr 21 2006 Peter Vrabec <pvrabec@redhat.com> 4.2.4-44
|
|
|
db0607 |
- fix problems with compressing zero-sized files (#189215, #189216)
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.2.4-43.2.1
|
|
|
db0607 |
- bump again for double-long bug on ppc(64)
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.2.4-43.2
|
|
|
db0607 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
db0607 |
- rebuilt
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Sep 22 2005 Peter Vrabec <pvrabec@redhat.com> 4.2.4-43
|
|
|
db0607 |
- compress zero-sized files when -f is used(#167615)
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Mar 18 2005 Peter Vrabec <pvrabec@redhat.com>
|
|
|
db0607 |
- rebuilt
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Feb 08 2005 Peter Vrabec <pvrabec@redhat.com>
|
|
|
db0607 |
- rebuilt
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Oct 05 2004 Than Ngo <than@redhat.com> 4.2.4-40
|
|
|
db0607 |
- permit files > 2GB to be compressed (#126775).
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
db0607 |
- rebuilt
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
db0607 |
- rebuilt
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
db0607 |
- rebuilt
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
db0607 |
- rebuilt
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 4.2.4-32
|
|
|
db0607 |
- rebuild on all arches
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
db0607 |
- automated rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Jun 19 2002 Trond Eivind Glomsrod <teg@redhat.com> 4.2.4-30
|
|
|
db0607 |
- Don't strip when installing
|
|
|
db0607 |
|
|
|
db0607 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
db0607 |
- automated rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Feb 27 2002 Trond Eivind Glomsrod <teg@redhat.com> 4.2.4-28
|
|
|
db0607 |
- Rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
db0607 |
- automated rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Mon Nov 26 2001 Trond Eivind Glomsrod <teg@redhat.com> 4.2.4-26
|
|
|
db0607 |
- Rebuild, to fix problem with broken man page (#56654)
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Nov 21 2001 Trond Eivind Glomsrod <teg@redhat.com> 4.2.4-25
|
|
|
db0607 |
- Exit, don't segfault, when given too long filenames
|
|
|
db0607 |
|
|
|
db0607 |
* Sat Jun 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
db0607 |
- s390x change
|
|
|
db0607 |
|
|
|
db0607 |
* Tue May 8 2001 Trond Eivind Glomsrod <teg@redhat.com>
|
|
|
db0607 |
- Make it support large files (structs, stats, opens and of course:
|
|
|
db0607 |
_don't use signed longs for file size before and after compression_.)
|
|
|
db0607 |
This should fix #39470
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Apr 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
db0607 |
- add s390x, patch from Oliver Paukstadt <oliver.paukstadt@millenux.com>
|
|
|
db0607 |
|
|
|
db0607 |
* Mon Nov 13 2000 Oliver Paukstadt <oliver.paukstadt@millenux.com>
|
|
|
db0607 |
- add s390 to the bigendian arch list
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Aug 17 2000 Trond Eivind Glomsrod <teg@redhat.com>
|
|
|
db0607 |
- change category to Applications/File, to match
|
|
|
db0607 |
gzip and bzip2
|
|
|
db0607 |
- rename the spec file to ncompress.spec
|
|
|
db0607 |
- add ppc to the bigendian arch list
|
|
|
db0607 |
|
|
|
db0607 |
* Fri Jul 21 2000 Trond Eivind Glomsrod <teg@redhat.com>
|
|
|
db0607 |
- rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
db0607 |
- automatic rebuild
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Jun 13 2000 Trond Eivind Glomsrod <teg@redhat.com>
|
|
|
db0607 |
- update URL
|
|
|
db0607 |
- use %%{_mandir}
|
|
|
db0607 |
|
|
|
db0607 |
* Wed May 5 2000 Bill Nottingham <notting@redhat.com>
|
|
|
db0607 |
- fix "build" for ia64
|
|
|
db0607 |
|
|
|
db0607 |
* Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
|
|
|
db0607 |
- handle compressed manpages
|
|
|
db0607 |
|
|
|
db0607 |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
db0607 |
- auto rebuild in the new build environment (release 14)
|
|
|
db0607 |
|
|
|
db0607 |
* Tue Jan 12 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
db0607 |
- build on armv4l too
|
|
|
db0607 |
- build for 6.0
|
|
|
db0607 |
|
|
|
db0607 |
* Thu Aug 13 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
db0607 |
- build root
|
|
|
db0607 |
|
|
|
db0607 |
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
|
|
db0607 |
- translations modified for de, fr, tr
|
|
|
db0607 |
|
|
|
db0607 |
* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
|
|
|
db0607 |
- fixed the spec file
|
|
|
db0607 |
|
|
|
db0607 |
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
|
|
db0607 |
- built against glibc
|