Bug 256295 - [NEW PORT] net/gamenetworkingsockets - A networking library from Valve with a number of features
Summary: [NEW PORT] net/gamenetworkingsockets - A networking library from Valve with a...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vanilla I. Shu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-31 15:02 UTC by Karsten Pedersen
Modified: 2021-06-01 15:06 UTC (History)
2 users (show)

See Also:


Attachments
Patch containing new port of net/gamenetworkingsockets (1.3.0) (4.76 KB, patch)
2021-05-31 15:02 UTC, Karsten Pedersen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Pedersen 2021-05-31 15:02:40 UTC
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.
Comment 1 Karsten Pedersen 2021-05-31 15:16:27 UTC
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.
Comment 2 Vanilla I. Shu freebsd_committer freebsd_triage 2021-06-01 14:58:19 UTC
Committed, thanks.
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-06-01 15:06:35 UTC
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(+)