From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 318E213829C for ; Fri, 3 Jun 2016 15:58:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D76A1254023; Fri, 3 Jun 2016 15:58:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 789F6254023 for ; Fri, 3 Jun 2016 15:58:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6D5A340D2A for ; Fri, 3 Jun 2016 15:58:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2749FAA2 for ; Fri, 3 Jun 2016 15:58:10 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1464965463.511ae892e46b82189e199a76f0f505ffd6e9f73d.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/tpm-tools/tpm-tools-1.3.8-r1.ebuild X-VCS-Directories: app-crypt/tpm-tools/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 511ae892e46b82189e199a76f0f505ffd6e9f73d X-VCS-Branch: master Date: Fri, 3 Jun 2016 15:58:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b09f4c69-415f-4eb8-b8c2-b882d7822d3e X-Archives-Hash: 63b636acb2806054ed895a0962b1a0ad commit: 511ae892e46b82189e199a76f0f505ffd6e9f73d Author: Anthony G. Basile gentoo org> AuthorDate: Fri Jun 3 14:51:03 2016 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Fri Jun 3 14:51:03 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=511ae892 app-crypt/tpm-tools: add libressl support Package-Manager: portage-2.2.28 app-crypt/tpm-tools/tpm-tools-1.3.8-r1.ebuild | 53 +++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/app-crypt/tpm-tools/tpm-tools-1.3.8-r1.ebuild b/app-crypt/tpm-tools/tpm-tools-1.3.8-r1.ebuild new file mode 100644 index 0000000..96502e1 --- /dev/null +++ b/app-crypt/tpm-tools/tpm-tools-1.3.8-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic + +DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules" +HOMEPAGE="http://trousers.sourceforge.net" +SRC_URI="mirror://sourceforge/trousers/${P}.tar.gz" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~s390 ~sh ~x86" +IUSE="libressl nls pkcs11 debug" + +COMMON_DEPEND=" + >=app-crypt/trousers-0.3.0 + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + pkcs11? ( dev-libs/opencryptoki ) + " +RDEPEND="${COMMON_DEPEND} + nls? ( virtual/libintl )" +DEPEND="${COMMON_DEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + sed -i -r \ + -e '/CFLAGS/s/ -(Werror|m64)//' \ + configure.in || die + epatch "${FILESDIR}/${P}-gold.patch" + epatch "${FILESDIR}/${P}-build.patch" + + eautoreconf +} + +src_configure() { + local myconf + # don't use --enable-pkcs11-support, configure is a mess. + use pkcs11 || myconf+=" --disable-pkcs11-support" + + append-cppflags $(usex debug -DDEBUG -DNDEBUG) + + econf \ + $(use_enable nls) \ + ${myconf} +} + +src_install() { + default + rm -f "${ED}"/usr/lib*/libtpm_unseal.la +}