Date: 29 May 2009 18:46:12 -0000 From: Colin Percival <cperciva@tarsnap.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/135064: Add SSE2 OPTION to security/scrypt Message-ID: <20090529184612.94294.qmail@xps.daemonology.net> Resent-Message-ID: <200905291850.n4TIo2uA054338@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135064 >Category: ports >Synopsis: Add SSE2 OPTION to security/scrypt >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 29 18:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Colin Percival >Release: FreeBSD 7.2-RELEASE amd64 >Organization: >Environment: >Description: The source tarball for security/scrypt comes with both SSE2-optimized and non-SSE2-optimized versions of the scrypt function; there is an option to the configure script to select which version to use (which defaults to the non-SSE2 version). >How-To-Repeat: >Fix: I think this is the right OPTIONS syntax to allow users to select which version to build... --- scrypt.diff begins here --- diff -ruN security/scrypt.old/Makefile security/scrypt/Makefile --- security/scrypt.old/Makefile 2009-05-29 11:35:16.000000000 -0700 +++ security/scrypt/Makefile 2009-05-29 11:39:27.000000000 -0700 @@ -21,4 +21,14 @@ MAN1= scrypt.1 +OPTIONS= SSE2 "Use SSE2-optimized code" Off + +.include <bsd.port.options.mk> + +.if defined(WITH_SSE2) +CONFIGURE_ARGS+= --enable-sse2 +.else +CONFIGURE_ARGS+= --disable-sse2 +.endif + .include <bsd.port.mk> --- scrypt.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090529184612.94294.qmail>