Date: Mon, 4 Feb 2013 17:59:31 +0800 (CST) From: Gasol Wu <gasol.wu@gmail.com> To: FreeBSD-gnats-submit@freebsd.org Cc: lx@FreeBSD.org Subject: ports/175820: [PATCH] security/nacl: [SUMMARIZE CHANGES] Message-ID: <20130204095931.0C8AF7474EB@goingmarry.kkbox.com> Resent-Message-ID: <201302041010.r14AA6AI016854@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175820 >Category: ports >Synopsis: [PATCH] security/nacl: [SUMMARIZE CHANGES] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 04 10:10:05 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Gasol Wu >Release: FreeBSD 9.1-RC1 amd64 >Organization: >Environment: System: FreeBSD goingmarry 9.1-RC1 FreeBSD 9.1-RC1 #0: Tue Aug 14 04:25:06 UTC 2012 >Description: * Add randombytes.o to the libnacl.a archive [1] * Add -fPIC * Remove some implementations that do not want to be relocatable [2] * New header * Convert YES to lowercase references: 1. https://github.com/mxcl/homebrew/blob/master/Library/Formula/nacl.rb 2. https://gist.github.com/4437587 Port maintainer (lx@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports) >How-To-Repeat: >Fix: --- nacl-20110221_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/security/nacl/Makefile ./Makefile --- /usr/ports/security/nacl/Makefile 2012-11-17 14:01:08.000000000 +0800 +++ ./Makefile 2013-02-04 17:53:20.000000000 +0800 @@ -1,12 +1,10 @@ -# New ports collection makefile for: nacl -# Date created: 2011-10-03 -# Whom: David Thiel <lx@FreeBSD.org> -# +# Created by: David Thiel <lx@FreeBSD.org> # $FreeBSD: ports/security/nacl/Makefile,v 1.8 2012/11/17 06:01:08 svnexp Exp $ # PORTNAME= nacl PORTVERSION= 20110221 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://hyperelliptic.org/nacl/ @@ -14,8 +12,9 @@ COMMENT= High speed cryptography library ALL_TARGET= do -USE_BZIP2= YES -MAKE_JOBS_UNSAFE= YES +USE_BZIP2= yes +USE_BINUTILS= yes +MAKE_JOBS_UNSAFE= yes .include <bsd.port.pre.mk> @@ -25,9 +24,19 @@ HOSTNAME_CMD?= /bin/hostname +post-patch: + @${REINPLACE_CMD} -i -e "s/$$/ -fPIC/" ${WRKSRC}/okcompilers/c + +pre-build: + ${RM} -rf ${WRKSRC}/crypto_onetimeauth/poly1305/amd64 + do-build: cd ${WRKSRC} && ./do +post-build: + ${AR} -r ${WRKSRC}/build/`${HOSTNAME_CMD}`/lib/${ARCH}/libnacl.a \ + ${WRKSRC}/build/`${HOSTNAME_CMD}`/lib/${ARCH}/randombytes.o + do-install: @${INSTALL_PROGRAM} ${WRKSRC}/build/`${HOSTNAME_CMD} -s`/bin/nacl-sha256 \ ${PREFIX}/bin --- nacl-20110221_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130204095931.0C8AF7474EB>