Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] curl: update to 7.84.0.
@ 2022-07-03 23:58 mhmdanas
  2022-07-09 14:07 ` JamiKettunen
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: mhmdanas @ 2022-07-03 23:58 UTC (permalink / raw)
  To: ml

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

There is a new pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages curl-7.84.0
https://github.com/void-linux/void-packages/pull/37823

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

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

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 2e1115ffaf898f9bfac9987784f169fee5387251 Mon Sep 17 00:00:00 2001
From: mhmdanas <triallax@tutanota.com>
Date: Mon, 4 Jul 2022 02:25:41 +0300
Subject: [PATCH] curl: update to 7.84.0.

---
 srcpkgs/curl/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/curl/template b/srcpkgs/curl/template
index 00cbfd709875..d3f82e6be43f 100644
--- a/srcpkgs/curl/template
+++ b/srcpkgs/curl/template
@@ -1,10 +1,10 @@
 # Template file for 'curl'
 pkgname=curl
-version=7.83.1
+version=7.84.0
 revision=1
 build_style=gnu-configure
 configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
- $(vopt_with rtmp) $(vopt_with gssapi) $(vopt_enable ldap) $(vopt_with gnutls)
+ $(vopt_with rtmp librtmp) $(vopt_with gssapi) $(vopt_enable ldap) $(vopt_with gnutls)
  $(vopt_enable ldap ldaps) $(vopt_with ssh libssh2) $(vopt_with ssl) $(vopt_with zstd)
  --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --without-libidn2
  ac_cv_path_NROFF=/usr/bin/mandoc"
@@ -24,7 +24,7 @@ license="MIT"
 homepage="https://curl.haxx.se"
 changelog="https://curl.haxx.se/changes.html#${version//./_}"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.bz2"
-checksum=f539a36fb44a8260ec5d977e4e0dbdd2eee29ed90fcedaa9bc3c9f78a113bff0
+checksum=702fb26e73190a3bd77071aa146f507b9817cc4dfce218d2ab87f00cd3bc059d
 build_options="gnutls gssapi ldap rtmp ssh ssl zstd"
 build_options_default="ssh ssl zstd"
 vopt_conflict ssl gnutls

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

* Re: curl: update to 7.84.0.
  2022-07-03 23:58 [PR PATCH] curl: update to 7.84.0 mhmdanas
@ 2022-07-09 14:07 ` JamiKettunen
  2022-07-09 14:08 ` JamiKettunen
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: JamiKettunen @ 2022-07-09 14:07 UTC (permalink / raw)
  To: ml

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

New comment by JamiKettunen on void-packages repository

https://github.com/void-linux/void-packages/pull/37823#issuecomment-1179550655

Comment:
Just as a heads-up: on Arch Linux this seems to have started causing `error: curl returned error 12 from transfer` errors seemingly randomly during e.g. package upgrades.

Fixing upstream commit: https://github.com/curl/curl/commit/52e822173aa3cd4f610531d32fbf943f026cdca6
Arch bugtracker: https://bugs.archlinux.org/task/75201 ([they started carrying the patch downstream which reportedly has fixed the issues](https://github.com/archlinux/svntogit-packages/commit/eb7f828fa4cafc73f6c4fb0d6ae78c5753958c2c))

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

* Re: curl: update to 7.84.0.
  2022-07-03 23:58 [PR PATCH] curl: update to 7.84.0 mhmdanas
  2022-07-09 14:07 ` JamiKettunen
