[Midnightbsd-cvs] mports [19696] trunk/net-p2p/rtorrent: rtorrent 0.9.4
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Aug 9 14:55:05 EDT 2015
Revision: 19696
http://svnweb.midnightbsd.org/mports/?rev=19696
Author: laffer1
Date: 2015-08-09 14:55:04 -0400 (Sun, 09 Aug 2015)
Log Message:
-----------
rtorrent 0.9.4
Modified Paths:
--------------
trunk/net-p2p/rtorrent/Makefile
trunk/net-p2p/rtorrent/distinfo
trunk/net-p2p/rtorrent/pkg-plist
Added Paths:
-----------
trunk/net-p2p/rtorrent/files/patch-src_display_window__file__list.cc
trunk/net-p2p/rtorrent/files/patch-src_signal__handler.cc
trunk/net-p2p/rtorrent/files/patch-src_utils_directory.cc
Modified: trunk/net-p2p/rtorrent/Makefile
===================================================================
--- trunk/net-p2p/rtorrent/Makefile 2015-08-09 18:50:35 UTC (rev 19695)
+++ trunk/net-p2p/rtorrent/Makefile 2015-08-09 18:55:04 UTC (rev 19696)
@@ -1,8 +1,8 @@
# $MidnightBSD$
-PORTNAME?= rtorrent
-PORTVERSION= 0.9.2
-PORTREVISION= 1
+PORTNAME= rtorrent
+PORTVERSION= 0.9.4
+PORTREVISION= 0
CATEGORIES= net-p2p
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
@@ -9,14 +9,12 @@
MAINTAINER= ports at MidnightBSD.org
COMMENT= BitTorrent Client written in C++
-LICENSE= gpl2
+LICENSE= gpl2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
-RUN_DEPENDS= libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
-LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
+ libtorrent.so.18:${PORTSDIR}/net-p2p/libtorrent
-CONFLICTS= rtorrent-devel-[0-9]*
-
GNU_CONFIGURE= yes
USES= pkgconfig
LDFLAGS+= -pthread
@@ -26,32 +24,27 @@
PORTDOCS= README
-OPTIONS_DEFINE= XMLRPC IPV6 DOCS
-OPTIONS_DEFAULT= XMLRPC IPV6
+OPTIONS_DEFINE= XMLRPC IPV6 DOCS EXAMPLES
+OPTIONS_DEFAULT=XMLRPC
XMLRPC_DESC= Compile with xmlrpc-c support
+IPV6_CONFIGURE_ON= --enable-ipv6
+XMLRPC_LIB_DEPENDS= libxmlrpc.so:${PORTSDIR}/net/xmlrpc-c-devel
+XMLRPC_CONFIGURE_ON= --with-xmlrpc-c
+XMLRPC_CONFIGURE_OFF= --with-xmlrpc-c=no
+.include <bsd.mport.options.mk>
+
.include <bsd.port.pre.mk>
-.if ${PORT_OPTIONS:MXMLRPC}
-CONFIGURE_ARGS+= --with-xmlrpc-c
-LIB_DEPENDS+= xmlrpc:${PORTSDIR}/net/xmlrpc-c
-.else
-CONFIGURE_ARGS+= --with-xmlrpc-c=no
-.endif
+USES+= compiler:c++11-lang
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+= --enable-ipv6
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure
post-install:
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc ${EXAMPLESDIR}/
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
-.endif
+ @${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc ${EXAMPLESDIR}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.include <bsd.port.post.mk>
Modified: trunk/net-p2p/rtorrent/distinfo
===================================================================
--- trunk/net-p2p/rtorrent/distinfo 2015-08-09 18:50:35 UTC (rev 19695)
+++ trunk/net-p2p/rtorrent/distinfo 2015-08-09 18:55:04 UTC (rev 19696)
@@ -1,2 +1,2 @@
-SHA256 (rtorrent-0.9.2.tar.gz) = 5c8f8c780bee376afce3c1cde2f5ecb928f40bac23b2b8171deed5cf3c888c3d
-SIZE (rtorrent-0.9.2.tar.gz) = 591837
+SHA256 (rtorrent-0.9.4.tar.gz) = bc0a2c1ee613b68f37021beaf4e64a9252f91ed06f998c1e897897c354ce7e84
+SIZE (rtorrent-0.9.4.tar.gz) = 601913
Added: trunk/net-p2p/rtorrent/files/patch-src_display_window__file__list.cc
===================================================================
--- trunk/net-p2p/rtorrent/files/patch-src_display_window__file__list.cc (rev 0)
+++ trunk/net-p2p/rtorrent/files/patch-src_display_window__file__list.cc 2015-08-09 18:55:04 UTC (rev 19696)
@@ -0,0 +1,10 @@
+--- src/display/window_file_list.cc.orig 2012-02-14 04:32:01.000000000 +0100
++++ src/display/window_file_list.cc 2014-02-02 22:49:44.000000000 +0100
+@@ -36,6 +36,7 @@
+
+ #include "config.h"
+
++#include <locale>
+ #include <stdio.h>
+ #include <torrent/path.h>
+ #include <torrent/data/file.h>
Property changes on: trunk/net-p2p/rtorrent/files/patch-src_display_window__file__list.cc
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net-p2p/rtorrent/files/patch-src_signal__handler.cc
===================================================================
--- trunk/net-p2p/rtorrent/files/patch-src_signal__handler.cc (rev 0)
+++ trunk/net-p2p/rtorrent/files/patch-src_signal__handler.cc 2015-08-09 18:55:04 UTC (rev 19696)
@@ -0,0 +1,10 @@
+--- src/signal_handler.cc.orig 2012-03-29 15:06:11.000000000 +0200
++++ src/signal_handler.cc 2014-02-02 22:46:43.000000000 +0100
+@@ -38,6 +38,7 @@
+
+ #include <signal.h>
+ #include <stdexcept>
++#include <string>
+ #include "rak/error_number.h"
+ #include "signal_handler.h"
+
Property changes on: trunk/net-p2p/rtorrent/files/patch-src_signal__handler.cc
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net-p2p/rtorrent/files/patch-src_utils_directory.cc
===================================================================
--- trunk/net-p2p/rtorrent/files/patch-src_utils_directory.cc (rev 0)
+++ trunk/net-p2p/rtorrent/files/patch-src_utils_directory.cc 2015-08-09 18:55:04 UTC (rev 19696)
@@ -0,0 +1,13 @@
+--- src/utils/directory.cc.orig 2012-03-29 13:06:11.000000000 +0000
++++ 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;
Property changes on: trunk/net-p2p/rtorrent/files/patch-src_utils_directory.cc
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Modified: trunk/net-p2p/rtorrent/pkg-plist
===================================================================
--- trunk/net-p2p/rtorrent/pkg-plist 2015-08-09 18:50:35 UTC (rev 19695)
+++ trunk/net-p2p/rtorrent/pkg-plist 2015-08-09 18:55:04 UTC (rev 19696)
@@ -1,3 +1,2 @@
bin/rtorrent
-%%EXAMPLESDIR%%/rtorrent.rc
- at dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rtorrent.rc
More information about the Midnightbsd-cvs
mailing list