From: Salah Coronya Date: Fri, 2 Aug 2019 01:55:12 +0000 (-0500) Subject: dev-libs/libtpms: New ebuild X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c3a5d320ff902b26b5a89097408ee01ae3187dba;p=gentoo.git dev-libs/libtpms: New ebuild libtpms is a library providing software emultion of a TPM. It is used by swtpm. Closes: https://bugs.gentoo.org/675296 Signed-off-by: Salah Coronya Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Joonas Niilola --- diff --git a/dev-libs/libtpms/Manifest b/dev-libs/libtpms/Manifest new file mode 100644 index 000000000000..84d03d4014d2 --- /dev/null +++ b/dev-libs/libtpms/Manifest @@ -0,0 +1 @@ +DIST libtpms-0.7.0.tar.gz 1203837 BLAKE2B ca5a3b78dc63c09c4ff084124838fedeb5be0580f709ad6165680159ba7ba4b1f751b9fbc67f6b5a8f39b82bdd420afb47087412a47b72cbe5b418a97a4860fe SHA512 92d1eb5d1a1cae08e97cceaca56fc9bc6d43c54a93edae2accf19807a4e93e19d88064a0b11db796c79d32c821e6b320ebbacb65cd20da3e5b1205f3b861cef2 diff --git a/dev-libs/libtpms/libtpms-0.7.0.ebuild b/dev-libs/libtpms/libtpms-0.7.0.ebuild new file mode 100644 index 000000000000..ea28c3dd94fe --- /dev/null +++ b/dev-libs/libtpms/libtpms-0.7.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Library providing software emultion of a TPM" +HOMEPAGE="https://github.com/stefanberger/libtpms" +SRC_URI="https://github.com/stefanberger/libtpms/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-libs/openssl:0=" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-openssl \ + --with-tpm2 +} diff --git a/dev-libs/libtpms/metadata.xml b/dev-libs/libtpms/metadata.xml new file mode 100644 index 000000000000..6ddd104074b9 --- /dev/null +++ b/dev-libs/libtpms/metadata.xml @@ -0,0 +1,13 @@ + + + + + salah.coronya@gmail.com + Salah Coronya + + + proxy-maint@gentoo.org + Proxy Maintainers + + +