git: 15c76ccbf85f - main - net-p2p/rtorrent: Update to 0.10.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 29 Sep 2024 16:41:30 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=15c76ccbf85f22f9b76bb2c655d64743ea29099b commit 15c76ccbf85f22f9b76bb2c655d64743ea29099b Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2024-09-29 16:39:19 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2024-09-29 16:41:16 +0000 net-p2p/rtorrent: Update to 0.10.0 - Pet portclippy and portfmt - Take maintainership ChangeLog: https://github.com/rakshasa/rtorrent/releases/tag/v0.10.0 --- net-p2p/rtorrent/Makefile | 32 +++++++--------------- net-p2p/rtorrent/distinfo | 6 ++-- .../rtorrent/files/patch-src_utils_directory.cc | 13 --------- 3 files changed, 13 insertions(+), 38 deletions(-) diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile index 5ca10724a7ef..97464b276bcc 100644 --- a/net-p2p/rtorrent/Makefile +++ b/net-p2p/rtorrent/Makefile @@ -1,9 +1,9 @@ PORTNAME= rtorrent -PORTVERSION= 0.9.8 +DISTVERSION= 0.10.0 CATEGORIES= net-p2p -MASTER_SITES= https://rtorrent.net/downloads/ +MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= eduardo@FreeBSD.org COMMENT= BitTorrent Client written in C++ WWW= https://github.com/rakshasa/rtorrent @@ -15,37 +15,25 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libtorrent.so:net-p2p/libtorrent USES= compiler:c++11-lang ncurses pkgconfig -USE_CXXSTD= c++14 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-debug LDFLAGS+= -lexecinfo -pthread +SUB_FILES= pkg-message + PLIST_FILES= bin/rtorrent PORTDOCS= README PORTEXAMPLES= rtorrent.rc -SUB_FILES= pkg-message -OPTIONS_DEFINE= DOCS EXAMPLES IPV6 XMLRPC -OPTIONS_DEFAULT=XMLRPC -XMLRPC_DESC= Compile with xmlrpc-c support +OPTIONS_DEFINE= DOCS EXAMPLES IPV6 XMLRPC +OPTIONS_DEFAULT= XMLRPC +XMLRPC_DESC= Compile with xmlrpc-c support IPV6_CONFIGURE_ENABLE= ipv6 -XMLRPC_CONFIGURE_OFF= --with-xmlrpc-c=no -XMLRPC_CONFIGURE_ON= --with-xmlrpc-c XMLRPC_LIB_DEPENDS= libxmlrpc.so:net/xmlrpc-c - -.include <bsd.port.options.mk> - -post-patch: - @${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure -.if ${OPSYS} == FreeBSD - @${FIND} ${WRKSRC} \( -name '*.h' -o -name '*.cc' \) -type f \ - -exec ${REINPLACE_CMD} -e 's/tr1::/std::/g' {} \; \ - -exec ${REINPLACE_CMD} -e 's/std::std::/std::/g' {} \; \ - -exec ${REINPLACE_CMD} -e '/namespace tr1/d' {} \; \ - -exec ${REINPLACE_CMD} -e '/include/s,tr1/,,' {} \; -.endif +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 a4958774727a..0f0f4c83881f 100644 --- a/net-p2p/rtorrent/distinfo +++ b/net-p2p/rtorrent/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1564448011 -SHA256 (rtorrent-0.9.8.tar.gz) = 9edf0304bf142215d3bc85a0771446b6a72d0ad8218efbe184b41e4c9c7542af -SIZE (rtorrent-0.9.8.tar.gz) = 647523 +TIMESTAMP = 1727610825 +SHA256 (rtorrent-0.10.0.tar.gz) = cc65bba7abead24151f10af116eca2342b0c320fdff3cb8d604c0af09215d3aa +SIZE (rtorrent-0.10.0.tar.gz) = 402931 diff --git a/net-p2p/rtorrent/files/patch-src_utils_directory.cc b/net-p2p/rtorrent/files/patch-src_utils_directory.cc deleted file mode 100644 index 075f2ec4f0f7..000000000000 --- a/net-p2p/rtorrent/files/patch-src_utils_directory.cc +++ /dev/null @@ -1,13 +0,0 @@ ---- src/utils/directory.cc.orig 2014-04-21 13:34:45 UTC -+++ src/utils/directory.cc -@@ -88,6 +88,10 @@ Directory::update(int flags) { - itr->d_fileno = entry->d_ino; - itr->d_reclen = 0; - itr->d_type = s.st_mode; -+#elif defined(__DragonFly__) -+ itr->d_fileno = entry->d_fileno; -+ itr->d_reclen = _DIRENT_RECLEN(entry->d_namlen); -+ itr->d_type = entry->d_type; - #else - itr->d_fileno = entry->d_fileno; - itr->d_reclen = entry->d_reclen;