Date: Fri, 27 Sep 2013 09:51:17 GMT From: Ganael Laplanche <martymac@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182437: security/polarssl: turn HAVEGE random generator on Message-ID: <201309270951.r8R9pH9q056944@oldred.freebsd.org> Resent-Message-ID: <201309271000.r8RA00tt032975@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182437 >Category: ports >Synopsis: security/polarssl: turn HAVEGE random generator on >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 27 10:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ganael Laplanche >Release: 10-CURRENT >Organization: http://contribs.martymac.org >Environment: FreeBSD laptop.martymac.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r255202M: Wed Sep 4 12:47:38 CEST 2013 martymac@laptop.martymac.org:/usr/obj/files/Src/sys/GENERIC amd64 >Description: Hi Jase, The new version of emulators/dolphin-emu-devel will require two functions from polarssl (havege_init() and havege_random()) that are not provided by the port. Is there a reason for keeping them turned off ? If not, find attach a patch that enables those two functions. Best regards, >How-To-Repeat: >Fix: Patch attached with submission follows: diff -aurN security/polarssl.orig/Makefile security/polarssl/Makefile --- security/polarssl.orig/Makefile 2013-09-21 00:55:24.000000000 +0200 +++ security/polarssl/Makefile 2013-09-24 16:42:12.129251539 +0200 @@ -3,6 +3,7 @@ PORTNAME= polarssl PORTVERSION= 1.2.8 DISTVERSIONSUFFIX= -gpl +PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= http://polarssl.org/download/ EXTRACT_SUFX= .tgz @@ -18,7 +19,7 @@ FETCH_ARGS= -pRro ${DISTFILES} ALL_TARGET= no_test -USE_GMAKE= yes +USES= gmake USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} diff -aurN security/polarssl.orig/files/patch-include-polarssl-config.h security/polarssl/files/patch-include-polarssl-config.h --- security/polarssl.orig/files/patch-include-polarssl-config.h 1970-01-01 01:00:00.000000000 +0100 +++ security/polarssl/files/patch-include-polarssl-config.h 2013-09-24 16:40:12.856243076 +0200 @@ -0,0 +1,12 @@ +--- include/polarssl/config.h.orig 2013-09-24 16:37:14.000000000 +0200 ++++ include/polarssl/config.h 2013-09-24 16:39:22.000000000 +0200 +@@ -627,8 +627,8 @@ + * Requires: POLARSSL_TIMING_C + * + * Uncomment to enable the HAVEGE random generator. +-#define POLARSSL_HAVEGE_C + */ ++#define POLARSSL_HAVEGE_C + + /** + * \def POLARSSL_MD_C >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309270951.r8R9pH9q056944>