Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/5] package/libwebsockets: bump version to 4.0.20
Date: Mon, 27 Jul 2020 09:21:00 +0200	[thread overview]
Message-ID: <20200727072100.GP19818@scaer> (raw)
In-Reply-To: <20200726022901.295552-4-aduskett@gmail.com>

Adam, All,

On 2020-07-25 19:28 -0700, aduskett at gmail.com spake thusly:
> From: Adam Duskett <Aduskett@gmail.com>
> 
> Other changes:
>   - Remove upstream patch.
>   - Change license type to MIT.
>   - Update license shasum due to the above change.

Patch applied to master, thanks.

However, I did explicitly disable the two new features you are
introducing in the next two patches. But as I did not see the cover
letter, I did not account for the new ones...

Regards,
Yann E. MORIN.

> Signed-off-by: Adam Duskett <Aduskett@gmail.com>
> ---
>  ...ts-txt-fix-static-build-with-openssl.patch | 34 -------------------
>  package/libwebsockets/libwebsockets.hash      |  4 +--
>  package/libwebsockets/libwebsockets.mk        |  4 +--
>  3 files changed, 4 insertions(+), 38 deletions(-)
>  delete mode 100644 package/libwebsockets/0001-CMakeLists-txt-fix-static-build-with-openssl.patch
> 
> diff --git a/package/libwebsockets/0001-CMakeLists-txt-fix-static-build-with-openssl.patch b/package/libwebsockets/0001-CMakeLists-txt-fix-static-build-with-openssl.patch
> deleted file mode 100644
> index 868685d397..0000000000
> --- a/package/libwebsockets/0001-CMakeLists-txt-fix-static-build-with-openssl.patch
> +++ /dev/null
> @@ -1,34 +0,0 @@
> -From 5f8134cfe5e7b90a8ce07d27ae737dcc54b523b3 Mon Sep 17 00:00:00 2001
> -From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -Date: Wed, 16 Oct 2019 20:09:13 +0200
> -Subject: [PATCH] CMakeLists.txt: fix static build with openssl
> -
> -openssl can depends on -latomic so use pkg-config (if available) to
> -retrieve these static dependencies otherwise build will fail because
> -HMAC_CTX_new test will return a wrong result
> -
> -Fixes:
> - - http://autobuild.buildroot.org/results/65d0528b208c0a470264f7e2433be89425971dd7
> -
> -Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> -[Retrieved (and backported) from:
> -https://github.com/warmcat/libwebsockets/commit/5f8134cfe5e7b90a8ce07d27ae737dcc54b523b3]
> ----
> - CMakeLists.txt | 3 +++
> - 1 file changed, 3 insertions(+)
> -
> -diff --git a/CMakeLists.txt b/CMakeLists.txt
> -index 2693ac56a..888f65e83 100644
> ---- a/CMakeLists.txt
> -+++ b/CMakeLists.txt
> -@@ -1803,7 +1803,10 @@ if (LWS_WITH_SSL)
> - 		if (NOT OPENSSL_FOUND AND NOT LWS_WITH_BORINGSSL)
> - 			# TODO: Add support for STATIC also.
> - 		if (NOT LWS_WITH_ESP32)
> -+			find_package(PkgConfig QUIET)
> -+			pkg_check_modules(PC_OPENSSL openssl QUIET)
> - 			find_package(OpenSSL REQUIRED)
> -+			list(APPEND OPENSSL_LIBRARIES ${PC_OPENSSL_LIBRARIES})
> - 		endif()
> - 			set(OPENSSL_INCLUDE_DIRS "${OPENSSL_INCLUDE_DIR}")
> - 		endif()
> diff --git a/package/libwebsockets/libwebsockets.hash b/package/libwebsockets/libwebsockets.hash
> index ca0c1db2d5..3963370710 100644
> --- a/package/libwebsockets/libwebsockets.hash
> +++ b/package/libwebsockets/libwebsockets.hash
> @@ -1,3 +1,3 @@
>  # Locally computed:
> -sha256	166d6e17cab64bfc10c2a71799c298284540a1fa63f6ea3de5caccb34502243c  libwebsockets-3.2.2.tar.gz
> -sha256  4d092cd5e062c5ab0cf6408963d74619b5baf1571344410be6aa5bcef512eb70  LICENSE
> +sha256  a26d243f2642a9b810e7d91f1e66b149d1da978decdca58ce1c9218c454f397e  libwebsockets-4.0.20.tar.gz
> +sha256  5756db345eb9c21cb06dd7cb69c38ec234657a233f9a186b4f5fa453681bd394  LICENSE
> diff --git a/package/libwebsockets/libwebsockets.mk b/package/libwebsockets/libwebsockets.mk
> index 6716d52796..6c2667b867 100644
> --- a/package/libwebsockets/libwebsockets.mk
> +++ b/package/libwebsockets/libwebsockets.mk
> @@ -4,9 +4,9 @@
>  #
>  ################################################################################
>  
> -LIBWEBSOCKETS_VERSION = 3.2.2
> +LIBWEBSOCKETS_VERSION = 4.0.20
>  LIBWEBSOCKETS_SITE = $(call github,warmcat,libwebsockets,v$(LIBWEBSOCKETS_VERSION))
> -LIBWEBSOCKETS_LICENSE = LGPL-2.1 with exceptions
> +LIBWEBSOCKETS_LICENSE = MIT with exceptions
>  LIBWEBSOCKETS_LICENSE_FILES = LICENSE
>  LIBWEBSOCKETS_DEPENDENCIES = zlib
>  LIBWEBSOCKETS_INSTALL_STAGING = YES
> -- 
> 2.26.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/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.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2020-07-27  7:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-26  2:28 [Buildroot] [PATCH 0/5] libwebsockets fixup aduskett at gmail.com
2020-07-26  2:28 ` [Buildroot] [PATCH 1/5] package/libwebsockets: remove dependency on mmu aduskett at gmail.com
2020-07-26  7:11   ` Thomas Petazzoni
2020-08-13  9:40   ` Peter Korsgaard
2020-07-26  2:28 ` [Buildroot] [PATCH 2/5] package/libwebsockets: add support for extensions aduskett at gmail.com
2020-07-26  2:28 ` [Buildroot] [PATCH 3/5] package/libwebsockets: bump version to 4.0.20 aduskett at gmail.com
2020-07-27  7:21   ` Yann E. MORIN [this message]
2020-07-26  2:29 ` [Buildroot] [PATCH 4/5] package/libwebsockets: add libglib2 support aduskett at gmail.com
2020-07-26  2:29 ` [Buildroot] [PATCH 5/5] package/libwebsockets: add fsmount support aduskett at gmail.com
2020-07-27  7:07 ` [Buildroot] [PATCH 0/5] libwebsockets fixup Yann E. MORIN

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=20200727072100.GP19818@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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