1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= libtorrent-rasterbar
7 SDESC[standard]= Feature complete C++ bittorrent implementation
8 HOMEPAGE= https://www.rasterbar.com/products/libtorrent/
12 SITES[main]= https://github.com/arvidn/libtorrent/releases/download/v2.0.9/
13 DISTFILE[1]= libtorrent-rasterbar-2.0.9.tar.gz:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= boost-libraries:dev:standard
23 BUILDRUN_DEPENDS= boost-libraries:primary:standard
25 USES= cpe cmake libtool pkgconfig ssl c++:primary
27 LICENSE= BSD3CLAUSE:primary
28 LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/COPYING
31 CPE_PRODUCT= libtorrent
32 CPE_VENDOR= rasterbar_software
33 FPC_EQUIVALENT= net-p2p/libtorrent-rasterbar
36 PLIST_SUB= SOMAJMIN=2.0
39 find "${WRKSRC}" -name "*.orig" -type f -delete
42 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
44 [FILE:233:descriptions/desc.primary]
45 libtorrent is an open source C++ library implementing the BitTorrent
46 protocol, along with most popular extensions, making it suitable for
47 real world deployment. It is configurable to be able to fit both
48 servers and embedded devices.
52 90cd92b6061c5b664840c3d5e151d43fedb24f5b2b24e14425ffbb884ef1798e 4720611 libtorrent-rasterbar-2.0.9.tar.gz
55 [FILE:82:manifests/plist.primary]
57 libtorrent-rasterbar.so.%%SOMAJMIN%%
58 libtorrent-rasterbar.so.%%SOVERSION%%
61 [FILE:5098:manifests/plist.dev]
63 add_torrent_params.hpp
73 bt_peer_connection.hpp
84 disk_buffer_holder.hpp
105 http_seed_connection.hpp
107 http_tracker_connection.hpp
134 peer_class_type_filter.hpp
136 peer_connection_handle.hpp
137 peer_connection_interface.hpp
142 performance_counters.hpp
145 piece_block_progress.hpp
189 torrent_peer_allocator.hpp
194 udp_tracker_connection.hpp
201 web_connection_base.hpp
202 web_peer_connection.hpp
203 write_resume_data.hpp
205 include/libtorrent/aux_/
210 allocating_handler.hpp
215 bandwidth_manager.hpp
216 bandwidth_queue_entry.hpp
222 container_wrapper.hpp
229 disable_deprecation_warnings_push.hpp
230 disable_warnings_pop.hpp
231 disable_warnings_push.hpp
233 disk_io_thread_pool.hpp
248 heterogeneous_queue.hpp
249 instantiate_connection.hpp
255 listen_socket_handle.hpp
268 polymorphic_socket.hpp
277 resolver_interface.hpp
282 session_interface.hpp
284 session_udp_sockets.hpp
285 set_socket_buffer.hpp
286 set_traffic_class.hpp
289 storage_free_list.hpp
297 timestamp_history.hpp
301 utp_socket_manager.hpp
305 win_crypto_provider.hpp
309 include/libtorrent/extensions/
313 include/libtorrent/kademlia/
337 sample_infohashes.hpp
338 traversal_algorithm.hpp
340 lib/libtorrent-rasterbar.so
341 lib/cmake/LibtorrentRasterbar/
342 LibtorrentRasterbarConfig.cmake
343 LibtorrentRasterbarConfigVersion.cmake
344 LibtorrentRasterbarTargets-%%CMAKE_BUILD_TYPE%%.cmake
345 LibtorrentRasterbarTargets.cmake
346 lib/pkgconfig/libtorrent-rasterbar.pc
347 share/cmake/Modules/FindLibtorrentRasterbar.cmake
350 [FILE:622:patches/patch-src_platform__util.cpp]
351 --- src/platform_util.cpp.orig 2023-05-22 06:38:35 UTC
352 +++ src/platform_util.cpp
353 @@ -40,7 +40,7 @@ POSSIBILITY OF SUCH DAMAGE.
355 #if TORRENT_HAS_PTHREAD_SET_NAME
358 +#if defined(TORRENT_BSD) && !defined(__NetBSD__)
359 #include <pthread_np.h>
362 @@ -105,7 +105,11 @@ namespace libtorrent {
363 TORRENT_UNUSED(name);
364 #if TORRENT_HAS_PTHREAD_SET_NAME
366 +# if defined(__NetBSD__)
367 + pthread_setname_np(pthread_self(), name, nullptr);
369 pthread_set_name_np(pthread_self(), name);
372 pthread_setname_np(pthread_self(), name);