All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2
@ 2022-07-17  7:50 Fabrice Fontaine
  2022-07-17  7:50 ` [Buildroot] [PATCH 2/2] package/libwebsockets: add wolfssl optional dependency Fabrice Fontaine
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2022-07-17  7:50 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Drop first and second patches (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...1-CMakeLists.txt-fix-build-without-C.patch | 44 -------------------
 ...Lists.txt-fix-build-without-threads.patch} |  0
 ...emove-duplicate-LwsCheckRequirements.patch | 26 -----------
 package/libwebsockets/libwebsockets.hash      |  2 +-
 package/libwebsockets/libwebsockets.mk        |  2 +-
 5 files changed, 2 insertions(+), 72 deletions(-)
 delete mode 100644 package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch
 rename package/libwebsockets/{0003-lib-tls-CMakeLists.txt-fix-build-without-threads.patch => 0001-lib-tls-CMakeLists.txt-fix-build-without-threads.patch} (100%)
 delete mode 100644 package/libwebsockets/0002-cmake-remove-duplicate-LwsCheckRequirements.patch

diff --git a/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch
deleted file mode 100644
index c6d6d07dcc..0000000000
--- a/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 726b36eca158063d8871c91ad99a29113ea35aea Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Wed, 13 Apr 2022 21:03:26 +0200
-Subject: [PATCH] CMakeLists.txt: fix build without C++
-
-Fix the following build failure without C++ raised since version 4.2.0
-and
-https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d:
-
-CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message):
-  The C++ compiler
-
-    "/usr/bin/clang++"
-
-  is not able to compile a simple test program.
-
-Fixes:
- - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Upstream status: https://github.com/warmcat/libwebsockets/pull/2613]
----
- CMakeLists.txt | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 08aaf8c6..96e3ad18 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -71,7 +71,10 @@ if (ESP_PLATFORM)
- endif()
- 
- # it's at this point any toolchain file is brought in
--project(libwebsockets C CXX)
-+project(libwebsockets C)
-+if (LWS_WITH_SECURE_STREAMS_CPP)
-+	enable_language(CXX)
-+endif()
- include(CTest)
- 
- if (PICO_SDK_PATH)
--- 
-2.35.1
-
diff --git a/package/libwebsockets/0003-lib-tls-CMakeLists.txt-fix-build-without-threads.patch b/package/libwebsockets/0001-lib-tls-CMakeLists.txt-fix-build-without-threads.patch
similarity index 100%
rename from package/libwebsockets/0003-lib-tls-CMakeLists.txt-fix-build-without-threads.patch
rename to package/libwebsockets/0001-lib-tls-CMakeLists.txt-fix-build-without-threads.patch
diff --git a/package/libwebsockets/0002-cmake-remove-duplicate-LwsCheckRequirements.patch b/package/libwebsockets/0002-cmake-remove-duplicate-LwsCheckRequirements.patch
deleted file mode 100644
index fc76a2b610..0000000000
--- a/package/libwebsockets/0002-cmake-remove-duplicate-LwsCheckRequirements.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 99a8b9c4422bed45c8b7412a1e121056f2a6132a Mon Sep 17 00:00:00 2001
-From: Andy Green <andy@warmcat.com>
-Date: Mon, 7 Feb 2022 14:48:55 +0000
-Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements
-
-Signed-off-by: Andy Green <andy@warmcat.com>
-Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
-Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
----
- cmake/libwebsockets-config.cmake.in | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/cmake/libwebsockets-config.cmake.in b/cmake/libwebsockets-config.cmake.in
-index 6247b2cb..8ba97e6f 100644
---- a/cmake/libwebsockets-config.cmake.in
-+++ b/cmake/libwebsockets-config.cmake.in
-@@ -32,6 +32,5 @@ endforeach()
- 
- include(CheckIncludeFile)
- include(CheckCSourceCompiles)
--include(LwsCheckRequirements)
- set(requirements 1)
- 
--- 
-2.35.3
-
diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash
index e39d6e1853..4bff068241 100644
--- a/package/libwebsockets/libwebsockets.hash
+++ b/package/libwebsockets/libwebsockets.hash
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  8fdb1454a1b34cd9a6351beaab237a485e6853806101de7e62bd2bc250bb50af  libwebsockets-4.3.1.tar.gz
+sha256  6a85a1bccf25acc7e8e5383e4934c9b32a102880d1e4c37c70b27ae2a42406e1  libwebsockets-4.3.2.tar.gz
 sha256  2b5dd8030691f3d1870a040f085c37e45d9ab9c684a7f1284f5f379c1e829b28  LICENSE
diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk
index 3a9b9ea88f..f5cde37109 100644
--- a/package/libwebsockets/libwebsockets.mk
+++ b/package/libwebsockets/libwebsockets.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBWEBSOCKETS_VERSION = 4.3.1
+LIBWEBSOCKETS_VERSION = 4.3.2
 LIBWEBSOCKETS_SITE = $(call github,warmcat,libwebsockets,v$(LIBWEBSOCKETS_VERSION))
 LIBWEBSOCKETS_LICENSE = MIT with exceptions
 LIBWEBSOCKETS_LICENSE_FILES = LICENSE
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 2/2] package/libwebsockets: add wolfssl optional dependency
  2022-07-17  7:50 [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2 Fabrice Fontaine
@ 2022-07-17  7:50 ` Fabrice Fontaine
  2022-08-10 10:25   ` Peter Korsgaard
  2022-07-17 13:02 ` [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2 Yann E. MORIN
  2022-08-10 10:25 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Fabrice Fontaine @ 2022-07-17  7:50 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

wolfssl is an optional dependency since version 1.5.1 and
https://github.com/warmcat/libwebsockets/commit/c3bcb89d01da0c3ce9915cd73451399ec005b535

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libwebsockets/libwebsockets.mk | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk
index f5cde37109..79624948a5 100644
--- a/package/libwebsockets/libwebsockets.mk
+++ b/package/libwebsockets/libwebsockets.mk
@@ -34,16 +34,25 @@ ifeq ($(BR2_PACKAGE_OPENSSL),y)
 LIBWEBSOCKETS_DEPENDENCIES += openssl host-openssl
 LIBWEBSOCKETS_CONF_OPTS += \
 	-DLWS_WITH_SSL=ON \
-	-DLWS_WITH_MBEDTLS=OFF
+	-DLWS_WITH_MBEDTLS=OFF \
+	-DLWS_WITH_WOLFSSL=OFF
 else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
 LIBWEBSOCKETS_DEPENDENCIES += mbedtls
 LIBWEBSOCKETS_CONF_OPTS += \
 	-DLWS_WITH_SSL=ON \
-	-DLWS_WITH_MBEDTLS=ON
+	-DLWS_WITH_MBEDTLS=ON \
+	-DLWS_WITH_WOLFSSL=OFF
+else ifeq ($(BR2_PACKAGE_WOLFSSL),y)
+LIBWEBSOCKETS_DEPENDENCIES += host-pkgconf wolfssl
+LIBWEBSOCKETS_CONF_OPTS += \
+	-DLWS_WITH_SSL=ON \
+	-DLWS_WITH_MBEDTLS=OFF \
+	-DLWS_WITH_WOLFSSL=ON
 else
 LIBWEBSOCKETS_CONF_OPTS += \
 	-DLWS_WITH_SSL=OFF \
-	-DLWS_WITH_MBEDTLS=OFF
+	-DLWS_WITH_MBEDTLS=OFF \
+	-DLWS_WITH_WOLFSSL=OFF
 endif
 
 ifeq ($(BR2_PACKAGE_LIBEV),y)
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2
  2022-07-17  7:50 [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2 Fabrice Fontaine
  2022-07-17  7:50 ` [Buildroot] [PATCH 2/2] package/libwebsockets: add wolfssl optional dependency Fabrice Fontaine
@ 2022-07-17 13:02 ` Yann E. MORIN
  2022-08-10 10:25 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2022-07-17 13:02 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

Fabrice, All,

On 2022-07-17 09:50 +0200, Fabrice Fontaine spake thusly:
> Drop first and second patches (already in version)
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Series of two patches applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  ...1-CMakeLists.txt-fix-build-without-C.patch | 44 -------------------
>  ...Lists.txt-fix-build-without-threads.patch} |  0
>  ...emove-duplicate-LwsCheckRequirements.patch | 26 -----------
>  package/libwebsockets/libwebsockets.hash      |  2 +-
>  package/libwebsockets/libwebsockets.mk        |  2 +-
>  5 files changed, 2 insertions(+), 72 deletions(-)
>  delete mode 100644 package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch
>  rename package/libwebsockets/{0003-lib-tls-CMakeLists.txt-fix-build-without-threads.patch => 0001-lib-tls-CMakeLists.txt-fix-build-without-threads.patch} (100%)
>  delete mode 100644 package/libwebsockets/0002-cmake-remove-duplicate-LwsCheckRequirements.patch
> 
> diff --git a/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch b/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch
> deleted file mode 100644
> index c6d6d07dcc..0000000000
> --- a/package/libwebsockets/0001-CMakeLists.txt-fix-build-without-C.patch
> +++ /dev/null
> @@ -1,44 +0,0 @@
> -From 726b36eca158063d8871c91ad99a29113ea35aea Mon Sep 17 00:00:00 2001
> -From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -Date: Wed, 13 Apr 2022 21:03:26 +0200
> -Subject: [PATCH] CMakeLists.txt: fix build without C++
> -
> -Fix the following build failure without C++ raised since version 4.2.0
> -and
> -https://github.com/warmcat/libwebsockets/commit/962e9ee345bc28749577c1fca2542a273404627d:
> -
> -CMake Error at /nvmedata/autobuild/instance-11/output-1/per-package/libwebsockets/host/share/cmake-3.18/Modules/CMakeTestCXXCompiler.cmake:59 (message):
> -  The C++ compiler
> -
> -    "/usr/bin/clang++"
> -
> -  is not able to compile a simple test program.
> -
> -Fixes:
> - - http://autobuild.buildroot.org/results/550e7f7d54adf74f8cc078be5b91b3567d622ede
> -
> -Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -[Upstream status: https://github.com/warmcat/libwebsockets/pull/2613]
> ----
> - CMakeLists.txt | 5 ++++-
> - 1 file changed, 4 insertions(+), 1 deletion(-)
> -
> -diff --git a/CMakeLists.txt b/CMakeLists.txt
> -index 08aaf8c6..96e3ad18 100644
> ---- a/CMakeLists.txt
> -+++ b/CMakeLists.txt
> -@@ -71,7 +71,10 @@ if (ESP_PLATFORM)
> - endif()
> - 
> - # it's at this point any toolchain file is brought in
> --project(libwebsockets C CXX)
> -+project(libwebsockets C)
> -+if (LWS_WITH_SECURE_STREAMS_CPP)
> -+	enable_language(CXX)
> -+endif()
> - include(CTest)
> - 
> - if (PICO_SDK_PATH)
> --- 
> -2.35.1
> -
> diff --git a/package/libwebsockets/0003-lib-tls-CMakeLists.txt-fix-build-without-threads.patch b/package/libwebsockets/0001-lib-tls-CMakeLists.txt-fix-build-without-threads.patch
> similarity index 100%
> rename from package/libwebsockets/0003-lib-tls-CMakeLists.txt-fix-build-without-threads.patch
> rename to package/libwebsockets/0001-lib-tls-CMakeLists.txt-fix-build-without-threads.patch
> diff --git a/package/libwebsockets/0002-cmake-remove-duplicate-LwsCheckRequirements.patch b/package/libwebsockets/0002-cmake-remove-duplicate-LwsCheckRequirements.patch
> deleted file mode 100644
> index fc76a2b610..0000000000
> --- a/package/libwebsockets/0002-cmake-remove-duplicate-LwsCheckRequirements.patch
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -From 99a8b9c4422bed45c8b7412a1e121056f2a6132a Mon Sep 17 00:00:00 2001
> -From: Andy Green <andy@warmcat.com>
> -Date: Mon, 7 Feb 2022 14:48:55 +0000
> -Subject: [PATCH] cmake: remove duplicate LwsCheckRequirements
> -
> -Signed-off-by: Andy Green <andy@warmcat.com>
> -Signed-off-by: Bartosz Bilas <bartosz.bilas@hotmail.com>
> -Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
> ----
> - cmake/libwebsockets-config.cmake.in | 1 -
> - 1 file changed, 1 deletion(-)
> -
> -diff --git a/cmake/libwebsockets-config.cmake.in b/cmake/libwebsockets-config.cmake.in
> -index 6247b2cb..8ba97e6f 100644
> ---- a/cmake/libwebsockets-config.cmake.in
> -+++ b/cmake/libwebsockets-config.cmake.in
> -@@ -32,6 +32,5 @@ endforeach()
> - 
> - include(CheckIncludeFile)
> - include(CheckCSourceCompiles)
> --include(LwsCheckRequirements)
> - set(requirements 1)
> - 
> --- 
> -2.35.3
> -
> diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash
> index e39d6e1853..4bff068241 100644
> --- a/package/libwebsockets/libwebsockets.hash
> +++ b/package/libwebsockets/libwebsockets.hash
> @@ -1,3 +1,3 @@
>  # Locally computed:
> -sha256  8fdb1454a1b34cd9a6351beaab237a485e6853806101de7e62bd2bc250bb50af  libwebsockets-4.3.1.tar.gz
> +sha256  6a85a1bccf25acc7e8e5383e4934c9b32a102880d1e4c37c70b27ae2a42406e1  libwebsockets-4.3.2.tar.gz
>  sha256  2b5dd8030691f3d1870a040f085c37e45d9ab9c684a7f1284f5f379c1e829b28  LICENSE
> diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk
> index 3a9b9ea88f..f5cde37109 100644
> --- a/package/libwebsockets/libwebsockets.mk
> +++ b/package/libwebsockets/libwebsockets.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -LIBWEBSOCKETS_VERSION = 4.3.1
> +LIBWEBSOCKETS_VERSION = 4.3.2
>  LIBWEBSOCKETS_SITE = $(call github,warmcat,libwebsockets,v$(LIBWEBSOCKETS_VERSION))
>  LIBWEBSOCKETS_LICENSE = MIT with exceptions
>  LIBWEBSOCKETS_LICENSE_FILES = LICENSE
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2
  2022-07-17  7:50 [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2 Fabrice Fontaine
  2022-07-17  7:50 ` [Buildroot] [PATCH 2/2] package/libwebsockets: add wolfssl optional dependency Fabrice Fontaine
  2022-07-17 13:02 ` [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2 Yann E. MORIN
@ 2022-08-10 10:25 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2022-08-10 10:25 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Drop first and second patches (already in version)
 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 2/2] package/libwebsockets: add wolfssl optional dependency
  2022-07-17  7:50 ` [Buildroot] [PATCH 2/2] package/libwebsockets: add wolfssl optional dependency Fabrice Fontaine
@ 2022-08-10 10:25   ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2022-08-10 10:25 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > wolfssl is an optional dependency since version 1.5.1 and
 > https://github.com/warmcat/libwebsockets/commit/c3bcb89d01da0c3ce9915cd73451399ec005b535

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2022.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-08-10 10:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-17  7:50 [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2 Fabrice Fontaine
2022-07-17  7:50 ` [Buildroot] [PATCH 2/2] package/libwebsockets: add wolfssl optional dependency Fabrice Fontaine
2022-08-10 10:25   ` Peter Korsgaard
2022-07-17 13:02 ` [Buildroot] [PATCH 1/2] package/libwebsockets: bump to version 4.3.2 Yann E. MORIN
2022-08-10 10:25 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.