git: 6ced57b2db17 - main - net/libwebsockets: Update version 4.5.8=>5.0.0

Muhammad Moinur Rahman <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ced57b2db1712d20271840bff0be01ec6421e08

commit 6ced57b2db1712d20271840bff0be01ec6421e08
Author:     Muhammad Moinur Rahman <[email protected]>
AuthorDate: 2026-07-31 19:03:50 +0000
Commit:     Muhammad Moinur Rahman <[email protected]>
CommitDate: 2026-07-31 20:19:16 +0000

    net/libwebsockets: Update version 4.5.8=>5.0.0
    
    Changelog: https://github.com/warmcat/libwebsockets/releases/tag/v5.0.0
---
 net/libwebsockets/Makefile  | 12 +++++++---
 net/libwebsockets/distinfo  |  6 ++---
 net/libwebsockets/pkg-plist | 55 ++++++++++++++++++++++++++-------------------
 3 files changed, 44 insertions(+), 29 deletions(-)

diff --git a/net/libwebsockets/Makefile b/net/libwebsockets/Makefile
index 36976ede88ce..5cfa38c33f91 100644
--- a/net/libwebsockets/Makefile
+++ b/net/libwebsockets/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libwebsockets
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.5.8
+DISTVERSION=	5.0.0
 CATEGORIES=	net devel
 
 MAINTAINER=	[email protected]
@@ -26,18 +26,20 @@ CMAKE_ON=	CMAKE_DISABLE_FIND_PACKAGE_Git \
 		LWS_WITHOUT_TESTAPPS LWS_WITHOUT_TEST_SERVER \
 		LWS_WITHOUT_TEST_SERVER_EXTPOLL \
 		LWS_WITHOUT_TEST_PING LWS_WITHOUT_TEST_CLIENT
+CMAKE_OFF=	LWS_WITH_SCHANNEL
 
-OPTIONS_DEFINE=		HTTP_PROXY HTTP2 MQTT PEERLIMITS PLUGINS \
+OPTIONS_DEFINE=		HTTP_PROXY HTTP2 HTTP3 MQTT PEERLIMITS PLUGINS \
 			SECURE_STREAMS SOCKS SQLITE WEBSERVER
 OPTIONS_DEFAULT=	HTTP2 MQTT OPENSSL LIBUV
 OPTIONS_SUB=		yes
 
 OPTIONS_SINGLE=		SSL
-OPTIONS_SINGLE_SSL=	MBEDTLS OPENSSL
+OPTIONS_SINGLE_SSL=	GNUTLS MBEDTLS OPENSSL
 OPTIONS_GROUP=		EVLOOP
 OPTIONS_GROUP_EVLOOP=	GLIB LIBEV LIBEVENT LIBUV
 
 HTTP_PROXY_DESC=	HTTP proxy support
+HTTP3_DESC=	HTTP/3 or QUIC support
 MQTT_DESC=		MQTT client support
 PEERLIMITS_DESC=	Tracking and limiting of resources of peer(s)
 PLUGINS_DESC=		Plugins support
@@ -50,6 +52,8 @@ LIBUV_DESC=		Asynchronous I/O support via libuv
 
 HTTP_PROXY_CMAKE_BOOL=	LWS_WITH_HTTP_PROXY
 HTTP2_CMAKE_BOOL=	LWS_WITH_HTTP2
+HTTP3_CMAKE_BOOL=	LWS_WITH_HTTP3
+HTTP3_IMPLIES=		GNUTLS
 MQTT_CMAKE_BOOL=	LWS_ROLE_MQTT LWS_WITH_EXTERNAL_POLL
 PEERLIMITS_CMAKE_BOOL=	LWS_WITH_PEER_LIMITS
 PLUGINS_CMAKE_BOOL=	LWS_WITH_PLUGINS \
@@ -63,6 +67,8 @@ SQLITE_CMAKE_BOOL=	LWS_WITH_SQLITE3
 WEBSERVER_CMAKE_BOOL=	LWS_WITH_LWSWS
 WEBSERVER_IMPLIES=	PEERLIMITS PLUGINS LIBUV
 
+GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls
+GNUTLS_CMAKE_BOOL=	LWS_WITH_GNUTLS
 MBEDTLS_LIB_DEPENDS=	libmbedtls.so:security/mbedtls3
 MBEDTLS_CMAKE_BOOL=	LWS_WITH_MBEDTLS
 OPENSSL_USES=		ssl
