svn commit: r478109 - in head/net/samba48: . files

Xin LI delphij at FreeBSD.org
Sun Aug 26 08:46:31 UTC 2018


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)


More information about the svn-ports-all mailing list