mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2] libcurl: Version bump. 7.84.0 -> 7.85.0
@ 2022-09-09 20:16 Christian Melki
  2022-09-19 14:05 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2022-09-09 20:16 UTC (permalink / raw)
  To: ptxdist

https://curl.se/changes.html#7_85_0
Bunch of bugfixes as usual.
Fixes CVE-2022-35252

* Remove old patchset, included in the new release

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 ...ude-sched.h-if-available-to-fix-buil.patch | 25 -------------------
 ...-__asm__-instead-of-asm-to-fix-build.patch | 22 ----------------
 patches/curl-7.84.0/series                    |  5 ----
 rules/libcurl.make                            |  4 +--
 4 files changed, 2 insertions(+), 54 deletions(-)
 delete mode 100644 patches/curl-7.84.0/0001-easy_lock.h-include-sched.h-if-available-to-fix-buil.patch
 delete mode 100644 patches/curl-7.84.0/0002-easy_lock.h-use-__asm__-instead-of-asm-to-fix-build.patch
 delete mode 100644 patches/curl-7.84.0/series

diff --git a/patches/curl-7.84.0/0001-easy_lock.h-include-sched.h-if-available-to-fix-buil.patch b/patches/curl-7.84.0/0001-easy_lock.h-include-sched.h-if-available-to-fix-buil.patch
deleted file mode 100644
index 099e49c0c..000000000
--- a/patches/curl-7.84.0/0001-easy_lock.h-include-sched.h-if-available-to-fix-buil.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From: Daniel Stenberg <daniel@haxx.se>
-Date: Mon, 27 Jun 2022 08:46:21 +0200
-Subject: [PATCH] easy_lock.h: include sched.h if available to fix build
-
-Patched-by: Harry Sintonen
-
-Closes #9054
----
- lib/easy_lock.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/lib/easy_lock.h b/lib/easy_lock.h
-index 819f50ce815b..1f54289ceb2d 100644
---- a/lib/easy_lock.h
-+++ b/lib/easy_lock.h
-@@ -36,6 +36,9 @@
- 
- #elif defined (HAVE_ATOMIC)
- #include <stdatomic.h>
-+#if defined(HAVE_SCHED_YIELD)
-+#include <sched.h>
-+#endif
- 
- #define curl_simple_lock atomic_bool
- #define CURL_SIMPLE_LOCK_INIT false
diff --git a/patches/curl-7.84.0/0002-easy_lock.h-use-__asm__-instead-of-asm-to-fix-build.patch b/patches/curl-7.84.0/0002-easy_lock.h-use-__asm__-instead-of-asm-to-fix-build.patch
deleted file mode 100644
index 7443ba41e..000000000
--- a/patches/curl-7.84.0/0002-easy_lock.h-use-__asm__-instead-of-asm-to-fix-build.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From: vvb2060 <vvb2060@gmail.com>
-Date: Tue, 28 Jun 2022 03:48:43 +0800
-Subject: [PATCH] easy_lock.h: use __asm__ instead of asm to fix build
-
-Closes #9056
----
- lib/easy_lock.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/easy_lock.h b/lib/easy_lock.h
-index 1f54289ceb2d..07c85c5ffdd1 100644
---- a/lib/easy_lock.h
-+++ b/lib/easy_lock.h
-@@ -54,7 +54,7 @@ static inline void curl_simple_lock_lock(curl_simple_lock *lock)
- #if defined(__i386__) || defined(__x86_64__)
-       __builtin_ia32_pause();
- #elif defined(__aarch64__)
--      asm volatile("yield" ::: "memory");
-+      __asm__ volatile("yield" ::: "memory");
- #elif defined(HAVE_SCHED_YIELD)
-       sched_yield();
- #endif
diff --git a/patches/curl-7.84.0/series b/patches/curl-7.84.0/series
deleted file mode 100644
index a8ea60cf2..000000000
--- a/patches/curl-7.84.0/series
+++ /dev/null
@@ -1,5 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-easy_lock.h-include-sched.h-if-available-to-fix-buil.patch
-0002-easy_lock.h-use-__asm__-instead-of-asm-to-fix-build.patch
-# 3ace341f1349f3d078579bbef0b35324  - git-ptx-patches magic
diff --git a/rules/libcurl.make b/rules/libcurl.make
index e40063f14..0d0ac9ea3 100644
--- a/rules/libcurl.make
+++ b/rules/libcurl.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_LIBCURL) += libcurl
 #
 # Paths and names
 #
-LIBCURL_VERSION	:= 7.84.0
-LIBCURL_MD5	:= 6ce66afa416bb11b8f39cc9e059afd5b
+LIBCURL_VERSION	:= 7.85.0
+LIBCURL_MD5	:= 131f76c84016c45806b902330a74164f
 LIBCURL		:= curl-$(LIBCURL_VERSION)
 LIBCURL_SUFFIX	:= tar.xz
 LIBCURL_URL	:= https://curl.haxx.se/download/$(LIBCURL).$(LIBCURL_SUFFIX)
-- 
2.34.1




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

* Re: [ptxdist] [APPLIED] libcurl: Version bump. 7.84.0 -> 7.85.0
  2022-09-09 20:16 [ptxdist] [PATCH v2] libcurl: Version bump. 7.84.0 -> 7.85.0 Christian Melki
