net/libwebsockets: Update to 4.1.6

Changelog:
	https://libwebsockets.org/git/libwebsockets/tree/changelog?h=v4.1-stable

PR:		251835
Submitted by:	daniel.engberg.lists@pyret.net
Approved by:	iblis.dif01@nctu.edu.tw (timeout)
This commit is contained in:
Tobias C. Berner 2021-02-04 20:24:09 +00:00
parent df7a0888d7
commit 9ec1ad5e14
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=564064
10 changed files with 99 additions and 99 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= ardour6
PORTVERSION= 6.5.0
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://github.com/beerml/ardour_releases/raw/master/
# The original master side points to the latest release only:

View file

@ -3,7 +3,7 @@
PORTNAME= forked-daapd
DISTVERSION= 27.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= https://github.com/ejurgensen/forked-daapd/releases/download/${DISTVERSION}/

View file

@ -3,6 +3,7 @@
PORTNAME= DDNet
PORTVERSION= 15.2.5
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= https://ddnet.tw/downloads/

View file

@ -3,6 +3,7 @@
PORTNAME= guacamole-server
DISTVERSION= 1.3.0
PORTREVISION= 1
CATEGORIES= net
MAINTAINER= ultima@FreeBSD.org

View file

@ -3,8 +3,9 @@
PORTNAME= libwebsockets
DISTVERSIONPREFIX= v
DISTVERSION= 4.0.21
DISTVERSION= 4.1.6
CATEGORIES= net devel
MASTER_SITES= https://libwebsockets.org/git/libwebsockets/snapshot/
MAINTAINER= iblis@hs.ntnu.edu.tw
COMMENT= C library for lightweight websocket clients and servers
@ -12,63 +13,67 @@ COMMENT= C library for lightweight websocket clients and servers
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake pkgconfig ssl
USES= cmake localbase pkgconfig tar:xz
USE_LDCONFIG= yes
PORTSCOUT= limit:^v\d+\.*
CMAKE_ON= LWS_IPV6 LWS_WITH_SSL LWS_WITH_ZLIB \
LWS_WITHOUT_TESTAPPS LWS_WITHOUT_TEST_SERVER \
LWS_WITHOUT_TEST_SERVER_EXTPOLL \
LWS_WITHOUT_TEST_PING LWS_WITHOUT_TEST_CLIENT
USE_GITHUB= yes
GH_ACCOUNT= warmcat
OPTIONS_DEFINE= HTTP_PROXY HTTP2 MQTT PEERLIMITS PLUGINS \
SECURE_STREAMS SOCKS SQLITE WEBSERVER
OPTIONS_DEFAULT= HTTP2 OPENSSL LIBUV
OPTIONS_SUB= yes
CMAKE_ARGS= -DLWS_WITHOUT_TESTAPPS=ON \
-DLWS_WITHOUT_TEST_SERVER=ON \
-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
-DLWS_WITHOUT_TEST_PING=ON \
-DLWS_WITHOUT_TEST_CLIENT=ON
OPTIONS_SINGLE= SSL
OPTIONS_SINGLE_SSL= MBEDTLS OPENSSL
OPTIONS_GROUP= EVLOOP
OPTIONS_GROUP_EVLOOP= GLIB LIBEV LIBEVENT LIBUV
OPTIONS_DEFINE= HTTP2 HTTP_PROXY IPV6 LIBEV LIBUV UNIX_SOCK WEBSERVER PLUGINS \
SOCKS5 MQTT SECURE_STREAMS
OPTIONS_DEFAULT=HTTP2 LIBUV
OPTIONS_SUB= yes
HTTP2_DESC= Compile with server support for HTTP/2
HTTP_PROXY_DESC= HTTP proxy support
LIBUV_DESC= Asynchronous I/O support via libuv
UNIX_SOCK_DESC= Unix domain socket support
SOCKS5_DESC= Allow use of SOCKS5 proxy on client connections
MQTT_DESC= MQTT client support
SECURE_STREAMS_DESC= Secure Streams API support
PEERLIMITS_DESC= Tracking and limiting of resources of peer(s)
PLUGINS_DESC= Plugins support
SECURE_STREAMS_DESC= Secure streams protocol API support
SOCKS_DESC= Allow use of SOCKS5 proxy on client connections
EVLOOP_DESC= Event loop support
GLIB_DESC= Events support via Glib
LIBEVENT_DESC= Asynchronous event notification via libevent
LIBUV_DESC= Asynchronous I/O support via libuv
HTTP2_CMAKE_ON= -DLWS_WITH_HTTP2=ON
HTTP_PROXY_CMAKE_BOOL= LWS_WITH_HTTP_PROXY
HTTP2_CMAKE_BOOL= LWS_WITH_HTTP2
MQTT_CMAKE_BOOL= LWS_ROLE_MQTT
PEERLIMITS_CMAKE_BOOL= LWS_WITH_PEER_LIMITS
PLUGINS_CMAKE_BOOL= LWS_WITH_PLUGINS \
LWS_WITH_PLUGINS_API
SECURE_STREAMS_CMAKE_BOOL= LWS_WITH_SECURE_STREAMS \
LWS_WITH_SECURE_STREAMS_PROXY_API
SOCKS_CMAKE_BOOL= LWS_WITH_SOCKS5
SQLITE_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
SQLITE_CMAKE_BOOL= LWS_WITH_SQLITE3
WEBSERVER_CMAKE_BOOL= LWS_WITH_LWSWS
WEBSERVER_IMPLIES= PEERLIMITS PLUGINS LIBUV
HTTP_PROXY_CMAKE_ON= -DLWS_WITH_HTTP_PROXY=ON \
-DLIBHUBBUB_LIBRARIES=${LOCALBASE}/lib/libhubbub.so
HTTP_PROXY_LIB_DEPENDS= libhubbub.so:www/libhubbub
MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls
MBEDTLS_CMAKE_BOOL= LWS_WITH_MBEDTLS
OPENSSL_USES= ssl
OPENSSL_CMAKE_BOOL= LWS_WITHOUT_BUILTIN_SHA1
# WolfSSL need to be compiled with --enable-libwebsockets to be compatible
# WOLFSSL_LIB_DEPENDS= libwolfssl.so:security/wolfssl
# WOLFSSL_CMAKE_BOOL= LWS_WITH_SSL LWS_WITH_WOLFSSL
# WOLFSSL_CMAKE_ON= -DLWS_WOLFSSL_INCLUDE_DIRS=${LOCALBASE}/include \
# -DLWS_WOLFSSL_LIBRARIES=${LOCALBASE}/lib/libwolfssl.so
IPV6_CMAKE_ON= -DLWS_IPV6=ON
LIBEV_CMAKE_ON= -DLWS_WITH_LIBEV=ON
GLIB_USES= gnome
GLIB_USE= GNOME=glib20
GLIB_CMAKE_BOOL= LWS_WITH_GLIB
LIBEV_LIB_DEPENDS= libev.so:devel/libev
LIBUV_CMAKE_ON= -DLWS_WITH_LIBUV=ON
LIBEV_CMAKE_BOOL= LWS_WITH_LIBEV
LIBEVENT_LIB_DEPENDS= libevent.so:devel/libevent
LIBEVENT_CMAKE_BOOL= LWS_WITH_LIBEVENT
LIBUV_LIB_DEPENDS= libuv.so:devel/libuv
UNIX_SOCK_CMAKE_ON= -DLWS_UNIX_SOCK=ON
WEBSERVER_CMAKE_ON= -DLWS_WITH_LWSWS=ON
WEBSERVER_IMPLIES= LIBUV
PLUGINS_CMAKE_ON= -DLWS_WITH_PLUGINS=ON \
-DLWS_WITH_SERVER_STATUS=ON \
-DLWS_WITH_GENERIC_SESSIONS=ON
PLUGINS_LIB_DEPENDS= libsqlite3.so:databases/sqlite3
SOCKS5_CMAKE_ON= -DLWS_WITH_SOCKS5=ON
MQTT_CMAKE_ON= -DLWS_ROLE_MQTT=ON
SECURE_STREAMS_CMAKE_ON=-DLWS_WITH_SECURE_STREAMS=ON \
-DLWS_WITH_SECURE_STREAMS_PROXY_API=ON \
-DLWS_WITH_SECURE_STREAMS_SYS_AUTH_API_AMAZON_COM=ON
LIBUV_CMAKE_BOOL= LWS_WITH_LIBUV
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1603959557
SHA256 (warmcat-libwebsockets-v4.0.21_GH0.tar.gz) = 6ece1f422c6d38aabedec2476f2ac12e9aede8691b08137068ad85545ce3ff78
SIZE (warmcat-libwebsockets-v4.0.21_GH0.tar.gz) = 12342078
TIMESTAMP = 1607873825
SHA256 (libwebsockets-v4.1.6.tar.xz) = d24b644bb1686c6dd6e3499b9407bb7e22f08f43da22ae7be435c74433a2641f
SIZE (libwebsockets-v4.1.6.tar.xz) = 8570880

