Port details
sdl2_net Simple, cross-platform wrapper over TCP/IP sockets
2.4.0 net Σ=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.4.0Version of this port present on the latest quarterly branch.
Maintainer: amdmi3@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-06-21 19:56:49
Last Update: 2026-05-27 22:28:49
Commit Hash: b942ee5
People watching this port, also watch: lame, wget, zsh, graphviz, nettle
License: ZLIB
WWW:
https://github.com/libsdl-org/SDL_net
Description: #
This is a portable network library for use with SDL. It's goal is to simplify the use of the usual socket interfaces and use SDL to handle common portable functionality such as threading and reporting errors.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (17 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/sdl2_net-2.4.0/catalog.mk
  3. /usr/local/share/licenses/sdl2_net-2.4.0/LICENSE
  4. /usr/local/share/licenses/sdl2_net-2.4.0/ZLIB
  5. include/SDL2/SDL_net.h
  6. lib/cmake/SDL2_net/SDL2_net-shared-targets-release.cmake
  7. lib/cmake/SDL2_net/SDL2_net-shared-targets.cmake
  8. lib/cmake/SDL2_net/SDL2_netConfig.cmake
  9. lib/cmake/SDL2_net/SDL2_netConfigVersion.cmake
  10. lib/libSDL2_net-2.0.so
  11. lib/libSDL2_net-2.0.so.0
  12. lib/libSDL2_net-2.0.so.0.400.0
  13. lib/libSDL2_net.so
  14. libdata/pkgconfig/SDL2_net.pc
  15. @owner
  16. @group
  17. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • For RUN/BUILD depends:
    • sdl2_net>0:net/sdl2_net
  • For LIB depends:
    • libSDL2_net-2.0.so:net/sdl2_net
    • libSDL2_net.so:net/sdl2_net
To install the port: #
cd /usr/ports/net/sdl2_net/ && make install clean
To add the package, run one of these commands:
  • pkg install net/sdl2_net
  • pkg install sdl2_net
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: sdl2_net
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1778861408 SHA256 (libsdl-org-SDL_net-release-2.4.0_GH0.tar.gz) = 0d26aa8c945644b39e1b3cd21b692ed1332eba2bdc623a383bfbc4b2be6e76d3 SIZE (libsdl-org-SDL_net-release-2.4.0_GH0.tar.gz) = 8725082

Packages (timestamps in pop-ups are UTC): #
sdl2_net
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest2.4.02.4.0-2.2.02.4.0
FreeBSD:14:quarterly2.4.02.4.0-2.2.02.4.0
FreeBSD:15:latest2.4.02.4.0n/a2.2.0n/a
FreeBSD:15:quarterly2.4.02.4.0n/a-n/a
FreeBSD:16:latest CURRENT2.4.02.4.0n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. sdl2-config : devel/sdl20
Library dependencies: #
  1. libSDL2.so : devel/sdl20
This port is required by: #
for Libraries #
  1. emulators/dosbox-x
  2. emulators/supermodel
  3. games/alephone
  4. games/barony
  5. games/blobwars
  6. games/chocolate-doom
  7. games/crispy-doom
