diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile index 59d928b90f3b..c43b28564125 100644 --- a/net-p2p/libtorrent/Makefile +++ b/net-p2p/libtorrent/Makefile @@ -1,46 +1,44 @@ PORTNAME= libtorrent -PORTVERSION= 0.13.8 +DISTVERSION= 0.14.0 CATEGORIES= net-p2p -MASTER_SITES= https://rtorrent.net/downloads/ +MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v0.10.0/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= eduardo@FreeBSD.org COMMENT= BitTorrent Library written in C++ WWW= https://github.com/rakshasa/libtorrent LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf compiler:c++11-lang cpe libtool localbase:ldflags pathfix pkgconfig ssl -USE_CXXSTD= c++14 +USES= compiler:c++11-lang cpe libtool localbase:ldflags pathfix \ + pkgconfig ssl USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-debug -CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPENSSL_CFLAGS="-I\ - ${OPENSSLINC}" - -OPTIONS_DEFINE= KQUEUE -OPTIONS_DEFAULT=KQUEUE - -KQUEUE_DESC= Use kqueue(2) support +CONFIGURE_ENV= OPENSSL_CFLAGS="-I ${OPENSSLINC}" \ + OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" # This makes sure that /usr/local/lib appears before /usr/lib when # linking libtorrent to avoid linking with base's libcrypto. MAKE_ARGS= LDFLAGS="${LDFLAGS}" +INSTALL_TARGET= install-strip + +OPTIONS_DEFINE= KQUEUE +OPTIONS_DEFAULT= KQUEUE + +KQUEUE_DESC= Use kqueue(2) support KQUEUE_CONFIGURE_WITH= kqueue .include # Disable instrumentation, which requires 64-bit atomic ops, on i386 when using # gcc to avoid linking errors: # /usr/local/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8' # /usr/local/lib/libtorrent.so: undefined reference to `__sync_fetch_and_and_8' .if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc -CONFIGURE_ARGS+=--disable-instrumentation +CONFIGURE_ARGS+= --disable-instrumentation .endif -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtorrent.so.21.0.0 - .include diff --git a/net-p2p/libtorrent/distinfo b/net-p2p/libtorrent/distinfo index 801604c43205..53d56da2240f 100644 --- a/net-p2p/libtorrent/distinfo +++ b/net-p2p/libtorrent/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1564447515 -SHA256 (libtorrent-0.13.8.tar.gz) = ed115a28f4ae8cfcd33b94a597c076ca74fd549867a26e4fac9505c27288e983 -SIZE (libtorrent-0.13.8.tar.gz) = 834027 +TIMESTAMP = 1727611446 +SHA256 (libtorrent-0.14.0.tar.gz) = 17b816da5807c7b3455a1a48aae8dacf0f4ef75b1a4372c758948710066fd3ec +SIZE (libtorrent-0.14.0.tar.gz) = 809617 diff --git a/net-p2p/libtorrent/pkg-plist b/net-p2p/libtorrent/pkg-plist index 14be7ef3c739..b2eaef97e1c5 100644 --- a/net-p2p/libtorrent/pkg-plist +++ b/net-p2p/libtorrent/pkg-plist @@ -1,68 +1,73 @@ include/torrent/bitfield.h include/torrent/chunk_manager.h include/torrent/common.h include/torrent/connection_manager.h include/torrent/data/block.h include/torrent/data/block_list.h include/torrent/data/block_transfer.h include/torrent/data/chunk_utils.h include/torrent/data/download_data.h include/torrent/data/file.h include/torrent/data/file_list.h include/torrent/data/file_list_iterator.h include/torrent/data/file_manager.h include/torrent/data/file_utils.h include/torrent/data/piece.h include/torrent/data/transfer_list.h include/torrent/dht_manager.h include/torrent/download.h include/torrent/download/choke_group.h include/torrent/download/choke_queue.h include/torrent/download/download_manager.h include/torrent/download/group_entry.h include/torrent/download/resource_manager.h include/torrent/download_info.h include/torrent/error.h include/torrent/event.h include/torrent/exceptions.h include/torrent/hash_string.h include/torrent/http.h +include/torrent/net/address_info.h +include/torrent/net/fd.h +include/torrent/net/socket_address.h include/torrent/net/socket_address_key.h +include/torrent/net/socket_event.h +include/torrent/net/types.h +include/torrent/net/utils.h include/torrent/object.h include/torrent/object_raw_bencode.h include/torrent/object_static_map.h include/torrent/object_stream.h include/torrent/path.h include/torrent/peer/choke_status.h include/torrent/peer/client_info.h include/torrent/peer/client_list.h include/torrent/peer/connection_list.h include/torrent/peer/peer.h include/torrent/peer/peer_info.h include/torrent/peer/peer_list.h include/torrent/poll.h include/torrent/poll_epoll.h include/torrent/poll_kqueue.h include/torrent/poll_select.h include/torrent/rate.h include/torrent/throttle.h include/torrent/torrent.h include/torrent/tracker.h include/torrent/tracker_controller.h include/torrent/tracker_list.h include/torrent/utils/directory_events.h include/torrent/utils/extents.h include/torrent/utils/log.h include/torrent/utils/log_buffer.h -include/torrent/utils/net.h include/torrent/utils/option_strings.h include/torrent/utils/ranges.h include/torrent/utils/resume.h include/torrent/utils/signal_bitfield.h include/torrent/utils/thread_base.h include/torrent/utils/thread_interrupt.h include/torrent/utils/uri_parser.h lib/libtorrent.so -lib/libtorrent.so.21 -lib/libtorrent.so.21.0.0 +lib/libtorrent.so.22 +lib/libtorrent.so.22.0.0 libdata/pkgconfig/libtorrent.pc