Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] tar: update to 1.35.
@ 2023-07-24  8:53 Bnyro
  2023-07-24  9:10 ` [PR PATCH] [Updated] " Bnyro
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bnyro @ 2023-07-24  8:53 UTC (permalink / raw)
  To: ml

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

There is a new 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: 2420 bytes --]

From 6464a28b63f67403c943ed78b8b23bf1b0b5eafa Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Mon, 24 Jul 2023 10:48:23 +0200
Subject: [PATCH] tar: update to 1.35.

---
 srcpkgs/tar/patches/cve-2022-48303.patch | 31 ------------------------
 srcpkgs/tar/template                     |  6 ++---
 2 files changed, 3 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..302124e4f3849 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,7 +10,7 @@ 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] tar: update to 1.35.
  2023-07-24  8:53 [PR PATCH] tar: update to 1.35 Bnyro
@ 2023-07-24  9:10 ` Bnyro
  2023-07-24  9:20 ` Bnyro
  2023-07-29  8:39 ` [PR PATCH] [Merged]: " leahneukirchen
  2 siblings, 0 replies; 4+ messages in thread
From: Bnyro @ 2023-07-24  9:10 UTC (permalink / raw)
  To: ml

[-- 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
  - armv7l-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: 2539 bytes --]

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

---
 srcpkgs/tar/patches/cve-2022-48303.patch | 31 ------------------------
 srcpkgs/tar/template                     |  8 +++---
 2 files changed, 4 insertions(+), 35 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..7719643621fd7 100644
--- a/srcpkgs/tar/template
+++ b/srcpkgs/tar/template
@@ -1,16 +1,16 @@
 # 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"
+configure_args="gl_cv_struct_dirent_d_ino=yes --disable-year2038"
 makedepends="acl-devel"
 short_desc="GNU tape archiver with remote magnetic tape support"
 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] tar: update to 1.35.
  2023-07-24  8:53 [PR PATCH] tar: update to 1.35 Bnyro
  2023-07-24  9:10 ` [PR PATCH] [Updated] " Bnyro
@ 2023-07-24  9:20 ` Bnyro
  2023-07-29  8:39 ` [PR PATCH] [Merged]: " leahneukirchen
  2 siblings, 0 replies; 4+ messages in thread
From: Bnyro @ 2023-07-24  9:20 UTC (permalink / raw)
  To: ml

[-- 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
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: tar: update to 1.35.
  2023-07-24  8:53 [PR PATCH] tar: update to 1.35 Bnyro
  2023-07-24  9:10 ` [PR PATCH] [Updated] " Bnyro
  2023-07-24  9:20 ` Bnyro
@ 2023-07-29  8:39 ` leahneukirchen
  2 siblings, 0 replies; 4+ messages in thread
From: leahneukirchen @ 2023-07-29  8:39 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

tar: update to 1.35.
https://github.com/void-linux/void-packages/pull/45219

Description:
<!-- 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-29  8:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-24  8:53 [PR PATCH] tar: update to 1.35 Bnyro
2023-07-24  9:10 ` [PR PATCH] [Updated] " Bnyro
2023-07-24  9:20 ` Bnyro
2023-07-29  8:39 ` [PR PATCH] [Merged]: " leahneukirchen

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).