diff --git a/net/libwebsockets/distinfo b/net/libwebsockets/distinfo
index 5f8c49cf0317..935c6226c6ae 100644
--- a/net/libwebsockets/distinfo
+++ b/net/libwebsockets/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1779053131
-SHA256 (warmcat-libwebsockets-v4.5.8_GH0.tar.gz) = b6ade658f4af3a823d0dc806ae5ef0623f0f4f5e2aeb895a0f77c4783840c30e
-SIZE (warmcat-libwebsockets-v4.5.8_GH0.tar.gz) = 20167661
+TIMESTAMP = 1785448179
+SHA256 (warmcat-libwebsockets-v5.0.0_GH0.tar.gz) = f853c6582101cfcee3a5a9e28ae92ab19d9735c5f31f0bb2e9794b5106123962
+SIZE (warmcat-libwebsockets-v5.0.0_GH0.tar.gz) = 35648753
diff --git a/net/libwebsockets/pkg-plist b/net/libwebsockets/pkg-plist
index 0e397b8149c8..a22fced0ecb2 100644
--- a/net/libwebsockets/pkg-plist
+++ b/net/libwebsockets/pkg-plist
@@ -1,7 +1,12 @@
-%%WEBSERVER%%bin/lwsws
 include/libwebsockets.h
+include/libwebsockets/lws-adapt.h
 include/libwebsockets/lws-adopt.h
+include/libwebsockets/lws-alsa.h
 include/libwebsockets/lws-async-dns.h
+include/libwebsockets/lws-async-ipc.h
+include/libwebsockets/lws-audio-features.h
+include/libwebsockets/lws-auth-device-client.h
+include/libwebsockets/lws-auth-dns.h
 include/libwebsockets/lws-backtrace.h
 include/libwebsockets/lws-bb-i2c.h
 include/libwebsockets/lws-bb-spi.h
@@ -14,6 +19,9 @@ include/libwebsockets/lws-conmon.h
 include/libwebsockets/lws-context-vhost.h
 include/libwebsockets/lws-cose.h
 include/libwebsockets/lws-dbus.h
+include/libwebsockets/lws-dht-dnssec.h
+include/libwebsockets/lws-dht.h
+include/libwebsockets/lws-dir-notify.h
 include/libwebsockets/lws-diskcache.h
 include/libwebsockets/lws-display.h
 include/libwebsockets/lws-dll2.h
@@ -24,8 +32,11 @@ include/libwebsockets/lws-eventlib-exports.h
 include/libwebsockets/lws-fault-injection.h
 include/libwebsockets/lws-freertos.h
 include/libwebsockets/lws-fts.h
+include/libwebsockets/lws-gc9a01a-spi.h
 include/libwebsockets/lws-genaes.h
+include/libwebsockets/lws-genchacha.h
 include/libwebsockets/lws-gencrypto.h
+include/libwebsockets/lws-gendtls.h
 include/libwebsockets/lws-genec.h
 include/libwebsockets/lws-genhash.h
 include/libwebsockets/lws-genrsa.h
@@ -34,12 +45,15 @@ include/libwebsockets/lws-html.h
 include/libwebsockets/lws-http.h
 include/libwebsockets/lws-i2c.h
 include/libwebsockets/lws-ili9341-spi.h
+include/libwebsockets/lws-interceptor.h
 include/libwebsockets/lws-jose.h
 include/libwebsockets/lws-jpeg.h
 include/libwebsockets/lws-jrpc.h
 include/libwebsockets/lws-jwe.h
 include/libwebsockets/lws-jwk.h
 include/libwebsockets/lws-jws.h
+include/libwebsockets/lws-jwt-auth.h
+include/libwebsockets/lws-latency.h
 include/libwebsockets/lws-lecp.h
 include/libwebsockets/lws-led.h
 include/libwebsockets/lws-lejp.h
@@ -48,6 +62,7 @@ include/libwebsockets/lws-lwsac.h
 include/libwebsockets/lws-map.h
 include/libwebsockets/lws-metrics.h
 include/libwebsockets/lws-misc.h
