On Sat, 11 Jul 2026 20:44:13 -0400
Glenn Fiedler <[email protected]> wrote:

> Hi ports@,
> 
> Attached are four new ports for a family of BSD-3-licensed game
> networking libraries I develop and maintain upstream
> (https://github.com/mas-bandwidth). I'm the upstream author and happy
> to be MAINTAINER for all four.
> 
> - devel/serialize -- header-only C++ bitpacking serializer
> (PKG_ARCH=*)
> - net/reliable -- reliability layer (acks, fragmentation, connection
> stats) for UDP-based protocols, plain C
> - net/netcode -- secure client/server connections over UDP with
> connect-token authentication; encrypts with libsodium (uses
> security/libsodium, not the vendored copy)
> - net/yojimbo -- C++ client/server library for real-time multiplayer
> games, built on the three above (builds against the installed
> packages, no vendored code in the package)
> 
> Dependency order: serialize, reliable and netcode are independent of
> each other; yojimbo needs all three. Closest existing port in spirit
> is net/enet.
> 
> All four build from GitHub release tarballs with the devel/cmake
> module and BUILD_SHARED_LIBS. Upstream supports OpenBSD as of netcode
> 1.3.5 and yojimbo 1.6.3, so no port patches are needed. Each port
> runs the upstream test suite in the test target; all tests pass on
> arm64 on both 7.9-release and the July 10 2026 -current snapshot
> (ports tree from the same date). portcheck and port-lib-depends-check
> are clean, and a demo program builds and runs against the installed
> yojimbo package.
> 
> Comments and testing welcome. If it looks OK I'd appreciate a commit.
> 
> Thanks!
> Glenn Fiedler
> [email protected]

Hi,

This looks interesting. Is there something open source that uses these
libraries, or something in the pipeline? That makes it easier to have
an immediate use case and make sure it works as intended...

Reply via email to