1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add the 0.16 branch of libtorrent-rasterbar

The most revolutionary aspect of the new branch is that it brings in
support for uTP.

This port also brings in a patch consisting of the changes from 0.16.0
release through local SVN revision 6850. These fixes include patches we
had in the 0.15 version of the port, as well as various other fixes that
were reported by me, and others post the 0.16.0 release.  These fixes
should be in the 0.16.1 release.
This commit is contained in:
Doug Barton 2012-05-17 08:44:12 +00:00
parent 014f054c4f
commit a0d4b7ae98
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296813
8 changed files with 1588 additions and 0 deletions

View File

@ -48,6 +48,8 @@
SUBDIR += libtorrent-rasterbar-14
SUBDIR += libtorrent-rasterbar-15
SUBDIR += libtorrent-rasterbar-15-python
SUBDIR += libtorrent-rasterbar-16
SUBDIR += libtorrent-rasterbar-16-python
SUBDIR += limewire
SUBDIR += linux-jigdo
SUBDIR += linuxdcpp

View File

@ -0,0 +1,46 @@
# New ports collection makefile for: libtorrent-rasterbar-16-python
# Date created: 5 May 2012
# Whom: Doug Barton, dougb@FreeBSD.org
#
#
# $FreeBSD$
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
COMMENT= Python bindings for libtorrent-rasterbar-16
CATEGORIES= net-p2p python
USE_PYTHON= 2.5+
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}setuptools>=0.6:${PORTSDIR}/devel/py-setuptools
LIB_DEPENDS+= boost_python.4:${PORTSDIR}/devel/boost-python-libs \
torrent-rasterbar.6:${PORTSDIR}/net-p2p/libtorrent-rasterbar-16
BUILD_WRKSRC= ${WRKSRC}/bindings/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
PLIST= ${.CURDIR}/pkg-plist
INSTALLS_EGGINFO= yes
PYDISTUTILS_EGGINFO= python_libtorrent-${PORTVERSION}-py${PYTHON_VER}.egg-info
NOPORTDOCS= yes
slave-post-patch:
@${REINPLACE_CMD} -E -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/bindings/python/setup.py.in
slave-post-install:
# fix installation permissions
@${CHMOD} ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/libtorrent.so
MASTERDIR= ${.CURDIR}/../libtorrent-rasterbar-16
.include "${MASTERDIR}/Makefile"
##
# information available after <bsd.port.pre.mk>
##
# insure python paths are correctly identified
CONFIGURE_ENV+= PYTHON_INCLUDEDIR="${PYTHON_INCLUDEDIR}" \
PYTHON_VERSION="${PYTHON_VERSION}"
# prefix PKGNAME with python- so that the egg info file is properly named.
PYDISTUTILS_PKGNAME= python-${PORTNAME}

View File

@ -0,0 +1 @@
%%PYTHON_SITELIBDIR%%/libtorrent.so

View File