@ 2022-07-09 14:08 ` JamiKettunen
  2022-07-14  9:57 ` mhmdanas
  2022-07-14  9:57 ` [PR PATCH] [Closed]: " mhmdanas
  3 siblings, 0 replies; 7+ messages in thread
From: JamiKettunen @ 2022-07-09 14:08 UTC (permalink / raw)
  To: ml

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

New comment by JamiKettunen on void-packages repository

https://github.com/void-linux/void-packages/pull/37823#issuecomment-1179550655

Comment:
Just as a heads-up: on Arch Linux the upgrade to 7.84.0 seems to have started causing `error: curl returned error 12 from transfer` errors seemingly randomly during e.g. package upgrades.

Fixing upstream commit: https://github.com/curl/curl/commit/52e822173aa3cd4f610531d32fbf943f026cdca6
Arch bugtracker: https://bugs.archlinux.org/task/75201 ([they started carrying the patch downstream which reportedly has fixed the issues](https://github.com/archlinux/svntogit-packages/commit/eb7f828fa4cafc73f6c4fb0d6ae78c5753958c2c))

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

* Re: curl: update to 7.84.0.
  2022-07-03 23:58 [PR PATCH] curl: update to 7.84.0 mhmdanas
  2022-07-09 14:07 ` JamiKettunen
  2022-07-09 14:08 ` JamiKettunen
@ 2022-07-14  9:57 ` mhmdanas
  2022-07-14  9:57 ` [PR PATCH] [Closed]: " mhmdanas
  3 siblings, 0 replies; 7+ messages in thread
From: mhmdanas @ 2022-07-14  9:57 UTC (permalink / raw)
  To: ml

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

New comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/37823#issuecomment-1184244216

Comment:
Closing in favor of #38039.

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

* Re: [PR PATCH] [Closed]: curl: update to 7.84.0.
  2022-07-03 23:58 [PR PATCH] curl: update to 7.84.0 mhmdanas
                   ` (2 preceding siblings ...)
  2022-07-14  9:57 ` mhmdanas
@ 2022-07-14  9:57 ` mhmdanas
  3 siblings, 0 replies; 7+ messages in thread
From: mhmdanas @ 2022-07-14  9:57 UTC (permalink / raw)
  To: ml

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

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

curl: update to 7.84.0.
https://github.com/void-linux/void-packages/pull/37823

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->
@ericonr

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

* [PR PATCH] curl: update to 7.84.0.
@ 2022-07-13 14:21 MouadCharradi
  0 siblings, 0 replies; 7+ messages in thread
From: MouadCharradi @ 2022-07-13 14:21 UTC (permalink / raw)
  To: ml

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

There is a new pull request by MouadCharradi against master on the void-packages repository

https://github.com/MouadCharradi/void-packages curl
https://github.com/void-linux/void-packages/pull/38039

curl: update to 7.84.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86-64, glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64

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

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

From c017c3cda203d29a2ef682d1502eff921d688b7d Mon Sep 17 00:00:00 2001
From: Mouad Charradi <charradimouad58@gmail.com>
Date: Wed, 13 Jul 2022 15:16:31 +0100
Subject: [PATCH] curl: update to 7.84.0.

---
 ...eturn-fatal-error-on-EINTR-from-poll.patch | 40 +++++++++++++++++++
 srcpkgs/curl/template                         |  8 ++--
 2 files changed, 44 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/curl/patches/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch

