Created attachment 220546 [details] Patch for libwebsockets Update libwebsockets to 4.1.6 Use tar.xz archive from upstream website, reduces download size considerably IPv6, SSL (defaults to OpenSSL) and zlib support is now enabled by default Add support for mbed TLS and multiple event loop libraries/backends Make use of ports framework (CMAKE_BOOL) Rearrange Makefile for readability and add multiple options Compile tested on FreeBSD 13.0-CURRENT r367711 (amd64) (make, make check-plist) (with multiple combinations of options) Poudriere testport OK 12.2-RELEASE (amd64) Poudriere testport OK 11.4-RELEASE (amd64)
Created attachment 220547 [details] Patch for libwebsockets (w/ tests) Same as above but with "make test" target somewhat working, about 50% of the tests works and from what I can tell it's some kind of parsing issue in the test code but I'm unable to figure it out on my own. It would be nice to get this working for QA but it's not a showstopper.
Upstream doesn't provide release notes for minor releases...
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/229443434
Friendly ping
Moin moin This looks, like it will require a bump in the dependent ports: according to freshports.org: * audio/ardour6 * audio/forked-daapd * net/guacamole-server * sysutils/ttyd mfg Tobias
(In reply to Tobias C. Berner from comment #5) audio/forked-daapd sysutils/ttyd Builds fine in Poudriere, audio/ardour6 and net/guacamole-server pulls in rust which isn't possible to build on my buildbox because it runs out of memory.
Maintainer Timeout
Moin moin I'm building the dependent ports at the moment. As a side note: do all these options actually serve a purpose, or are they just there, because "they can be"; if so, I would think twice before adding them. mfg Tobias
Comment on attachment 220546 [details] Patch for libwebsockets Approved by: portmgr (maintainer timeout) Pending QA
Comment on attachment 220547 [details] Patch for libwebsockets (w/ tests) Approved by: portmgr (maintainer timeout) Pending QA
Hi, I looked at other repos and they seem to have most settings available so I think it makes sense (minus one or two). Thanks, Daniel
(In reply to daniel.engberg.lists from comment #11) The dependencies all seem to build fine.
A commit references this bug: Author: tcberner Date: Thu Feb 4 20:24:11 UTC 2021 New revision: 564064 URL: https://svnweb.freebsd.org/changeset/ports/564064 Log: 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) Changes: head/audio/ardour6/Makefile head/audio/forked-daapd/Makefile head/games/DDNet/Makefile head/net/guacamole-server/Makefile head/net/libwebsockets/Makefile head/net/libwebsockets/distinfo head/net/libwebsockets/files/ head/net/libwebsockets/pkg-plist head/net/mosquitto/Makefile head/sysutils/ttyd/Makefile
Committed, thanks.