git: 3bc951be97db - main - net-p2p/{lib,r}torrent: Update to 0.15.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jan 2025 17:23:04 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3bc951be97db54c9397130ea9dbc34e17e1fba78
commit 3bc951be97db54c9397130ea9dbc34e17e1fba78
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2025-01-01 16:35:34 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-01-01 17:22:49 +0000
net-p2p/{lib,r}torrent: Update to 0.15.1
* rtorrent:
Added radio option to select between TINYXML and XMLRPC wrappers
with default to TINYXML as upstream recomendation.
ChangeLog: https://github.com/rakshasa/rtorrent/releases/tag/v0.15.1
---
net-p2p/libtorrent/Makefile | 6 +++---
net-p2p/libtorrent/distinfo | 6 +++---
net-p2p/libtorrent/pkg-plist | 4 ++--
net-p2p/rtorrent/Makefile | 13 +++++++------
net-p2p/rtorrent/distinfo | 6 +++---
5 files changed, 18 insertions(+), 17 deletions(-)
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index c43b28564125..8343fd58a04d 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libtorrent
-DISTVERSION= 0.14.0
+DISTVERSION= 0.15.1
CATEGORIES= net-p2p
-MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v0.10.0/
+MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/
MAINTAINER= eduardo@FreeBSD.org
COMMENT= BitTorrent Library written in C++
@@ -10,7 +10,7 @@ WWW= https://github.com/rakshasa/libtorrent
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= compiler:c++11-lang cpe libtool localbase:ldflags pathfix \
+USES= compiler:c++14-lang cpe libtool localbase:ldflags pathfix \
pkgconfig ssl
USE_LDCONFIG= yes
diff --git a/net-p2p/libtorrent/distinfo b/net-p2p/libtorrent/distinfo
index 53d56da2240f..1f51b2b7bcbe 100644
--- a/net-p2p/libtorrent/distinfo
+++ b/net-p2p/libtorrent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1727611446
-SHA256 (libtorrent-0.14.0.tar.gz) = 17b816da5807c7b3455a1a48aae8dacf0f4ef75b1a4372c758948710066fd3ec
-SIZE (libtorrent-0.14.0.tar.gz) = 809617
+TIMESTAMP = 1735748325
+SHA256 (libtorrent-0.15.1.tar.gz) = ef96bcc1fe8c56108db2f323e562fb982af1e5f3f21086986d133518df874301
+SIZE (libtorrent-0.15.1.tar.gz) = 805722
diff --git a/net-p2p/libtorrent/pkg-plist b/net-p2p/libtorrent/pkg-plist
index b2eaef97e1c5..6c38cf673ae7 100644
--- a/net-p2p/libtorrent/pkg-plist
+++ b/net-p2p/libtorrent/pkg-plist
@@ -68,6 +68,6 @@ include/torrent/utils/thread_base.h
include/torrent/utils/thread_interrupt.h
include/torrent/utils/uri_parser.h
lib/libtorrent.so
-lib/libtorrent.so.22
-lib/libtorrent.so.22.0.0
+lib/libtorrent.so.23
+lib/libtorrent.so.23.0.0
libdata/pkgconfig/libtorrent.pc
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index 97464b276bcc..e32d531e786f 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -1,5 +1,5 @@
PORTNAME= rtorrent
-DISTVERSION= 0.10.0
+DISTVERSION= 0.15.1
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/
@@ -14,8 +14,7 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl \
libtorrent.so:net-p2p/libtorrent
-USES= compiler:c++11-lang ncurses pkgconfig
-
+USES= compiler:c++14-lang ncurses pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
LDFLAGS+= -lexecinfo -pthread
@@ -26,14 +25,16 @@ PLIST_FILES= bin/rtorrent
PORTDOCS= README
PORTEXAMPLES= rtorrent.rc
-OPTIONS_DEFINE= DOCS EXAMPLES IPV6 XMLRPC
-OPTIONS_DEFAULT= XMLRPC
+OPTIONS_DEFINE= DOCS EXAMPLES IPV6
+OPTIONS_DEFAULT= TINYXML
+OPTIONS_RADIO= XML
+OPTIONS_RADIO_XML= TINYXML XMLRPC
XMLRPC_DESC= Compile with xmlrpc-c support
IPV6_CONFIGURE_ENABLE= ipv6
+TINYXML_CONFIGURE_ON= --with-xmlrpc-tinyxml2
XMLRPC_LIB_DEPENDS= libxmlrpc.so:net/xmlrpc-c
XMLRPC_CONFIGURE_ON= --with-xmlrpc-c
-XMLRPC_CONFIGURE_OFF= --with-xmlrpc-c=no
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/
diff --git a/net-p2p/rtorrent/distinfo b/net-p2p/rtorrent/distinfo
index 0f0f4c83881f..5be13ef027c7 100644
--- a/net-p2p/rtorrent/distinfo
+++ b/net-p2p/rtorrent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1727610825
-SHA256 (rtorrent-0.10.0.tar.gz) = cc65bba7abead24151f10af116eca2342b0c320fdff3cb8d604c0af09215d3aa
-SIZE (rtorrent-0.10.0.tar.gz) = 402931
+TIMESTAMP = 1735748725
+SHA256 (rtorrent-0.15.1.tar.gz) = 1d5437d7a6828f2f72a6c309f25f136eda1be69b059d250bc52e0d4185420506
+SIZE (rtorrent-0.15.1.tar.gz) = 688056