svn commit: r478110 - in head/dns/samba-nsupdate: . files
Xin LI
delphij at FreeBSD.org
Sun Aug 26 08:50:59 UTC 2018
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
+ }
+
More information about the svn-ports-all
mailing list