diff --git a/srcpkgs/curl/patches/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch b/srcpkgs/curl/patches/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch
new file mode 100644
index 000000000000..c2456da0e1d7
--- /dev/null
+++ b/srcpkgs/curl/patches/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch
@@ -0,0 +1,40 @@
+From 52e822173aa3cd4f610531d32fbf943f026cdca6 Mon Sep 17 00:00:00 2001
+From: Thomas Weißschuh <thomas@t-8ch.de>
+Date: Sun, 3 Jul 2022 18:20:44 +0200
+Subject: select: do not return fatal error on EINTR from poll()
+
+The same was done for select() in 5912da25 but poll() was missed.
+
+Bug: https://bugs.archlinux.org/task/75201
+Reported-by: Alexandre Bury (gyscos at archlinux)
+
+Ref: https://github.com/curl/curl/issues/8921
+Ref: https://github.com/curl/curl/pull/8961
+Ref: https://github.com/curl/curl/commit/5912da25#r77584294
+
+Closes https://github.com/curl/curl/pull/9091
+---
+ lib/select.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/lib/select.c b/lib/select.c
+index c16358d56..2ac074677 100644
+--- a/lib/select.c
++++ b/lib/select.c
+@@ -310,8 +310,12 @@ int Curl_poll(struct pollfd ufds[], unsigned int nfds, timediff_t timeout_ms)
+   else
+     pending_ms = 0;
+   r = poll(ufds, nfds, pending_ms);
+-  if(r <= 0)
++  if(r <= 0) {
++    if((r == -1) && (SOCKERRNO == EINTR))
++      /* make EINTR from select or poll not a "lethal" error */
++      r = 0;
+     return r;
++  }
+ 
+   for(i = 0; i < nfds; i++) {
+     if(ufds[i].fd == CURL_SOCKET_BAD)
+-- 
+cgit v1.2.3-18-g5258
+
diff --git a/srcpkgs/curl/template b/srcpkgs/curl/template
index 00cbfd709875..7f8d4053b71d 100644
--- a/srcpkgs/curl/template
+++ b/srcpkgs/curl/template
@@ -1,6 +1,6 @@
 # Template file for 'curl'
 pkgname=curl
-version=7.83.1
+version=7.84.0
 revision=1
 build_style=gnu-configure
 configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
@@ -24,7 +24,7 @@ license="MIT"
 homepage="https://curl.haxx.se"
 changelog="https://curl.haxx.se/changes.html#${version//./_}"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.bz2"
-checksum=f539a36fb44a8260ec5d977e4e0dbdd2eee29ed90fcedaa9bc3c9f78a113bff0
+checksum=702fb26e73190a3bd77071aa146f507b9817cc4dfce218d2ab87f00cd3bc059d
 build_options="gnutls gssapi ldap rtmp ssh ssl zstd"
 build_options_default="ssh ssl zstd"
 vopt_conflict ssl gnutls
@@ -55,10 +55,10 @@ post_install() {
 	fi
 
 	# Fix linker search paths when necessary
-	if [ -n "$XBPS_CROSS_BASE" ]; then
+	if [ -n "${XBPS_CROSS_BASE}" ]; then
 		# Leave $XBPS_CROSS_BASE in --configure to reflect how it was built
 		vsed -i $DESTDIR/usr/bin/curl-config \
-			-e "/[	 ]*--static-libs)/,/[	 ]*;;/ s,-L$XBPS_CROSS_BASE,-L,"
+			-e "/[	 ]*--static-libs)/,/[	 ]*;;/ s,-L${XBPS_CROSS_BASE},-L,"
 	fi
 
 	vlicense COPYING

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

* [PR PATCH] curl: update to 7.84.0
@ 2022-07-06 10:35 ishaanbhimwal
  0 siblings, 0 replies; 7+ messages in thread
From: ishaanbhimwal @ 2022-07-06 10:35 UTC (permalink / raw)
  To: ml

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

There is a new pull request by ishaanbhimwal against master on the void-packages repository

https://github.com/ishaanbhimwal/void-packages curl
https://github.com/void-linux/void-packages/pull/37893

curl: update to 7.84.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From a4bcd47ba7455bbe16da3841587ac9ef72315a4d Mon Sep 17 00:00:00 2001
From: Ishaan Bhimwal <ishaanbhimwal@protonmail.com>
Date: Wed, 6 Jul 2022 16:02:07 +0530
Subject: [PATCH] curl: update to 7.84.0

---
 srcpkgs/curl/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/curl/template b/srcpkgs/curl/template
index 00cbfd709875..8579b3244f52 100644
--- a/srcpkgs/curl/template
+++ b/srcpkgs/curl/template
@@ -1,6 +1,6 @@
 # Template file for 'curl'
 pkgname=curl
-version=7.83.1
+version=7.84.0
 revision=1
 build_style=gnu-configure
 configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
@@ -24,7 +24,7 @@ license="MIT"
 homepage="https://curl.haxx.se"
 changelog="https://curl.haxx.se/changes.html#${version//./_}"
 distfiles="${homepage}/download/${pkgname}-${version}.tar.bz2"
-checksum=f539a36fb44a8260ec5d977e4e0dbdd2eee29ed90fcedaa9bc3c9f78a113bff0
+checksum=702fb26e73190a3bd77071aa146f507b9817cc4dfce218d2ab87f00cd3bc059d
 build_options="gnutls gssapi ldap rtmp ssh ssl zstd"
 build_options_default="ssh ssl zstd"
 vopt_conflict ssl gnutls

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

end of thread, other threads:[~2022-07-14  9:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-03 23:58 [PR PATCH] curl: update to 7.84.0 mhmdanas
2022-07-09 14:07 ` JamiKettunen
2022-07-09 14:08 ` JamiKettunen
2022-07-14  9:57 ` mhmdanas
2022-07-14  9:57 ` [PR PATCH] [Closed]: " mhmdanas
2022-07-06 10:35 [PR PATCH] " ishaanbhimwal
2022-07-13 14:21 MouadCharradi

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