Ravenports generated: 07 Jan 2024 05:04
[ravenports.git] / bucket_60 / libtorrent-rasterbar
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libtorrent-rasterbar
4 VERSION=                2.0.9
5 KEYWORDS=               net_p2p
6 VARIANTS=               standard
7 SDESC[standard]=        Feature complete C++ bittorrent implementation
8 HOMEPAGE=               https://www.rasterbar.com/products/libtorrent/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://github.com/arvidn/libtorrent/releases/download/v2.0.9/
13 DISTFILE[1]=            libtorrent-rasterbar-2.0.9.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         primary
17                         dev
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 BUILD_DEPENDS=          boost-libraries:dev:standard
23 BUILDRUN_DEPENDS=       boost-libraries:primary:standard
24
25 USES=                   cpe cmake libtool pkgconfig ssl c++:primary
26
27 LICENSE=                BSD3CLAUSE:primary
28 LICENSE_FILE=           BSD3CLAUSE:{{WRKSRC}}/COPYING
29 LICENSE_SCHEME=         solo
30
31 CPE_PRODUCT=            libtorrent
32 CPE_VENDOR=             rasterbar_software
33 FPC_EQUIVALENT=         net-p2p/libtorrent-rasterbar
34
35 SOVERSION=              2.0.9
36 PLIST_SUB=              SOMAJMIN=2.0
37
38 pre-install:
39         find "${WRKSRC}" -name "*.orig" -type f -delete
40
41 post-install:
42         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
43
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.
49
50
51 [FILE:112:distinfo]
52 90cd92b6061c5b664840c3d5e151d43fedb24f5b2b24e14425ffbb884ef1798e      4720611 libtorrent-rasterbar-2.0.9.tar.gz
53
54
55 [FILE:82:manifests/plist.primary]
56 lib/
57  libtorrent-rasterbar.so.%%SOMAJMIN%%
58  libtorrent-rasterbar.so.%%SOVERSION%%
59
60
61 [FILE:5098:manifests/plist.dev]
62 include/libtorrent/
63  add_torrent_params.hpp
64  address.hpp
65  alert.hpp
66  alert_types.hpp
67  announce_entry.hpp
68  assert.hpp
69  bdecode.hpp
70  bencode.hpp
71  bitfield.hpp
72  bloom_filter.hpp
73  bt_peer_connection.hpp
74  choker.hpp
75  client_data.hpp
76  close_reason.hpp
77  config.hpp
78  copy_ptr.hpp
79  crc32c.hpp
80  create_torrent.hpp
81  deadline_timer.hpp
82  debug.hpp
83  disabled_disk_io.hpp
84  disk_buffer_holder.hpp
85  disk_interface.hpp
86  disk_observer.hpp
87  download_priority.hpp
88  entry.hpp
89  enum_net.hpp
90  error.hpp
91  error_code.hpp
92  extensions.hpp
93  file.hpp
94  file_layout.hpp
95  file_storage.hpp
96  fingerprint.hpp
97  flags.hpp
98  fwd.hpp
99  gzip.hpp
100  hash_picker.hpp
101  hasher.hpp
102  hex.hpp
103  http_connection.hpp
104  http_parser.hpp
105  http_seed_connection.hpp
106  http_stream.hpp
107  http_tracker_connection.hpp
108  i2p_stream.hpp
109  identify_client.hpp
110  index_range.hpp
111  info_hash.hpp
112  io.hpp
113  io_context.hpp
114  io_service.hpp
115  ip_filter.hpp
116  ip_voter.hpp
117  libtorrent.hpp
118  link.hpp
119  load_torrent.hpp
120  lsd.hpp
121  magnet_uri.hpp
122  mmap_disk_io.hpp
123  mmap_storage.hpp
124  natpmp.hpp
125  netlink.hpp
126  operations.hpp
127  optional.hpp
128  parse_url.hpp
129  part_file.hpp
130  pe_crypto.hpp
131  peer.hpp
132  peer_class.hpp
133  peer_class_set.hpp
134  peer_class_type_filter.hpp
135  peer_connection.hpp
136  peer_connection_handle.hpp
137  peer_connection_interface.hpp
138  peer_id.hpp
139  peer_info.hpp
140  peer_list.hpp
141  peer_request.hpp
142  performance_counters.hpp
143  pex_flags.hpp
144  piece_block.hpp
145  piece_block_progress.hpp
146  piece_picker.hpp
147  platform_util.hpp
148  portmap.hpp
149  posix_disk_io.hpp
150  proxy_base.hpp
151  puff.hpp
152  random.hpp
153  read_resume_data.hpp
154  request_blocks.hpp
155  resolve_links.hpp
156  session.hpp
157  session_handle.hpp
158  session_params.hpp
159  session_settings.hpp
160  session_stats.hpp
161  session_status.hpp
162  session_types.hpp
163  settings_pack.hpp
164  sha1.hpp
165  sha1_hash.hpp
166  sha256.hpp
167  sliding_average.hpp
168  socket.hpp
169  socket_io.hpp
170  socket_type.hpp
171  socks5_stream.hpp
172  span.hpp
173  ssl.hpp
174  ssl_stream.hpp
175  stack_allocator.hpp
176  stat.hpp
177  stat_cache.hpp
178  storage.hpp
179  storage_defs.hpp
180  string_util.hpp
181  string_view.hpp
182  tailqueue.hpp
183  time.hpp
184  torrent.hpp
185  torrent_flags.hpp
186  torrent_handle.hpp
187  torrent_info.hpp
188  torrent_peer.hpp
189  torrent_peer_allocator.hpp
190  torrent_status.hpp
191  tracker_manager.hpp
192  truncate.hpp
193  udp_socket.hpp
194  udp_tracker_connection.hpp
195  union_endpoint.hpp
196  units.hpp
197  upnp.hpp
198  utf8.hpp
199  vector_utils.hpp
200  version.hpp
201  web_connection_base.hpp
202  web_peer_connection.hpp
203  write_resume_data.hpp
204  xml_parse.hpp
205 include/libtorrent/aux_/
206  alert_manager.hpp
207  aligned_storage.hpp
208  aligned_union.hpp
209  alloca.hpp
210  allocating_handler.hpp
211  announce_entry.hpp
212  apply_pad_files.hpp
213  array.hpp
214  bandwidth_limit.hpp
215  bandwidth_manager.hpp
216  bandwidth_queue_entry.hpp
217  bandwidth_socket.hpp
218  bind_to_device.hpp
219  buffer.hpp
220  byteswap.hpp
221  chained_buffer.hpp
222  container_wrapper.hpp
223  cpuid.hpp
224  deferred_handler.hpp
225  deprecated.hpp
226  deque.hpp
227  dev_random.hpp
228  directory.hpp
229  disable_deprecation_warnings_push.hpp
230  disable_warnings_pop.hpp
231  disable_warnings_push.hpp
232  disk_buffer_pool.hpp
233  disk_io_thread_pool.hpp
234  disk_job_fence.hpp
235  disk_job_pool.hpp
236  drive_info.hpp
237  ed25519.hpp
238  escape_string.hpp
239  export.hpp
240  ffs.hpp
241  file_descriptor.hpp
242  file_pointer.hpp
243  file_progress.hpp
244  file_view_pool.hpp
245  generate_peer_id.hpp
246  has_block.hpp
247  hasher512.hpp
248  heterogeneous_queue.hpp
249  instantiate_connection.hpp
250  invariant_check.hpp
251  io.hpp
252  ip_helpers.hpp
253  ip_notifier.hpp
254  keepalive.hpp
255  listen_socket_handle.hpp
256  lsd.hpp
257  merkle.hpp
258  merkle_tree.hpp
259  mmap.hpp
260  mmap_disk_job.hpp
261  netlink_utils.hpp
262  noexcept_movable.hpp
263  numeric_cast.hpp
264  open_mode.hpp
265  packet_buffer.hpp
266  packet_pool.hpp
267  path.hpp
268  polymorphic_socket.hpp
269  pool.hpp
270  portmap.hpp
271  posix_part_file.hpp
272  posix_storage.hpp
273  proxy_settings.hpp
274  range.hpp
275  receive_buffer.hpp
276  resolver.hpp
277  resolver_interface.hpp
278  route.h
279  scope_end.hpp
280  session_call.hpp
281  session_impl.hpp
282  session_interface.hpp
283  session_settings.hpp
284  session_udp_sockets.hpp
285  set_socket_buffer.hpp
286  set_traffic_class.hpp
287  sha512.hpp
288  socket_type.hpp
289  storage_free_list.hpp
290  storage_utils.hpp
291  store_buffer.hpp
292  string_ptr.hpp
293  strview_less.hpp
294  suggest_piece.hpp
295  throw.hpp
296  time.hpp
297  timestamp_history.hpp
298  torrent_impl.hpp
299  torrent_list.hpp
300  unique_ptr.hpp
301  utp_socket_manager.hpp
302  utp_stream.hpp
303  vector.hpp
304  win_cng.hpp
305  win_crypto_provider.hpp
306  win_file_handle.hpp
307  win_util.hpp
308  windows.hpp
309 include/libtorrent/extensions/
310  smart_ban.hpp
311  ut_metadata.hpp
312  ut_pex.hpp
313 include/libtorrent/kademlia/
314  announce_flags.hpp
315  dht_observer.hpp
316  dht_settings.hpp
317  dht_state.hpp
318  dht_storage.hpp
319  dht_tracker.hpp
320  direct_request.hpp
321  dos_blocker.hpp
322  ed25519.hpp
323  find_data.hpp
324  get_item.hpp
325  get_peers.hpp
326  io.hpp
327  item.hpp
328  msg.hpp
329  node.hpp
330  node_entry.hpp
331  node_id.hpp
332  observer.hpp
333  put_data.hpp
334  refresh.hpp
335  routing_table.hpp
336  rpc_manager.hpp
337  sample_infohashes.hpp
338  traversal_algorithm.hpp
339  types.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
348
349
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.
354  
355  #if TORRENT_HAS_PTHREAD_SET_NAME
356  #include <pthread.h>
357 -#ifdef TORRENT_BSD
358 +#if defined(TORRENT_BSD) && !defined(__NetBSD__)
359  #include <pthread_np.h>
360  #endif
361  #endif
362 @@ -105,7 +105,11 @@ namespace libtorrent {
363                 TORRENT_UNUSED(name);
364  #if TORRENT_HAS_PTHREAD_SET_NAME
365  #ifdef TORRENT_BSD
366 +# if defined(__NetBSD__)
367 +               pthread_setname_np(pthread_self(), name, nullptr);
368 +# else
369                 pthread_set_name_np(pthread_self(), name);
370 +# endif
371  #else
372                 pthread_setname_np(pthread_self(), name);
373  #endif
374