@ 2022-09-19 14:05 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2022-09-19 14:05 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

Thanks, applied as 34db9dd470bdec673a15f4b2038303ff053d0427.

Michael

[sent from post-receive hook]

On Mon, 19 Sep 2022 16:05:32 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> https://curl.se/changes.html#7_85_0
> Bunch of bugfixes as usual.
> Fixes CVE-2022-35252
> 
> * Remove old patchset, included in the new release
> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20220909201628.853195-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/patches/curl-7.84.0/0001-easy_lock.h-include-sched.h-if-available-to-fix-buil.patch b/patches/curl-7.84.0/0001-easy_lock.h-include-sched.h-if-available-to-fix-buil.patch
> deleted file mode 100644
> index 099e49c0c825..000000000000
> --- a/patches/curl-7.84.0/0001-easy_lock.h-include-sched.h-if-available-to-fix-buil.patch
> +++ /dev/null
> @@ -1,25 +0,0 @@
> -From: Daniel Stenberg <daniel@haxx.se>
> -Date: Mon, 27 Jun 2022 08:46:21 +0200
> -Subject: [PATCH] easy_lock.h: include sched.h if available to fix build
> -
> -Patched-by: Harry Sintonen
> -
> -Closes #9054
> ----
> - lib/easy_lock.h | 3 +++
> - 1 file changed, 3 insertions(+)
> -
> -diff --git a/lib/easy_lock.h b/lib/easy_lock.h
> -index 819f50ce815b..1f54289ceb2d 100644
> ---- a/lib/easy_lock.h
> -+++ b/lib/easy_lock.h
> -@@ -36,6 +36,9 @@
> - 
> - #elif defined (HAVE_ATOMIC)
> - #include <stdatomic.h>
> -+#if defined(HAVE_SCHED_YIELD)
> -+#include <sched.h>
> -+#endif
> - 
> - #define curl_simple_lock atomic_bool
> - #define CURL_SIMPLE_LOCK_INIT false
> diff --git a/patches/curl-7.84.0/0002-easy_lock.h-use-__asm__-instead-of-asm-to-fix-build.patch b/patches/curl-7.84.0/0002-easy_lock.h-use-__asm__-instead-of-asm-to-fix-build.patch
> deleted file mode 100644
> index 7443ba41eed1..000000000000
> --- a/patches/curl-7.84.0/0002-easy_lock.h-use-__asm__-instead-of-asm-to-fix-build.patch
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -From: vvb2060 <vvb2060@gmail.com>
> -Date: Tue, 28 Jun 2022 03:48:43 +0800
> -Subject: [PATCH] easy_lock.h: use __asm__ instead of asm to fix build
> -
> -Closes #9056
> ----
> - lib/easy_lock.h | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/lib/easy_lock.h b/lib/easy_lock.h
> -index 1f54289ceb2d..07c85c5ffdd1 100644
> ---- a/lib/easy_lock.h
> -+++ b/lib/easy_lock.h
> -@@ -54,7 +54,7 @@ static inline void curl_simple_lock_lock(curl_simple_lock *lock)
> - #if defined(__i386__) || defined(__x86_64__)
> -       __builtin_ia32_pause();
> - #elif defined(__aarch64__)
> --      asm volatile("yield" ::: "memory");
> -+      __asm__ volatile("yield" ::: "memory");
> - #elif defined(HAVE_SCHED_YIELD)
> -       sched_yield();
> - #endif
> diff --git a/patches/curl-7.84.0/series b/patches/curl-7.84.0/series
> deleted file mode 100644
> index a8ea60cf2cf2..000000000000
> --- a/patches/curl-7.84.0/series
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -# generated by git-ptx-patches
> -#tag:base --start-number 1
> -0001-easy_lock.h-include-sched.h-if-available-to-fix-buil.patch
> -0002-easy_lock.h-use-__asm__-instead-of-asm-to-fix-build.patch
> -# 3ace341f1349f3d078579bbef0b35324  - git-ptx-patches magic
> diff --git a/rules/libcurl.make b/rules/libcurl.make
> index e40063f14406..0d0ac9ea33d0 100644
> --- a/rules/libcurl.make
> +++ b/rules/libcurl.make
> @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_LIBCURL) += libcurl
>  #
>  # Paths and names
>  #
> -LIBCURL_VERSION	:= 7.84.0
> -LIBCURL_MD5	:= 6ce66afa416bb11b8f39cc9e059afd5b
> +LIBCURL_VERSION	:= 7.85.0
> +LIBCURL_MD5	:= 131f76c84016c45806b902330a74164f
>  LIBCURL		:= curl-$(LIBCURL_VERSION)
>  LIBCURL_SUFFIX	:= tar.xz
>  LIBCURL_URL	:= https://curl.haxx.se/download/$(LIBCURL).$(LIBCURL_SUFFIX)



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

end of thread, other threads:[~2022-09-19 14:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-09 20:16 [ptxdist] [PATCH v2] libcurl: Version bump. 7.84.0 -> 7.85.0 Christian Melki
2022-09-19 14:05 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox