Projects
openEuler:Mainline
tar
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:tar.spec
Changed
@@ -1,6 +1,6 @@ Name: tar Version: 1.34 -Release: 1 +Release: 4 Epoch: 2 Summary: An organized and systematic method of controlling a large amount of data License: GPLv3+ @@ -12,11 +12,14 @@ BuildRequires: gcc Provides: bundled(gnulib) /bin/tar /bin/gtar +Patch6000: backport-CVE-2022-48303.patch + Patch0001: tar-1.28-loneZeroWarning.patch Patch0002: tar-1.28-vfatTruncate.patch Patch0003: tar-1.29-wildcards.patch Patch0004: tar-1.28-atime-rofs.patch Patch0005: tar-1.28-document-exclude-mistakes.patch +Patch0006: tar-Add-sw64-architecture.patch %description GNU Tar provides the ability to create tar archives, as well as various other @@ -75,16 +78,25 @@ %{_infodir}/tar.info* %changelog -* Sat Nov 13 2021 shixuantong <shixuantong> - 1.34-1 +* Wed Feb 08 2023 wangjiang <wangjiang37@h-partners.com> 2:1.34-4 +- fix CVE-2022-48303 + +* Fri Nov 11 2022 wuzx<wuzx1226@qq.com> - 2:1.34-3 +- Add sw64 architecture + +* Thu Oct 27 2022 dongyuzhen <dongyuzhen@h-partners.com> - 2:1.34-2 +- Rebuild for next release + +* Sat Nov 13 2021 shixuantong <shixuantong> - 2:1.34-1 - update version to 1.34 -* Thu Jun 10 2021 shixuantong <shixuantong> - 1.32-3 +* Thu Jun 10 2021 shixuantong <shixuantong> - 2:1.32-3 - add gcc to BuildRequires -* Wed Apr 14 2021 shixuantong <shixuantong> - 1.32-2 +* Wed Apr 14 2021 shixuantong <shixuantong> - 2:1.32-2 - fix CVE-2021-20193 -* Mon Jul 27 2020 shixuantong <shixuantong> - 1.32-1 +* Mon Jul 27 2020 shixuantong <shixuantong> - 2:1.32-1 - update to 1.32-1 * Tue Feb 18 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:1.30-11
View file
_service:tar_scm:backport-CVE-2022-48303.patch
Added
@@ -0,0 +1,31 @@ +From 1d530107a24d71e798727d7f0afa0833473d1074 Mon Sep 17 00:00:00 2001 +From: Matej Mužila <mmuzila@gmail.com> +Date: Wed, 11 Jan 2023 08:55:58 +0100 +Subject: PATCH Fix savannah bug #62387 + +* src/list.c (from_header): Check for the end of field after leading byte + (0x80 or 0xff) of base-256 encoded header value +--- + src/list.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/list.c b/src/list.c +index 9fafc425..bf41b581 100644 +--- a/src/list.c ++++ b/src/list.c +@@ -899,6 +899,12 @@ from_header (char const *where0, size_t digs, char const *type, + << (CHAR_BIT * sizeof (uintmax_t) + - LG_256 - (LG_256 - 2))); + value = (*where++ & ((1 << (LG_256 - 2)) - 1)) - signbit; ++ if (where == lim) ++ { ++ if (type && !silent) ++ ERROR ((0, 0, _("Archive base-256 value is invalid"))); ++ return -1; ++ } + for (;;) + { + value = (value << LG_256) + (unsigned char) *where++; +-- +2.38.1 +
View file
_service:tar_scm:tar-Add-sw64-architecture.patch
Added
@@ -0,0 +1,60 @@ +From 7e8239c9e6dd50431f221d72716b20c0411eab0e Mon Sep 17 00:00:00 2001 +From: Wu Zixuan <wuzx1226@qq.com> +Date: Thu, 24 Nov 2022 14:59:00 +0800 +Subject: PATCH Add sw64 architecture + +Add sw64 architecture in file m4/host-cpu-c-abi.m4 to support sw64 architecture. + +Signed-off-by: wzx <wuzx1226@qq.com> +--- + m4/host-cpu-c-abi.m4 | 13 +++++++++++-- + 1 file changed, 11 insertions(+), 2 deletions(-) + +diff --git a/m4/host-cpu-c-abi.m4 b/m4/host-cpu-c-abi.m4 +index 7dc830e..b4c0830 100644 +--- a/m4/host-cpu-c-abi.m4 ++++ b/m4/host-cpu-c-abi.m4 +@@ -90,6 +90,12 @@ changequote(,)dnl + gl_cv_host_cpu_c_abi=i386) + ;; + ++changequote(,)dnl ++ sw_64* ) ++changequote(,)dnl ++ gl_cv_host_cpu_c_abi=sw_64 ++ ;; ++ + changequote(,)dnl + alphaev4-8 | alphaev56 | alphapca567 | alphaev678 ) + changequote(,)dnl +@@ -355,6 +361,9 @@ EOF + #ifndef __x86_64__ + #undef __x86_64__ + #endif ++#ifndef __sw_64__ ++#undef __sw_64__ ++#endif + #ifndef __alpha__ + #undef __alpha__ + #endif +@@ -468,7 +477,7 @@ AC_DEFUN(gl_HOST_CPU_C_ABI_32BIT, + case "$gl_cv_host_cpu_c_abi" in + i386 | x86_64-x32 | arm | armhf | arm64-ilp32 | hppa | ia64-ilp32 | mips | mipsn32 | powerpc | riscv*-ilp32* | s390 | sparc) + gl_cv_host_cpu_c_abi_32bit=yes ;; +- x86_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) ++ x86_64 | sw_64 | alpha | arm64 | hppa64 | ia64 | mips64 | powerpc64 | powerpc64-elfv2 | riscv*-lp64* | s390x | sparc64 ) + gl_cv_host_cpu_c_abi_32bit=no ;; + *) + gl_cv_host_cpu_c_abi_32bit=unknown ;; +@@ -498,7 +507,7 @@ AC_DEFUN(gl_HOST_CPU_C_ABI_32BIT, + + # CPUs that only support a 64-bit ABI. + changequote(,)dnl +- alpha | alphaev4-8 | alphaev56 | alphapca567 | alphaev678 \ ++ sw_64* | alpha | alphaev4-8 | alphaev56 | alphapca567 | alphaev678 \ + | mmix ) + changequote(,)dnl + gl_cv_host_cpu_c_abi_32bit=no +-- +2.33.0 +
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/tar.git</param> - <param name="revision">a4ed218b8482c27674852a39c13ef433253b069c</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2