From owner-svn-ports-head@freebsd.org Mon Oct 26 21:46:15 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F58DA1EE2B; Mon, 26 Oct 2015 21:46:15 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD95B18DC; Mon, 26 Oct 2015 21:46:14 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9QLkDjL026072; Mon, 26 Oct 2015 21:46:13 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9QLkDp9026069; Mon, 26 Oct 2015 21:46:13 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <201510262146.t9QLkDp9026069@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Mon, 26 Oct 2015 21:46:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400210 - in head/net-p2p/twister: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2015 21:46:15 -0000 Author: thierry Date: Mon Oct 26 21:46:13 2015 New Revision: 400210 URL: https://svnweb.freebsd.org/changeset/ports/400210 Log: Upgrade to 0.9.31: back-ported utp vulnerability fix from libtorrent-rasterbar. Changelog at http://twister.net.co/?p=575 Security: uTP vulnerability (also known as DRDoS in torrent world) and lazy_bdecode overrun Added: head/net-p2p/twister/files/patch-src_twister.cpp (contents, props changed) Modified: head/net-p2p/twister/Makefile head/net-p2p/twister/distinfo Modified: head/net-p2p/twister/Makefile ============================================================================== --- head/net-p2p/twister/Makefile Mon Oct 26 21:30:44 2015 (r400209) +++ head/net-p2p/twister/Makefile Mon Oct 26 21:46:13 2015 (r400210) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= twister-core -PORTVERSION= 0.9.30 +PORTVERSION= 0.9.31 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= net-p2p Modified: head/net-p2p/twister/distinfo ============================================================================== --- head/net-p2p/twister/distinfo Mon Oct 26 21:30:44 2015 (r400209) +++ head/net-p2p/twister/distinfo Mon Oct 26 21:46:13 2015 (r400210) @@ -1,2 +1,2 @@ -SHA256 (miguelfreitas-twister-core-v0.9.30_GH0.tar.gz) = f37b7f5dc359629dfe69b11770c180be66829e39b3c49d0c82b9886f308e69c4 -SIZE (miguelfreitas-twister-core-v0.9.30_GH0.tar.gz) = 6206014 +SHA256 (miguelfreitas-twister-core-v0.9.31_GH0.tar.gz) = ccb85f5eaac46a668908c69063adcc796a2bb4cb69907b1c093dbf8fcf58c101 +SIZE (miguelfreitas-twister-core-v0.9.31_GH0.tar.gz) = 6211128 Added: head/net-p2p/twister/files/patch-src_twister.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/twister/files/patch-src_twister.cpp Mon Oct 26 21:46:13 2015 (r400210) @@ -0,0 +1,26 @@ +--- src/twister.cpp.orig 2015-10-19 01:02:01 UTC ++++ src/twister.cpp +@@ -1624,7 +1624,7 @@ bool usernameExists(std::string const &u + + bool createSignedUserpost(entry &v, std::string const &username, int k, + int flag, std::string const &msg, +- entry const *ent, entry const *sig, ++ entry const *ent, entry const *sig_rtfav, + std::string const &reply_n = "", int reply_k = 0) + { + entry &userpost = v["userpost"]; +@@ -1657,12 +1657,12 @@ bool createSignedUserpost(entry &v, std: + } + //userpost["t"] = "rt"; + userpost["rt"] = *ent; +- userpost["sig_rt"] = *sig; ++ userpost["sig_rt"] = *sig_rtfav; + break; + } + case USERPOST_FLAG_FAV: + userpost["fav"] = *ent; +- userpost["sig_fav"] = *sig; ++ userpost["sig_fav"] = *sig_rtfav; + break; + case USERPOST_FLAG_DM: + //userpost["t"] = "dm";