Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 08:46:30 +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: r478109 - in head/net/samba48: . files
Message-ID:  <201808260846.w7Q8kUJx008205@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Sun Aug 26 08:46:29 2018
New Revision: 478109
URL: https://svnweb.freebsd.org/changeset/ports/478109

Log:
  net/samba48: Do not use arc4random_stir.
  
  PR:		230834, 230756
  Approved by:	portmgr (antoine)

Added:
  head/net/samba48/files/patch-source4__heimdal__lib__roken__rand.c   (contents, props changed)
Modified:
  head/net/samba48/Makefile

Modified: head/net/samba48/Makefile
==============================================================================
--- head/net/samba48/Makefile	Sun Aug 26 08:36:30 2018	(r478108)
+++ head/net/samba48/Makefile	Sun Aug 26 08:46:29 2018	(r478109)
@@ -3,7 +3,7 @@
 
 PORTNAME=			${SAMBA4_BASENAME}48
 PORTVERSION=			${SAMBA4_VERSION}
-PORTREVISION=			0
+PORTREVISION=			1
 CATEGORIES?=			net
 MASTER_SITES=			SAMBA/samba/stable SAMBA/samba/rc
 DISTNAME=			${SAMBA4_DISTNAME}

Added: head/net/samba48/files/patch-source4__heimdal__lib__roken__rand.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/samba48/files/patch-source4__heimdal__lib__roken__rand.c	Sun Aug 26 08:46:29 2018	(r478109)
@@ -0,0 +1,10 @@
+--- source4/heimdal/lib/roken/rand.c.orig	2018-01-14 12:41:58.000000000 -0800
++++ source4/heimdal/lib/roken/rand.c	2018-08-22 22:11:26.937151714 -0700
+@@ -37,7 +37,6 @@
+ rk_random_init(void)
+ {
+ #if defined(HAVE_ARC4RANDOM)
+-    arc4random_stir();
+ #elif defined(HAVE_SRANDOMDEV)
+     srandomdev();
+ #elif defined(HAVE_RANDOM)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808260846.w7Q8kUJx008205>