Libwebsockets is a lightweight pure C library built to use minimal CPU and
memory resources, and provide fast throughput in both directions as client
or server.
===> The following configuration options are available for libwebsockets-5.0.0_1:
HTTP2=on: HTTP/2 protocol support
HTTP3=off: HTTP/3 or QUIC support
HTTP_PROXY=off: HTTP proxy support
MQTT=on: MQTT client support
PEERLIMITS=off: Tracking and limiting of resources of peer(s)
PLUGINS=off: Plugins support
SECURE_STREAMS=off: Secure streams protocol API support
SOCKS=off: Allow use of SOCKS5 proxy on client connections
SQLITE=off: SQLite database support
WEBSERVER=off: Build and/or install internal web server
====> Event loop support
GLIB=off: Events support via Glib
LIBEV=off: High-performance events support via libev
LIBEVENT=off: Asynchronous event notification via libevent
LIBUV=on: Asynchronous I/O support via libuv
====> SSL protocol support: you have to select exactly one of them
GNUTLS=off: SSL/TLS support via GnuTLS
MBEDTLS=off: SSL/TLS support via mbed TLS
OPENSSL=on: SSL/TLS support via OpenSSL
===> Use 'make config' to modify these settings
net/libwebsockets: Package all enabled event loop plugins
pkg-plist listed only lib/libwebsockets-evlib_uv.so, so with any event
loop option other than LIBUV enabled the corresponding plugin was staged
but silently dropped from the package. The installed CMake export still
referenced it, breaking every consumer that calls find_package():
CMake Error at LibwebsocketsTargets.cmake:106 (message):
The imported target "websockets-evlib_ev" references the file
"/usr/local/lib/libwebsockets-evlib_ev.so"
but this file does not exist.
Gate the plugin entries on their options instead. OPTIONS_SUB was
already set.
Reviewed by: bofh
Differential Revision: https://reviews.freebsd.org/D59117
security/mbedtls: Move to security/mbedtls2
The port has expired but isn't removed yet because there are still too
many consumers. Rename it because the name "security/mbedtls" makes it
look like it's the default version.
PR: 283792
net/libwebsockets: Fix build with LibreSSL
The build system uses both cmake and pkg-config to find OpenSSL and just
combines the results. Our base OpenSSL didn't provide a pkg-config file
until recently, but the LibreSSL port does. From the cmake detection, we
get absolute library paths, from pkg-config just library names (-lssl).
The latter are found in base during linking. The result is linking both
OpenSSL and LibreSSL.
Therefore add a patch that just skips pkg-config for OpenSSL and remove
the broken workaround from the port Makefile.
PR: 271495
Approved by: tcberner (mentor, implicit)
net/libwebsockets: Unbreak fetch
Unfortunately there seems to be technical issues with upstream's main
site so use GitHub mirror for now
Approved by: portmgr (build fix)
net/libwebsockets: Update to 4.3.2
Adjust configuration options to closer match other distributions and
also upstream's recommendations. Mosquitto also requires
LWS_WITH_EXTERNAL_POLL to be enabled when linked with this library.
Enable following options:
LWS_WITH_DISKCACHE, LWS_WITH_FTS, LWS_WITH_RANGES, LWS_WITH_THREADPOOL
and (LWS_WITH_EXTERNAL_POLL via MQTT option). Use SHA1 via OpenSSL
(LWS_WITHOUT_BUILTIN_SHA1)
While at also adjust .cmake and .pc files to properly report version
Changelog: https://github.com/warmcat/libwebsockets/blob/v4.3.0/changeloghttps://github.com/warmcat/libwebsockets/compare/v4.3.0...v4.3.2
PR: 262552
Reported by: Leo Schneider <ttkdroid@gmail.com>
Tested by: Rod Morgan <rmorgan@portmorgan.com>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Straup Cope <ascope@cpan.org>
* Aaron Zauner <az_mail@gmx.at>
* Adam Jette <jettea46@yahoo.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Alex Bakhtin <Alex.Bakhtin@gmail.com>
* Alex Deiter <Alex.Deiter@Gmail.COM>
* Alex Dupre <ale@FreeBSD.org>
* Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above )
net/libwebsockets: Fix LWS_BUILD_HASH
Pass LWS_BUILD_HASH to cmake instead of patching
CMakeLists.txt
This fixes ca989f6339de59653820f35a23f6107ee65d2e20
net/libwebsockets: Enable the LIBUV option by default
The reason is that another port expects this.
Also reordered the first section to please portlint.
PR: 245575
Approved by: iblis@hs.ntnu.edu.tw (maintainer)
- Add PORTSCOUT to filter out tags which as not new versions (such as
"support-chrome-20-firefox-12")
PR: 211267
Submitted by: iblis@hs.ntnu.edu.tw (maintainer)