From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 098C315800F for ; Tue, 14 Feb 2023 03:13:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31B88E0798; Tue, 14 Feb 2023 03:13:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DB52FE0798 for ; Tue, 14 Feb 2023 03:13:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DAA19340B27 for ; Tue, 14 Feb 2023 03:13:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A351A8AA for ; Tue, 14 Feb 2023 03:13:37 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1676344396.37ecf6b971e037cf7413136835e5575a5553d985.sam@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.9.2-r1.ebuild X-VCS-Directories: app-crypt/tpm-tools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 37ecf6b971e037cf7413136835e5575a5553d985 X-VCS-Branch: master Date: Tue, 14 Feb 2023 03:13:37 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8bbec7b9-8f27-4fd0-8293-abfc411fd76a X-Archives-Hash: d6cc1a0c999c3613daa2e92536f44703 commit: 37ecf6b971e037cf7413136835e5575a5553d985 Author: Stijn Tintel linux-ipv6 be> AuthorDate: Wed Feb 1 23:18:18 2023 +0000 Commit: Sam James gentoo org> CommitDate: Tue Feb 14 03:13:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ecf6b9 app-crypt/tpm-tools: revbump to depend on app-crypt/trousers-0.3.15-r1 Closes: https://bugs.gentoo.org/713444 Signed-off-by: Stijn Tintel linux-ipv6.be> Closes: https://github.com/gentoo/gentoo/pull/29384 Signed-off-by: Sam James gentoo.org> app-crypt/tpm-tools/tpm-tools-1.3.9.2-r1.ebuild | 52 +++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/app-crypt/tpm-tools/tpm-tools-1.3.9.2-r1.ebuild b/app-crypt/tpm-tools/tpm-tools-1.3.9.2-r1.ebuild new file mode 100644 index 000000000000..68163a060786 --- /dev/null +++ b/app-crypt/tpm-tools/tpm-tools-1.3.9.2-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +DESCRIPTION="TrouSerS' support tools for the Trusted Platform Modules" +HOMEPAGE="http://trousers.sourceforge.net" +SRC_URI="mirror://sourceforge/trousers/${PN}/${P}.tar.gz" + +LICENSE="CPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~s390 ~x86" +IUSE="nls pkcs11 debug" + +DEPEND=">=app-crypt/trousers-0.3.15-r1 + dev-libs/openssl:0= + pkcs11? ( dev-libs/opencryptoki )" +RDEPEND="${DEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + default + +# upstream didn't generate the tarball correctly so we must bootstrap +# ouselves + mkdir -p po || die + mkdir -p m4 || die + cp -R po_/* po/ || die + touch po/Makefile.in.in || die + touch m4/Makefile.am || die + + sed -i -r \ + -e '/CFLAGS/s/ -m64//' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + append-cppflags $(usex debug -DDEBUG -DNDEBUG) + + econf \ + $(use_enable nls) \ + $(use pkcs11 || echo --disable-pkcs11-support) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +}