From owner-svn-ports-all@freebsd.org Sun Aug 26 08:50:59 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 02FA2106E2E5; Sun, 26 Aug 2018 08:50:59 +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 ABCFF76FB7; Sun, 26 Aug 2018 08:50:58 +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 8E5434A6E; Sun, 26 Aug 2018 08:50:58 +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 w7Q8ow5t009208; Sun, 26 Aug 2018 08:50:58 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7Q8ow2f009207; Sun, 26 Aug 2018 08:50:58 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201808260850.w7Q8ow2f009207@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 08:50:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478110 - in head/dns/samba-nsupdate: . files X-SVN-Group: ports-head X-SVN-Commit-Author: delphij X-SVN-Commit-Paths: in head/dns/samba-nsupdate: . files X-SVN-Commit-Revision: 478110 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 08:50:59 -0000 Author: delphij Date: Sun Aug 26 08:50:57 2018 New Revision: 478110 URL: https://svnweb.freebsd.org/changeset/ports/478110 Log: dns/samba-nsupdate: Stop using arc4random_addrandom. PR: 230825, 230756 Approved by; portmgr (antoine) Added: head/dns/samba-nsupdate/files/patch-lib_isc_random.c (contents, props changed) Modified: head/dns/samba-nsupdate/Makefile Modified: head/dns/samba-nsupdate/Makefile ============================================================================== --- head/dns/samba-nsupdate/Makefile Sun Aug 26 08:46:29 2018 (r478109) +++ head/dns/samba-nsupdate/Makefile Sun Aug 26 08:50:57 2018 (r478110) @@ -2,7 +2,7 @@ PORTNAME= nsupdate PORTVERSION= 9.8.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns net ipv6 MASTER_SITES= ISC/bind9/${ISCVERSION} PKGNAMEPREFIX= samba- Added: head/dns/samba-nsupdate/files/patch-lib_isc_random.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/samba-nsupdate/files/patch-lib_isc_random.c Sun Aug 26 08:50:57 2018 (r478110) @@ -0,0 +1,12 @@ +--- lib/isc/random.c.orig 2013-09-05 05:19:53 UTC ++++ lib/isc/random.c +@@ -68,7 +68,9 @@ isc_random_seed(isc_uint32_t seed) + #ifndef HAVE_ARC4RANDOM + srand(seed); + #else ++#ifdef arc4random_addrandom + arc4random_addrandom((u_char *) &seed, sizeof(isc_uint32_t)); ++#endif + #endif + } +