Accepting request 920618 from Archiving
OBS-URL: https://build.opensuse.org/request/show/920618 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unzip?expand=0&rev=46
This commit is contained in:
commit
83e26adbb0
20
unzip-initialize-the-symlink-flag.patch
Normal file
20
unzip-initialize-the-symlink-flag.patch
Normal file
@ -0,0 +1,20 @@
|
||||
From: Andreas Schwab <schwab@linux-m68k.org>
|
||||
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() */
|
@ -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 @@ Release: 0
|
||||
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
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 9 11:30:06 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Add patch to fix issue with some files being incorrectly
|
||||
detected as symlinks (boo#1190273)
|
||||
+ unzip-initialize-the-symlink-flag.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 22 09:27:01 UTC 2020 - Yunhe Guo <i@guoyunhe.me>
|
||||
|
||||
|
@ -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 @@ Release: 0
|
||||
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,6 +60,7 @@ Patch19: CVE-2018-1000035.patch
|
||||
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
|
||||
Recommends: %{_name}-doc
|
||||
@ -107,6 +108,7 @@ functionality. This version can also extract encrypted archives.
|
||||
%patch20 -p1
|
||||
%patch21 -p1
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
|
||||
%build
|
||||
export RPM_OPT_FLAGS="%{optflags} \
|
||||
|
Loading…
Reference in New Issue
Block a user