Expand this list (18 items / 11 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. games/ecwolf
  3. games/el
  4. games/glob2
  5. games/hedgewars
  6. games/jumpnbump
  7. games/maxr
  8. games/mirrormagic
  9. games/opentyrian
  10. games/rocksndiamonds
  11. games/xmoto
  12. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. games/manaplus*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options: #
No options to configure
Options name: #
net_sdl2_net
USES: #
cmake sdl
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/libsdl-org/SDL_net/tar.gz/release-2.4.0?dummy=/
Collapse this list.

Number of commits found: 21 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.4.0
27 May 2026 22:28:49
commit hash: b942ee556e7df578a38b0710588faebd903a373dcommit hash: b942ee556e7df578a38b0710588faebd903a373dcommit hash: b942ee556e7df578a38b0710588faebd903a373dcommit hash: b942ee556e7df578a38b0710588faebd903a373d files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
net/sdl2_net: Update COMMENT and pkg-descr
2.4.0
18 May 2026 17:01:37
commit hash: e70ee88ccb736263731f42f0d2f4b39d9dec9bf1commit hash: e70ee88ccb736263731f42f0d2f4b39d9dec9bf1commit hash: e70ee88ccb736263731f42f0d2f4b39d9dec9bf1commit hash: e70ee88ccb736263731f42f0d2f4b39d9dec9bf1 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
net/sdl2_net: update 2.2.0 → 2.4.0
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
2.2.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
2.2.0
31 Aug 2022 10:15:29
commit hash: e06560dd18c102e5c732342c9f1da4d727cec655commit hash: e06560dd18c102e5c732342c9f1da4d727cec655commit hash: e06560dd18c102e5c732342c9f1da4d727cec655commit hash: e06560dd18c102e5c732342c9f1da4d727cec655 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
net/sdl2_net: update 2.0.1 → 2.2.0
2.0.1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2.0.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.0.1
08 Nov 2019 13:48:35
Revision:517064commit hash: ba284573681e85a059c5c2eb8cad050ff23fd8accommit hash: ba284573681e85a059c5c2eb8cad050ff23fd8accommit hash: ba284573681e85a059c5c2eb8cad050ff23fd8accommit hash: ba284573681e85a059c5c2eb8cad050ff23fd8acOriginal commit files touched by this commit
tobik search for other commits by this committer
net: Add missing USES={gnome,php}
2.0.1
21 Apr 2019 19:09:44
Revision:499587commit hash: 675c1a25a1b93a0b5988a1d2062b1d34457e96f1commit hash: 675c1a25a1b93a0b5988a1d2062b1d34457e96f1commit hash: 675c1a25a1b93a0b5988a1d2062b1d34457e96f1commit hash: 675c1a25a1b93a0b5988a1d2062b1d34457e96f1Original commit files touched by this commit
sunpoet search for other commits by this committer
Update MASTER_SITES and WWW

Approved by:	portmgr (blanket)
2.0.1
05 Feb 2018 16:24:49
Revision:460979commit hash: c581e7eca69b57ad3e4f53cdbef2a77b8362f684commit hash: c581e7eca69b57ad3e4f53cdbef2a77b8362f684commit hash: c581e7eca69b57ad3e4f53cdbef2a77b8362f684commit hash: c581e7eca69b57ad3e4f53cdbef2a77b8362f684Original commit files touched by this commit
amdmi3 search for other commits by this committer
Take maintainership of SDL/SDL2 ports
2.0.1
22 Jan 2017 22:27:55
Revision:432169commit hash: e132ea6fc3f1899e02ecf4f1e9dfa7d779945e80commit hash: e132ea6fc3f1899e02ecf4f1e9dfa7d779945e80commit hash: e132ea6fc3f1899e02ecf4f1e9dfa7d779945e80commit hash: e132ea6fc3f1899e02ecf4f1e9dfa7d779945e80Original commit files touched by this commit
rene search for other commits by this committer
Reset mva@'s ports, he handed in his ports bit.
2.0.1
06 Apr 2016 15:01:13
Revision:412624commit hash: c08f361805a3adcddb5954aef47e94618b1d1cd0commit hash: c08f361805a3adcddb5954aef47e94618b1d1cd0commit hash: c08f361805a3adcddb5954aef47e94618b1d1cd0commit hash: c08f361805a3adcddb5954aef47e94618b1d1cd0Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update sdl20 and satellite libraries to latest versions

sdl2: 2.0.3 -> 2.0.4
sdl2_image: 2.0.0 -> 2.0.1
sdl2_mixer: 2.0.0 -> 2.0.1
sdl2_net: 2.0.0 -> 2.0.1
sdl2_ttf: 2.0.12 -> 2.0.14

- Add LICENSE_FILE
- Strip libraries
- Switch to USES=localbase where applicable

PR:		207671
Submitted by:	devnexen@gmail.com, amdmi3
Approved by:	maintainer timeout (mva, 1 month)
Exp-run by:	antoine
2.0.0_4
10 Sep 2014 20:50:37
Revision:367888commit hash: 15945f8122ca36c901e1319b3270445458bdae02commit hash: 15945f8122ca36c901e1319b3270445458bdae02commit hash: 15945f8122ca36c901e1319b3270445458bdae02commit hash: 15945f8122ca36c901e1319b3270445458bdae02Original commit files touched by this commit
gerald search for other commits by this committer
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2.0.0_3
10 Jul 2014 12:13:12
Revision:361440commit hash: 7dc406a7a1b16d126275a26d29879428dd4ff113commit hash: 7dc406a7a1b16d126275a26d29879428dd4ff113commit hash: 7dc406a7a1b16d126275a26d29879428dd4ff113commit hash: 7dc406a7a1b16d126275a26d29879428dd4ff113Original commit files touched by this commit
olgeni search for other commits by this committer
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.

CR:		D307
Approved by:	portmgr (bapt)
2.0.0_3
02 Jul 2014 22:29:17
Revision:360304commit hash: 6b62b2da231a8655caabd79e4068ecce6e5b15bacommit hash: 6b62b2da231a8655caabd79e4068ecce6e5b15bacommit hash: 6b62b2da231a8655caabd79e4068ecce6e5b15bacommit hash: 6b62b2da231a8655caabd79e4068ecce6e5b15baOriginal commit files touched by this commit
amdmi3 search for other commits by this committer
- Switch to USES=libtool, drop .la files

Approved by:	portmgr blanket
2.0.0_2
17 Nov 2013 12:33:49
Revision:334079commit hash: 7c19894cc2655ff3d2d6632c53bb6577e3ebe4b8commit hash: 7c19894cc2655ff3d2d6632c53bb6577e3ebe4b8commit hash: 7c19894cc2655ff3d2d6632c53bb6577e3ebe4b8commit hash: 7c19894cc2655ff3d2d6632c53bb6577e3ebe4b8Original commit files touched by this commit
mva search for other commits by this committer
- Switch devel/sdl20 to use the autotools-based configuration, since the
  cmake-based one is not maintained that well
- Fix library naming to ensure backwards compatibility on minor version
  changes
- Bump the PORTREVISION on ports depending on devel/sdl20, since its
  shared library name changed

PR:		ports/183975
Submitted by:	Jan Kokemuller <jan.kokemueller@gmail.com>
2.0.0_1
25 Oct 2013 16:15:37
Revision:331607commit hash: ce01f38cc12172b564306ef9b2251fe05a30a7bfcommit hash: ce01f38cc12172b564306ef9b2251fe05a30a7bfcommit hash: ce01f38cc12172b564306ef9b2251fe05a30a7bfcommit hash: ce01f38cc12172b564306ef9b2251fe05a30a7bfOriginal commit files touched by this commit
mva search for other commits by this committer
- Update devel/sdl20 to version 2.0.1
- Bump PORTREVISIONs for SDL2-related ports to chase the changed SDL2
  shlib version
- Enable staging support for the SDL2 ports
- Switch to new LIB_DEPENDS format for the SDL2 ports
- Add LICENSE to the SDL2 ports
- Use gmake USES for the SDL2 ports
2.0.0
20 Sep 2013 22:10:25
Revision:327755commit hash: 0c710c7b4edb5ca79906be0115763864bc7c903fcommit hash: 0c710c7b4edb5ca79906be0115763864bc7c903fcommit hash: 0c710c7b4edb5ca79906be0115763864bc7c903fcommit hash: 0c710c7b4edb5ca79906be0115763864bc7c903fOriginal commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
net)
2.0.0
14 Aug 2013 17:23:36
Revision:324741commit hash: 0fe3d4f76353de87a58ae8cdc9a4360dc94a1af0commit hash: 0fe3d4f76353de87a58ae8cdc9a4360dc94a1af0commit hash: 0fe3d4f76353de87a58ae8cdc9a4360dc94a1af0commit hash: 0fe3d4f76353de87a58ae8cdc9a4360dc94a1af0Original commit files touched by this commit
mva search for other commits by this committer
SDL2 has been officially released.