+include/libwebsockets/lws-mnemonic.h
 include/libwebsockets/lws-mqtt.h
 include/libwebsockets/lws-netdev.h
 include/libwebsockets/lws-network-helper.h
@@ -56,8 +71,11 @@ include/libwebsockets/lws-ota.h
 include/libwebsockets/lws-protocols-plugins.h
 include/libwebsockets/lws-purify.h
 include/libwebsockets/lws-pwm.h
+include/libwebsockets/lws-qpack.h
+include/libwebsockets/lws-quic.h
 include/libwebsockets/lws-retry.h
 include/libwebsockets/lws-ring.h
+include/libwebsockets/lws-rtp.h
 include/libwebsockets/lws-secure-streams-client.h
 include/libwebsockets/lws-secure-streams-policy.h
 include/libwebsockets/lws-secure-streams-serialization.h
@@ -67,57 +85,48 @@ include/libwebsockets/lws-service.h
 include/libwebsockets/lws-settings.h
 include/libwebsockets/lws-sha1-base64.h
 include/libwebsockets/lws-smd.h
+include/libwebsockets/lws-smtp-client.h
 include/libwebsockets/lws-spa.h
 include/libwebsockets/lws-spd1656-spi.h
 include/libwebsockets/lws-spi.h
+include/libwebsockets/lws-srtp.h
 include/libwebsockets/lws-ssd1306-i2c.h
 include/libwebsockets/lws-ssd1675b-spi.h
 include/libwebsockets/lws-state.h
 include/libwebsockets/lws-struct.h
+include/libwebsockets/lws-stub.h
+include/libwebsockets/lws-stun.h
 include/libwebsockets/lws-system.h
 include/libwebsockets/lws-test-sequencer.h
 include/libwebsockets/lws-threadpool.h
 include/libwebsockets/lws-timeout-timer.h
 include/libwebsockets/lws-tls-sessions.h
 include/libwebsockets/lws-tokenize.h
+include/libwebsockets/lws-transcode.h
+include/libwebsockets/lws-transport-sequencer.h
+include/libwebsockets/lws-txpacer.h
 include/libwebsockets/lws-uc8176-spi.h
 include/libwebsockets/lws-upng.h
+include/libwebsockets/lws-v4l2.h
 include/libwebsockets/lws-vfs.h
+include/libwebsockets/lws-webtransport.h
+include/libwebsockets/lws-whois.h
 include/libwebsockets/lws-write.h
 include/libwebsockets/lws-writeable.h
 include/libwebsockets/lws-ws-close.h
 include/libwebsockets/lws-ws-ext.h
 include/libwebsockets/lws-ws-state.h
 include/libwebsockets/lws-x509.h
+include/libwebsockets/qrcodegen.h
 include/lws_config.h
 lib/cmake/libwebsockets/LibwebsocketsTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/libwebsockets/LibwebsocketsTargets.cmake
 lib/cmake/libwebsockets/LwsCheckRequirements.cmake
 lib/cmake/libwebsockets/libwebsockets-config-version.cmake
 lib/cmake/libwebsockets/libwebsockets-config.cmake
-%%GLIB%%lib/libwebsockets-evlib_glib.so
-%%LIBEV%%lib/libwebsockets-evlib_ev.so
-%%LIBEVENT%%lib/libwebsockets-evlib_event.so
-%%LIBUV%%lib/libwebsockets-evlib_uv.so
+lib/libwebsockets-evlib_uv.so
 lib/libwebsockets.a
 lib/libwebsockets.so
-lib/libwebsockets.so.21
+lib/libwebsockets.so.22
 libdata/pkgconfig/libwebsockets.pc
 libdata/pkgconfig/libwebsockets_static.pc
-%%PLUGINS%%%%DATADIR%%-test-server/deaddrop/deaddrop.css
-%%PLUGINS%%%%DATADIR%%-test-server/deaddrop/deaddrop.js
-%%PLUGINS%%%%DATADIR%%-test-server/deaddrop/drop.svg
-%%PLUGINS%%%%DATADIR%%-test-server/deaddrop/index.html
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_client_loopback_test.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_deaddrop.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_dumb_increment.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_fulltext_demo.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_mirror.so
-%%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_openmetrics_export.so
-%%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_raw_proxy.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_raw_test.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_ssh_base.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_sshd_demo.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_status.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_post_demo.so
-%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_urlarg.so
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.