From owner-svn-ports-all@freebsd.org Sun Aug 26 07:45:57 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B5F6106C4A1; Sun, 26 Aug 2018 07:45:57 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7C6874FE9; Sun, 26 Aug 2018 07:45:56 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9690F4065; Sun, 26 Aug 2018 07:45:56 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7Q7judX077068; Sun, 26 Aug 2018 07:45:56 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7Q7juhg077066; Sun, 26 Aug 2018 07:45:56 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201808260745.w7Q7juhg077066@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Sun, 26 Aug 2018 07:45:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478103 - in head/mail/exim: . files X-SVN-Group: ports-head X-SVN-Commit-Author: delphij X-SVN-Commit-Paths: in head/mail/exim: . files X-SVN-Commit-Revision: 478103 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2018 07:45:57 -0000 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 ++#if __FreeBSD_version >= 1000002 ++# define NOT_HAVE_ARC4RANDOM_STIR ++#endif + + typedef struct flock flock_t; +