From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-pkcs11/
Date: Wed, 13 May 2020 13:17:30 +0000 (UTC) [thread overview]
Message-ID: <1589375806.fa7927dad7cc0f73e23783d6887b44e6f7a67c0e.juippis@gentoo> (raw)
commit: fa7927dad7cc0f73e23783d6887b44e6f7a67c0e
Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Fri Apr 17 03:13:52 2020 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed May 13 13:16:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa7927da
app-crypt/tpm2-pkcs11: New package
PKCS #11 is a Public-Key Cryptography Standard that defines a standard method
to access cryptographic services from tokens/ devices such as hardware security
modules (HSM), smart cards, etc. This package intends to use a TPM2 device as
the cryptographic token.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15404
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-crypt/tpm2-pkcs11/Manifest | 1 +
app-crypt/tpm2-pkcs11/metadata.xml | 13 +++++++
app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild | 52 ++++++++++++++++++++++++++
3 files changed, 66 insertions(+)
diff --git a/app-crypt/tpm2-pkcs11/Manifest b/app-crypt/tpm2-pkcs11/Manifest
new file mode 100644
index 00000000000..59b50a7143d
--- /dev/null
+++ b/app-crypt/tpm2-pkcs11/Manifest
@@ -0,0 +1 @@
+DIST tpm2-pkcs11-1.2.0.tar.gz 1253641 BLAKE2B e4f673f6cb3b697426f4ba01324939214e74a74edee24a184de860d54d7b8c3f437716245552e06711c258eed88b7556771f2614f3a4dacdec5a986a5c9697d4 SHA512 e7de454b38388c4562fc92282855c1ed9a04c7968c358d6918137257fb5a1ca785c2297e8a34464ea04eed86acd9fc5b59c837027da9d3f195ec86ff0563feeb
diff --git a/app-crypt/tpm2-pkcs11/metadata.xml b/app-crypt/tpm2-pkcs11/metadata.xml
new file mode 100644
index 00000000000..6ddd104074b
--- /dev/null
+++ b/app-crypt/tpm2-pkcs11/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>salah.coronya@gmail.com</email>
+ <name>Salah Coronya</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild
new file mode 100644
index 00000000000..808767d4003
--- /dev/null
+++ b/app-crypt/tpm2-pkcs11/tpm2-pkcs11-1.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_REQ_USE="sqlite"
+
+inherit distutils-r1
+
+DESCRIPTION="A PKCS#11 interface for TPM2 hardware"
+HOMEPAGE="https://tpm2-software.github.io/"
+SRC_URI="https://github.com/tpm2-software/tpm2-pkcs11/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Test requires the IBM TPM simulator that's not in portage
+RESTRICT="test"
+
+RDEPEND="app-crypt/p11-kit
+ app-crypt/tpm2-abrmd
+ app-crypt/tpm2-tss
+ dev-db/sqlite:3
+ dev-libs/openssl
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/pyasn1[${PYTHON_USEDEP}]
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]"
+
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/autoconf-archive
+ virtual/pkgconfig"
+
+src_configure() {
+ default
+}
+
+src_compile() {
+ default
+ cd "${S}/tools" || die
+ BUILD_DIR="${S}/tools" python_foreach_impl distutils-r1_python_compile
+}
+
+src_install() {
+ default
+ cd "${S}/tools" || die
+ BUILD_DIR="${S}/tools" python_foreach_impl distutils-r1_python_install
+ dobin "${S}/tools/tpm2_ptool"
+}
next reply other threads:[~2020-05-13 13:17 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 13:17 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-20 9:01 [gentoo-commits] repo/gentoo:master commit in: app-crypt/tpm2-pkcs11/ Joonas Niilola
2020-07-20 9:01 Joonas Niilola
2020-08-08 9:04 Joonas Niilola
2020-08-08 9:04 Joonas Niilola
2020-09-12 8:32 Joonas Niilola
2020-09-12 8:32 Joonas Niilola
2020-09-12 8:32 Joonas Niilola
2020-10-08 6:57 Joonas Niilola
2020-11-20 11:45 Joonas Niilola
2020-11-20 11:45 Joonas Niilola
2021-04-25 8:00 Michał Górny
2021-05-19 6:48 Joonas Niilola
2021-05-19 6:48 Joonas Niilola
2021-09-28 6:17 Joonas Niilola
2021-09-28 6:17 Joonas Niilola
2022-04-23 6:25 Joonas Niilola
2022-04-23 6:25 Joonas Niilola
2022-12-24 2:59 Sam James
2023-01-24 10:01 Joonas Niilola
2023-02-15 14:08 Viorel Munteanu
2023-02-15 14:08 Viorel Munteanu
2024-05-09 20:49 Sam James
2024-05-09 20:49 Sam James
2024-12-21 21:01 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1589375806.fa7927dad7cc0f73e23783d6887b44e6f7a67c0e.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox