svn commit: r478103 - in head/mail/exim: . files

Xin LI delphij at FreeBSD.org
Sun Aug 26 07:45:57 UTC 2018


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;
+ 


More information about the svn-ports-all mailing list