# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= libtorrent-rasterbar VERSION= 2.0.10 KEYWORDS= net_p2p VARIANTS= standard SDESC[standard]= Feature complete C++ bittorrent implementation HOMEPAGE= https://www.rasterbar.com/products/libtorrent/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= https://github.com/arvidn/libtorrent/releases/download/v2.0.10/ DISTFILE[1]= libtorrent-rasterbar-2.0.10.tar.gz:main DF_INDEX= 1 SPKGS[standard]= complete primary dev OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none BUILD_DEPENDS= boost-libraries:dev:standard BUILDRUN_DEPENDS= boost-libraries:primary:standard USES= cpe cmake libtool pkgconfig ssl c++:primary LICENSE= BSD3CLAUSE:primary LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/COPYING LICENSE_SCHEME= solo CPE_PRODUCT= libtorrent CPE_VENDOR= rasterbar_software FPC_EQUIVALENT= net-p2p/libtorrent-rasterbar SOVERSION= 2.0.10 PLIST_SUB= SOMAJMIN=2.0 pre-install: find "${WRKSRC}" -name "*.orig" -type f -delete post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so [FILE:233:descriptions/desc.primary] libtorrent is an open source C++ library implementing the BitTorrent protocol, along with most popular extensions, making it suitable for real world deployment. It is configurable to be able to fit both servers and embedded devices. [FILE:113:distinfo] fc935b8c1daca5c0a4d304bff59e64e532be16bb877c012aea4bda73d9ca885d 4686014 libtorrent-rasterbar-2.0.10.tar.gz [FILE:82:manifests/plist.primary] lib/ libtorrent-rasterbar.so.%%SOMAJMIN%% libtorrent-rasterbar.so.%%SOVERSION%% [FILE:5098:manifests/plist.dev] include/libtorrent/ add_torrent_params.hpp address.hpp alert.hpp alert_types.hpp announce_entry.hpp assert.hpp bdecode.hpp bencode.hpp bitfield.hpp bloom_filter.hpp bt_peer_connection.hpp choker.hpp client_data.hpp close_reason.hpp config.hpp copy_ptr.hpp crc32c.hpp create_torrent.hpp deadline_timer.hpp debug.hpp disabled_disk_io.hpp disk_buffer_holder.hpp disk_interface.hpp disk_observer.hpp download_priority.hpp entry.hpp enum_net.hpp error.hpp error_code.hpp extensions.hpp file.hpp file_layout.hpp file_storage.hpp fingerprint.hpp flags.hpp fwd.hpp gzip.hpp hash_picker.hpp hasher.hpp hex.hpp http_connection.hpp http_parser.hpp http_seed_connection.hpp http_stream.hpp http_tracker_connection.hpp i2p_stream.hpp identify_client.hpp index_range.hpp info_hash.hpp io.hpp io_context.hpp io_service.hpp ip_filter.hpp ip_voter.hpp libtorrent.hpp link.hpp load_torrent.hpp lsd.hpp magnet_uri.hpp mmap_disk_io.hpp mmap_storage.hpp natpmp.hpp netlink.hpp operations.hpp optional.hpp parse_url.hpp part_file.hpp pe_crypto.hpp peer.hpp peer_class.hpp peer_class_set.hpp peer_class_type_filter.hpp peer_connection.hpp peer_connection_handle.hpp peer_connection_interface.hpp peer_id.hpp peer_info.hpp peer_list.hpp peer_request.hpp performance_counters.hpp pex_flags.hpp piece_block.hpp piece_block_progress.hpp piece_picker.hpp platform_util.hpp portmap.hpp posix_disk_io.hpp proxy_base.hpp puff.hpp random.hpp read_resume_data.hpp request_blocks.hpp resolve_links.hpp session.hpp session_handle.hpp session_params.hpp session_settings.hpp session_stats.hpp session_status.hpp session_types.hpp settings_pack.hpp sha1.hpp sha1_hash.hpp sha256.hpp sliding_average.hpp socket.hpp socket_io.hpp socket_type.hpp socks5_stream.hpp span.hpp ssl.hpp ssl_stream.hpp stack_allocator.hpp stat.hpp stat_cache.hpp storage.hpp storage_defs.hpp string_util.hpp string_view.hpp tailqueue.hpp time.hpp torrent.hpp torrent_flags.hpp torrent_handle.hpp torrent_info.hpp torrent_peer.hpp torrent_peer_allocator.hpp torrent_status.hpp tracker_manager.hpp truncate.hpp udp_socket.hpp udp_tracker_connection.hpp union_endpoint.hpp units.hpp upnp.hpp utf8.hpp vector_utils.hpp version.hpp web_connection_base.hpp web_peer_connection.hpp write_resume_data.hpp xml_parse.hpp include/libtorrent/aux_/ alert_manager.hpp aligned_storage.hpp aligned_union.hpp alloca.hpp allocating_handler.hpp announce_entry.hpp apply_pad_files.hpp array.hpp bandwidth_limit.hpp bandwidth_manager.hpp bandwidth_queue_entry.hpp bandwidth_socket.hpp bind_to_device.hpp buffer.hpp byteswap.hpp chained_buffer.hpp container_wrapper.hpp cpuid.hpp deferred_handler.hpp deprecated.hpp deque.hpp dev_random.hpp directory.hpp disable_deprecation_warnings_push.hpp disable_warnings_pop.hpp disable_warnings_push.hpp disk_buffer_pool.hpp disk_io_thread_pool.hpp disk_job_fence.hpp disk_job_pool.hpp drive_info.hpp ed25519.hpp escape_string.hpp export.hpp ffs.hpp file_descriptor.hpp file_pointer.hpp file_progress.hpp file_view_pool.hpp generate_peer_id.hpp has_block.hpp hasher512.hpp heterogeneous_queue.hpp instantiate_connection.hpp invariant_check.hpp io.hpp ip_helpers.hpp ip_notifier.hpp keepalive.hpp listen_socket_handle.hpp lsd.hpp merkle.hpp merkle_tree.hpp mmap.hpp mmap_disk_job.hpp netlink_utils.hpp noexcept_movable.hpp numeric_cast.hpp open_mode.hpp packet_buffer.hpp packet_pool.hpp path.hpp polymorphic_socket.hpp pool.hpp portmap.hpp posix_part_file.hpp posix_storage.hpp proxy_settings.hpp range.hpp receive_buffer.hpp resolver.hpp resolver_interface.hpp route.h scope_end.hpp session_call.hpp session_impl.hpp session_interface.hpp session_settings.hpp session_udp_sockets.hpp set_socket_buffer.hpp set_traffic_class.hpp sha512.hpp socket_type.hpp storage_free_list.hpp storage_utils.hpp store_buffer.hpp string_ptr.hpp strview_less.hpp suggest_piece.hpp throw.hpp time.hpp timestamp_history.hpp torrent_impl.hpp torrent_list.hpp unique_ptr.hpp utp_socket_manager.hpp utp_stream.hpp vector.hpp win_cng.hpp win_crypto_provider.hpp win_file_handle.hpp win_util.hpp windows.hpp include/libtorrent/extensions/ smart_ban.hpp ut_metadata.hpp ut_pex.hpp include/libtorrent/kademlia/ announce_flags.hpp dht_observer.hpp dht_settings.hpp dht_state.hpp dht_storage.hpp dht_tracker.hpp direct_request.hpp dos_blocker.hpp ed25519.hpp find_data.hpp get_item.hpp get_peers.hpp io.hpp item.hpp msg.hpp node.hpp node_entry.hpp node_id.hpp observer.hpp put_data.hpp refresh.hpp routing_table.hpp rpc_manager.hpp sample_infohashes.hpp traversal_algorithm.hpp types.hpp lib/libtorrent-rasterbar.so lib/cmake/LibtorrentRasterbar/ LibtorrentRasterbarConfig.cmake LibtorrentRasterbarConfigVersion.cmake LibtorrentRasterbarTargets-%%CMAKE_BUILD_TYPE%%.cmake LibtorrentRasterbarTargets.cmake lib/pkgconfig/libtorrent-rasterbar.pc share/cmake/Modules/FindLibtorrentRasterbar.cmake [FILE:622:patches/patch-src_platform__util.cpp] --- src/platform_util.cpp.orig 2024-02-19 12:16:53 UTC +++ src/platform_util.cpp @@ -40,7 +40,7 @@ POSSIBILITY OF SUCH DAMAGE. #if TORRENT_HAS_PTHREAD_SET_NAME #include -#ifdef TORRENT_BSD +#if defined(TORRENT_BSD) && !defined(__NetBSD__) #include #endif #endif @@ -105,7 +105,11 @@ namespace libtorrent { TORRENT_UNUSED(name); #if TORRENT_HAS_PTHREAD_SET_NAME #ifdef TORRENT_BSD +# if defined(__NetBSD__) + pthread_setname_np(pthread_self(), name, nullptr); +# else pthread_set_name_np(pthread_self(), name); +# endif #else pthread_setname_np(pthread_self(), name); #endif