security/libressl: Backport change for missing EGD feature

- LibreSSL uses opensslfeatures.h to set defines for removed features
 - RAND_egd support was removed before first portable release
 - Change adds OPENSSL_NO_EGD define to make porting easier
 - Change is part of coming 2.2.0 version

Approved by:    vsevolod (maintainer, mentor), koobs (mentor)
Obtained from:  OpenBSD
MFC after:      1 month
This commit is contained in:
Bernard Spil 2015-06-01 07:25:54 +00:00
parent 959368f6ce
commit 26f1835cc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388204
3 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= libressl
PORTVERSION= 2.1.6
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= OPENBSD/LibreSSL
@ -10,6 +11,7 @@ MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Free version of the SSL/TLS protocol forked from OpenSSL
LICENSE= BSD4CLAUSE
CPE_VENDOR= openbsd
CONFLICTS?= openssl-*

View file

@ -0,0 +1,10 @@
--- include/openssl/opensslfeatures.h.orig 2014-12-06 23:15:50 UTC
+++ include/openssl/opensslfeatures.h
@@ -1,6 +1,7 @@
# define OPENSSL_NO_EC_NISTP_64_GCC_128
# define OPENSSL_NO_CMS
# define OPENSSL_NO_COMP
+# define OPENSSL_NO_EGD
# define OPENSSL_NO_GMP
# define OPENSSL_NO_JPAKE
# define OPENSSL_NO_KRB5