- Update devel/sdl20, audio/sdl2_mixer, graphics/sdl2_image,
  graphics/sdl2_ttf and net/sdl2_net to version 2.0.0
2.0.p2
06 Jul 2013 10:27:54
Revision:322381commit hash: acc01dfd3d67e0b26f6d871563313068e395956dcommit hash: acc01dfd3d67e0b26f6d871563313068e395956dcommit hash: acc01dfd3d67e0b26f6d871563313068e395956dcommit hash: acc01dfd3d67e0b26f6d871563313068e395956dOriginal commit files touched by this commit
mva search for other commits by this committer
- Update to the latest RC
2.0.p1
21 Jun 2013 19:56:28
Revision:321500commit hash: c5a4db7c111615dacf0bd184c7b78e927dce311bcommit hash: c5a4db7c111615dacf0bd184c7b78e927dce311bcommit hash: c5a4db7c111615dacf0bd184c7b78e927dce311bcommit hash: c5a4db7c111615dacf0bd184c7b78e927dce311bOriginal commit files touched by this commit
mva search for other commits by this committer
Welcome SDL2 to the FreeBSD ports system!

A set of new SDL2 related ports has been added, which are essentially
the same as their corresponding port for SDL1.2:

    audio/sdl2_mixer
    graphics/sdl2_image
    graphics/sdl2_ttf
    net/sdl2_net

A set of new USE_SDL knobs is available to enable SDL2 and its related
ports to be added as dependency to ports. Use either of

  USE_SDL= sdl2 image2 mixer2 net2 ttf2

to pull in the specific sdl2_* or sdl20 port.

Number of commits found: 21