git: 96b6a9b35854 - main - net-p2p/libtorrent: Update to 0.14.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Sep 2024 16:41:28 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=96b6a9b35854542b859b09d69037f908400ddcd5
commit 96b6a9b35854542b859b09d69037f908400ddcd5
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-09-29 16:36:29 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-09-29 16:41:16 +0000
net-p2p/libtorrent: Update to 0.14.0
- Drop autoreconf use
- Pet portclippy and portfmt
- Take maintainership
ChangeLog: https://github.com/rakshasa/rtorrent/releases/tag/v0.10.0
---
net-p2p/libtorrent/Makefile | 30 ++++++++++++++----------------
net-p2p/libtorrent/distinfo | 6 +++---
net-p2p/libtorrent/pkg-plist | 11 ++++++++---
3 files changed, 25 insertions(+), 22 deletions(-)
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index 59d928b90f3b..c43b28564125 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -1,33 +1,34 @@
PORTNAME= libtorrent
-PORTVERSION= 0.13.8
+DISTVERSION= 0.14.0
CATEGORIES= net-p2p
-MASTER_SITES= https://rtorrent.net/downloads/
+MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v0.10.0/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= eduardo@FreeBSD.org
COMMENT= BitTorrent Library written in C++
WWW= https://github.com/rakshasa/libtorrent
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= autoreconf compiler:c++11-lang cpe libtool localbase:ldflags pathfix pkgconfig ssl
-USE_CXXSTD= c++14
+USES= compiler:c++11-lang cpe libtool localbase:ldflags pathfix \
+ pkgconfig ssl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
-CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto" OPENSSL_CFLAGS="-I\
- ${OPENSSLINC}"
-
-OPTIONS_DEFINE= KQUEUE
-OPTIONS_DEFAULT=KQUEUE
-
-KQUEUE_DESC= Use kqueue(2) support
+CONFIGURE_ENV= OPENSSL_CFLAGS="-I ${OPENSSLINC}" \
+ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto"
# This makes sure that /usr/local/lib appears before /usr/lib when
# linking libtorrent to avoid linking with base's libcrypto.
MAKE_ARGS= LDFLAGS="${LDFLAGS}"
+INSTALL_TARGET= install-strip
+
+OPTIONS_DEFINE= KQUEUE
+OPTIONS_DEFAULT= KQUEUE
+
+KQUEUE_DESC= Use kqueue(2) support
KQUEUE_CONFIGURE_WITH= kqueue
.include <bsd.port.pre.mk>
@@ -37,10 +38,7 @@ KQUEUE_CONFIGURE_WITH= kqueue
# /usr/local/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8'
# /usr/local/lib/libtorrent.so: undefined reference to `__sync_fetch_and_and_8'
.if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc
-CONFIGURE_ARGS+=--disable-instrumentation
+CONFIGURE_ARGS+= --disable-instrumentation
.endif
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtorrent.so.21.0.0
-
.include <bsd.port.post.mk>
diff --git a/net-p2p/libtorrent/distinfo b/net-p2p/libtorrent/distinfo
index 801604c43205..53d56da2240f 100644
--- a/net-p2p/libtorrent/distinfo
+++ b/net-p2p/libtorrent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1564447515
-SHA256 (libtorrent-0.13.8.tar.gz) = ed115a28f4ae8cfcd33b94a597c076ca74fd549867a26e4fac9505c27288e983
-SIZE (libtorrent-0.13.8.tar.gz) = 834027
+TIMESTAMP = 1727611446
+SHA256 (libtorrent-0.14.0.tar.gz) = 17b816da5807c7b3455a1a48aae8dacf0f4ef75b1a4372c758948710066fd3ec
+SIZE (libtorrent-0.14.0.tar.gz) = 809617
diff --git a/net-p2p/libtorrent/pkg-plist b/net-p2p/libtorrent/pkg-plist
index 14be7ef3c739..b2eaef97e1c5 100644
--- a/net-p2p/libtorrent/pkg-plist
+++ b/net-p2p/libtorrent/pkg-plist
@@ -27,7 +27,13 @@ include/torrent/event.h
include/torrent/exceptions.h
include/torrent/hash_string.h
include/torrent/http.h
+include/torrent/net/address_info.h
+include/torrent/net/fd.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
@@ -54,7 +60,6 @@ include/torrent/utils/directory_events.h
include/torrent/utils/extents.h
include/torrent/utils/log.h
include/torrent/utils/log_buffer.h
-include/torrent/utils/net.h
include/torrent/utils/option_strings.h
include/torrent/utils/ranges.h
include/torrent/utils/resume.h
@@ -63,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.21
-lib/libtorrent.so.21.0.0
+lib/libtorrent.so.22
+lib/libtorrent.so.22.0.0
libdata/pkgconfig/libtorrent.pc