pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/libtorrent-rasterbar



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr 19 16:34:10 UTC 2022

Modified Files:
        pkgsrc/net/libtorrent-rasterbar: Makefile PLIST distinfo
Added Files:
        pkgsrc/net/libtorrent-rasterbar/patches: patch-src_platform__util.cpp
Removed Files:
        pkgsrc/net/libtorrent-rasterbar/patches:
            patch-include_libtorrent_config.hpp

Log Message:
libtorrent-rasterbar: updated to 2.0.6

libtorrent-2.0.6

fix issue creating a v2 torrent from torrent_info containing an empty file
make recheck files also update which files use partfile
add write_through disk_io_write_mode, which flushes pieces to disk immediately
improve copy file function to preserve sparse regions (when supported)
add function to truncate over-sized files part of a torrent
fix directory creation on windows shared folders
add flag to make add_files() not record file attributes
deprecate (unused) allow_partial_disk_writes settings
fix disk-full error reporting in mmap_disk_io
fixed similar-torrents feature for v2 torrents
fix potential unbounded recursion in add_completed_job, in disk I/O
deprecated (unused) volatile_read_cache setting
fix part files being marked as hidden on windows


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/net/libtorrent-rasterbar/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/libtorrent-rasterbar/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/libtorrent-rasterbar/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/net/libtorrent-rasterbar/patches/patch-include_libtorrent_config.hpp
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/libtorrent-rasterbar/patches/patch-src_platform__util.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/libtorrent-rasterbar/Makefile
diff -u pkgsrc/net/libtorrent-rasterbar/Makefile:1.23 pkgsrc/net/libtorrent-rasterbar/Makefile:1.24
--- pkgsrc/net/libtorrent-rasterbar/Makefile:1.23       Mon Jan 10 01:46:42 2022
+++ pkgsrc/net/libtorrent-rasterbar/Makefile    Tue Apr 19 16:34:10 2022
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2022/01/10 01:46:42 ryoon Exp $
+# $NetBSD: Makefile,v 1.24 2022/04/19 16:34:10 adam Exp $
 
-DISTNAME=      libtorrent-rasterbar-1.2.15
-PKGREVISION=   1
+DISTNAME=      libtorrent-rasterbar-2.0.6
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=arvidn/}
 GITHUB_PROJECT=        libtorrent
@@ -13,7 +12,7 @@ COMMENT=      Feature complete C++ bittorrent
 LICENSE=       modified-bsd
 
 USE_CMAKE=     yes
-USE_LANGUAGES= c gnu++14
+USE_LANGUAGES= c c++17
 USE_TOOLS+=    pkg-config
 
 GCC_REQD+=     6 # c++14

Index: pkgsrc/net/libtorrent-rasterbar/PLIST
diff -u pkgsrc/net/libtorrent-rasterbar/PLIST:1.5 pkgsrc/net/libtorrent-rasterbar/PLIST:1.6
--- pkgsrc/net/libtorrent-rasterbar/PLIST:1.5   Wed Jan  6 14:25:53 2021
+++ pkgsrc/net/libtorrent-rasterbar/PLIST       Tue Apr 19 16:34:10 2022
@@ -1,50 +1,79 @@
-@comment $NetBSD: PLIST,v 1.5 2021/01/06 14:25:53 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/04/19 16:34:10 adam Exp $
 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_/apply_pad_files.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_/block_cache_reference.hpp
+include/libtorrent/aux_/buffer.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_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_/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_/merkle.hpp
+include/libtorrent/aux_/merkle_tree.hpp
+include/libtorrent/aux_/mmap.hpp
+include/libtorrent/aux_/mmap_disk_job.hpp
 include/libtorrent/aux_/noexcept_movable.hpp
 include/libtorrent/aux_/numeric_cast.hpp
-include/libtorrent/aux_/openssl.hpp
+include/libtorrent/aux_/open_mode.hpp
+include/libtorrent/aux_/packet_buffer.hpp
+include/libtorrent/aux_/packet_pool.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
@@ -53,33 +82,35 @@ include/libtorrent/aux_/session_interfac
 include/libtorrent/aux_/session_settings.hpp
 include/libtorrent/aux_/session_udp_sockets.hpp
 include/libtorrent/aux_/set_socket_buffer.hpp
+include/libtorrent/aux_/set_traffic_class.hpp
+include/libtorrent/aux_/sha512.hpp
 include/libtorrent/aux_/socket_type.hpp
-include/libtorrent/aux_/storage_piece_set.hpp
+include/libtorrent/aux_/storage_free_list.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
@@ -87,16 +118,11 @@ 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
@@ -106,15 +132,13 @@ include/libtorrent/extensions/smart_ban.
 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
@@ -124,10 +148,10 @@ include/libtorrent/http_tracker_connecti
 include/libtorrent/i2p_stream.hpp
 include/libtorrent/identify_client.hpp
 include/libtorrent/index_range.hpp
