From owner-svn-ports-head@freebsd.org Sat Jun 18 23:35:03 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF60EA79247; Sat, 18 Jun 2016 23:35:03 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B0FC21A9B; Sat, 18 Jun 2016 23:35:03 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5INZ2tD086450; Sat, 18 Jun 2016 23:35:02 GMT (envelope-from cperciva@FreeBSD.org) Received: (from cperciva@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5INZ2k1086449; Sat, 18 Jun 2016 23:35:02 GMT (envelope-from cperciva@FreeBSD.org) Message-Id: <201606182335.u5INZ2k1086449@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cperciva set sender to cperciva@FreeBSD.org using -f From: Colin Percival Date: Sat, 18 Jun 2016 23:35:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417095 - head/sysutils/spiped X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2016 23:35:04 -0000 Author: cperciva Date: Sat Jun 18 23:35:02 2016 New Revision: 417095 URL: https://svnweb.freebsd.org/changeset/ports/417095 Log: Teach sysutils/spiped about libcrypto versions: * Add USE_OPENSSL * Add -I${OPENSSLINC} to CFLAGS * Pass -L${OPENSSLLIB} to the linker Thanks to: brnrd Modified: head/sysutils/spiped/Makefile Modified: head/sysutils/spiped/Makefile ============================================================================== --- head/sysutils/spiped/Makefile Sat Jun 18 22:17:12 2016 (r417094) +++ head/sysutils/spiped/Makefile Sat Jun 18 23:35:02 2016 (r417095) @@ -2,6 +2,7 @@ PORTNAME= spiped PORTVERSION= 1.5.0 +PORTREVISION= 1 CATEGORIES= sysutils security MASTER_SITES= http://www.tarsnap.com/spiped/ @@ -14,13 +15,16 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT # The spiped build only needs C99, but this will help to get us a compiler # which has support for AESNI on x86 systems USES= compiler:c11 tar:tgz +USE_OPENSSL= YES # Install into ${STAGEDIR}${PREFIX} MAKE_ARGS+= BINDIR=${STAGEDIR}${PREFIX}/bin MAKE_ARGS+= MAN1DIR=${STAGEDIR}${PREFIX}/man/man1 -# Force __BSD_VISIBLE on since it works and improves performance -MAKE_ARGS+= CFLAGS="-O2 -D__BSD_VISIBLE" +# Force __BSD_VISIBLE on since it works and improves performance; +# add -I and -L directories for OpenSSL +MAKE_ARGS+= CFLAGS="-O2 -D__BSD_VISIBLE -I${OPENSSLINC}" +MAKE_ARGS+= LDADD_EXTRA="-L${OPENSSLLIB}" PORTDOCS= BUILDING CHANGELOG COPYRIGHT README STYLE PLIST_FILES= bin/spipe \