View file

@ -1,20 +0,0 @@
--- CMakeLists.txt.orig 2018-03-08 10:28:37 UTC
+++ CMakeLists.txt
@@ -1739,7 +1739,7 @@ Cflags: -I\${includedir}"
)
install(FILES "${PROJECT_BINARY_DIR}/libwebsockets.pc"
- DESTINATION lib${LIB_SUFFIX}/pkgconfig)
+ DESTINATION libdata/pkgconfig)
file(WRITE "${PROJECT_BINARY_DIR}/libwebsockets_static.pc"
"prefix=\"${CMAKE_INSTALL_PREFIX}\"
@@ -1757,7 +1757,7 @@ Cflags: -I\${includedir}"
)
install(FILES "${PROJECT_BINARY_DIR}/libwebsockets_static.pc"
- DESTINATION lib${LIB_SUFFIX}/pkgconfig)
+ DESTINATION libdata/pkgconfig)
endif(UNIX)

View file

@ -8,6 +8,9 @@ include/libwebsockets/abstract/transports/raw-skt.h
include/libwebsockets/abstract/transports/unit-test.h
include/libwebsockets/lws-adopt.h
include/libwebsockets/lws-async-dns.h
include/libwebsockets/lws-bb-i2c.h
include/libwebsockets/lws-bb-spi.h
include/libwebsockets/lws-button.h
include/libwebsockets/lws-callbacks.h
include/libwebsockets/lws-cgi.h
include/libwebsockets/lws-client.h
@ -15,9 +18,10 @@ include/libwebsockets/lws-context-vhost.h
include/libwebsockets/lws-dbus.h
include/libwebsockets/lws-detailed-latency.h
include/libwebsockets/lws-diskcache.h
include/libwebsockets/lws-display.h
include/libwebsockets/lws-dll2.h
include/libwebsockets/lws-dsh.h
include/libwebsockets/lws-esp32.h
include/libwebsockets/lws-eventlib-exports.h
include/libwebsockets/lws-freertos.h
include/libwebsockets/lws-fts.h
include/libwebsockets/lws-genaes.h
@ -25,21 +29,26 @@ include/libwebsockets/lws-gencrypto.h
include/libwebsockets/lws-genec.h
include/libwebsockets/lws-genhash.h
include/libwebsockets/lws-genrsa.h
include/libwebsockets/lws-gpio.h
include/libwebsockets/lws-http.h
include/libwebsockets/lws-i2c.h
include/libwebsockets/lws-ili9341-spi.h
include/libwebsockets/lws-jose.h
include/libwebsockets/lws-jwe.h
include/libwebsockets/lws-jwk.h
include/libwebsockets/lws-jws.h
include/libwebsockets/lws-led.h
include/libwebsockets/lws-lejp.h
include/libwebsockets/lws-logs.h
include/libwebsockets/lws-lwsac.h
include/libwebsockets/lws-misc.h
include/libwebsockets/lws-mqtt.h
include/libwebsockets/lws-netdev.h
include/libwebsockets/lws-network-helper.h
include/libwebsockets/lws-optee.h
include/libwebsockets/lws-plugin-generic-sessions.h
include/libwebsockets/lws-protocols-plugins.h
include/libwebsockets/lws-purify.h
include/libwebsockets/lws-pwm.h
include/libwebsockets/lws-retry.h
include/libwebsockets/lws-ring.h
include/libwebsockets/lws-secure-streams-client.h
@ -47,8 +56,12 @@ include/libwebsockets/lws-secure-streams-policy.h
include/libwebsockets/lws-secure-streams.h
include/libwebsockets/lws-sequencer.h
include/libwebsockets/lws-service.h
include/libwebsockets/lws-settings.h
include/libwebsockets/lws-sha1-base64.h
include/libwebsockets/lws-smd.h
include/libwebsockets/lws-spa.h
include/libwebsockets/lws-spi.h
include/libwebsockets/lws-ssd1306-i2c.h
include/libwebsockets/lws-state.h
include/libwebsockets/lws-stats.h
include/libwebsockets/lws-struct.h
@ -64,40 +77,37 @@ include/libwebsockets/lws-ws-close.h
include/libwebsockets/lws-ws-ext.h
include/libwebsockets/lws-ws-state.h
include/libwebsockets/lws-x509.h
include/lws-plugin-ssh.h
include/lws_config.h
lib/cmake/libwebsockets/LibwebsocketsConfig.cmake
lib/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake
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.a
lib/libwebsockets.so
lib/libwebsockets.so.16
lib/libwebsockets.so.17
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/generic-sessions/failed-login.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/index.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/lwsgs-logo.png
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/lwsgs.css
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/lwsgs.js
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/needadmin/admin-login.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/needauth/successful-login.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/post-forgot-fail.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/post-forgot-ok.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/post-register-fail.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/post-register-ok.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/post-verify-fail.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/post-verify-ok.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/seats.jpg
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/sent-forgot-fail.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-sessions/sent-forgot-ok.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-table/index.html
%%PLUGINS%%%%DATADIR%%-test-server/generic-table/lwsgt.js
%%PLUGINS%%%%DATADIR%%-test-server/server-status/lwsws-logo.png
%%PLUGINS%%%%DATADIR%%-test-server/server-status/server-status.css
%%PLUGINS%%%%DATADIR%%-test-server/server-status/server-status.html
%%PLUGINS%%%%DATADIR%%-test-server/server-status/server-status.js
%%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_lws_mirror.so
%%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_raw_proxy.so
%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_raw_test.so
%%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/plugins/libprotocol_lws_server_status.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
%%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/server-status/lwsws-logo.png
%%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/server-status/server-status.css
%%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/server-status/server-status.html
%%WEBSERVER%%%%PLUGINS%%%%DATADIR%%-test-server/server-status/server-status.js

View file

@ -3,6 +3,7 @@
PORTNAME= mosquitto
PORTVERSION= 1.6.7
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://mosquitto.org/files/source/

View file

@ -2,6 +2,7 @@
PORTNAME= ttyd
DISTVERSION= 1.6.3
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= nc@FreeBSD.org