Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 07:45:56 +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: r478103 - in head/mail/exim: . files
Message-ID:  <201808260745.w7Q7juhg077066@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Sun Aug 26 07:45:55 2018
New Revision: 478103
URL: https://svnweb.freebsd.org/changeset/ports/478103

Log:
  mail/exim: Stop using arc4random_stir.
  
  PR:		230826, 230756
  Approved by:	portmgr

Added:
  head/mail/exim/files/patch-OS_os.h-FreeBSD   (contents, props changed)
Modified:
  head/mail/exim/Makefile

Modified: head/mail/exim/Makefile
==============================================================================
--- head/mail/exim/Makefile	Sun Aug 26 07:15:38 2018	(r478102)
+++ head/mail/exim/Makefile	Sun Aug 26 07:45:55 2018	(r478103)
@@ -3,7 +3,7 @@
 
 PORTNAME=	exim
 PORTVERSION?=	${EXIM_VERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	mail ipv6
 MASTER_SITES=	EXIM:exim
 MASTER_SITE_SUBDIR=	/exim4/:exim \

Added: head/mail/exim/files/patch-OS_os.h-FreeBSD
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/exim/files/patch-OS_os.h-FreeBSD	Sun Aug 26 07:45:55 2018	(r478103)
@@ -0,0 +1,17 @@
+--- OS/os.h-FreeBSD.orig	2018-04-14 23:18:10 UTC
++++ OS/os.h-FreeBSD
+@@ -12,6 +12,14 @@
+ #define SIOCGIFCONF_GIVES_ADDR
+ #define HAVE_SRANDOMDEV
+ #define HAVE_ARC4RANDOM
++/* Applications should not call arc4random_stir() explicitly after
++   FreeBSD r227520 (approximately 1000002).
++   Set NOT_HAVE_ARC4RANDOM_STIR if the version released is past
++   that point. */
++#include <sys/param.h>
++#if __FreeBSD_version >= 1000002
++# define NOT_HAVE_ARC4RANDOM_STIR
++#endif
+ 
+ typedef struct flock flock_t;
+ 



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