summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/amule/Makefile5
-rw-r--r--net-p2p/amule/files/patch-autoconf-2.7028
-rw-r--r--net-p2p/amule/files/patch-disable-version-check12
-rw-r--r--net-p2p/amule/files/patch-fix-boost1.89+983
-rw-r--r--net-p2p/amule/files/patch-fix-exception12
-rw-r--r--net-p2p/amule/files/patch-use-xdg-open-as-preview-default17
-rw-r--r--net-p2p/bitcoin-daemon/Makefile1
-rw-r--r--net-p2p/bitcoin-utils/Makefile1
-rw-r--r--net-p2p/bitcoin/Makefile1
-rw-r--r--net-p2p/eiskaltdcpp-lib/Makefile4
-rw-r--r--net-p2p/jackett/Makefile2
-rw-r--r--net-p2p/jackett/distinfo6
-rw-r--r--net-p2p/jackett/pkg-plist9
-rw-r--r--net-p2p/libtorrent-rasterbar/Makefile4
-rw-r--r--net-p2p/libtorrent-rasterbar2/Makefile4
-rw-r--r--net-p2p/libtorrent/Makefile2
-rw-r--r--net-p2p/libtorrent/distinfo6
-rw-r--r--net-p2p/libtorrent/pkg-plist8
-rw-r--r--net-p2p/litecoin-daemon/Makefile2
-rw-r--r--net-p2p/litecoin-utils/Makefile2
-rw-r--r--net-p2p/litecoin/Makefile5
-rw-r--r--net-p2p/monero-cli/Makefile3
-rw-r--r--net-p2p/namecoin-daemon/Makefile2
-rw-r--r--net-p2p/namecoin-utils/Makefile2
-rw-r--r--net-p2p/namecoin/Makefile2
-rw-r--r--net-p2p/py-libtorrent-rasterbar/Makefile4
-rw-r--r--net-p2p/py-tremc/Makefile10
-rw-r--r--net-p2p/py-tremc/distinfo6
-rw-r--r--net-p2p/rtorrent/Makefile2
-rw-r--r--net-p2p/rtorrent/distinfo6
30 files changed, 1108 insertions, 43 deletions
diff --git a/net-p2p/amule/Makefile b/net-p2p/amule/Makefile
index 96b5e8521f34..baf6041c78ee 100644
--- a/net-p2p/amule/Makefile
+++ b/net-p2p/amule/Makefile
@@ -1,6 +1,6 @@
PORTNAME= amule
PORTVERSION= 2.3.3
-PORTREVISION= 15
+PORTREVISION= 16
CATEGORIES= net-p2p
MASTER_SITES= SF/${PORTNAME}/aMule/${PORTVERSION}
DISTNAME= aMule-${PORTVERSION}
@@ -66,7 +66,8 @@ AMULEDAEMON_USE= RC_SUBR=amuled
AMULEGUI_CONFIGURE_ENABLE= amule-gui
BOOST_CONFIGURE_WITH= boost
-BOOST_LIB_DEPENDS= libboost_system.so:devel/boost-libs
+BOOST_LIB_DEPENDS= libboost_thread.so:devel/boost-libs
+BOOST_USES= autoreconf
CAS_CONFIGURE_ENABLE= cas
CAS_LIB_DEPENDS= libgd.so:graphics/gd
diff --git a/net-p2p/amule/files/patch-autoconf-2.70 b/net-p2p/amule/files/patch-autoconf-2.70
new file mode 100644
index 000000000000..da2c1d99353f
--- /dev/null
+++ b/net-p2p/amule/files/patch-autoconf-2.70
@@ -0,0 +1,28 @@
+From 0d3e85ea46b52685c5b198fbade3a82f38071ca4 Mon Sep 17 00:00:00 2001
+From: Pablo Barciela <scow@riseup.net>
+Date: Sun, 19 Sep 2021 13:55:07 +0200
+Subject: [PATCH] allow to build with autoconf 2.70 and later
+
+Closes https://github.com/amule-project/amule/issues/232
+---
+ configure.ac | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 93a918c03..9c57668c6 100644
+--- configure.ac
++++ configure.ac
+@@ -30,10 +30,6 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
+
+ AC_PREREQ(2.62)
+
+-# autoconf 2.70 introduced some incompatibilities that will make the build fail
+-# As a "workaround" reject 2.70 and above for now.
+-m4_if(m4_version_compare(m4_defn([AC_AUTOCONF_VERSION]), [2.70]), [-1],, [m4_fatal([autoconf ]m4_defn([AC_AUTOCONF_VERSION])[ is known to not work with aMule. Please use 2.69 instead.])])
+-
+ AC_CONFIG_SRCDIR([src/amule.cpp])
+ AC_CONFIG_HEADERS([config.h])
+ AC_CONFIG_MACRO_DIR([m4])
+--
+2.39.3
+
diff --git a/net-p2p/amule/files/patch-disable-version-check b/net-p2p/amule/files/patch-disable-version-check
new file mode 100644
index 000000000000..ee3cbdbb674f
--- /dev/null
+++ b/net-p2p/amule/files/patch-disable-version-check
@@ -0,0 +1,12 @@
+Disable NewVersionCheck by default
+--- src/Preferences.cpp
++++ src/Preferences.cpp
+@@ -1210,7 +1210,7 @@ void CPreferences::BuildItemList( const
+ /**
+ * Version check
+ **/
+- NewCfgItem(IDC_NEWVERSION, (new Cfg_Bool( wxT("/eMule/NewVersionCheck"), s_NewVersionCheck, true )));
++ NewCfgItem(IDC_NEWVERSION, (new Cfg_Bool( wxT("/eMule/NewVersionCheck"), s_NewVersionCheck, false )));
+
+ /**
+ * Obfuscation
diff --git a/net-p2p/amule/files/patch-fix-boost1.89+ b/net-p2p/amule/files/patch-fix-boost1.89+
new file mode 100644
index 000000000000..ba577e737420
--- /dev/null
+++ b/net-p2p/amule/files/patch-fix-boost1.89+
@@ -0,0 +1,983 @@
+--- src/LibSocketAsio.cpp.orig 2021-02-07 23:07:22 UTC
++++ src/LibSocketAsio.cpp
+@@ -43,6 +43,7 @@
+ #include <algorithm> // Needed for std::min - Boost up to 1.54 fails to compile with MSVC 2013 otherwise
+
+ #include <boost/asio.hpp>
++#include <boost/asio/deadline_timer.hpp>
+ #include <boost/bind.hpp>
+ #include <boost/version.hpp>
+
+--- m4/boost.m4.orig 2021-02-07 23:07:22 UTC
++++ m4/boost.m4
+@@ -22,7 +22,7 @@ m4_define([_BOOST_SERIAL], [m4_translit([
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ m4_define([_BOOST_SERIAL], [m4_translit([
+-# serial 25
++# serial 39
+ ], [#
+ ], [])])
+
+@@ -86,9 +86,10 @@ dnl
+ dnl # 2 "conftest.cc" 3
+ dnl "1_56"
+ dnl
+-dnl So get rid of the # lines, and glue the remaining ones together.
++dnl So get rid of the # and empty lines, and glue the remaining ones together.
+ (eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
+ grep -v '#' |
++ grep -v '^[[[:space:]]]*$' |
+ tr -d '\r' |
+ tr -s '\n' ' ' |
+ $SED -n -e "$1" >conftest.i 2>&1],
+@@ -110,8 +111,7 @@ AC_LANG_POP([C++])dnl
+ # On # success, defines HAVE_BOOST. On failure, calls the optional
+ # ACTION-IF-NOT-FOUND action if one was supplied.
+ # Otherwise aborts with an error message.
+-dnl *aMule* AC_DEFUN_ONCE([BOOST_REQUIRE],
+-AC_DEFUN([BOOST_REQUIRE],
++AC_DEFUN_ONCE([BOOST_REQUIRE],
+ [AC_REQUIRE([AC_PROG_CXX])dnl
+ AC_REQUIRE([AC_PROG_GREP])dnl
+ echo "$as_me: this is boost.m4[]_BOOST_SERIAL" >&AS_MESSAGE_LOG_FD
+@@ -123,9 +123,9 @@ boost_version_req_string=$[1].$[2].$[3]
+ shift
+ boost_version_req=`expr "$[1]" '*' 100000 + "$[2]" '*' 100 + "$[3]"`
+ boost_version_req_string=$[1].$[2].$[3]
+-dnl *aMule* AC_ARG_WITH([boost],
+-dnl *aMule* [AS_HELP_STRING([--with-boost=DIR],
+-dnl *aMule* [prefix of Boost $1 @<:@guess@:>@])])dnl
++AC_ARG_WITH([boost],
++ [AS_HELP_STRING([--with-boost=DIR],
++ [prefix of Boost $1 @<:@guess@:>@])])dnl
+ AC_ARG_VAR([BOOST_ROOT],[Location of Boost installation])dnl
+ # If BOOST_ROOT is set and the user has not provided a value to
+ # --with-boost, then treat BOOST_ROOT as if it the user supplied it.
+@@ -226,7 +226,7 @@ AC_LANG_POP([C++])dnl
+ AC_CACHE_CHECK([for Boost's header version],
+ [boost_cv_lib_version],
+ [m4_pattern_allow([^BOOST_LIB_VERSION$])dnl
+- _BOOST_SED_CPP([[/^boost-lib-version = /{s///;s/[\" ]//g;p;q;}]],
++ _BOOST_SED_CPP([[/^.*boost-lib-version = /{s///;s/[\" ]//g;p;q;}]],
+ [#include <boost/version.hpp>
+ boost-lib-version = BOOST_LIB_VERSION],
+ [boost_cv_lib_version=`cat conftest.i`])])
+@@ -288,14 +288,17 @@ fi
+
+ # BOOST_FIND_LIBS([COMPONENT-NAME], [CANDIDATE-LIB-NAMES],
+ # [PREFERRED-RT-OPT], [HEADER-NAME], [CXX-TEST],
+-# [CXX-PROLOGUE])
++# [CXX-PROLOGUE], [CXX-POST-INCLUDE-PROLOGUE],
++# [ERROR_ON_UNUSABLE])
+ # --------------------------------------------------------------
+ # Look for the Boost library COMPONENT-NAME (e.g., `thread', for
+ # libboost_thread) under the possible CANDIDATE-LIB-NAMES (e.g.,
+ # "thread_win32 thread"). Check that HEADER-NAME works and check that
+ # libboost_LIB-NAME can link with the code CXX-TEST. The optional
+ # argument CXX-PROLOGUE can be used to include some C++ code before
+-# the `main' function.
++# the `main' function. The CXX-POST-INCLUDE-PROLOGUE can be used to
++# include some code before the `main' function, but after the
++# `#include <HEADER-NAME>'.
+ #
+ # Invokes BOOST_FIND_HEADER([HEADER-NAME]) (see above).
+ #
+@@ -309,6 +312,9 @@ fi
+ # builds. Some sample values for PREFERRED-RT-OPT: (nothing), mt, d, mt-d, gdp
+ # ... If you want to make sure you have a specific version of Boost
+ # (eg, >= 1.33) you *must* invoke BOOST_REQUIRE before this macro.
++#
++# ERROR_ON_UNUSABLE can be set to "no" if the caller does not want their
++# configure to fail
+ AC_DEFUN([BOOST_FIND_LIBS],
+ [AC_REQUIRE([BOOST_REQUIRE])dnl
+ AC_REQUIRE([_BOOST_FIND_COMPILER_TAG])dnl
+@@ -317,26 +323,32 @@ else
+ if test x"$boost_cv_inc_path" = xno; then
+ AC_MSG_NOTICE([Boost not available, not searching for the Boost $1 library])
+ else
+-dnl The else branch is huge and wasn't intended on purpose.
++dnl The else branch is huge and wasn't indented on purpose.
+ AC_LANG_PUSH([C++])dnl
+ AS_VAR_PUSHDEF([Boost_lib], [boost_cv_lib_$1])dnl
+ AS_VAR_PUSHDEF([Boost_lib_LDFLAGS], [boost_cv_lib_$1_LDFLAGS])dnl
+ AS_VAR_PUSHDEF([Boost_lib_LDPATH], [boost_cv_lib_$1_LDPATH])dnl
+ AS_VAR_PUSHDEF([Boost_lib_LIBS], [boost_cv_lib_$1_LIBS])dnl
+-BOOST_FIND_HEADER([$4])
++AS_IF([test x"$8" = "xno"], [not_found_header='true'])
++BOOST_FIND_HEADER([$4], [$not_found_header])
+ boost_save_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
+ AC_CACHE_CHECK([for the Boost $1 library], [Boost_lib],
+ [_BOOST_FIND_LIBS($@)])
+ case $Boost_lib in #(
++ (yes) _AC_MSG_LOG_CONFTEST
++ AC_DEFINE(AS_TR_CPP([HAVE_BOOST_$1]), [1], [Defined if the Boost $1 library is available])dnl
++ AC_SUBST(AS_TR_CPP([BOOST_$1_LDFLAGS]), [$Boost_lib_LDFLAGS])dnl
++ AC_SUBST(AS_TR_CPP([BOOST_$1_LDPATH]), [$Boost_lib_LDPATH])dnl
++ AC_SUBST([BOOST_LDPATH], [$Boost_lib_LDPATH])dnl
++ AC_SUBST(AS_TR_CPP([BOOST_$1_LIBS]), [$Boost_lib_LIBS])dnl
++ ;;
+ (no) _AC_MSG_LOG_CONFTEST
+- AC_MSG_ERROR([cannot find the flags to link with Boost $1])
++ AS_IF([test x"$8" != "xno"], [
++ AC_MSG_ERROR([cannot find flags to link with the Boost $1 library (libboost-$1)])
++ ])
+ ;;
+ esac
+-AC_SUBST(AS_TR_CPP([BOOST_$1_LDFLAGS]), [$Boost_lib_LDFLAGS])dnl
+-AC_SUBST(AS_TR_CPP([BOOST_$1_LDPATH]), [$Boost_lib_LDPATH])dnl
+-AC_SUBST([BOOST_LDPATH], [$Boost_lib_LDPATH])dnl
+-AC_SUBST(AS_TR_CPP([BOOST_$1_LIBS]), [$Boost_lib_LIBS])dnl
+ CPPFLAGS=$boost_save_CPPFLAGS
+ AS_VAR_POPDEF([Boost_lib])dnl
+ AS_VAR_POPDEF([Boost_lib_LDFLAGS])dnl
+@@ -349,16 +361,20 @@ fi
+
+ # BOOST_FIND_LIB([LIB-NAME],
+ # [PREFERRED-RT-OPT], [HEADER-NAME], [CXX-TEST],
+-# [CXX-PROLOGUE])
++# [CXX-PROLOGUE], [CXX-POST-INCLUDE-PROLOGUE],
++# [ERROR_ON_UNUSABLE])
+ # --------------------------------------------------------------
+ # Backward compatibility wrapper for BOOST_FIND_LIBS.
++# ERROR_ON_UNUSABLE can be set to "no" if the caller does not want their
++# configure to fail
+ AC_DEFUN([BOOST_FIND_LIB],
+ [BOOST_FIND_LIBS([$1], $@)])
+
+
+ # _BOOST_FIND_LIBS([LIB-NAME], [CANDIDATE-LIB-NAMES],
+ # [PREFERRED-RT-OPT], [HEADER-NAME], [CXX-TEST],
+-# [CXX-PROLOGUE])
++# [CXX-PROLOGUE], [CXX-POST-INCLUDE-PROLOGUE],
++# [ERROR_ON_UNUSABLE])
+ # --------------------------------------------------------------
+ # Real implementation of BOOST_FIND_LIBS: rely on these local macros:
+ # Boost_lib, Boost_lib_LDFLAGS, Boost_lib_LDPATH, Boost_lib_LIBS
+@@ -370,6 +386,9 @@ AC_DEFUN([BOOST_FIND_LIB],
+ # usually installed. If we can't find the standard variants, we try
+ # to enforce -mt (for instance on MacOSX, libboost_thread.dylib
+ # doesn't exist but there's -obviously- libboost_thread-mt.dylib).
++#
++# ERROR_ON_UNUSABLE can be set to "no" if the caller does not want their
++# configure to fail
+ AC_DEFUN([_BOOST_FIND_LIBS],
+ [Boost_lib=no
+ case "$3" in #(
+@@ -396,7 +415,8 @@ AC_DEFUN([_BOOST_FIND_LIBS],
+ AC_MSG_ERROR([the libext variable is empty, did you invoke Libtool?])
+ boost_save_ac_objext=$ac_objext
+ # Generate the test file.
+- AC_LANG_CONFTEST([AC_LANG_PROGRAM([#include <$4>
++ AC_LANG_CONFTEST([AC_LANG_PROGRAM([$7
++#include <$4>
+ $6], [$5])])
+ dnl Optimization hacks: compiling C++ is slow, especially with Boost. What
+ dnl we're trying to do here is guess the right combination of link flags
+@@ -416,7 +436,10 @@ dnl start the for loops).
+ dnl start the for loops).
+ AC_COMPILE_IFELSE([],
+ [ac_objext=do_not_rm_me_plz],
+- [AC_MSG_ERROR([cannot compile a test that uses Boost $1])])
++ [AS_IF([test x"$8" != x"no"], [
++ AC_MSG_ERROR([cannot compile a test that uses Boost $1])
++ ])
++ ])
+ ac_objext=$boost_save_ac_objext
+ boost_failed_libs=
+ # Don't bother to ident the following nested for loops, only the 2
+@@ -426,12 +449,15 @@ for boost_rtopt_ in $boost_rtopt '' -d; do
+ for boost_ver_ in -$boost_cv_lib_version ''; do
+ for boost_mt_ in $boost_mt -mt ''; do
+ for boost_rtopt_ in $boost_rtopt '' -d; do
+- for boost_lib in \
+- boost_$boost_lib_$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \
+- boost_$boost_lib_$boost_tag_$boost_rtopt_$boost_ver_ \
+- boost_$boost_lib_$boost_tag_$boost_mt_$boost_ver_ \
+- boost_$boost_lib_$boost_tag_$boost_ver_
++ for boost_full_suffix in \
++ $boost_last_suffix \
++ x$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \
++ x$boost_tag_$boost_rtopt_$boost_ver_ \
++ x$boost_tag_$boost_mt_$boost_ver_ \
++ x$boost_tag_$boost_ver_
+ do
++ boost_real_suffix=`echo "$boost_full_suffix" | sed 's/^x//'`
++ boost_lib="boost_$boost_lib_$boost_real_suffix"
+ # Avoid testing twice the same lib
+ case $boost_failed_libs in #(
+ (*@$boost_lib@*) continue;;
+@@ -480,7 +506,7 @@ dnl generated only once above (before we start the for
+ *)
+ for boost_cv_rpath_link_ldflag in -Wl,-R, -Wl,-rpath,; do
+ LDFLAGS="$boost_save_LDFLAGS -L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
+- LIBS="$boost_save_LIBS $Boost_lib_LIBS"
++ LIBS="$Boost_lib_LIBS $boost_save_LIBS"
+ _BOOST_AC_LINK_IFELSE([],
+ [boost_rpath_link_ldflag_found=yes
+ break],
+@@ -496,6 +522,7 @@ dnl generated only once above (before we start the for
+ test x"$boost_ldpath" != x &&
+ Boost_lib_LDFLAGS="-L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
+ Boost_lib_LDPATH="$boost_ldpath"
++ boost_last_suffix="$boost_full_suffix"
+ break 7
+ else
+ boost_failed_libs="$boost_failed_libs@$boost_lib@"
+@@ -534,6 +561,14 @@ m4_popdef([BOOST_Library])dnl
+ ])
+ ])
+
++
++# BOOST_ANY()
++# ------------
++# Look for Boost.Any
++BOOST_DEFUN([Any],
++[BOOST_FIND_HEADER([boost/any.hpp])])
++
++
+ # BOOST_ARRAY()
+ # -------------
+ # Look for Boost.Array
+@@ -548,7 +583,38 @@ BOOST_FIND_HEADER([boost/asio.hpp])])
+ [AC_REQUIRE([BOOST_SYSTEM])dnl
+ BOOST_FIND_HEADER([boost/asio.hpp])])
+
++# BOOST_BIMAP()
++# ------------
++# Look for Boost.Bimap
++BOOST_DEFUN([Bimap],
++[BOOST_FIND_HEADER([boost/bimap.hpp])])
+
++
++# BOOST_ASSIGN()
++# -------------
++# Look for Boost.Assign
++BOOST_DEFUN([Assign],
++[BOOST_FIND_HEADER([boost/assign.hpp])])
++
++
++# BOOST_ATOMIC([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
++# -------------------------------
++# Look for Boost.Atomic. For the documentation of PREFERRED-RT-OPT, see the
++# documentation of BOOST_FIND_LIB above.
++BOOST_DEFUN([Atomic],
++[BOOST_FIND_LIB([atomic], [$1],
++ [boost/atomic.hpp],
++ [boost::atomic<int> a;],
++ [ ],
++ [#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++#ifdef HAVE_STDINT_H
++#include <stdint.h>
++#endif], [$2])
++])# BOOST_ATOMIC
++
++
+ # BOOST_BIND()
+ # ------------
+ # Look for Boost.Bind.
+@@ -556,7 +622,14 @@ BOOST_DEFUN([Bind],
+ [BOOST_FIND_HEADER([boost/bind.hpp])])
+
+
+-# BOOST_CHRONO()
++# BOOST_CAST()
++# ------------
++# Look for Boost.Cast
++BOOST_DEFUN([Cast],
++[BOOST_FIND_HEADER([boost/cast.hpp])])
++
++
++# BOOST_CHRONO([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # --------------
+ # Look for Boost.Chrono.
+ BOOST_DEFUN([Chrono],
+@@ -564,7 +637,7 @@ if test $boost_major_version -ge 135; then
+ # added as of 1.35.0. If we have a version <1.35, we must not attempt to
+ # find Boost.System as it didn't exist by then.
+ if test $boost_major_version -ge 135; then
+- BOOST_SYSTEM([$1])
++ BOOST_SYSTEM([$1], [$2])
+ fi # end of the Boost.System check.
+ boost_filesystem_save_LIBS=$LIBS
+ boost_filesystem_save_LDFLAGS=$LDFLAGS
+@@ -573,7 +646,7 @@ BOOST_FIND_LIB([chrono], [$1],
+ LDFLAGS="$LDFLAGS $BOOST_SYSTEM_LDFLAGS"
+ BOOST_FIND_LIB([chrono], [$1],
+ [boost/chrono.hpp],
+- [boost::chrono::thread_clock d;])
++ [boost::chrono::thread_clock d;], [], [], [$2])
+ if test $enable_static_boost = yes && test $boost_major_version -ge 135; then
+ BOOST_CHRONO_LIBS="$BOOST_CHRONO_LIBS $BOOST_SYSTEM_LIBS"
+ fi
+@@ -582,7 +655,7 @@ LDFLAGS=$boost_filesystem_save_LDFLAGS
+ ])# BOOST_CHRONO
+
+
+-# BOOST_CONTEXT([PREFERRED-RT-OPT])
++# BOOST_CONTEXT([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -----------------------------------
+ # Look for Boost.Context. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+@@ -590,18 +663,77 @@ LDFLAGS=$boost_filesystem_save_LDFLAGS
+ # * This library was introduced in Boost 1.51.0
+ # * The signatures of make_fcontext() and jump_fcontext were changed in 1.56.0
+ # * A dependency on boost_thread appears in 1.57.0
++# * The implementation details were moved to boost::context::detail in 1.61.0
++# * 1.61 also introduces execution_context_v2, which is the "lowest common
++# denominator" for boost::context presence since then.
++# * boost::context::fiber was introduced in 1.69 and execution_context_v2 was
++# removed in 1.72
+ BOOST_DEFUN([Context],
+ [boost_context_save_LIBS=$LIBS
+ boost_context_save_LDFLAGS=$LDFLAGS
+ if test $boost_major_version -ge 157; then
+- BOOST_THREAD([$1])
++ BOOST_THREAD([$1], [$2])
+ m4_pattern_allow([^BOOST_THREAD_(LIBS|LDFLAGS)$])dnl
+ LIBS="$LIBS $BOOST_THREAD_LIBS"
+ LDFLAGS="$LDFLAGS $BOOST_THREAD_LDFLAGS"
+ fi
++
++if test $boost_major_version -ge 169; then
++
+ BOOST_FIND_LIB([context], [$1],
+- [boost/context/all.hpp],[[
++ [boost/context/fiber.hpp], [[
++namespace ctx=boost::context;
++int a;
++ctx::fiber source{[&a](ctx::fiber&& sink){
++ a=0;
++ int b=1;
++ for(;;){
++ sink=std::move(sink).resume();
++ int next=a+b;
++ a=b;
++ b=next;
++ }
++ return std::move(sink);
++}};
++for (int j=0;j<10;++j) {
++ source=std::move(source).resume();
++}
++return a == 34;
++]], [], [], [$2])
+
++elif test $boost_major_version -ge 161; then
++
++BOOST_FIND_LIB([context], [$1],
++ [boost/context/execution_context_v2.hpp], [[
++namespace ctx=boost::context;
++int res=0;
++int n=35;
++ctx::execution_context<int> source(
++ [n, &res](ctx::execution_context<int> sink, int) mutable {
++ int a=0;
++ int b=1;
++ while(n-->0){
++ auto result=sink(a);
++ sink=std::move(std::get<0>(result));
++ auto next=a+b;
++ a=b;
++ b=next;
++ }
++ return sink;
++ });
++for(int i=0;i<10;++i){
++ auto result=source(i);
++ source=std::move(std::get<0>(result));
++ res = std::get<1>(result);
++}
++return res == 34;
++]], [], [], [$2])
++
++else
++
++BOOST_FIND_LIB([context], [$1],
++ [boost/context/fcontext.hpp],[[
++
+ // creates a stack
+ void * stack_pointer = new void*[4096];
+ std::size_t const size = sizeof(void*[4096]);
+@@ -655,7 +787,10 @@ static void f(intptr_t i) {
+ ctx::jump_fcontext(&fc, fcm, i * 2);
+ }
+ #endif
+-])
++], [], [], [$2])
++
++fi
++
+ LIBS=$boost_context_save_LIBS
+ LDFLAGS=$boost_context_save_LDFLAGS
+ ])# BOOST_CONTEXT
+@@ -670,7 +805,7 @@ BOOST_FIND_HEADER([boost/lexical_cast.hpp])
+ ])# BOOST_CONVERSION
+
+
+-# BOOST_COROUTINE([PREFERRED-RT-OPT])
++# BOOST_COROUTINE([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -----------------------------------
+ # Look for Boost.Coroutine. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above. This library was introduced in Boost
+@@ -680,10 +815,10 @@ boost_coroutine_save_LDFLAGS=$LDFLAGS
+ boost_coroutine_save_LIBS=$LIBS
+ boost_coroutine_save_LDFLAGS=$LDFLAGS
+ # Link-time dependency from coroutine to context
+-BOOST_CONTEXT([$1])
++BOOST_CONTEXT([$1], [$2])
+ # Starting from Boost 1.55 a dependency on Boost.System is added
+ if test $boost_major_version -ge 155; then
+- BOOST_SYSTEM([$1])
++ BOOST_SYSTEM([$1], [$2])
+ fi
+ m4_pattern_allow([^BOOST_(CONTEXT|SYSTEM)_(LIBS|LDFLAGS)])
+ LIBS="$LIBS $BOOST_CONTEXT_LIBS $BOOST_SYSTEM_LIBS"
+@@ -691,7 +826,8 @@ if test $boost_major_version -eq 153; then
+
+ # in 1.53 coroutine was a header only library
+ if test $boost_major_version -eq 153; then
+- BOOST_FIND_HEADER([boost/coroutine/coroutine.hpp])
++ AS_IF([test x"$2" = "xno"], [not_found_header='true'])
++ BOOST_FIND_HEADER([boost/coroutine/coroutine.hpp], [$not_found_header])
+ else
+ BOOST_FIND_LIB([coroutine], [$1],
+ [boost/coroutine/coroutine.hpp],
+@@ -702,7 +838,7 @@ else
+ #else
+ boost::coroutines::asymmetric_coroutine<int>::pull_type coro; coro.get();
+ #endif
+- ])
++ ], [], [], [$2])
+ fi
+ # Link-time dependency from coroutine to context, existed only in 1.53, in 1.54
+ # coroutine doesn't use context from its headers but from its library.
+@@ -727,18 +863,25 @@ BOOST_DEFUN([CRC],
+ ])# BOOST_CRC
+
+
+-# BOOST_DATE_TIME([PREFERRED-RT-OPT])
++# BOOST_DATE_TIME([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -----------------------------------
+ # Look for Boost.Date_Time. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+ BOOST_DEFUN([Date_Time],
+ [BOOST_FIND_LIB([date_time], [$1],
+ [boost/date_time/posix_time/posix_time.hpp],
+- [boost::posix_time::ptime t;])
++ [boost::posix_time::ptime t;], [], [], [$2])
+ ])# BOOST_DATE_TIME
+
+
+-# BOOST_FILESYSTEM([PREFERRED-RT-OPT])
++# BOOST_EXCEPTION()
++# ------------
++# Look for Boost.Exception
++BOOST_DEFUN([Exception],
++[BOOST_FIND_HEADER([boost/exception/all.hpp])])
++
++
++# BOOST_FILESYSTEM([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # ------------------------------------
+ # Look for Boost.Filesystem. For the documentation of PREFERRED-RT-OPT, see
+ # the documentation of BOOST_FIND_LIB above.
+@@ -749,7 +892,7 @@ if test $boost_major_version -ge 135; then
+ # added as of 1.35.0. If we have a version <1.35, we must not attempt to
+ # find Boost.System as it didn't exist by then.
+ if test $boost_major_version -ge 135; then
+- BOOST_SYSTEM([$1])
++ BOOST_SYSTEM([$1], [$2])
+ fi # end of the Boost.System check.
+ boost_filesystem_save_LIBS=$LIBS
+ boost_filesystem_save_LDFLAGS=$LDFLAGS
+@@ -757,7 +900,8 @@ BOOST_FIND_LIB([filesystem], [$1],
+ LIBS="$LIBS $BOOST_SYSTEM_LIBS"
+ LDFLAGS="$LDFLAGS $BOOST_SYSTEM_LDFLAGS"
+ BOOST_FIND_LIB([filesystem], [$1],
+- [boost/filesystem/path.hpp], [boost::filesystem::path p;])
++ [boost/filesystem/path.hpp], [boost::filesystem::path p;],
++ [], [], [$2])
+ if test $enable_static_boost = yes && test $boost_major_version -ge 135; then
+ BOOST_FILESYSTEM_LIBS="$BOOST_FILESYSTEM_LIBS $BOOST_SYSTEM_LIBS"
+ fi
+@@ -802,6 +946,13 @@ BOOST_DEFUN([Function],
+ [BOOST_FIND_HEADER([boost/function.hpp])])
+
+
++# BOOST_FUSION()
++# -----------------
++# Look for Boost.Fusion
++BOOST_DEFUN([Fusion],
++[BOOST_FIND_HEADER([boost/fusion/sequence.hpp])])
++
++
+ # BOOST_GEOMETRY()
+ # ----------------
+ # Look for Boost.Geometry (new since 1.47.0).
+@@ -810,7 +961,7 @@ BOOST_DEFUN([Geometry],
+ ])# BOOST_GEOMETRY
+
+
+-# BOOST_GRAPH([PREFERRED-RT-OPT])
++# BOOST_GRAPH([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -------------------------------
+ # Look for Boost.Graphs. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+@@ -819,34 +970,43 @@ if test $boost_major_version -ge 140; then
+ boost_graph_save_LDFLAGS=$LDFLAGS
+ # Link-time dependency from graph to regex was added as of 1.40.0.
+ if test $boost_major_version -ge 140; then
+- BOOST_REGEX([$1])
++ BOOST_REGEX([$1], [$2])
+ m4_pattern_allow([^BOOST_REGEX_(LIBS|LDFLAGS)$])dnl
+ LIBS="$LIBS $BOOST_REGEX_LIBS"
+ LDFLAGS="$LDFLAGS $BOOST_REGEX_LDFLAGS"
+ fi
+ BOOST_FIND_LIB([graph], [$1],
+- [boost/graph/adjacency_list.hpp], [boost::adjacency_list<> g;])
++ [boost/graph/adjacency_list.hpp], [boost::adjacency_list<> g;],
++ [], [], [$2])
+ LIBS=$boost_graph_save_LIBS
+ LDFLAGS=$boost_graph_save_LDFLAGS
+ ])# BOOST_GRAPH
+
+
+-# BOOST_IOSTREAMS([PREFERRED-RT-OPT])
++# BOOST_HASH()
++# ------------
++# Look for Boost.Functional/Hash
++BOOST_DEFUN([Hash],
++[BOOST_FIND_HEADER([boost/functional/hash.hpp])])
++
++
++# BOOST_IOSTREAMS([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -----------------------------------
+ # Look for Boost.IOStreams. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+ BOOST_DEFUN([IOStreams],
+ [BOOST_FIND_LIB([iostreams], [$1],
+ [boost/iostreams/device/file_descriptor.hpp],
+- [boost::iostreams::file_descriptor fd; fd.close();])
++ [boost::iostreams::file_descriptor fd; fd.close();],
++ [], [], [$2])
+ ])# BOOST_IOSTREAMS
+
+
+-# BOOST_HASH()
++# BOOST_ITERATOR()
+ # ------------
+-# Look for Boost.Functional/Hash
+-BOOST_DEFUN([Hash],
+-[BOOST_FIND_HEADER([boost/functional/hash.hpp])])
++# Look for Boost.Iterator
++BOOST_DEFUN([Iterator],
++[BOOST_FIND_HEADER([boost/iterator/iterator_adaptor.hpp])])
+
+
+ # BOOST_LAMBDA()
+@@ -856,7 +1016,7 @@ BOOST_DEFUN([Lambda],
+ [BOOST_FIND_HEADER([boost/lambda/lambda.hpp])])
+
+
+-# BOOST_LOCALE()
++# BOOST_LOCALE([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # --------------
+ # Look for Boost.Locale
+ BOOST_DEFUN([Locale],
+@@ -865,40 +1025,40 @@ if test $boost_major_version -ge 150; then
+ boost_locale_save_LDFLAGS=$LDFLAGS
+ # require SYSTEM for boost-1.50.0 and up
+ if test $boost_major_version -ge 150; then
+- BOOST_SYSTEM([$1])
++ BOOST_SYSTEM([$1], [$2])
+ m4_pattern_allow([^BOOST_SYSTEM_(LIBS|LDFLAGS)$])dnl
+ LIBS="$LIBS $BOOST_SYSTEM_LIBS"
+ LDFLAGS="$LDFLAGS $BOOST_SYSTEM_LDFLAGS"
+ fi # end of the Boost.System check.
+ BOOST_FIND_LIB([locale], [$1],
+ [boost/locale.hpp],
+- [[boost::locale::generator gen; std::locale::global(gen(""));]])
++ [[boost::locale::generator gen; std::locale::global(gen(""));]], [], [], [$2])
+ LIBS=$boost_locale_save_LIBS
+ LDFLAGS=$boost_locale_save_LDFLAGS
+ ])# BOOST_LOCALE
+
+-# BOOST_LOG([PREFERRED-RT-OPT])
++# BOOST_LOG([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -----------------------------
+ # Look for Boost.Log. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+ BOOST_DEFUN([Log],
+ [boost_log_save_LIBS=$LIBS
+ boost_log_save_LDFLAGS=$LDFLAGS
+-BOOST_SYSTEM([$1])
+-BOOST_FILESYSTEM([$1])
+-BOOST_DATE_TIME([$1])
++BOOST_SYSTEM([$1], [$2])
++BOOST_FILESYSTEM([$1], [$2])
++BOOST_DATE_TIME([$1], [$2])
+ m4_pattern_allow([^BOOST_(SYSTEM|FILESYSTEM|DATE_TIME)_(LIBS|LDFLAGS)$])dnl
+ LIBS="$LIBS $BOOST_DATE_TIME_LIBS $BOOST_FILESYSTEM_LIBS $BOOST_SYSTEM_LIBS"
+ LDFLAGS="$LDFLAGS $BOOST_DATE_TIME_LDFLAGS $BOOST_FILESYSTEM_LDFLAGS $BOOST_SYSTEM_LDFLAGS"
+ BOOST_FIND_LIB([log], [$1],
+ [boost/log/core/core.hpp],
+- [boost::log::attribute a; a.get_value();])
++ [boost::log::attribute a; a.get_value();], [], [], [$2])
+ LIBS=$boost_log_save_LIBS
+ LDFLAGS=$boost_log_save_LDFLAGS
+ ])# BOOST_LOG
+
+
+-# BOOST_LOG_SETUP([PREFERRED-RT-OPT])
++# BOOST_LOG_SETUP([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -----------------------------------
+ # Look for Boost.Log. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+@@ -911,7 +1071,7 @@ BOOST_FIND_LIB([log_setup], [$1],
+ LDFLAGS="$LDFLAGS $BOOST_LOG_LDFLAGS"
+ BOOST_FIND_LIB([log_setup], [$1],
+ [boost/log/utility/setup/from_settings.hpp],
+- [boost::log::basic_settings<char> bs; bs.empty();])
++ [boost::log::basic_settings<char> bs; bs.empty();], [], [], [$2])
+ LIBS=$boost_log_setup_save_LIBS
+ LDFLAGS=$boost_log_setup_save_LDFLAGS
+ ])# BOOST_LOG_SETUP
+@@ -929,7 +1089,7 @@ BOOST_DEFUN([Math],
+ [BOOST_FIND_HEADER([boost/math/special_functions.hpp])])
+
+
+-# BOOST_MPI([PREFERRED-RT-OPT])
++# BOOST_MPI([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -------------------------------
+ # Look for Boost MPI. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above. Uses MPICXX variable if it is
+@@ -946,12 +1106,20 @@ BOOST_FIND_LIB([mpi], [$1],
+ [boost/mpi.hpp],
+ [int argc = 0;
+ char **argv = 0;
+- boost::mpi::environment env(argc,argv);])
++ boost::mpi::environment env(argc,argv);],
++ [], [], [$2])
+ CXX=${boost_save_CXX}
+ CXXCPP=${boost_save_CXXCPP}
+ ])# BOOST_MPI
+
+
++# BOOST_MPL()
++# ------------------
++# Look for Boost.MPL
++BOOST_DEFUN([MPL],
++[BOOST_FIND_HEADER([boost/mpl/for_each.hpp])])
++
++
+ # BOOST_MULTIARRAY()
+ # ------------------
+ # Look for Boost.MultiArray
+@@ -959,6 +1127,13 @@ BOOST_DEFUN([MultiArray],
+ [BOOST_FIND_HEADER([boost/multi_array.hpp])])
+
+
++# BOOST_MULTIINDEXCCONTAINER()
++# ------------------
++# Look for Boost.MultiIndexContainer
++BOOST_DEFUN([MultiIndexContainer],
++[BOOST_FIND_HEADER([boost/multi_index_container.hpp])])
++
++
+ # BOOST_NUMERIC_UBLAS()
+ # --------------------------
+ # Look for Boost.NumericUblas (Basic Linear Algebra)
+@@ -989,6 +1164,25 @@ BOOST_DEFUN([Preprocessor],
+ [BOOST_FIND_HEADER([boost/preprocessor/repeat.hpp])])
+
+
++# BOOST_PROPERTY_TREE([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
++# -----------------------------------------
++# Look for Boost.Property_Tree. For the documentation of PREFERRED-RT-OPT,
++# see the documentation of BOOST_FIND_LIB above.
++BOOST_DEFUN([Property_Tree],
++[BOOST_FIND_LIB([property_tree], [$1],
++ [boost/property_tree/ptree.hpp],
++ [boost::property_tree::ptree pt; boost::property_tree::read_xml d("test", pt);],
++ [], [], [$2])
++])# BOOST_PROPERTY_TREE
++
++
++# BOOST_RANDOM()
++# --------------------
++# Look for Boost.Random
++BOOST_DEFUN([Random],
++[BOOST_FIND_HEADER([boost/random/random_number_generator.hpp])])
++
++
+ # BOOST_RANGE()
+ # --------------------
+ # Look for Boost.Range
+@@ -1009,14 +1203,15 @@ BOOST_DEFUN([Uuid],
+ [BOOST_FIND_HEADER([boost/uuid/uuid.hpp])])
+
+
+-# BOOST_PROGRAM_OPTIONS([PREFERRED-RT-OPT])
++# BOOST_PROGRAM_OPTIONS([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -----------------------------------------
+ # Look for Boost.Program_options. For the documentation of PREFERRED-RT-OPT,
+ # see the documentation of BOOST_FIND_LIB above.
+ BOOST_DEFUN([Program_Options],
+ [BOOST_FIND_LIB([program_options], [$1],
+ [boost/program_options.hpp],
+- [boost::program_options::options_description d("test");])
++ [boost::program_options::options_description d("test");],
++ [], [], [$2])
+ ])# BOOST_PROGRAM_OPTIONS
+
+
+@@ -1032,7 +1227,7 @@ $1="$$1 $BOOST_PYTHON_$1"])
+ $1="$$1 $BOOST_PYTHON_$1"])
+
+
+-# BOOST_PYTHON([PREFERRED-RT-OPT])
++# BOOST_PYTHON([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # --------------------------------
+ # Look for Boost.Python. For the documentation of PREFERRED-RT-OPT,
+ # see the documentation of BOOST_FIND_LIB above.
+@@ -1043,7 +1238,7 @@ BOOST_FIND_LIBS([python], [python python3], [$1],
+ m4_pattern_allow([^BOOST_PYTHON_MODULE$])dnl
+ BOOST_FIND_LIBS([python], [python python3], [$1],
+ [boost/python.hpp],
+- [], [BOOST_PYTHON_MODULE(empty) {}])
++ [], [BOOST_PYTHON_MODULE(empty) {}], [], [$2])
+ CPPFLAGS=$boost_python_save_CPPFLAGS
+ LDFLAGS=$boost_python_save_LDFLAGS
+ LIBS=$boost_python_save_LIBS
+@@ -1057,18 +1252,26 @@ BOOST_DEFUN([Ref],
+ [BOOST_FIND_HEADER([boost/ref.hpp])])
+
+
+-# BOOST_REGEX([PREFERRED-RT-OPT])
++# BOOST_REGEX([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # -------------------------------
+ # Look for Boost.Regex. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+ BOOST_DEFUN([Regex],
+ [BOOST_FIND_LIB([regex], [$1],
+ [boost/regex.hpp],
+- [boost::regex exp("*"); boost::regex_match("foo", exp);])
++ [boost::regex exp("*"); boost::regex_match("foo", exp);],
++ [], [], [$2])
+ ])# BOOST_REGEX
+
+
+-# BOOST_SERIALIZATION([PREFERRED-RT-OPT])
++# BOOST_SCOPE_EXIT()
++# ------------
++# Look for Boost.ScopeExit.
++BOOST_DEFUN([SCOPE_EXIT],
++[BOOST_FIND_HEADER([boost/scope_exit.hpp])])
++
++
++# BOOST_SERIALIZATION([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # ---------------------------------------
+ # Look for Boost.Serialization. For the documentation of PREFERRED-RT-OPT, see
+ # the documentation of BOOST_FIND_LIB above.
+@@ -1076,18 +1279,20 @@ BOOST_DEFUN([Serialization],
+ [BOOST_FIND_LIB([serialization], [$1],
+ [boost/archive/text_oarchive.hpp],
+ [std::ostream* o = 0; // Cheap way to get an ostream...
+- boost::archive::text_oarchive t(*o);])
++ boost::archive::text_oarchive t(*o);],
++ [], [], [$2])
+ ])# BOOST_SERIALIZATION
+
+
+-# BOOST_SIGNALS([PREFERRED-RT-OPT])
++# BOOST_SIGNALS([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # ---------------------------------
+ # Look for Boost.Signals. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+ BOOST_DEFUN([Signals],
+ [BOOST_FIND_LIB([signals], [$1],
+ [boost/signal.hpp],
+- [boost::signal<void ()> s;])
++ [boost::signal<void ()> s;],
++ [], [], [$2])
+ ])# BOOST_SIGNALS
+
+
+@@ -1123,19 +1328,24 @@ BOOST_DEFUN([String_Algo],
+ ])
+
+
+-# BOOST_SYSTEM([PREFERRED-RT-OPT])
++# BOOST_SYSTEM([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # --------------------------------
+ # Look for Boost.System. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above. This library was introduced in Boost
+-# 1.35.0.
++# 1.35.0 and is header only since 1.70.
+ BOOST_DEFUN([System],
+-[BOOST_FIND_LIB([system], [$1],
++[
++if test $boost_major_version -ge 170; then
++ BOOST_FIND_HEADER([boost/system/error_code.hpp])
++else
++ BOOST_FIND_LIB([system], [$1],
+ [boost/system/error_code.hpp],
+- [boost::system::error_code e; e.clear();])
++ [boost::system::error_code e; e.clear();], [], [], [$2])
++fi
+ ])# BOOST_SYSTEM
+
+
+-# BOOST_TEST([PREFERRED-RT-OPT])
++# BOOST_TEST([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # ------------------------------
+ # Look for Boost.Test. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+@@ -1145,11 +1355,11 @@ BOOST_FIND_LIB([unit_test_framework], [$1],
+ [boost/test/unit_test.hpp], [BOOST_CHECK(2 == 2);],
+ [using boost::unit_test::test_suite;
+ test_suite* init_unit_test_suite(int argc, char ** argv)
+- { return NULL; }])
++ { return NULL; }], [], [$2])
+ ])# BOOST_TEST
+
+
+-# BOOST_THREAD([PREFERRED-RT-OPT])
++# BOOST_THREAD([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # ---------------------------------
+ # Look for Boost.Thread. For the documentation of PREFERRED-RT-OPT, see the
+ # documentation of BOOST_FIND_LIB above.
+@@ -1163,7 +1373,7 @@ if test $boost_major_version -ge 149; then
+ boost_thread_save_CPPFLAGS=$CPPFLAGS
+ # Link-time dependency from thread to system was added as of 1.49.0.
+ if test $boost_major_version -ge 149; then
+-BOOST_SYSTEM([$1])
++BOOST_SYSTEM([$1], [$2])
+ fi # end of the Boost.System check.
+ m4_pattern_allow([^BOOST_SYSTEM_(LIBS|LDFLAGS)$])dnl
+ LIBS="$LIBS $BOOST_SYSTEM_LIBS $boost_cv_pthread_flag"
+@@ -1182,7 +1392,7 @@ BOOST_FIND_LIBS([thread], [thread$boost_thread_lib_ext
+ fi
+ BOOST_FIND_LIBS([thread], [thread$boost_thread_lib_ext],
+ [$1],
+- [boost/thread.hpp], [boost::thread t; boost::mutex m;])
++ [boost/thread.hpp], [boost::thread t; boost::mutex m;], [], [], [$2])
+
+ case $host_os in
+ (*mingw*) boost_thread_w32_socket_link=-lws2_32;;
+@@ -1258,7 +1468,7 @@ BOOST_FIND_HEADER([boost/ptr_container/ptr_map.hpp])
+ ])# BOOST_POINTER_CONTAINER
+
+
+-# BOOST_WAVE([PREFERRED-RT-OPT])
++# BOOST_WAVE([PREFERRED-RT-OPT], [ERROR_ON_UNUSABLE])
+ # ------------------------------
+ # NOTE: If you intend to use Wave/Spirit with thread support, make sure you
+ # call BOOST_THREAD first.
+@@ -1276,7 +1486,7 @@ BOOST_FIND_LIB([wave], [$1],
+ $BOOST_DATE_TIME_LDFLAGS $BOOST_THREAD_LDFLAGS"
+ BOOST_FIND_LIB([wave], [$1],
+ [boost/wave.hpp],
+- [boost::wave::token_id id; get_token_name(id);])
++ [boost::wave::token_id id; get_token_name(id);], [], [], [$2])
+ LIBS=$boost_wave_save_LIBS
+ LDFLAGS=$boost_wave_save_LDFLAGS
+ ])# BOOST_WAVE
+@@ -1344,10 +1554,11 @@ AC_CACHE_CHECK([for the flags needed to use pthreads],
+ -pthreads -mthreads -lpthread --thread-safe -mt";;
+ esac
+ # Generate the test file.
+- AC_LANG_CONFTEST([AC_LANG_PROGRAM([#include <pthread.h>],
+- [pthread_t th; pthread_join(th, 0);
+- pthread_attr_init(0); pthread_cleanup_push(0, 0);
+- pthread_create(0,0,0,0); pthread_cleanup_pop(0);])])
++ AC_LANG_CONFTEST([AC_LANG_PROGRAM([#include <pthread.h>
++ void *f(void*){ return 0; }],
++ [pthread_t th; pthread_create(&th,0,f,0); pthread_join(th,0);
++ pthread_attr_t attr; pthread_attr_init(&attr); pthread_cleanup_push(0, 0);
++ pthread_cleanup_pop(0);])])
+ for boost_pthread_flag in '' $boost_pthread_flags; do
+ boost_pthread_ok=false
+ dnl Re-use the test file already generated.
+@@ -1409,6 +1620,77 @@ if test x$boost_cv_inc_path != xno; then
+ # I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines
+ # the same defines as GCC's).
+ for i in \
++ "defined __clang__ && __clang_major__ == 14 && __clang_minor__ == 0 @ clang140" \
++ "defined __clang__ && __clang_major__ == 13 && __clang_minor__ == 0 @ clang130" \
++ "defined __clang__ && __clang_major__ == 12 && __clang_minor__ == 0 @ clang120" \
++ "defined __clang__ && __clang_major__ == 11 && __clang_minor__ == 1 @ clang111" \
++ "defined __clang__ && __clang_major__ == 11 && __clang_minor__ == 0 @ clang110" \
++ "defined __clang__ && __clang_major__ == 10 && __clang_minor__ == 0 @ clang100" \
++ "defined __clang__ && __clang_major__ == 9 && __clang_minor__ == 0 @ clang90" \
++ "defined __clang__ && __clang_major__ == 8 && __clang_minor__ == 0 @ clang80" \
++ "defined __clang__ && __clang_major__ == 7 && __clang_minor__ == 0 @ clang70" \
++ "defined __clang__ && __clang_major__ == 6 && __clang_minor__ == 0 @ clang60" \
++ "defined __clang__ && __clang_major__ == 5 && __clang_minor__ == 0 @ clang50" \
++ "defined __clang__ && __clang_major__ == 4 && __clang_minor__ == 0 @ clang40" \
++ "defined __clang__ && __clang_major__ == 3 && __clang_minor__ == 9 @ clang39" \
++ "defined __clang__ && __clang_major__ == 3 && __clang_minor__ == 8 @ clang38" \
++ "defined __clang__ && __clang_major__ == 3 && __clang_minor__ == 7 @ clang37" \
++ _BOOST_mingw_test(11, 2) \
++ _BOOST_gcc_test(11, 2) \
++ _BOOST_mingw_test(11, 1) \
++ _BOOST_gcc_test(11, 1) \
++ _BOOST_mingw_test(10, 3) \
++ _BOOST_gcc_test(10, 3) \
++ _BOOST_mingw_test(10, 2) \
++ _BOOST_gcc_test(10, 2) \
++ _BOOST_mingw_test(10, 1) \
++ _BOOST_gcc_test(10, 1) \
++ _BOOST_mingw_test(9, 3) \
++ _BOOST_gcc_test(9, 3) \
++ _BOOST_mingw_test(9, 2) \
++ _BOOST_gcc_test(9, 2) \
++ _BOOST_mingw_test(9, 1) \
++ _BOOST_gcc_test(9, 1) \
++ _BOOST_mingw_test(9, 0) \
++ _BOOST_gcc_test(9, 0) \
++ _BOOST_mingw_test(8, 5) \
++ _BOOST_gcc_test(8, 5) \
++ _BOOST_mingw_test(8, 4) \
++ _BOOST_gcc_test(8, 4) \
++ _BOOST_mingw_test(8, 3) \
++ _BOOST_gcc_test(8, 3) \
++ _BOOST_mingw_test(8, 2) \
++ _BOOST_gcc_test(8, 2) \
++ _BOOST_mingw_test(8, 1) \
++ _BOOST_gcc_test(8, 1) \
++ _BOOST_mingw_test(8, 0) \
++ _BOOST_gcc_test(8, 0) \
++ _BOOST_mingw_test(7, 4) \
++ _BOOST_gcc_test(7, 4) \
++ _BOOST_mingw_test(7, 3) \
++ _BOOST_gcc_test(7, 3) \
++ _BOOST_mingw_test(7, 2) \
++ _BOOST_gcc_test(7, 2) \
++ _BOOST_mingw_test(7, 1) \
++ _BOOST_gcc_test(7, 1) \
++ _BOOST_mingw_test(7, 0) \
++ _BOOST_gcc_test(7, 0) \
++ _BOOST_mingw_test(6, 5) \
++ _BOOST_gcc_test(6, 5) \
++ _BOOST_mingw_test(6, 4) \
++ _BOOST_gcc_test(6, 4) \
++ _BOOST_mingw_test(6, 3) \
++ _BOOST_gcc_test(6, 3) \
++ _BOOST_mingw_test(6, 2) \
++ _BOOST_gcc_test(6, 2) \
++ _BOOST_mingw_test(6, 1) \
++ _BOOST_gcc_test(6, 1) \
++ _BOOST_mingw_test(6, 0) \
++ _BOOST_gcc_test(6, 0) \
++ _BOOST_mingw_test(5, 5) \
++ _BOOST_gcc_test(5, 5) \
++ _BOOST_mingw_test(5, 4) \
++ _BOOST_gcc_test(5, 4) \
+ _BOOST_mingw_test(5, 3) \
+ _BOOST_gcc_test(5, 3) \
+ _BOOST_mingw_test(5, 2) \
diff --git a/net-p2p/amule/files/patch-fix-exception b/net-p2p/amule/files/patch-fix-exception
new file mode 100644
index 000000000000..b7bfe5a16bd3
--- /dev/null
+++ b/net-p2p/amule/files/patch-fix-exception
@@ -0,0 +1,12 @@
+diff --git a/src/libs/common/MuleDebug.cpp b/src/libs/common/MuleDebug.cpp
+index 4b023815c..19c172e61 100644
+--- src/libs/common/MuleDebug.cpp
++++ src/libs/common/MuleDebug.cpp
+@@ -55,6 +55,7 @@
+ #endif
+
+ #include <vector>
++#include <exception>
+
+
+ /**
diff --git a/net-p2p/amule/files/patch-use-xdg-open-as-preview-default b/net-p2p/amule/files/patch-use-xdg-open-as-preview-default
new file mode 100644
index 000000000000..953937da9742
--- /dev/null
+++ b/net-p2p/amule/files/patch-use-xdg-open-as-preview-default
@@ -0,0 +1,17 @@
+commit f54a851586ff3762e0426ea9265ffb3499f93ad5
+Author: Adeodato Simó <dato@net.com.org.es>
+Date: Sun Mar 1 14:10:15 2009 +0100
+
+ src/DownloadListCtrl.cpp: use xdg-open as default instead of mplayer.
+
+--- src/DownloadListCtrl.cpp
++++ src/DownloadListCtrl.cpp
+@@ -1429,7 +1429,7 @@ void CDownloadListCtrl::PreviewFile(CPar
+ _("File preview"), wxOK, this);
+ // Since newer versions for some reason mplayer does not automatically
+ // select video output device and needs a parameter, go figure...
+- command = wxT("xterm -T \"aMule Preview\" -iconic -e mplayer ") QUOTE wxT("$file") QUOTE;
++ command = wxT("xterm -T \"aMule Preview\" -iconic -e xdg-open ") QUOTE wxT("$file") QUOTE;
+ } else {
+ command = thePrefs::GetVideoPlayer();
+ }
diff --git a/net-p2p/bitcoin-daemon/Makefile b/net-p2p/bitcoin-daemon/Makefile
index 6d5b32515f90..402bd69f0aa6 100644
--- a/net-p2p/bitcoin-daemon/Makefile
+++ b/net-p2p/bitcoin-daemon/Makefile
@@ -1,3 +1,4 @@
+PORTREVISION= 1
PKGNAMESUFFIX= -daemon
COMMENT= Virtual Peer-to-Peer Currency (Daemon)
diff --git a/net-p2p/bitcoin-utils/Makefile b/net-p2p/bitcoin-utils/Makefile
index 2ea5b0eb7303..7189a5914a90 100644
--- a/net-p2p/bitcoin-utils/Makefile
+++ b/net-p2p/bitcoin-utils/Makefile
@@ -1,3 +1,4 @@
+PORTREVISION= 1
PKGNAMESUFFIX= -utils
COMMENT= Virtual Peer-to-Peer Currency (CLI and Utilities)
diff --git a/net-p2p/bitcoin/Makefile b/net-p2p/bitcoin/Makefile
index 498238899b7c..6266fc6eba13 100644
--- a/net-p2p/bitcoin/Makefile
+++ b/net-p2p/bitcoin/Makefile
@@ -1,5 +1,6 @@
PORTNAME= bitcoin
PORTVERSION= 29.1
+PORTREVISION= 1
CATEGORIES= net-p2p finance
MASTER_SITES= https://bitcoincore.org/bin/bitcoin-core-${PORTVERSION}/ \
LOCAL/swills:icon
diff --git a/net-p2p/eiskaltdcpp-lib/Makefile b/net-p2p/eiskaltdcpp-lib/Makefile
index d52b763fe546..f606f83e2069 100644
--- a/net-p2p/eiskaltdcpp-lib/Makefile
+++ b/net-p2p/eiskaltdcpp-lib/Makefile
@@ -1,7 +1,7 @@
PORTNAME= eiskaltdcpp
PORTVERSION= 2.2.10
DISTVERSIONPREFIX= v
-PORTREVISION?= 34
+PORTREVISION?= 35
CATEGORIES= net-p2p
PKGNAMESUFFIX?= -lib
@@ -22,7 +22,7 @@ EXTRA_PATCHES= ${GENTOO_PATCHES_PREFIX}-ipv6_upnp.patch:-p1 \
USE_GITHUB= yes
.if !defined (MASTERDIR)
-LIB_DEPENDS= libboost_system.so:devel/boost-libs
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs
USES= cmake gettext compiler:c++11-lib ssl
USE_LDCONFIG= yes
diff --git a/net-p2p/jackett/Makefile b/net-p2p/jackett/Makefile
index a2a01c3d251d..c00c10395fac 100644
--- a/net-p2p/jackett/Makefile
+++ b/net-p2p/jackett/Makefile
@@ -1,6 +1,6 @@
PORTNAME= jackett
DISTVERSIONPREFIX= v
-DISTVERSION= 0.24.72
+DISTVERSION= 0.24.141
CATEGORIES= net-p2p
MAINTAINER= tremere@cainites.net
diff --git a/net-p2p/jackett/distinfo b/net-p2p/jackett/distinfo
index 753278e05cb5..b8264f0f1237 100644
--- a/net-p2p/jackett/distinfo
+++ b/net-p2p/jackett/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1759658727
+TIMESTAMP = 1760601124
SHA256 (nuget/anglesharp.xml.1.0.0.nupkg) = 533c57587eaa1b6044007fd42e8b069149f646182150e82ec954cf625efcb293
SIZE (nuget/anglesharp.xml.1.0.0.nupkg) = 223916
SHA256 (nuget/anglesharp.1.3.0.nupkg) = c6af86d9ff450aa4ba3e32207c37598d54686b154c892c8e5c2ecab4cccca4f5
@@ -401,5 +401,5 @@ SHA256 (nuget/system.xml.xmldocument.4.3.0.nupkg) = 91bb95e18eeb54991f329d8a8288
SIZE (nuget/system.xml.xmldocument.4.3.0.nupkg) = 285212
SHA256 (nuget/yamldotnet.16.3.0.nupkg) = e068bcc1243c46c8bfdfe2f27a026bfff03cde7c67d9f37c2cdd70bd24a9dfd4
SIZE (nuget/yamldotnet.16.3.0.nupkg) = 776880
-SHA256 (Jackett-Jackett-v0.24.72_GH0.tar.gz) = 4505944c206fd4b63b077a4875e79d6b990b64248bea094f89ae1fe4532f32a2
-SIZE (Jackett-Jackett-v0.24.72_GH0.tar.gz) = 3646047
+SHA256 (Jackett-Jackett-v0.24.141_GH0.tar.gz) = e5527b05f1aba083818abb78c532f4baeb0f0570ada0a4c8417a6541f6b2fb34
+SIZE (Jackett-Jackett-v0.24.141_GH0.tar.gz) = 3644913
diff --git a/net-p2p/jackett/pkg-plist b/net-p2p/jackett/pkg-plist
index 495e6cb6085d..ba4611f1a0eb 100644
--- a/net-p2p/jackett/pkg-plist
+++ b/net-p2p/jackett/pkg-plist
@@ -71,6 +71,7 @@
%%DATADIR%%/Definitions/agsvpt.yml
%%DATADIR%%/Definitions/aidoruonline.yml
%%DATADIR%%/Definitions/aither-api.yml
+%%DATADIR%%/Definitions/alingpt.yml
%%DATADIR%%/Definitions/amigosshare.yml
%%DATADIR%%/Definitions/animelayer.yml
%%DATADIR%%/Definitions/animelovers-api.yml
@@ -100,7 +101,6 @@
%%DATADIR%%/Definitions/bitbazis.yml
%%DATADIR%%/Definitions/bitded.yml
%%DATADIR%%/Definitions/bitgamer.yml
-%%DATADIR%%/Definitions/bithorlo.yml
%%DATADIR%%/Definitions/bithumen.yml
%%DATADIR%%/Definitions/bitmagnet.yml
%%DATADIR%%/Definitions/bitpalace.yml
@@ -126,6 +126,7 @@
%%DATADIR%%/Definitions/bwtorrents.yml
%%DATADIR%%/Definitions/byrbt.yml
%%DATADIR%%/Definitions/byrutor.yml
+%%DATADIR%%/Definitions/cangbaoge.yml
%%DATADIR%%/Definitions/capybarabr.yml
%%DATADIR%%/Definitions/carpathians.yml
%%DATADIR%%/Definitions/carphunter.yml
@@ -186,7 +187,6 @@
%%DATADIR%%/Definitions/explosiv-world.yml
%%DATADIR%%/Definitions/extratorrent-st.yml
%%DATADIR%%/Definitions/extremebits.yml
-%%DATADIR%%/Definitions/exttorrents.yml
%%DATADIR%%/Definitions/eztv.yml
%%DATADIR%%/Definitions/eztvl.yml
%%DATADIR%%/Definitions/f1carreras-api.yml
@@ -287,6 +287,7 @@
%%DATADIR%%/Definitions/kufei.yml
%%DATADIR%%/Definitions/kufirc.yml
%%DATADIR%%/Definitions/kufirc2fa.yml
+%%DATADIR%%/Definitions/lajidui.yml
%%DATADIR%%/Definitions/lastdigitalunderground.yml
%%DATADIR%%/Definitions/lastfiles.yml
%%DATADIR%%/Definitions/lat-team-api.yml
@@ -412,7 +413,6 @@
%%DATADIR%%/Definitions/railgunpt.yml
%%DATADIR%%/Definitions/rain.yml
%%DATADIR%%/Definitions/rainbowtracker.yml
-%%DATADIR%%/Definitions/rapidzona.yml
%%DATADIR%%/Definitions/rastastugan-api.yml
%%DATADIR%%/Definitions/redstartorrent.yml
%%DATADIR%%/Definitions/reelflix-api.yml
@@ -429,6 +429,7 @@
%%DATADIR%%/Definitions/rutor.yml
%%DATADIR%%/Definitions/rutracker-ru.yml
%%DATADIR%%/Definitions/samaritano.yml
+%%DATADIR%%/Definitions/sbpt.yml
%%DATADIR%%/Definitions/scenerush.yml
%%DATADIR%%/Definitions/seedfile.yml
%%DATADIR%%/Definitions/seedpool-api.yml
@@ -457,6 +458,7 @@
%%DATADIR%%/Definitions/sukebeinyaasi.yml
%%DATADIR%%/Definitions/superbits.yml
%%DATADIR%%/Definitions/swarmazon-api.yml
+%%DATADIR%%/Definitions/tangmen.yml
%%DATADIR%%/Definitions/tapochek.yml
%%DATADIR%%/Definitions/tasmanit.yml
%%DATADIR%%/Definitions/teamctgame.yml
@@ -494,6 +496,7 @@
%%DATADIR%%/Definitions/torrentbd.yml
%%DATADIR%%/Definitions/torrentby.yml
%%DATADIR%%/Definitions/torrentccf.yml
+%%DATADIR%%/Definitions/torrentcontrol.yml
%%DATADIR%%/Definitions/torrentcore.yml
%%DATADIR%%/Definitions/torrentdd.yml
%%DATADIR%%/Definitions/torrentdownload.yml
diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile
index 2c2da3c134f2..21ab319e0c19 100644
--- a/net-p2p/libtorrent-rasterbar/Makefile
+++ b/net-p2p/libtorrent-rasterbar/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libtorrent-rasterbar
DISTVERSION= 1.2.20 # 2.x is unusable until memory problems are resolved, see https://github.com/arvidn/libtorrent/issues/6781
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/v${DISTVERSION}/
@@ -17,7 +17,7 @@ BROKEN= fails to build with Boost>=1.87, see https://github.com/arvidn/libtorre
LIB_DEPENDS= libboost_chrono.so:devel/boost-libs \
libboost_random.so:devel/boost-libs \
- libboost_system.so:devel/boost-libs
+ libboost_thread.so:devel/boost-libs
USES= cmake compiler:c++17-lang iconv:wchar_t localbase:ldflags pathfix pkgconfig python:test shebangfix ssl
SHEBANG_FILES= test/socks.py test/web_server.py
diff --git a/net-p2p/libtorrent-rasterbar2/Makefile b/net-p2p/libtorrent-rasterbar2/Makefile
index c2708bf48d55..3e4380e34427 100644
--- a/net-p2p/libtorrent-rasterbar2/Makefile
+++ b/net-p2p/libtorrent-rasterbar2/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libtorrent-rasterbar
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.11
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-p2p
#MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/v${DISTVERSION}/
PKGNAMESUFFIX= 2
@@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_chrono.so:devel/boost-libs \
libboost_random.so:devel/boost-libs \
- libboost_system.so:devel/boost-libs
+ libboost_thread.so:devel/boost-libs
USES= cmake:testing compiler:c++11-lib iconv:wchar_t \
localbase:ldflags pathfix pkgconfig python:test shebangfix ssl
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index 0a2da6201cd6..a9ebfdc614c6 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libtorrent
-DISTVERSION= 0.16.0
+DISTVERSION= 0.16.1
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/
diff --git a/net-p2p/libtorrent/distinfo b/net-p2p/libtorrent/distinfo
index 7bebc5e606c8..2ced4eacf28e 100644
--- a/net-p2p/libtorrent/distinfo
+++ b/net-p2p/libtorrent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757101252
-SHA256 (libtorrent-0.16.0.tar.gz) = 623a75e85a23f7471c9531ea67a01bb652165c6b2b6a829a7f1c6117eac938ec
-SIZE (libtorrent-0.16.0.tar.gz) = 885568
+TIMESTAMP = 1760641418
+SHA256 (libtorrent-0.16.1.tar.gz) = 1521e77c70fedd28638646766b5e32c7a0b612a7a2cedf75de89c7009ec8e4fe
+SIZE (libtorrent-0.16.1.tar.gz) = 888505
diff --git a/net-p2p/libtorrent/pkg-plist b/net-p2p/libtorrent/pkg-plist
index 826b7588ff53..273689f2255a 100644
--- a/net-p2p/libtorrent/pkg-plist
+++ b/net-p2p/libtorrent/pkg-plist
@@ -26,15 +26,16 @@ include/torrent/event.h
include/torrent/exceptions.h
include/torrent/hash_string.h
include/torrent/net/address_info.h
+include/torrent/net/connection_state.h
include/torrent/net/fd.h
include/torrent/net/http_get.h
include/torrent/net/http_stack.h
+include/torrent/net/network_config.h
include/torrent/net/resolver.h
include/torrent/net/socket_address.h
include/torrent/net/socket_address_key.h
include/torrent/net/socket_event.h
include/torrent/net/types.h
-include/torrent/net/utils.h
include/torrent/object.h
include/torrent/object_raw_bencode.h
include/torrent/object_static_map.h
@@ -67,9 +68,10 @@ include/torrent/utils/ranges.h
include/torrent/utils/resume.h
include/torrent/utils/scheduler.h
include/torrent/utils/signal_bitfield.h
+include/torrent/utils/string_manip.h
include/torrent/utils/thread.h
include/torrent/utils/uri_parser.h
lib/libtorrent.so
-lib/libtorrent.so.30
-lib/libtorrent.so.30.0.0
+lib/libtorrent.so.31
+lib/libtorrent.so.31.0.0
libdata/pkgconfig/libtorrent.pc
diff --git a/net-p2p/litecoin-daemon/Makefile b/net-p2p/litecoin-daemon/Makefile
index 9f88b24639a1..b81acfe3877b 100644
--- a/net-p2p/litecoin-daemon/Makefile
+++ b/net-p2p/litecoin-daemon/Makefile
@@ -1,5 +1,5 @@
MASTERDIR= ${.CURDIR}/../litecoin
-PORTREVISION= 2
+PORTREVISION= 3
PKGNAMESUFFIX= -daemon
COMMENT= Virtual Peer-to-Peer Currency (Daemon)
diff --git a/net-p2p/litecoin-utils/Makefile b/net-p2p/litecoin-utils/Makefile
index 7bae3867ff98..d72ac93a5ea1 100644
--- a/net-p2p/litecoin-utils/Makefile
+++ b/net-p2p/litecoin-utils/Makefile
@@ -1,5 +1,5 @@
MASTERDIR= ${.CURDIR}/../litecoin
-PORTREVISION= 2
+PORTREVISION= 3
PKGNAMESUFFIX= -utils
COMMENT= Virtual Peer-to-Peer Currency (CLI and Utilities)
diff --git a/net-p2p/litecoin/Makefile b/net-p2p/litecoin/Makefile
index d53d744c9ae3..3e09ae80536a 100644
--- a/net-p2p/litecoin/Makefile
+++ b/net-p2p/litecoin/Makefile
@@ -1,7 +1,7 @@
PORTNAME= litecoin
DISTVERSIONPREFIX= v
DISTVERSION= 0.21.4
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= net-p2p finance
MAINTAINER= hsw@bitmark.com
@@ -109,6 +109,9 @@ post-install:
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/AX_BOOST_SYSTEM/d' ${WRKSRC}/configure.ac
+
regression-test: build
# To use this sucessfully, remove --without-daemon and --without-utils
# from CONFIGURE_ARGS above.
diff --git a/net-p2p/monero-cli/Makefile b/net-p2p/monero-cli/Makefile
index e6f956a37dde..5649f493ed1c 100644
--- a/net-p2p/monero-cli/Makefile
+++ b/net-p2p/monero-cli/Makefile
@@ -1,7 +1,7 @@
PORTNAME= monero-cli
DISTVERSIONPREFIX= v
DISTVERSION= 0.18.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-p2p finance
MAINTAINER= alex.perechnev@gmail.com
@@ -22,7 +22,6 @@ LIB_DEPENDS= \
libboost_program_options.so:devel/boost-libs \
libboost_regex.so:devel/boost-libs \
libboost_serialization.so:devel/boost-libs \
- libboost_system.so:devel/boost-libs \
libboost_thread.so:devel/boost-libs \
libminiupnpc.so:net/miniupnpc \
libnorm.so:net/norm \
diff --git a/net-p2p/namecoin-daemon/Makefile b/net-p2p/namecoin-daemon/Makefile
index f54a1b3bbbab..9be46b6633a3 100644
--- a/net-p2p/namecoin-daemon/Makefile
+++ b/net-p2p/namecoin-daemon/Makefile
@@ -1,6 +1,6 @@
MASTERDIR= ${.CURDIR}/../namecoin
-PORTREVISION= 1
+PORTREVISION= 2
PKGNAMESUFFIX= -daemon
COMMENT= Decentralized, open DNS and more (Daemon)
diff --git a/net-p2p/namecoin-utils/Makefile b/net-p2p/namecoin-utils/Makefile
index 63c25895e987..5761ebf69acb 100644
--- a/net-p2p/namecoin-utils/Makefile
+++ b/net-p2p/namecoin-utils/Makefile
@@ -1,6 +1,6 @@
MASTERDIR= ${.CURDIR}/../namecoin
-PORTREVISION= 1
+PORTREVISION= 2
PKGNAMESUFFIX= -utils
COMMENT= Decentralized, open DNS and more (CLI and Utilities)
diff --git a/net-p2p/namecoin/Makefile b/net-p2p/namecoin/Makefile
index 6f621cd973fa..c1d97ae43d89 100644
--- a/net-p2p/namecoin/Makefile
+++ b/net-p2p/namecoin/Makefile
@@ -1,7 +1,7 @@
PORTNAME= namecoin
DISTVERSIONPREFIX= nc
DISTVERSION= 24.0
-PORTREVISION= 17
+PORTREVISION= 18
PORTEPOCH= 1
CATEGORIES= net-p2p dns
MASTER_SITES+= https://same.name/static/:icon
diff --git a/net-p2p/py-libtorrent-rasterbar/Makefile b/net-p2p/py-libtorrent-rasterbar/Makefile
index 55cab3d83780..7fcee369af36 100644
--- a/net-p2p/py-libtorrent-rasterbar/Makefile
+++ b/net-p2p/py-libtorrent-rasterbar/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libtorrent-rasterbar
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.20
-PORTREVISION= 3
+PORTREVISION= 4
PORTEPOCH= 2
CATEGORIES= net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/../../COPYING
BUILD_DEPENDS= b2:devel/boost_build
-LIB_DEPENDS= libboost_system.so:devel/boost-libs \
+LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar \
${PY_BOOST}
diff --git a/net-p2p/py-tremc/Makefile b/net-p2p/py-tremc/Makefile
index 2092080abcb1..a2456c6a9bba 100644
--- a/net-p2p/py-tremc/Makefile
+++ b/net-p2p/py-tremc/Makefile
@@ -1,9 +1,9 @@
PORTNAME= tremc
-DISTVERSION= 0.9.4
+DISTVERSION= 0.9.5
CATEGORIES= net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= alven@FreeBSD.org
COMMENT= Console client for the BitTorrent client Transmission
WWW= https://github.com/tremc/tremc
@@ -12,11 +12,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USES= python shebangfix
USE_GITHUB= yes
+
+SHEBANG_FILES= ${PORTNAME}
+
NO_ARCH= yes
NO_BUILD= yes
-SHEBANG_FILES= ${PORTNAME}
-OPTIONS_DEFINE= ADNS IPY PYPERCLIP
+OPTIONS_DEFINE= ADNS IPY PYPERCLIP
OPTIONS_DEFAULT= ADNS IPY PYPERCLIP
ADNS_DESC= Resolve IPs to host names
diff --git a/net-p2p/py-tremc/distinfo b/net-p2p/py-tremc/distinfo
index c2f88ac53474..2b72a906a5ca 100644
--- a/net-p2p/py-tremc/distinfo
+++ b/net-p2p/py-tremc/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751886921
-SHA256 (tremc-tremc-0.9.4_GH0.tar.gz) = f8cd45f2bfc1fa67dc8816659d81beacb9fd7b7a4a4b8402604a71c29836bd6f
-SIZE (tremc-tremc-0.9.4_GH0.tar.gz) = 340109
+TIMESTAMP = 1760767641
+SHA256 (tremc-tremc-0.9.5_GH0.tar.gz) = 7fe1a873465c3bbcc9c96c2447bcad56915249cc07b9ee232182d8975b4dfadd
+SIZE (tremc-tremc-0.9.5_GH0.tar.gz) = 341206
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index 0d2db49d588b..6d42ed40f1ad 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -1,5 +1,5 @@
PORTNAME= rtorrent
-DISTVERSION= 0.16.0
+DISTVERSION= 0.16.1
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/
diff --git a/net-p2p/rtorrent/distinfo b/net-p2p/rtorrent/distinfo
index 9d4974b6f14a..bda3b65a2a1c 100644
--- a/net-p2p/rtorrent/distinfo
+++ b/net-p2p/rtorrent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757102139
-SHA256 (rtorrent-0.16.0.tar.gz) = fe8f8793f3bae8de157f567d9d89629dfd6fc21bc18d7db4537c4014a23dc1d9
-SIZE (rtorrent-0.16.0.tar.gz) = 854573
+TIMESTAMP = 1760641917
+SHA256 (rtorrent-0.16.1.tar.gz) = b2cdf8898b62f3763b29df94e4ad47d52cea2aa33b76581097a18894dd116073
+SIZE (rtorrent-0.16.1.tar.gz) = 851083