Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package unzip for openSUSE:Factory checked in at 2021-09-26 21:48:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/unzip (Old) and /work/SRC/openSUSE:Factory/.unzip.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unzip" Sun Sep 26 21:48:33 2021 rev:46 rq:920618 version:6.00 Changes: -------- --- /work/SRC/openSUSE:Factory/unzip/unzip.changes 2020-06-04 17:51:09.204021181 +0200 +++ /work/SRC/openSUSE:Factory/.unzip.new.1899/unzip.changes 2021-09-26 21:49:20.194823904 +0200 @@ -1,0 +2,7 @@ +Thu Sep 9 11:30:06 UTC 2021 - John Paul Adrian Glaubitz <[email protected]> + +- Add patch to fix issue with some files being incorrectly + detected as symlinks (boo#1190273) + + unzip-initialize-the-symlink-flag.patch + +------------------------------------------------------------------- New: ---- unzip-initialize-the-symlink-flag.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unzip-rcc.spec ++++++ --- /var/tmp/diff_new_pack.pdsnn8/_old 2021-09-26 21:49:20.830824690 +0200 +++ /var/tmp/diff_new_pack.pdsnn8/_new 2021-09-26 21:49:20.834824694 +0200 @@ -1,7 +1,7 @@ # # spec file for package unzip-rcc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -37,7 +37,7 @@ Summary: A program to unpack compressed files License: BSD-3-Clause Group: Productivity/Archiving/Compression -Url: http://www.info-zip.org/ +URL: http://www.info-zip.org/ Source: http://sourceforge.net/projects/infozip/files/UnZip%%206.x%%20%%28latest%%29/UnZip%%206.0/%{_name}%{fileversion}.tar.gz Source1: pre_checkin.sh Patch0: unzip.dif @@ -61,7 +61,7 @@ Patch21: unzip60-total_disks_zero.patch Patch22: unzip60-cfactorstr_overflow.patch Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: %{_name}-doc BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ unzip.spec ++++++ --- /var/tmp/diff_new_pack.pdsnn8/_old 2021-09-26 21:49:20.854824719 +0200 +++ /var/tmp/diff_new_pack.pdsnn8/_new 2021-09-26 21:49:20.854824719 +0200 @@ -1,7 +1,7 @@ # # spec file for package unzip # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -37,7 +37,7 @@ Summary: A program to unpack compressed files License: BSD-3-Clause Group: Productivity/Archiving/Compression -Url: http://www.info-zip.org/ +URL: http://www.info-zip.org/ Source: http://sourceforge.net/projects/infozip/files/UnZip%%206.x%%20%%28latest%%29/UnZip%%206.0/%{_name}%{fileversion}.tar.gz Source1: pre_checkin.sh Patch0: unzip.dif @@ -60,8 +60,9 @@ Patch20: Fix-CVE-2014-9636-unzip-buffer-overflow.patch Patch21: unzip60-total_disks_zero.patch Patch22: unzip60-cfactorstr_overflow.patch +Patch23: unzip-initialize-the-symlink-flag.patch Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: %{_name}-doc BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -107,6 +108,7 @@ %patch20 -p1 %patch21 -p1 %patch22 -p1 +%patch23 -p1 %build export RPM_OPT_FLAGS="%{optflags} \ ++++++ unzip-initialize-the-symlink-flag.patch ++++++ From: Andreas Schwab <[email protected]> Subject: Initialize the symlink flag Bug-Debian: https://bugs.debian.org/717029 X-Debian-version: 6.0-10 --- a/process.c +++ b/process.c @@ -1758,6 +1758,12 @@ = (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11); #endif +#ifdef SYMLINKS + /* Initialize the symlink flag, may be set by the platform-specific + mapattr function. */ + G.pInfo->symlink = 0; +#endif + return PK_COOL; } /* end function process_cdir_file_hdr() */
