From owner-dev-commits-ports-all@freebsd.org Sun Jun 6 13:24:45 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1038865E63D; Sun, 6 Jun 2021 13:24:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fycg073Wnz4mck; Sun, 6 Jun 2021 13:24:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D02AB241BA; Sun, 6 Jun 2021 13:24:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 156DOi1f065952; Sun, 6 Jun 2021 13:24:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 156DOipX065951; Sun, 6 Jun 2021 13:24:44 GMT (envelope-from git) Date: Sun, 6 Jun 2021 13:24:44 GMT Message-Id: <202106061324.156DOipX065951@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Juraj Lutter Subject: git: f22ce4a6908f - 2021Q2 - net/libwebsockets: Update to 4.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q2 X-Git-Reftype: branch X-Git-Commit: f22ce4a6908fce11b5ecd66e6344bc0c8bf3c604 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2021 13:24:45 -0000 The branch 2021Q2 has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=f22ce4a6908fce11b5ecd66e6344bc0c8bf3c604 commit f22ce4a6908fce11b5ecd66e6344bc0c8bf3c604 Author: Daniel Engberg AuthorDate: 2021-06-06 13:22:22 +0000 Commit: Juraj Lutter CommitDate: 2021-06-06 13:24:14 +0000 net/libwebsockets: Update to 4.2.0 - Update libwebsockets to 4.2.0 - Enable mqtt support by default - "Hack" around hard git requirement PR: 256019 (cherry picked from commit ca989f6339de59653820f35a23f6107ee65d2e20) --- net/libwebsockets/Makefile | 13 ++++++++++--- net/libwebsockets/distinfo | 6 +++--- net/libwebsockets/pkg-plist | 8 +++++--- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/net/libwebsockets/Makefile b/net/libwebsockets/Makefile index 3ca23e689d61..a1236c01821b 100644 --- a/net/libwebsockets/Makefile +++ b/net/libwebsockets/Makefile @@ -2,7 +2,7 @@ PORTNAME= libwebsockets DISTVERSIONPREFIX= v -DISTVERSION= 4.1.6 +DISTVERSION= 4.2.0 CATEGORIES= net devel MASTER_SITES= https://libwebsockets.org/git/libwebsockets/snapshot/ @@ -15,14 +15,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake localbase pkgconfig tar:xz USE_LDCONFIG= yes -CMAKE_ON= LWS_IPV6 LWS_WITH_SSL LWS_WITH_ZLIB \ +CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Git \ + 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 OPTIONS_DEFINE= HTTP_PROXY HTTP2 MQTT PEERLIMITS PLUGINS \ SECURE_STREAMS SOCKS SQLITE WEBSERVER -OPTIONS_DEFAULT= HTTP2 OPENSSL LIBUV +OPTIONS_DEFAULT= HTTP2 MQTT OPENSSL LIBUV OPTIONS_SUB= yes OPTIONS_SINGLE= SSL @@ -75,4 +76,10 @@ LIBEVENT_CMAKE_BOOL= LWS_WITH_LIBEVENT LIBUV_LIB_DEPENDS= libuv.so:devel/libuv LIBUV_CMAKE_BOOL= LWS_WITH_LIBUV +BUILDINFO= ${HOSTARCH}-portbld-${OPSYS:tl}-${OSREL:R} + +post-patch: + @${REINPLACE_CMD} -e 's|%%BUILDINFO%%|${BUILDINFO}|g' \ + ${PATCH_WRKSRC}/CMakeLists.txt + .include diff --git a/net/libwebsockets/distinfo b/net/libwebsockets/distinfo index 5b26cf42e526..a8c1000b0aa6 100644 --- a/net/libwebsockets/distinfo +++ b/net/libwebsockets/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1607873825 -SHA256 (libwebsockets-v4.1.6.tar.xz) = d24b644bb1686c6dd6e3499b9407bb7e22f08f43da22ae7be435c74433a2641f -SIZE (libwebsockets-v4.1.6.tar.xz) = 8570880 +TIMESTAMP = 1621466017 +SHA256 (libwebsockets-v4.2.0.tar.xz) = 4d1e42c2be5951b49cda195008f9c39b7dd29a8956ea00bbe52fcf7efb6a623a +SIZE (libwebsockets-v4.2.0.tar.xz) = 12769280 diff --git a/net/libwebsockets/pkg-plist b/net/libwebsockets/pkg-plist index 1a05235c2685..dfc61553e02a 100644 --- a/net/libwebsockets/pkg-plist +++ b/net/libwebsockets/pkg-plist @@ -14,14 +14,15 @@ include/libwebsockets/lws-button.h include/libwebsockets/lws-callbacks.h include/libwebsockets/lws-cgi.h include/libwebsockets/lws-client.h +include/libwebsockets/lws-conmon.h 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-eventlib-exports.h +include/libwebsockets/lws-fault-injection.h include/libwebsockets/lws-freertos.h include/libwebsockets/lws-fts.h include/libwebsockets/lws-genaes.h @@ -41,6 +42,7 @@ include/libwebsockets/lws-led.h include/libwebsockets/lws-lejp.h include/libwebsockets/lws-logs.h include/libwebsockets/lws-lwsac.h +include/libwebsockets/lws-metrics.h include/libwebsockets/lws-misc.h include/libwebsockets/lws-mqtt.h include/libwebsockets/lws-netdev.h @@ -63,12 +65,12 @@ 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 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-vfs.h include/libwebsockets/lws-write.h @@ -89,7 +91,7 @@ lib/cmake/libwebsockets/libwebsockets-config.cmake %%LIBUV%%lib/libwebsockets-evlib_uv.so lib/libwebsockets.a lib/libwebsockets.so -lib/libwebsockets.so.17 +lib/libwebsockets.so.18 libdata/pkgconfig/libwebsockets.pc libdata/pkgconfig/libwebsockets_static.pc %%PLUGINS%%%%DATADIR%%-test-server/deaddrop/deaddrop.css