net/libwebsockets: Update to 4.2.2

Changelog: https://github.com/warmcat/libwebsockets/compare/v4.2.1...v4.2.2
Add support for LibreSSL - Submitted by Rob Kruus
Reset maintainer due to multiple timeouts

PR:		258345
Approved by:	mentors (implicit), maintainer timeout (3 months)
This commit is contained in:
Daniel Engberg 2021-12-08 11:29:19 +01:00
parent 77687e956b
commit ab8391bc3c
2 changed files with 12 additions and 5 deletions

View file

@ -2,11 +2,11 @@
PORTNAME= libwebsockets
DISTVERSIONPREFIX= v
DISTVERSION= 4.2.1
DISTVERSION= 4.2.2
CATEGORIES= net devel
MASTER_SITES= https://libwebsockets.org/git/libwebsockets/snapshot/
MAINTAINER= iblis@hs.ntnu.edu.tw
MAINTAINER= ports@FreeBSD.org
COMMENT= C library for lightweight websocket clients and servers
LICENSE= MIT
@ -79,4 +79,11 @@ LIBUV_CMAKE_BOOL= LWS_WITH_LIBUV
BUILDINFO= ${HOSTARCH}-portbld-${OPSYS:tl}-${OSREL:R}
.include <bsd.port.options.mk>
# Allow usage of LibreSSL via OPENSSL option
.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT} == libressl
CMAKE_ARGS+= -DLWS_OPENSSL_LIBRARIES='${OPENSSLLIB}/libtls.so;${OPENSSLLIB}/libssl.so;${OPENSSLLIB}/libcrypto.so' -DLWS_OPENSSL_INCLUDE_DIRS=${OPENSSLINC}/ssl
.endif
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1627246669
SHA256 (libwebsockets-v4.2.1.tar.xz) = 42d67017f91d408cf4c6c2bd761e9ef257973157a9c4ad295e0c05ebfc747246
SIZE (libwebsockets-v4.2.1.tar.xz) = 12769280
TIMESTAMP = 1633420177
SHA256 (libwebsockets-v4.2.2.tar.xz) = 0d8cf2abeea4a6ad24935c60a26120ed864fb263dd95b6abf7d19356b7095410
SIZE (libwebsockets-v4.2.2.tar.xz) = 12769280