Created attachment 225410 [details] Patch containing new port of net/gamenetworkingsockets (1.3.0) GameNetworkingSockets is Valve's semi-recently open-sourced networking library. It supports a number of very useful features, including: - Reliable & unreliable messages over UDP. - Robust message fragmentation & reassembly. - P2P networking / NAT traversal. Encryption. I have made a port of the latest upstream version (1.3.0). Patch attached.
One great feature of this library is the nice documentation: https://partner.steamgames.com/doc/api/ISteamNetworkingSockets I possibly should have linked to this rather than the GitHub page in the pkg-descr.
Committed, thanks.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8e1e5df81a6deb4424f0e3f4f33bdc196dfd26ea commit 8e1e5df81a6deb4424f0e3f4f33bdc196dfd26ea Author: Vanilla I. Shu <vanilla@FreeBSD.org> AuthorDate: 2021-06-01 15:03:55 +0000 Commit: Vanilla I. Shu <vanilla@FreeBSD.org> CommitDate: 2021-06-01 15:03:55 +0000 net/gamenetworkingsockets: add new ports. GameNetworkingSockets is Valve's semi-recently open-sourced networking library. It supports a number of very useful features, including: - Reliable & unreliable messages over UDP. - Robust message fragmentation & reassembly. - P2P networking / NAT traversal. Encryption. PR: 256295 Reported by: Karsten Pedersen <kpedersen at disroot.org> net/Makefile | 1 + net/gamenetworkingsockets/Makefile (new) | 24 +++++++++++++++++++ net/gamenetworkingsockets/distinfo (new) | 3 +++ .../patch-include_steam_steamclientpublic.h (new) | 11 +++++++++ .../files/patch-src_CMakeLists.txt (new) | 10 ++++++++ net/gamenetworkingsockets/pkg-descr (new) | 27 ++++++++++++++++++++++ net/gamenetworkingsockets/pkg-plist (new) | 19 +++++++++++++++ 7 files changed, 95 insertions(+)