From owner-svn-ports-head@freebsd.org Sat Sep 10 15:07:52 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 9F376BD5F68; Sat, 10 Sep 2016 15:07:52 +0000 (UTC) (envelope-from marino@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 61B5F1C95; Sat, 10 Sep 2016 15:07:52 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8AF7pYN082052; Sat, 10 Sep 2016 15:07:51 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8AF7pNn082050; Sat, 10 Sep 2016 15:07:51 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201609101507.u8AF7pNn082050@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 10 Sep 2016 15:07:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421699 - in head/devel/cjose: . files 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.23 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, 10 Sep 2016 15:07:52 -0000 Author: marino Date: Sat Sep 10 15:07:51 2016 New Revision: 421699 URL: https://svnweb.freebsd.org/changeset/ports/421699 Log: devel/cjose: Allow building with LibreSSL This requires USES+=pkgconfig and to configure to the proper *ssl base as well as a patch to free cjose from being openssl-specific. Approved by: SSL blanket Added: head/devel/cjose/files/ head/devel/cjose/files/patch-include_cjose_util.h (contents, props changed) Modified: head/devel/cjose/Makefile Modified: head/devel/cjose/Makefile ============================================================================== --- head/devel/cjose/Makefile Sat Sep 10 14:55:31 2016 (r421698) +++ head/devel/cjose/Makefile Sat Sep 10 15:07:51 2016 (r421699) @@ -11,7 +11,7 @@ LICENSE= MIT LIB_DEPENDS+= libjansson.so:devel/jansson -USES= libtool pathfix ssl +USES= libtool pathfix pkgconfig ssl USE_LDCONFIG= yes INSTALL_TARGET= install-strip @@ -20,6 +20,6 @@ GH_ACCOUNT= cisco GH_PROJECT= cjose GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-jansson=${PREFIX} --with-openssl=${PREFIX} +CONFIGURE_ARGS= --with-jansson=${PREFIX} --with-openssl=${OPENSSLBASE} .include Added: head/devel/cjose/files/patch-include_cjose_util.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/cjose/files/patch-include_cjose_util.h Sat Sep 10 15:07:51 2016 (r421699) @@ -0,0 +1,12 @@ +--- include/cjose/util.h.orig 2016-08-04 17:08:47 UTC ++++ include/cjose/util.h +@@ -25,7 +25,9 @@ extern "C" + { + #endif + ++#ifndef LIBRESSL_VERSION_NUMBER + #define CJOSE_OPENSSL_11X OPENSSL_VERSION_NUMBER >= 0x10100005L ++#endif + + /** + * Macro to explicitly mark a parameter unused, and usable across multiple