Created attachment 498694 [details] ebuild I'd suggest putting it in app-crypt, along with trousers and the other TPM-related tools. This gets it building and working on my system. Pretty straightforward. I'll also be submitting the accompanying ebuild for tpm2-tools.
Created attachment 548764 [details] tpm2-tss-2.0.1.ebuild It updated the ebuild to the current version 2.0.1 and successfully tested it with my Asus TPM 2.0.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2116ee6b8d5ea228d739cb6aa6b917eeb948faf6 commit 2116ee6b8d5ea228d739cb6aa6b917eeb948faf6 Author: Alon Bar-Lev <alonbl@gentoo.org> AuthorDate: 2018-12-30 19:03:07 +0000 Commit: Alon Bar-Lev <alonbl@gentoo.org> CommitDate: 2018-12-30 20:58:45 +0000 app-crypt/tpm2-tss: initial add Closes: https://bugs.gentoo.org/show_bug.cgi?id=634298 Thanks: Alex Guzman Thanks: Sebastian Hamann Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-crypt/tpm2-tss/Manifest | 1 + .../tpm2-tss/files/tpm2-tss-2.1.0-build.patch | 49 +++++++++++++++++++ .../tpm2-tss/files/tpm2-tss-2.1.0-tests.patch | 30 ++++++++++++ app-crypt/tpm2-tss/metadata.xml | 15 ++++++ app-crypt/tpm2-tss/tpm2-tss-2.1.0.ebuild | 57 ++++++++++++++++++++++ 5 files changed, 152 insertions(+)