BSD Ports

net-p2p/libutp g20231123 MidnightBSD

uTorrent Transport Protocol library and sample utilities.

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
net-p2p

Description

# libutp - The uTorrent Transport Protocol library. Copyright (c) 2010 BitTorrent, Inc.

uTP provides provides reliable, ordered delivery while maintaining minimum extra delay. It is implemented on top of UDP to be cross-platform and functional today. As a result, uTP is the primary transport for uTorrent peer-to-peer connections.

uTP is written in C++, but the external interface is strictly C (ANSI C89).

In the other systems

SystemPortVersion
MidnightBSDnet-p2p/libutpg20231123
FreeBSDnet-p2p/libutpg20241117
DragonFlynet-p2p/libutpg20230213
HardenedBSDnet-p2p/libutpg20241117
GhostBSDnet-p2p/libutpg20241117

Install

Binary package:

mport install libutp

From mports:

cd /usr/mports/net-p2p/libutp && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libutp>0:net-p2p/libutp
LIB_DEPENDS=	libutp.so:net-p2p/libutp

Dependencies

Configuration

No options to configure.

USES
cmake uidfix
Service scripts
none

Files

pkg-plist 10
  • bin/ucat
  • lib/cmake/libutp/libutp-config-version.cmake
  • lib/cmake/libutp/libutp-config.cmake
  • lib/cmake/libutp/libutp-targets.cmake
  • lib/cmake/libutp/libutp-targets-release.cmake
  • include/libutp/utp.h
  • include/libutp/utp_types.h
  • lib/libutp.so
  • share/doc/libutp/LICENSE
  • share/doc/libutp/README.md
distinfo 1
FileSizeSHA256
transmission-libutp-g20231123-52645d6_GH0.tar.gz5647097c618baf7ef6c7b5ab6cec5f2275bb1f096c70c2a98eab43cdf5d802aaf083e