@ -0,0 +1,72 @@
# New ports collection makefile for: libtorrent-rasterbar-16
# Date created: 5 May 2012
# Whom: Doug Barton, dougb@FreeBSD.org
#
# $FreeBSD$
PORTNAME= libtorrent-rasterbar
PORTVERSION= 0.16.0
CATEGORIES?= net-p2p ipv6
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PROJECTHOST= libtorrent
MAINTAINER= dougb@FreeBSD.org
COMMENT?= A C++ library implementing a BitTorrent client
MAKE_JOBS_SAFE= yes
CONFLICTS+= libtorrent-rasterbar-0.1[45789].*
NO_LATEST_LINK= yes
LIB_DEPENDS+= boost_date_time.4:${PORTSDIR}/devel/boost-libs \
GeoIP.5:${PORTSDIR}/net/GeoIP
USE_GNOME= gnomehack
USE_OPENSSL= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-debug \
--disable-static \
--enable-dht \
--enable-encryption \
--enable-pool-allocators \
--enable-deprecated-functions \
--with-boost=${LOCALBASE} \
--with-boost-system=boost_system \
--enable-geoip \
--with-libgeoip \
--with-openssl=${OPENSSLBASE}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes" && defined(USE_PYTHON)
CONFIGURE_ARGS+= --enable-python-binding \
--with-boost-python=boost_python
.else
CONFIGURE_ARGS+= --disable-python-binding
.endif
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes"
post-patch: slave-post-patch
.endif
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes"
post-install: slave-post-install
.else
post-install:
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.css ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.jpg ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/*.png ${DOCSDIR}
PORTDOCS= *
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,2 @@
SHA256 (libtorrent-rasterbar-0.16.0.tar.gz) = c645f2507f97f80d8681fe44ece00d266c5cd14cfb1ef68fbd005c9a93dec620
SIZE (libtorrent-rasterbar-0.16.0.tar.gz) = 2880619

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,14 @@
libtorrent is a C++ library that aims to be a good alternative to all the
other bittorrent implementations around. It is a library and not a full
featured client.
The main goals of libtorrent are:
* to be cpu efficient
* to be memory efficient
* to be very easy to use
The 0.16 branch adds uTP support.
Note that this is NOT the same library as the libtorrent port!
WWW: http://www.rasterbar.com/products/libtorrent/index.html

View File

@ -0,0 +1,141 @@
include/libtorrent/ConvertUTF.h
include/libtorrent/add_torrent_params.hpp
include/libtorrent/address.hpp
include/libtorrent/alert.hpp
include/libtorrent/alert_types.hpp
include/libtorrent/alloca.hpp
include/libtorrent/allocator.hpp
include/libtorrent/assert.hpp
include/libtorrent/aux_/session_impl.hpp
include/libtorrent/bandwidth_limit.hpp
include/libtorrent/bandwidth_manager.hpp
include/libtorrent/bandwidth_queue_entry.hpp
include/libtorrent/bandwidth_socket.hpp
include/libtorrent/bencode.hpp
include/libtorrent/bitfield.hpp
include/libtorrent/bloom_filter.hpp
include/libtorrent/broadcast_socket.hpp
include/libtorrent/bt_peer_connection.hpp
include/libtorrent/buffer.hpp
include/libtorrent/build_config.hpp
include/libtorrent/chained_buffer.hpp
include/libtorrent/config.hpp
include/libtorrent/connection_queue.hpp
include/libtorrent/copy_ptr.hpp
include/libtorrent/create_torrent.hpp
include/libtorrent/deadline_timer.hpp
include/libtorrent/debug.hpp
include/libtorrent/disk_buffer_holder.hpp
include/libtorrent/disk_buffer_pool.hpp
include/libtorrent/disk_io_thread.hpp
include/libtorrent/entry.hpp
include/libtorrent/enum_net.hpp
include/libtorrent/error.hpp
include/libtorrent/error_code.hpp
include/libtorrent/escape_string.hpp
include/libtorrent/extensions.hpp
include/libtorrent/extensions/logger.hpp
include/libtorrent/extensions/lt_trackers.hpp
include/libtorrent/extensions/metadata_transfer.hpp
include/libtorrent/extensions/smart_ban.hpp
include/libtorrent/extensions/ut_metadata.hpp
include/libtorrent/extensions/ut_pex.hpp
include/libtorrent/file.hpp
include/libtorrent/file_pool.hpp
include/libtorrent/file_storage.hpp
include/libtorrent/fingerprint.hpp
include/libtorrent/gzip.hpp
include/libtorrent/hasher.hpp
include/libtorrent/http_connection.hpp
include/libtorrent/http_parser.hpp
include/libtorrent/http_seed_connection.hpp
include/libtorrent/http_stream.hpp
include/libtorrent/http_tracker_connection.hpp
include/libtorrent/i2p_stream.hpp
include/libtorrent/identify_client.hpp
include/libtorrent/instantiate_connection.hpp
include/libtorrent/intrusive_ptr_base.hpp
include/libtorrent/invariant_check.hpp
include/libtorrent/io.hpp
include/libtorrent/io_service.hpp
include/libtorrent/io_service_fwd.hpp
include/libtorrent/ip_filter.hpp
include/libtorrent/kademlia/dht_tracker.hpp
include/libtorrent/kademlia/find_data.hpp
include/libtorrent/kademlia/logging.hpp
include/libtorrent/kademlia/msg.hpp
include/libtorrent/kademlia/node.hpp
include/libtorrent/kademlia/node_entry.hpp
include/libtorrent/kademlia/node_id.hpp
include/libtorrent/kademlia/observer.hpp
include/libtorrent/kademlia/refresh.hpp
include/libtorrent/kademlia/routing_table.hpp
include/libtorrent/kademlia/rpc_manager.hpp
include/libtorrent/kademlia/traversal_algorithm.hpp
include/libtorrent/lazy_entry.hpp
include/libtorrent/lsd.hpp
include/libtorrent/magnet_uri.hpp
include/libtorrent/max.hpp
include/libtorrent/natpmp.hpp
include/libtorrent/packet_buffer.hpp
include/libtorrent/parse_url.hpp
include/libtorrent/pch.hpp
include/libtorrent/pe_crypto.hpp
include/libtorrent/peer.hpp
include/libtorrent/peer_connection.hpp
include/libtorrent/peer_id.hpp
include/libtorrent/peer_info.hpp
include/libtorrent/peer_request.hpp
include/libtorrent/piece_block_progress.hpp
include/libtorrent/piece_picker.hpp
include/libtorrent/policy.hpp
include/libtorrent/proxy_base.hpp
include/libtorrent/ptime.hpp
include/libtorrent/puff.hpp
include/libtorrent/random.hpp
include/libtorrent/rsa.hpp
include/libtorrent/rss.hpp
include/libtorrent/session.hpp
include/libtorrent/session_settings.hpp
include/libtorrent/session_status.hpp
include/libtorrent/settings.hpp
include/libtorrent/size_type.hpp
include/libtorrent/sliding_average.hpp
include/libtorrent/socket.hpp
include/libtorrent/socket_io.hpp
include/libtorrent/socket_type.hpp
include/libtorrent/socket_type_fwd.hpp
include/libtorrent/socks5_stream.hpp
include/libtorrent/ssl_stream.hpp
include/libtorrent/stat.hpp
include/libtorrent/storage.hpp
include/libtorrent/storage_defs.hpp
include/libtorrent/thread.hpp
include/libtorrent/time.hpp
include/libtorrent/timestamp_history.hpp
include/libtorrent/tommath.h
include/libtorrent/tommath_class.h
include/libtorrent/tommath_superclass.h
include/libtorrent/torrent.hpp
include/libtorrent/torrent_handle.hpp
include/libtorrent/torrent_info.hpp
include/libtorrent/tracker_manager.hpp
include/libtorrent/udp_socket.hpp
include/libtorrent/udp_tracker_connection.hpp
include/libtorrent/union_endpoint.hpp
include/libtorrent/upnp.hpp
include/libtorrent/utf8.hpp
include/libtorrent/utp_socket_manager.hpp
include/libtorrent/utp_stream.hpp
include/libtorrent/version.hpp
include/libtorrent/web_connection_base.hpp
include/libtorrent/web_peer_connection.hpp
include/libtorrent/xml_parse.hpp
lib/libtorrent-rasterbar.la
lib/libtorrent-rasterbar.so
lib/libtorrent-rasterbar.so.6
libdata/pkgconfig/libtorrent-rasterbar.pc
@dirrm include/libtorrent/aux_
@dirrm include/libtorrent/extensions
@dirrm include/libtorrent/kademlia
@dirrm include/libtorrent