head 1.3; access; symbols pkgsrc-2021Q3:1.2.0.14 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.12 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.10 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.8 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.6 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.1.0.4 pkgsrc-2019Q4-base:1.1; locks; strict; comment @// @; 1.3 date 2021.12.06.19.19.45; author adam; state dead; branches; next 1.2; commitid tpxV9pJHLZNpKCjD; 1.2 date 2020.01.10.11.52.05; author nia; state Exp; branches; next 1.1; commitid OSZrTcFN6jbVD8SB; 1.1 date 2019.12.16.18.00.51; author nia; state Exp; branches 1.1.4.1; next ; commitid 1h8taTAmfFCfuXOB; 1.1.4.1 date 2020.01.10.15.25.38; author bsiegert; state Exp; branches; next ; commitid vZV5cQhfzujhP9SB; desc @@ 1.3 log @libtorrent-rasterbar: updated to 1.2.15 1.2.15 released cache DNS lookups for SOCKS5 proxy fix stalled pieces on disk-full errors fix build configuration issue on NetBSD, OpenBSD and DragonFly make UTF-8 sanitization a bit stricter. This will re-write invalid UTF-8 code points encoding surrogate pairs fix restoring last_seen_complete from resume data fix issue on MacOS where the DHT was not restarted on a network-up notification make remove_torrent flags be treated as flags (instead of an enum) @ text @$NetBSD: patch-include_libtorrent_buffer.hpp,v 1.2 2020/01/10 11:52:05 nia Exp $ On second thought, let's not peek into internal malloc properties. --- include/libtorrent/buffer.hpp.orig 2019-12-19 00:51:16.000000000 +0000 +++ include/libtorrent/buffer.hpp @@@@ -49,8 +49,6 @@@@ POSSIBILITY OF SUCH DAMAGE. #include #elif defined __FreeBSD__ #include -#elif defined TORRENT_BSD -#include #endif namespace libtorrent { @@@@ -89,8 +87,6 @@@@ public: m_size = static_cast(::malloc_usable_size(m_begin)); #elif defined _MSC_VER m_size = static_cast(::_msize(m_begin)); -#elif defined TORRENT_BSD - m_size = static_cast(::malloc_size(m_begin)); #else m_size = size; #endif @ 1.2 log @libtorrent-rasterbar: Let's not peek into internal malloc properties. @ text @d1 1 a1 1 $NetBSD: patch-include_libtorrent_buffer.hpp,v 1.1 2019/12/16 18:00:51 nia Exp $ @ 1.1 log @net: Add libtorrent-rasterbar libtorrent-rasterbar is a feature complete C++ bittorrent implementation focusing on efficiency and scalability. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 Support NetBSD. d5 1 a5 1 --- include/libtorrent/buffer.hpp.orig 2019-09-24 09:52:01.000000000 +0000 d7 1 a7 1 @@@@ -47,6 +47,8 @@@@ POSSIBILITY OF SUCH DAMAGE. a8 4 #elif defined _MSC_VER #include +#elif defined __NetBSD__ +#include d11 3 a13 2 #elif defined TORRENT_BSD @@@@ -85,7 +87,7 @@@@ public: d15 2 a16 4 // the actual allocation may be larger than we requested. If so, let the // user take advantage of every single byte -#if (defined __GLIBC__ && !defined __UCLIBC__) || defined __FreeBSD__ +#if (defined __GLIBC__ && !defined __UCLIBC__) || defined __FreeBSD__ || defined __NetBSD__ d20 5 @ 1.1.4.1 log @Pullup ticket #6115 - requested by nia net/libtorrent-rasterbar: NetBSD 8 build fix Revisions pulled up: - net/libtorrent-rasterbar/Makefile 1.2-1.3 - net/libtorrent-rasterbar/PLIST 1.2 - net/libtorrent-rasterbar/distinfo 1.2-1.3 - net/libtorrent-rasterbar/patches/patch-include_libtorrent_buffer.hpp 1.2 --- Module Name: pkgsrc Committed By: nia Date: Sat Jan 4 16:49:12 UTC 2020 Modified Files: pkgsrc/net/libtorrent-rasterbar: Makefile PLIST distinfo Log Message: libtorrent-rasterbar: Update to 1.2.3 Changes: fix erroneous event=completed tracker announce when checking files promote errors in parsing listen_interfaces to post listen_failed_alert fix bug in protocol encryption/obfuscation fix buffer overflow in SOCKS5 UDP logic fix issue of rapid calls to file_priority() clobbering each other clear tracker errors on success optimize setting with unlimited unchoke slots fixed restoring of trackers, comment, creation date and created-by in resume data fix handling of torrents with too large pieces fixed division by zero in anti-leech choker fixed bug in torrent_info::swap --- Module Name: pkgsrc Committed By: nia Date: Fri Jan 10 11:52:05 UTC 2020 Modified Files: pkgsrc/net/libtorrent-rasterbar: Makefile distinfo pkgsrc/net/libtorrent-rasterbar/patches: patch-include_libtorrent_buffer.hpp Log Message: libtorrent-rasterbar: Let's not peek into internal malloc properties. @ text @d3 1 a3 1 On second thought, let's not peek into internal malloc properties. d5 1 a5 1 --- include/libtorrent/buffer.hpp.orig 2019-12-19 00:51:16.000000000 +0000 d7 1 a7 1 @@@@ -49,8 +49,6 @@@@ POSSIBILITY OF SUCH DAMAGE. d9 4 d15 2 a16 3 -#elif defined TORRENT_BSD -#include #endif d18 4 a21 2 namespace libtorrent { @@@@ -89,8 +87,6 @@@@ public: a24 5 -#elif defined TORRENT_BSD - m_size = static_cast(::malloc_size(m_begin)); #else m_size = size; #endif @