Date: Sun, 26 Aug 2018 08:50:58 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> 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 Message-ID: <201808260850.w7Q8ow2f009207@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808260850.w7Q8ow2f009207>