From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>, Ian Abbott <abbotti@mev.co.uk>
Subject: [ptxdist] [PATCH 6/8] libwebsockets: version bump 4.3.3 -> 4.4.1
Date: Tue, 21 Oct 2025 15:11:16 +0200 [thread overview]
Message-ID: <20251021131118.919834-7-ada@thorsis.com> (raw)
In-Reply-To: <20251021131118.919834-1-ada@thorsis.com>
Disable all (most) conf options added with the new version, because
those features significantly increase binary size.
License covers more files, and adds OFL for new contrib files.
Build tested only.
- API CHANGE: VFS open() has an extra file_ops pointer at the beginning.
- Secure Streams: new thin layer on top of the traditional lws apis,
which continue unchanged.
- html parsing: now allows it to work on devices with very little RAM
- Support for various embedded EPD devices.
- Many fixes and cleanups
Link: https://libwebsockets.org/git/libwebsockets/tree/changelog
Link: https://github.com/warmcat/libwebsockets/compare/v4.3.3...v4.4.1
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
rules/libwebsockets.make | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/rules/libwebsockets.make b/rules/libwebsockets.make
index 3c6792ae0..72fdd8a29 100644
--- a/rules/libwebsockets.make
+++ b/rules/libwebsockets.make
@@ -14,15 +14,15 @@ PACKAGES-$(PTXCONF_LIBWEBSOCKETS) += libwebsockets
#
# Paths and names
#
-LIBWEBSOCKETS_VERSION := 4.3.3
-LIBWEBSOCKETS_MD5 := c078b08b712316f6302f54a9d05273ae
+LIBWEBSOCKETS_VERSION := 4.4.1
+LIBWEBSOCKETS_MD5 := 4930ef82adc24b7912a8bb729f4a7df9
LIBWEBSOCKETS := libwebsockets-$(LIBWEBSOCKETS_VERSION)
LIBWEBSOCKETS_SUFFIX := tar.gz
LIBWEBSOCKETS_URL := https://github.com/warmcat/libwebsockets/archive/refs/tags/v$(LIBWEBSOCKETS_VERSION).$(LIBWEBSOCKETS_SUFFIX)
LIBWEBSOCKETS_SOURCE := $(SRCDIR)/$(LIBWEBSOCKETS).$(LIBWEBSOCKETS_SUFFIX)
LIBWEBSOCKETS_DIR := $(BUILDDIR)/$(LIBWEBSOCKETS)
LIBWEBSOCKETS_LICENSE := MIT AND BSD-2-Clause AND BSD-3-Clause
-LIBWEBSOCKETS_LICENSE_FILES := file://LICENSE;md5=382bfdf329e774859fd401eaf850d29b
+LIBWEBSOCKETS_LICENSE_FILES := file://LICENSE;md5=b5d391cc7929bcba238f9ba6805f7574
# ----------------------------------------------------------------------------
# Prepare
@@ -40,6 +40,7 @@ LIBWEBSOCKETS_CONF_OPT := \
-DLWS_IPV6=$(call ptx/onoff, PTXCONF_GLOBAL_IPV6) \
-DLWS_LINK_TESTAPPS_DYNAMIC=ON \
-DLWS_PLAT_ANDROID=OFF \
+ -DLWS_PLAT_BAREMETAL=OFF \
-DLWS_PLAT_FREERTOS=OFF \
-DLWS_PLAT_OPTEE=OFF \
-DLWS_WITHOUT_DAEMONIZE=OFF \
@@ -53,16 +54,26 @@ LIBWEBSOCKETS_CONF_OPT := \
-DLWS_WITH_BORINGSSL=OFF \
-DLWS_WITH_BUNDLED_ZLIB=OFF \
-DLWS_WITH_CYASSL=OFF \
+ -DLWS_WITH_DLO=OFF \
-DLWS_WITH_EXTERNAL_POLL=ON \
-DLWS_WITH_GLIB=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_GLIB) \
+ -DLWS_WITH_GZINFLATE=OFF \
+ -DLWS_WITH_JPEG=OFF \
+ -DLWS_WITH_JSONRPC=OFF \
+ -DLWS_WITH_LHP=OFF \
+ -DLWS_WITH_LIBCAP=ON \
-DLWS_WITH_LIBEV=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_LIBEV) \
-DLWS_WITH_LIBEVENT=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_LIBEVENT) \
-DLWS_WITH_LIBUV=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_LIBUV) \
-DLWS_WITH_MBEDTLS=OFF \
-DLWS_WITH_MINIMAL_EXAMPLES=OFF \
+ -DLWS_WITH_OTA=OFF \
+ -DLWS_WITH_SECURE_STREAMS=OFF \
-DLWS_WITH_SHARED=ON \
-DLWS_WITH_SSL=$(call ptx/onoff, PTXCONF_LIBWEBSOCKETS_TLS) \
-DLWS_WITH_STATIC=OFF \
+ -DLWS_WITH_UPNG=OFF \
+ -DLWS_WITH_WOL=OFF \
-DLWS_WITH_WOLFSSL=OFF \
-DLWS_WITH_ZLIB=ON
--
2.39.5
next prev parent reply other threads:[~2025-10-21 13:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-21 13:11 [ptxdist] [PATCH 0/8] libwebsockets: Pin down options and bump version Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 1/8] libwebsockets: Reorder conf opts Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 2/8] libwebsockets: Add conf opt to disable -Werror Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 3/8] libwebsockets: Make shared library build explicit Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 4/8] libwebsockets: Remove tests and examples from build Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 5/8] libwebsockets: Pin down more conf opts Alexander Dahl via ptxdist
2025-10-21 13:11 ` Alexander Dahl via ptxdist [this message]
2025-10-21 13:11 ` [ptxdist] [PATCH 7/8] libwebsockets: Make roles configurable Alexander Dahl via ptxdist
2025-10-21 13:11 ` [ptxdist] [PATCH 8/8] libwebsockets: Pin down higher level config options Alexander Dahl via ptxdist
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=20251021131118.919834-7-ada@thorsis.com \
--to=ptxdist@pengutronix.de \
--cc=abbotti@mev.co.uk \
--cc=ada@thorsis.com \
/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