diff --git a/SOURCES/unzip-6.0-fix-warning-messages-on-big-files.patch b/SOURCES/unzip-6.0-fix-warning-messages-on-big-files.patch new file mode 100644 index 0000000..55a115a --- /dev/null +++ b/SOURCES/unzip-6.0-fix-warning-messages-on-big-files.patch @@ -0,0 +1,15 @@ +From: "Steven M. Schweda" +Subject: Fix lame code in fileio.c +Bug-Debian: https://bugs.debian.org/929502 +X-Debian-version: 6.0-23 + +--- a/fileio.c ++++ b/fileio.c +@@ -2477,6 +2477,7 @@ + */ + return (((zusz_t)sig[7]) << 56) + + (((zusz_t)sig[6]) << 48) ++ + (((zusz_t)sig[5]) << 40) + + (((zusz_t)sig[4]) << 32) + + (zusz_t)((((ulg)sig[3]) << 24) + + (((ulg)sig[2]) << 16) diff --git a/SPECS/unzip.spec b/SPECS/unzip.spec index 8d93126..79dbef3 100644 --- a/SPECS/unzip.spec +++ b/SPECS/unzip.spec @@ -6,7 +6,7 @@ Summary: A utility for unpacking zip files Name: unzip Version: 6.0 -Release: 64%{?dist} +Release: 66%{?dist} License: Info-ZIP Source: http://downloads.sourceforge.net/infozip/unzip60.tar.gz @@ -74,6 +74,9 @@ Patch33: unzip-zipbomb-switch.patch Patch34: unzip-gnu89-build.patch Patch35: unzip-6.0-wcstombs-fortify.patch +#https://sources.debian.org/patches/unzip/6.0-28/21-fix-warning-messages-on-big-files.patch/ +Patch36: unzip-6.0-fix-warning-messages-on-big-files.patch + URL: http://infozip.sourceforge.net BuildRequires: make BuildRequires: bzip2-devel, gcc @@ -127,6 +130,7 @@ a zip archive. %patch33 -p1 %patch34 -p1 %patch35 -p1 +%patch36 -p1 %build # IZ_HAVE_UXUIDGID is needed for right functionality of unzip -X @@ -145,6 +149,15 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT%{_ %{_mandir}/*/* %changelog +* Tue Oct 29 2024 Troy Dawson - 6.0-66 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 + +* Wed Jul 03 2024 Jakub Martisko - 6.0-65 +- Fix: Unzip Fails on Large Zip Files +- Use the patch from Debian dealing with this +Resolves: RHEL-45993 + * Mon Jun 24 2024 Troy Dawson - 6.0-64 - Bump release for June 2024 mass rebuild