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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 020DF138353 for ; Thu, 23 Apr 2020 07:41:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09D8CE0AE3; Thu, 23 Apr 2020 07:41:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D2555E0AE3 for ; Thu, 23 Apr 2020 07:41:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DC4834F267 for ; Thu, 23 Apr 2020 07:41:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FB651EE for ; Thu, 23 Apr 2020 07:41:27 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1587627666.2203c4b7b7a34401d14edbb79ea75d3acf97c7c0.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/swtpm/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/swtpm/Manifest app-crypt/swtpm/swtpm-0.3.1.ebuild X-VCS-Directories: app-crypt/swtpm/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 2203c4b7b7a34401d14edbb79ea75d3acf97c7c0 X-VCS-Branch: master Date: Thu, 23 Apr 2020 07:41:27 +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: 77860555-da7a-48fb-87ce-06105d16031f X-Archives-Hash: 2acf9c245471d56d8cb990935b7db828 commit: 2203c4b7b7a34401d14edbb79ea75d3acf97c7c0 Author: Salah Coronya gmail com> AuthorDate: Tue Apr 7 15:13:10 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Apr 23 07:41:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2203c4b7 app-crypt/swtpm: Bump to 0.3.1 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Salah Coronya gmail.com> Signed-off-by: Joonas Niilola gentoo.org> app-crypt/swtpm/Manifest | 1 + app-crypt/swtpm/swtpm-0.3.1.ebuild | 76 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/app-crypt/swtpm/Manifest b/app-crypt/swtpm/Manifest index 2a0b8aca57b..f874a6630a5 100644 --- a/app-crypt/swtpm/Manifest +++ b/app-crypt/swtpm/Manifest @@ -1 +1,2 @@ DIST swtpm-0.3.0.tar.gz 308472 BLAKE2B c6b93303c77cb3de0917b219b7e8e216864a11cd7c584d85409b457bc36db9b0515639ae972f8ef39ba60f52506075a2cc697519bd18da9fdb12031e716c9e6e SHA512 e1e62367966224b3fc6edb80a883c5e3d6a698f437032e0b4b71558ebd7e24e5b92e7d843ee15ca29edd96710bbac51cb435956ac535b10a5f2b2afd65e748a3 +DIST swtpm-0.3.1.tar.gz 308576 BLAKE2B 96c44654b92d453d91594aed6fdd4cb56853973c1215bfb131e750d38a3ed1e64e3283647e54ad9ad84747406f53d7ac4f221fc5b319d7fa80bab758fed04062 SHA512 4b3e58048336ee82a87d17905a7d0dc5fbe13160ebb8f072b91410e782dae7fafc72e572a2f6aa2b1d9f4377074c01afd30505b9e71d92b8d7066365811d3e3f diff --git a/app-crypt/swtpm/swtpm-0.3.1.ebuild b/app-crypt/swtpm/swtpm-0.3.1.ebuild new file mode 100644 index 00000000000..20d0ca3946c --- /dev/null +++ b/app-crypt/swtpm/swtpm-0.3.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit autotools python-any-r1 + +DESCRIPTION="Libtpms-based TPM emulator" +HOMEPAGE="https://github.com/stefanberger/swtpm" +SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="fuse gnutls libressl seccomp test" + +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + fuse? ( + dev-libs/glib:2 + sys-fs/fuse:0 + ) + gnutls? ( + dev-libs/libtasn1:= + >=net-libs/gnutls-3.1.0[tools] + ) + !libressl? ( + dev-libs/openssl:0= + dev-libs/libtpms[-libressl] + ) + libressl? ( + dev-libs/libressl:0= + dev-libs/libtpms[libressl] + ) + seccomp? ( sys-libs/libseccomp ) +" + +DEPEND="${COMMON_DEPEND} + test? ( + net-misc/socat + ${PYTHON_DEPS} + ) +" + +RDEPEND="${COMMON_DEPEND} + acct-group/tss + acct-user/tss + app-crypt/tpm-tools + app-crypt/trousers + dev-tcltk/expect" + +src_prepare() { + use test || eapply "${FILESDIR}/${PN}-disable-test-dependencies.patch" + eapply "${FILESDIR}/${PN}-fix-localca-path.patch" + default + eautoreconf +} + +src_configure() { + econf \ + --with-openssl \ + --without-selinux \ + $(use_with fuse cuse) \ + $(use_with gnutls) \ + $(use_with seccomp) +} + +src_install() { + default + fowners tss:tss /var/lib/swtpm-localca + keepdir /var/lib/swtpm-localca + find "${D}" -name '*.la' -delete || die +}