Sat Sep 15 12:25:47 2018 UTC ()
Pullup ticket #5830 - requested by maya
net/rtorrent: security fix (remote code execution)

Revisions pulled up:
- net/rtorrent/Makefile                                         1.72
- net/rtorrent/options.mk                                       1.3

---
   Module Name:	pkgsrc
   Committed By:	maya
   Date:		Fri Sep 14 21:06:42 UTC 2018

   Modified Files:
   	pkgsrc/net/rtorrent: Makefile options.mk

   Log Message:
   rtorrent: disable xmlrpc option by default, it is too insecure.

   bump PKGREVISION.


(bsiegert)
diff -r1.70 -r1.70.2.1 pkgsrc/net/rtorrent/Makefile
diff -r1.2 -r1.2.2.1 pkgsrc/net/rtorrent/options.mk

cvs diff -r1.70 -r1.70.2.1 pkgsrc/net/rtorrent/Makefile (expand / switch to unified diff)

--- pkgsrc/net/rtorrent/Makefile 2018/06/24 16:59:52 1.70
+++ pkgsrc/net/rtorrent/Makefile 2018/09/15 12:25:47 1.70.2.1
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1# $NetBSD: Makefile,v 1.70 2018/06/24 16:59:52 adam Exp $ 1# $NetBSD: Makefile,v 1.70.2.1 2018/09/15 12:25:47 bsiegert Exp $
2 2
3DISTNAME= rtorrent-0.9.7 3DISTNAME= rtorrent-0.9.7
 4PKGREVISION= 2
4CATEGORIES= net 5CATEGORIES= net
5MASTER_SITES= http://rtorrent.net/downloads/ 6MASTER_SITES= http://rtorrent.net/downloads/
6 7
7MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://github.com/rakshasa/rtorrent 9HOMEPAGE= https://github.com/rakshasa/rtorrent
9COMMENT= Ncurses based torrent client with support for sessions 10COMMENT= Ncurses based torrent client with support for sessions
10LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
11 12
12USE_LANGUAGES= c c++11 13USE_LANGUAGES= c c++11
13USE_LIBTOOL= yes 14USE_LIBTOOL= yes
14USE_NCURSES= yes # chgat 15USE_NCURSES= yes # chgat
15USE_TOOLS+= gmake pkg-config 16USE_TOOLS+= gmake pkg-config
16GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes

cvs diff -r1.2 -r1.2.2.1 pkgsrc/net/rtorrent/options.mk (expand / switch to unified diff)

--- pkgsrc/net/rtorrent/options.mk 2018/06/24 16:59:52 1.2
+++ pkgsrc/net/rtorrent/options.mk 2018/09/15 12:25:47 1.2.2.1
@@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
1# $NetBSD: options.mk,v 1.2 2018/06/24 16:59:52 adam Exp $ 1# $NetBSD: options.mk,v 1.2.2.1 2018/09/15 12:25:47 bsiegert Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.rtorrent 3PKG_OPTIONS_VAR= PKG_OPTIONS.rtorrent
4PKG_SUPPORTED_OPTIONS= xmlrpc 4PKG_SUPPORTED_OPTIONS= xmlrpc
5PKG_SUGGESTED_OPTIONS= xmlrpc 5PKG_SUGGESTED_OPTIONS=
6 6
7.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
8 8
9.if !empty(PKG_OPTIONS:Mxmlrpc) 9.if !empty(PKG_OPTIONS:Mxmlrpc)
10CONFIGURE_ARGS+= --with-xmlrpc-c=${PREFIX}/bin/xmlrpc-c-config 10CONFIGURE_ARGS+= --with-xmlrpc-c=${PREFIX}/bin/xmlrpc-c-config
11. include "../../textproc/xmlrpc-c/buildlink3.mk" 11. include "../../textproc/xmlrpc-c/buildlink3.mk"
12.endif 12.endif