aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-03-26 00:26:44 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-03-26 00:26:44 +0000
commit01efaebd20d2cdd67c92c609d15da0db1d3a3f22 (patch)
treef6d28c78a48c93b16fc0d69e657686dd2ef9ecaa /net-p2p
parentbc752978e14d024c52a6f74b3f39ead46085ff09 (diff)
downloadports-01efaebd20d2cdd67c92c609d15da0db1d3a3f22.tar.gz
ports-01efaebd20d2cdd67c92c609d15da0db1d3a3f22.zip
net-p2p/libtorrent-rasterbar: Downgrade 2.0.2 -> 1.2.12
2.0.2 is not stable, causes huge memory footprint and looks like WIP. PR: 254119 Reported by: 84918960@qq.com et al.
Notes
Notes: svn path=/head/; revision=569229
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/libtorrent-rasterbar/Makefile5
-rw-r--r--net-p2p/libtorrent-rasterbar/distinfo6
-rw-r--r--net-p2p/libtorrent-rasterbar/pkg-plist97
3 files changed, 46 insertions, 62 deletions
diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile
index cac70730adf9..5c976017ca61 100644
--- a/net-p2p/libtorrent-rasterbar/Makefile
+++ b/net-p2p/libtorrent-rasterbar/Makefile
@@ -2,7 +2,8 @@
# $FreeBSD$
PORTNAME= libtorrent-rasterbar
-DISTVERSION= 2.0.2
+DISTVERSION= 1.2.12
+PORTEPOCH= 1
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/v${DISTVERSION}/
@@ -38,7 +39,7 @@ EXAMPLES_CMAKE_BOOL= build_examples
LOGGING_CMAKE_BOOL= logging
post-patch:
- @${REINPLACE_CMD} -e 's|ret.push_back("python3");|ret.push_back("${PYTHON_CMD}");|' \
+ @${REINPLACE_CMD} -e 's|return "python3";|return "${PYTHON_CMD}";|' \
${WRKSRC}/test/setup_transfer.cpp
post-install:
diff --git a/net-p2p/libtorrent-rasterbar/distinfo b/net-p2p/libtorrent-rasterbar/distinfo
index 6e8ccd0f0723..98f3c34d7057 100644
--- a/net-p2p/libtorrent-rasterbar/distinfo
+++ b/net-p2p/libtorrent-rasterbar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614137398
-SHA256 (libtorrent-rasterbar-2.0.2.tar.gz) = 3af22ea1b60e04a7cf357a3d770470ea5df15e968501782bd1414634a2b42cb7
-SIZE (libtorrent-rasterbar-2.0.2.tar.gz) = 4269533
+TIMESTAMP = 1610594305
+SHA256 (libtorrent-rasterbar-1.2.12.tar.gz) = c3744ac9fa41f6e6ebf79538a2ea678df76a2cbbaf3ac6ae2c05455314e5cce8
+SIZE (libtorrent-rasterbar-1.2.12.tar.gz) = 4144099
diff --git a/net-p2p/libtorrent-rasterbar/pkg-plist b/net-p2p/libtorrent-rasterbar/pkg-plist
index 1e2aa62c3c40..b96d0da3c6a8 100644
--- a/net-p2p/libtorrent-rasterbar/pkg-plist
+++ b/net-p2p/libtorrent-rasterbar/pkg-plist
@@ -1,77 +1,49 @@
include/libtorrent/add_torrent_params.hpp
include/libtorrent/address.hpp
include/libtorrent/alert.hpp
+include/libtorrent/alert_manager.hpp
include/libtorrent/alert_types.hpp
include/libtorrent/announce_entry.hpp
include/libtorrent/assert.hpp
-include/libtorrent/aux_/alert_manager.hpp
include/libtorrent/aux_/aligned_storage.hpp
include/libtorrent/aux_/aligned_union.hpp
include/libtorrent/aux_/alloca.hpp
include/libtorrent/aux_/allocating_handler.hpp
-include/libtorrent/aux_/announce_entry.hpp
include/libtorrent/aux_/array.hpp
-include/libtorrent/aux_/bandwidth_limit.hpp
-include/libtorrent/aux_/bandwidth_manager.hpp
-include/libtorrent/aux_/bandwidth_queue_entry.hpp
-include/libtorrent/aux_/bandwidth_socket.hpp
include/libtorrent/aux_/bind_to_device.hpp
-include/libtorrent/aux_/buffer.hpp
+include/libtorrent/aux_/block_cache_reference.hpp
include/libtorrent/aux_/byteswap.hpp
-include/libtorrent/aux_/chained_buffer.hpp
include/libtorrent/aux_/container_wrapper.hpp
+include/libtorrent/aux_/cppint_import_export.hpp
include/libtorrent/aux_/cpuid.hpp
include/libtorrent/aux_/deferred_handler.hpp
include/libtorrent/aux_/deprecated.hpp
include/libtorrent/aux_/deque.hpp
include/libtorrent/aux_/dev_random.hpp
-include/libtorrent/aux_/directory.hpp
-include/libtorrent/aux_/disable_deprecation_warnings_push.hpp
include/libtorrent/aux_/disable_warnings_pop.hpp
include/libtorrent/aux_/disable_warnings_push.hpp
-include/libtorrent/aux_/disk_buffer_pool.hpp
-include/libtorrent/aux_/disk_io_job.hpp
-include/libtorrent/aux_/disk_io_thread_pool.hpp
include/libtorrent/aux_/disk_job_fence.hpp
-include/libtorrent/aux_/disk_job_pool.hpp
-include/libtorrent/aux_/ed25519.hpp
include/libtorrent/aux_/escape_string.hpp
include/libtorrent/aux_/export.hpp
-include/libtorrent/aux_/ffs.hpp
-include/libtorrent/aux_/file_pointer.hpp
include/libtorrent/aux_/file_progress.hpp
-include/libtorrent/aux_/file_view_pool.hpp
+include/libtorrent/aux_/ffs.hpp
include/libtorrent/aux_/generate_peer_id.hpp
include/libtorrent/aux_/has_block.hpp
-include/libtorrent/aux_/hasher512.hpp
-include/libtorrent/aux_/heterogeneous_queue.hpp
include/libtorrent/aux_/instantiate_connection.hpp
-include/libtorrent/aux_/invariant_check.hpp
include/libtorrent/aux_/io.hpp
-include/libtorrent/aux_/ip_helpers.hpp
include/libtorrent/aux_/ip_notifier.hpp
-include/libtorrent/aux_/keepalive.hpp
include/libtorrent/aux_/listen_socket_handle.hpp
include/libtorrent/aux_/lsd.hpp
+include/libtorrent/aux_/keepalive.hpp
include/libtorrent/aux_/merkle.hpp
-include/libtorrent/aux_/merkle_tree.hpp
-include/libtorrent/aux_/mmap.hpp
include/libtorrent/aux_/noexcept_movable.hpp
include/libtorrent/aux_/numeric_cast.hpp
-include/libtorrent/aux_/open_mode.hpp
-include/libtorrent/aux_/packet_buffer.hpp
-include/libtorrent/aux_/packet_pool.hpp
+include/libtorrent/aux_/openssl.hpp
include/libtorrent/aux_/path.hpp
-include/libtorrent/aux_/polymorphic_socket.hpp
include/libtorrent/aux_/pool.hpp
include/libtorrent/aux_/portmap.hpp
-include/libtorrent/aux_/posix_part_file.hpp
-include/libtorrent/aux_/posix_storage.hpp
include/libtorrent/aux_/proxy_settings.hpp
include/libtorrent/aux_/range.hpp
-include/libtorrent/aux_/receive_buffer.hpp
-include/libtorrent/aux_/resolver.hpp
-include/libtorrent/aux_/resolver_interface.hpp
include/libtorrent/aux_/route.h
include/libtorrent/aux_/scope_end.hpp
include/libtorrent/aux_/session_call.hpp
@@ -80,33 +52,33 @@ include/libtorrent/aux_/session_interface.hpp
include/libtorrent/aux_/session_settings.hpp
include/libtorrent/aux_/session_udp_sockets.hpp
include/libtorrent/aux_/set_socket_buffer.hpp
-include/libtorrent/aux_/sha512.hpp
include/libtorrent/aux_/socket_type.hpp
+include/libtorrent/aux_/storage_piece_set.hpp
include/libtorrent/aux_/storage_utils.hpp
-include/libtorrent/aux_/store_buffer.hpp
include/libtorrent/aux_/string_ptr.hpp
-include/libtorrent/aux_/strview_less.hpp
include/libtorrent/aux_/suggest_piece.hpp
include/libtorrent/aux_/throw.hpp
include/libtorrent/aux_/time.hpp
-include/libtorrent/aux_/timestamp_history.hpp
include/libtorrent/aux_/torrent_impl.hpp
-include/libtorrent/aux_/torrent_list.hpp
include/libtorrent/aux_/unique_ptr.hpp
-include/libtorrent/aux_/utp_socket_manager.hpp
-include/libtorrent/aux_/utp_stream.hpp
include/libtorrent/aux_/vector.hpp
-include/libtorrent/aux_/win_cng.hpp
include/libtorrent/aux_/win_crypto_provider.hpp
include/libtorrent/aux_/win_util.hpp
include/libtorrent/aux_/windows.hpp
+include/libtorrent/bandwidth_limit.hpp
+include/libtorrent/bandwidth_manager.hpp
+include/libtorrent/bandwidth_queue_entry.hpp
+include/libtorrent/bandwidth_socket.hpp
include/libtorrent/bdecode.hpp
include/libtorrent/bencode.hpp
include/libtorrent/bitfield.hpp
+include/libtorrent/block_cache.hpp
include/libtorrent/bloom_filter.hpp
+include/libtorrent/broadcast_socket.hpp
include/libtorrent/bt_peer_connection.hpp
+include/libtorrent/buffer.hpp
+include/libtorrent/chained_buffer.hpp
include/libtorrent/choker.hpp
-include/libtorrent/client_data.hpp
include/libtorrent/close_reason.hpp
include/libtorrent/config.hpp
include/libtorrent/copy_ptr.hpp
@@ -114,11 +86,16 @@ include/libtorrent/crc32c.hpp
include/libtorrent/create_torrent.hpp
include/libtorrent/deadline_timer.hpp
include/libtorrent/debug.hpp
-include/libtorrent/disabled_disk_io.hpp
include/libtorrent/disk_buffer_holder.hpp
+include/libtorrent/disk_buffer_pool.hpp
include/libtorrent/disk_interface.hpp
+include/libtorrent/disk_io_job.hpp
+include/libtorrent/disk_io_thread.hpp
+include/libtorrent/disk_io_thread_pool.hpp
+include/libtorrent/disk_job_pool.hpp
include/libtorrent/disk_observer.hpp
include/libtorrent/download_priority.hpp
+include/libtorrent/ed25519.hpp
include/libtorrent/entry.hpp
include/libtorrent/enum_net.hpp
include/libtorrent/error.hpp
@@ -128,13 +105,15 @@ 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/flags.hpp
include/libtorrent/fwd.hpp
include/libtorrent/gzip.hpp
-include/libtorrent/hash_picker.hpp
include/libtorrent/hasher.hpp
+include/libtorrent/hasher512.hpp
+include/libtorrent/heterogeneous_queue.hpp
include/libtorrent/hex.hpp
include/libtorrent/http_connection.hpp
include/libtorrent/http_parser.hpp
@@ -144,10 +123,10 @@ include/libtorrent/http_tracker_connection.hpp
include/libtorrent/i2p_stream.hpp
include/libtorrent/identify_client.hpp
include/libtorrent/index_range.hpp
-include/libtorrent/info_hash.hpp
+include/libtorrent/invariant_check.hpp
include/libtorrent/io.hpp
-include/libtorrent/io_context.hpp
include/libtorrent/io_service.hpp
+include/libtorrent/io_service_fwd.hpp
include/libtorrent/ip_filter.hpp
include/libtorrent/ip_voter.hpp
include/libtorrent/kademlia/announce_flags.hpp
@@ -176,18 +155,21 @@ include/libtorrent/kademlia/rpc_manager.hpp
include/libtorrent/kademlia/sample_infohashes.hpp
include/libtorrent/kademlia/traversal_algorithm.hpp
include/libtorrent/kademlia/types.hpp
+include/libtorrent/lazy_entry.hpp
include/libtorrent/link.hpp
+include/libtorrent/linked_list.hpp
include/libtorrent/lsd.hpp
include/libtorrent/magnet_uri.hpp
-include/libtorrent/mmap_disk_io.hpp
-include/libtorrent/mmap_storage.hpp
include/libtorrent/natpmp.hpp
include/libtorrent/netlink.hpp
include/libtorrent/operations.hpp
include/libtorrent/optional.hpp
+include/libtorrent/packet_buffer.hpp
+include/libtorrent/packet_pool.hpp
include/libtorrent/parse_url.hpp
include/libtorrent/part_file.hpp
include/libtorrent/pe_crypto.hpp
+include/libtorrent/pex_flags.hpp
include/libtorrent/peer.hpp
include/libtorrent/peer_class.hpp
include/libtorrent/peer_class_set.hpp
@@ -200,22 +182,22 @@ include/libtorrent/peer_info.hpp
include/libtorrent/peer_list.hpp
include/libtorrent/peer_request.hpp
include/libtorrent/performance_counters.hpp
-include/libtorrent/pex_flags.hpp
include/libtorrent/piece_block.hpp
include/libtorrent/piece_block_progress.hpp
include/libtorrent/piece_picker.hpp
include/libtorrent/platform_util.hpp
include/libtorrent/portmap.hpp
-include/libtorrent/posix_disk_io.hpp
include/libtorrent/proxy_base.hpp
include/libtorrent/puff.hpp
include/libtorrent/random.hpp
include/libtorrent/read_resume_data.hpp
+include/libtorrent/receive_buffer.hpp
include/libtorrent/request_blocks.hpp
include/libtorrent/resolve_links.hpp
+include/libtorrent/resolver.hpp
+include/libtorrent/resolver_interface.hpp
include/libtorrent/session.hpp
include/libtorrent/session_handle.hpp
-include/libtorrent/session_params.hpp
include/libtorrent/session_settings.hpp
include/libtorrent/session_stats.hpp
include/libtorrent/session_status.hpp
@@ -223,14 +205,12 @@ include/libtorrent/session_types.hpp
include/libtorrent/settings_pack.hpp
include/libtorrent/sha1.hpp
include/libtorrent/sha1_hash.hpp
-include/libtorrent/sha256.hpp
+include/libtorrent/sha512.hpp
include/libtorrent/sliding_average.hpp
include/libtorrent/socket.hpp
include/libtorrent/socket_io.hpp
-include/libtorrent/socket_type.hpp
include/libtorrent/socks5_stream.hpp
include/libtorrent/span.hpp
-include/libtorrent/ssl.hpp
include/libtorrent/ssl_stream.hpp
include/libtorrent/stack_allocator.hpp
include/libtorrent/stat.hpp
@@ -241,6 +221,7 @@ include/libtorrent/string_util.hpp
include/libtorrent/string_view.hpp
include/libtorrent/tailqueue.hpp
include/libtorrent/time.hpp
+include/libtorrent/timestamp_history.hpp
include/libtorrent/torrent.hpp
include/libtorrent/torrent_flags.hpp
include/libtorrent/torrent_handle.hpp
@@ -255,6 +236,8 @@ include/libtorrent/union_endpoint.hpp
include/libtorrent/units.hpp
include/libtorrent/upnp.hpp
include/libtorrent/utf8.hpp
+include/libtorrent/utp_socket_manager.hpp
+include/libtorrent/utp_stream.hpp
include/libtorrent/vector_utils.hpp
include/libtorrent/version.hpp
include/libtorrent/web_connection_base.hpp
@@ -266,7 +249,7 @@ lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarConfigVersion.cmake
lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarTargets.cmake
lib/libtorrent-rasterbar.so
-lib/libtorrent-rasterbar.so.2.0
-lib/libtorrent-rasterbar.so.2.0.2
+lib/libtorrent-rasterbar.so.%%SO_VER%%
+lib/libtorrent-rasterbar.so.%%SHLIB_VER%%
libdata/pkgconfig/libtorrent-rasterbar.pc
share/cmake/Modules/FindLibtorrentRasterbar.cmake