From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 27 10:00:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E1CC9F49 for ; Fri, 27 Sep 2013 10:00:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C215D2FE9 for ; Fri, 27 Sep 2013 10:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8RA00EY032976 for ; Fri, 27 Sep 2013 10:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8RA00tt032975; Fri, 27 Sep 2013 10:00:00 GMT (envelope-from gnats) Resent-Date: Fri, 27 Sep 2013 10:00:00 GMT Resent-Message-Id: <201309271000.r8RA00tt032975@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ganael Laplanche Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 74EF9D8B for ; Fri, 27 Sep 2013 09:51:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 493612FA3 for ; Fri, 27 Sep 2013 09:51:17 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r8R9pHY9056965 for ; Fri, 27 Sep 2013 09:51:17 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r8R9pH9q056944; Fri, 27 Sep 2013 09:51:17 GMT (envelope-from nobody) Message-Id: <201309270951.r8R9pH9q056944@oldred.freebsd.org> Date: Fri, 27 Sep 2013 09:51:17 GMT From: Ganael Laplanche To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182437: security/polarssl: turn HAVEGE random generator on X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 10:00:01 -0000 >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: