From owner-svn-ports-all@freebsd.org Sun Aug 26 07:56:40 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82741106C807; Sun, 26 Aug 2018 07:56:40 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 36EEB7541A; Sun, 26 Aug 2018 07:56:40 +0000 (UTC) (envelope-from delphij@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 181234210; Sun, 26 Aug 2018 07:56:40 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7Q7udFh082018; Sun, 26 Aug 2018 07:56:39 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7Q7udE3082016; Sun, 26 Aug 2018 07:56:39 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201808260756.w7Q7udE3082016@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Sun, 26 Aug 2018 07:56:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478104 - in head/devel/libevent: . files X-SVN-Group: ports-head X-SVN-Commit-Author: delphij X-SVN-Commit-Paths: in head/devel/libevent: . files X-SVN-Commit-Revision: 478104 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2018 07:56:40 -0000 Author: delphij Date: Sun Aug 26 07:56:39 2018 New Revision: 478104 URL: https://svnweb.freebsd.org/changeset/ports/478104 Log: devel/libevent: Don't use arc4random_addrandom. PR: 230764, 230756 Approved by: portmgr (antoine) Added: head/devel/libevent/files/patch-evutil__rand.c (contents, props changed) Modified: head/devel/libevent/Makefile Modified: head/devel/libevent/Makefile ============================================================================== --- head/devel/libevent/Makefile Sun Aug 26 07:45:55 2018 (r478103) +++ head/devel/libevent/Makefile Sun Aug 26 07:56:39 2018 (r478104) @@ -3,7 +3,7 @@ PORTNAME= libevent PORTVERSION= 2.1.8 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= release- DISTVERSIONSUFFIX= -stable CATEGORIES= devel Added: head/devel/libevent/files/patch-evutil__rand.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libevent/files/patch-evutil__rand.c Sun Aug 26 07:56:39 2018 (r478104) @@ -0,0 +1,13 @@ +--- evutil_rand.c.orig 2017-01-25 23:37:15 UTC ++++ evutil_rand.c +@@ -195,8 +195,10 @@ evutil_secure_rng_get_bytes(void *buf, size_t n) + void + evutil_secure_rng_add_bytes(const char *buf, size_t n) + { ++#ifdef arc4random_addrandom + arc4random_addrandom((unsigned char*)buf, + n>(size_t)INT_MAX ? INT_MAX : (int)n); ++#endif + } + + void