-include/libtorrent/invariant_check.hpp
+include/libtorrent/info_hash.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
@@ -156,17 +180,16 @@ include/libtorrent/kademlia/rpc_manager.
 include/libtorrent/kademlia/sample_infohashes.hpp
 include/libtorrent/kademlia/traversal_algorithm.hpp
 include/libtorrent/kademlia/types.hpp
-include/libtorrent/lazy_entry.hpp
+include/libtorrent/libtorrent.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
@@ -188,17 +211,16 @@ include/libtorrent/piece_block_progress.
 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
@@ -206,12 +228,14 @@ include/libtorrent/session_types.hpp
 include/libtorrent/settings_pack.hpp
 include/libtorrent/sha1.hpp
 include/libtorrent/sha1_hash.hpp
-include/libtorrent/sha512.hpp
+include/libtorrent/sha256.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
@@ -222,7 +246,6 @@ 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
@@ -231,14 +254,13 @@ include/libtorrent/torrent_peer.hpp
 include/libtorrent/torrent_peer_allocator.hpp
 include/libtorrent/torrent_status.hpp
 include/libtorrent/tracker_manager.hpp
+include/libtorrent/truncate.hpp
 include/libtorrent/udp_socket.hpp
 include/libtorrent/udp_tracker_connection.hpp
 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
@@ -251,6 +273,6 @@ lib/cmake/LibtorrentRasterbar/Libtorrent
 lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarTargets.cmake
 lib/libtorrent-rasterbar.so
 lib/libtorrent-rasterbar.so.${PKGVERSION}
-lib/libtorrent-rasterbar.so.10
+lib/libtorrent-rasterbar.so.2.0
 lib/pkgconfig/libtorrent-rasterbar.pc
 share/cmake/Modules/FindLibtorrentRasterbar.cmake

Index: pkgsrc/net/libtorrent-rasterbar/distinfo
diff -u pkgsrc/net/libtorrent-rasterbar/distinfo:1.16 pkgsrc/net/libtorrent-rasterbar/distinfo:1.17
--- pkgsrc/net/libtorrent-rasterbar/distinfo:1.16       Mon Dec  6 19:19:45 2021
+++ pkgsrc/net/libtorrent-rasterbar/distinfo    Tue Apr 19 16:34:10 2022
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.16 2021/12/06 19:19:45 adam Exp $
+$NetBSD: distinfo,v 1.17 2022/04/19 16:34:10 adam Exp $
 
-BLAKE2s (libtorrent-rasterbar-1.2.15.tar.gz) = 654b6249bbab71754fe8f4a2bfe8fd351841369e21a7394c489fa53f3f88e2fb
-SHA512 (libtorrent-rasterbar-1.2.15.tar.gz) = c409c53ec9c299a05b51ab61d7df1209803cbd6070f0a014dd6fb42c30f6f5230ea90848330f901c61816bc70901e618409acacc95bb0e5acb7f81211d001fa2
-Size (libtorrent-rasterbar-1.2.15.tar.gz) = 4163049 bytes
-SHA1 (patch-include_libtorrent_buffer.hpp) = 365f04a6a4b63f86288119201bfec0b9d9e67bee
-SHA1 (patch-include_libtorrent_config.hpp) = 20d887a755935cdc23bdc80fcfbc8f07a89ec1e1
+BLAKE2s (libtorrent-rasterbar-2.0.6.tar.gz) = fb8ba3e444cc19f28b04ea01809394126839ee7469762e066bc655ac0061d1eb
+SHA512 (libtorrent-rasterbar-2.0.6.tar.gz) = 4a5d710706040ef6193967dbb13998cb0ddebe7e95c3bf8aec0812876027c68c32b001fd3f07cd4ff1b819660a8d46ae8c7077e72caf92572288a51cdec7daea
+Size (libtorrent-rasterbar-2.0.6.tar.gz) = 4431174 bytes
+SHA1 (patch-src_platform__util.cpp) = d1e316ab7a6925fb7050845aaf30ead3f67f0fd9

Added files:

Index: pkgsrc/net/libtorrent-rasterbar/patches/patch-src_platform__util.cpp
diff -u /dev/null pkgsrc/net/libtorrent-rasterbar/patches/patch-src_platform__util.cpp:1.1
--- /dev/null   Tue Apr 19 16:34:10 2022
+++ pkgsrc/net/libtorrent-rasterbar/patches/patch-src_platform__util.cpp        Tue Apr 19 16:34:10 2022
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_platform__util.cpp,v 1.1 2022/04/19 16:34:10 adam Exp $
+
+NetBSD support.
+
+--- src/platform_util.cpp.orig 2022-04-19 14:47:36.330535380 +0000
++++ src/platform_util.cpp
+@@ -40,7 +40,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ 
+ #if TORRENT_HAS_PTHREAD_SET_NAME
+ #include <pthread.h>
+-#ifdef TORRENT_BSD
++#if defined(TORRENT_BSD) && !defined(__NetBSD__)
+ #include <pthread_np.h>
+ #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



Home | Main Index | Thread Index | Old Index