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.diff -r1.70 -r1.70.2.1 pkgsrc/net/rtorrent/Makefile
(bsiegert)
@@ -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 | |||
3 | DISTNAME= rtorrent-0.9.7 | 3 | DISTNAME= rtorrent-0.9.7 | |
4 | PKGREVISION= 2 | |||
4 | CATEGORIES= net | 5 | CATEGORIES= net | |
5 | MASTER_SITES= http://rtorrent.net/downloads/ | 6 | MASTER_SITES= http://rtorrent.net/downloads/ | |
6 | 7 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= https://github.com/rakshasa/rtorrent | 9 | HOMEPAGE= https://github.com/rakshasa/rtorrent | |
9 | COMMENT= Ncurses based torrent client with support for sessions | 10 | COMMENT= Ncurses based torrent client with support for sessions | |
10 | LICENSE= gnu-gpl-v2 | 11 | LICENSE= gnu-gpl-v2 | |
11 | 12 | |||
12 | USE_LANGUAGES= c c++11 | 13 | USE_LANGUAGES= c c++11 | |
13 | USE_LIBTOOL= yes | 14 | USE_LIBTOOL= yes | |
14 | USE_NCURSES= yes # chgat | 15 | USE_NCURSES= yes # chgat | |
15 | USE_TOOLS+= gmake pkg-config | 16 | USE_TOOLS+= gmake pkg-config | |
16 | GNU_CONFIGURE= yes | 17 | GNU_CONFIGURE= yes |
@@ -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 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.rtorrent | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.rtorrent | |
4 | PKG_SUPPORTED_OPTIONS= xmlrpc | 4 | PKG_SUPPORTED_OPTIONS= xmlrpc | |
5 | PKG_SUGGESTED_OPTIONS= xmlrpc | 5 | PKG_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) | |
10 | CONFIGURE_ARGS+= --with-xmlrpc-c=${PREFIX}/bin/xmlrpc-c-config | 10 | CONFIGURE_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 |