2019-09-30 11:18:58 -04:00
|
|
|
Name: unzip
|
|
|
|
|
Version: 6.0
|
2022-09-06 11:08:07 +08:00
|
|
|
Release: 50
|
2019-09-30 11:18:58 -04:00
|
|
|
Summary: A utility for unpacking zip files
|
2021-05-13 13:10:42 +08:00
|
|
|
License: Info-ZIP,Public Domain
|
2019-09-30 11:18:58 -04:00
|
|
|
URL: http://www.info-zip.org/UnZip.html
|
|
|
|
|
Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch0001: unzip-6.0-bzip2-configure.patch
|
|
|
|
|
Patch0002: unzip-6.0-exec-shield.patch
|
|
|
|
|
Patch0003: unzip-6.0-close.patch
|
|
|
|
|
Patch0004: unzip-6.0-attribs-overflow.patch
|
|
|
|
|
Patch0005: unzip-6.0-configure.patch
|
|
|
|
|
Patch0006: unzip-6.0-manpage-fix.patch
|
|
|
|
|
Patch0007: unzip-6.0-fix-recmatch.patch
|
|
|
|
|
Patch0008: unzip-6.0-symlink.patch
|
|
|
|
|
Patch0009: unzip-6.0-caseinsensitive.patch
|
|
|
|
|
Patch0010: unzip-6.0-format-secure.patch
|
|
|
|
|
Patch0011: unzip-6.0-valgrind.patch
|
|
|
|
|
Patch0012: unzip-6.0-x-option.patch
|
|
|
|
|
Patch0013: unzip-6.0-overflow.patch
|
|
|
|
|
Patch0014: unzip-6.0-cve-2014-8139.patch
|
|
|
|
|
Patch0015: unzip-6.0-cve-2014-8140.patch
|
|
|
|
|
Patch0016: unzip-6.0-cve-2014-8141.patch
|
|
|
|
|
Patch0017: unzip-6.0-overflow-long-fsize.patch
|
|
|
|
|
Patch0018: unzip-6.0-heap-overflow-infloop.patch
|
|
|
|
|
Patch0019: unzip-6.0-alt-iconv-utf8.patch
|
|
|
|
|
Patch0020: unzip-6.0-alt-iconv-utf8-print.patch
|
|
|
|
|
Patch0021: 0001-Fix-CVE-2016-9844-rhbz-1404283.patch
|
|
|
|
|
Patch0022: unzip-6.0-timestamp.patch
|
|
|
|
|
Patch0023: unzip-6.0-cve-2018-1000035-heap-based-overflow.patch
|
|
|
|
|
|
|
|
|
|
Patch6000: CVE-2018-18384.patch
|
2020-03-02 21:01:40 +08:00
|
|
|
Patch6001: CVE-2019-13232-pre.patch
|
|
|
|
|
Patch6002: CVE-2019-13232.patch
|
|
|
|
|
Patch6003: CVE-2019-13232-fur1.patch
|
2022-09-06 11:08:07 +08:00
|
|
|
Patch6004: backport-CVE-2021-4217.patch
|
2020-03-02 21:01:40 +08:00
|
|
|
Patch9000: CVE-2019-13232-fur2.patch
|
2022-02-23 11:14:07 +08:00
|
|
|
Patch9001: CVE-2022-0530.patch
|
|
|
|
|
Patch9002: CVE-2022-0529.patch
|
2020-03-02 21:01:40 +08:00
|
|
|
|
2021-06-10 17:45:37 +08:00
|
|
|
BuildRequires: bzip2-devel gcc
|
2019-09-30 11:18:58 -04:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
UnZip is an extraction utility for archives compressed in .zip format.
|
|
|
|
|
UnZip will list, test, or extract files from a .zip archive, commonly found on MS-DOS systems.
|
|
|
|
|
The default behavior (with no options) is to extract all files into the current directory
|
|
|
|
|
(and subdirectorie below it) from the specified zipfile.
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Man pages for unzip
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
Package help includes man pages for unzip.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}60 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%make_build -f unix/Makefile CF_NOOPT="-I. -DUNIX $RPM_OPT_FLAGS -DNOMEMCPY -DIZ_HAVE_UXUIDGID -DNO_LCHMOD" \
|
|
|
|
|
LFLAGS2="-Wl,-z,relro" generic_gcc
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALL="cp -p"
|
|
|
|
|
|
2022-05-10 16:39:30 +08:00
|
|
|
%check
|
|
|
|
|
make check -f unix/Makefile
|
|
|
|
|
|
2019-09-30 11:18:58 -04:00
|
|
|
%files
|
|
|
|
|
%license LICENSE COPYING.OLD
|
|
|
|
|
%doc README BUGS
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-09-06 11:08:07 +08:00
|
|
|
* Tue Sep 6 2022 dongyuzhen <dongyuzhen@h-partners.com> - 6.0-50
|
|
|
|
|
- fix CVE-2021-4217
|
|
|
|
|
|
2022-05-10 16:39:30 +08:00
|
|
|
* Tue May 10 2022 shixuantong <shixuantong@h-partners.com> - 6.0-49
|
|
|
|
|
- enable check test suite
|
|
|
|
|
|
2022-02-23 11:14:07 +08:00
|
|
|
* Wed Feb 23 2022 tianwei <tianwei@h-partners.com> - 6.0-48
|
|
|
|
|
- fix CVE-2022-0529 CVE-2022-0530
|
|
|
|
|
|
2021-06-10 17:45:37 +08:00
|
|
|
* Thu Jun 10 2021 shixuantong <shixuantong@huawei.com> - 6.0-47
|
|
|
|
|
- add gcc to BuildRequires and revert unzip-6.0-crc-builtin.patch
|
|
|
|
|
|
2021-05-12 11:34:14 +08:00
|
|
|
* Tues May 12 2021 openEuler hanzhelii <18221254@bjtu.edu.cn> - 6.0-46
|
|
|
|
|
- add unzip-6.0-crc-builtin.patch
|
|
|
|
|
|
2020-03-21 17:09:38 +08:00
|
|
|
* Mon Mar 2 2020 openEuler Buildteam <buildteam@openeuler.org> - 6.0-45
|
|
|
|
|
- delete garbled characters
|
|
|
|
|
|
2020-03-02 21:01:40 +08:00
|
|
|
* Mon Mar 2 2020 openEuler Buildteam <buildteam@openeuler.org> - 6.0-44
|
|
|
|
|
- fix CVE-2019-13232
|
|
|
|
|
|
2019-12-25 20:41:23 +08:00
|
|
|
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 6.0-43
|
|
|
|
|
- Delete unneeded patch
|
|
|
|
|
|
2019-12-25 16:09:36 +08:00
|
|
|
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 6.0-42
|
|
|
|
|
- Revert CVE-2019-13232
|
|
|
|
|
|
2019-09-30 11:18:58 -04:00
|
|
|
* Fri Sep 20 2019 Zaiwang Li<lizaiwang1@huawei.com> - 6.0-41
|
|
|
|
|
- Init Package
|