Github messages for voidlinux
 help / color / mirror / Atom feed
From: Bnyro <Bnyro@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] tar: update to 1.35.
Date: Mon, 24 Jul 2023 11:20:05 +0200	[thread overview]
Message-ID: <20230724092005.FVJ9FrKx-6UH16uLKkM5CTC_Hk8VXa2PDTdnKwam1o0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45219@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

There is an updated pull request by Bnyro against master on the void-packages repository

https://github.com/Bnyro/void-packages tar
https://github.com/void-linux/void-packages/pull/45219

tar: update to 1.35.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures:
  - aarch64-musl (cross)
  - armv7l
  - armv6l-musl (cross)

cc @Gottox


A patch file from https://github.com/void-linux/void-packages/pull/45219.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tar-45219.patch --]
[-- Type: text/x-diff, Size: 2634 bytes --]

From e5855e10054fff399c4081e30d35c1d9e62a17b2 Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Mon, 24 Jul 2023 11:20:50 +0200
Subject: [PATCH] tar: update to 1.35.

---
 srcpkgs/tar/patches/cve-2022-48303.patch | 31 ------------------------
 srcpkgs/tar/template                     |  9 ++++---
 2 files changed, 6 insertions(+), 34 deletions(-)
 delete mode 100644 srcpkgs/tar/patches/cve-2022-48303.patch

diff --git a/srcpkgs/tar/patches/cve-2022-48303.patch b/srcpkgs/tar/patches/cve-2022-48303.patch
deleted file mode 100644
index 8ce9af97ac39f..0000000000000
--- a/srcpkgs/tar/patches/cve-2022-48303.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 3da78400eafcccb97e2f2fd4b227ea40d794ede8 Mon Sep 17 00:00:00 2001
-From: Sergey Poznyakoff <gray@gnu.org>
-Date: Sat, 11 Feb 2023 11:57:39 +0200
-Subject: Fix boundary checking in base-256 decoder
-
-* src/list.c (from_header): Base-256 encoding is at least 2 bytes
-long.
----
- src/list.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
- https://savannah.gnu.org/bugs/?62387
-
-diff --git a/src/list.c b/src/list.c
-index 9fafc42..86bcfdd 100644
---- a/src/list.c
-+++ b/src/list.c
-@@ -881,8 +881,9 @@ from_header (char const *where0, size_t digs, char const *type,
- 	  where++;
- 	}
-     }
--  else if (*where == '\200' /* positive base-256 */
--	   || *where == '\377' /* negative base-256 */)
-+  else if (where <= lim - 2
-+	   && (*where == '\200' /* positive base-256 */
-+	       || *where == '\377' /* negative base-256 */))
-     {
-       /* Parse base-256 output.  A nonnegative number N is
- 	 represented as (256**DIGS)/2 + N; a negative number -N is
--- 
-cgit v1.1
-
diff --git a/srcpkgs/tar/template b/srcpkgs/tar/template
index 0896a89afe2cd..97d43f70d3f0c 100644
--- a/srcpkgs/tar/template
+++ b/srcpkgs/tar/template
@@ -1,7 +1,7 @@
 # Template file for 'tar'
 pkgname=tar
-version=1.34
-revision=3
+version=1.35
+revision=1
 build_style=gnu-configure
 configure_args="gl_cv_struct_dirent_d_ino=yes"
 makedepends="acl-devel"
@@ -10,11 +10,14 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://www.gnu.org/software/tar/"
 distfiles="${GNU_SITE}/tar/${pkgname}-${version}.tar.xz"
-checksum=63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28
+checksum=4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16
 
 pre_configure() {
 	# chroot-style=ethereal
 	export FORCE_UNSAFE_CONFIGURE=1
 	# avoid regenerating doc on install
 	touch -r doc/stamp-vti configure
+	if [ "$XBPS_TARGET_MACHINE" = "armv6l-musl" ]; then
+		configure_args+=" --disable-year2038"
+	fi
 }

  parent reply	other threads:[~2023-07-24  9:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-24  8:53 [PR PATCH] " Bnyro
2023-07-24  9:10 ` [PR PATCH] [Updated] " Bnyro
2023-07-24  9:20 ` Bnyro [this message]
2023-07-29  8:39 ` [PR PATCH] [Merged]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230724092005.FVJ9FrKx-6UH16uLKkM5CTC_Hk8VXa2PDTdnKwam1o0@z \
    --to=bnyro@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).