app-crypt/tpm2-openssl: initial import

Signed-off-by: Christopher Byrne <salah.coronya@gmail.com>
This commit is contained in:
Christopher Byrne 2022-04-15 18:07:41 -05:00
parent 69bc3f9253
commit 03ab7d4beb
No known key found for this signature in database
GPG Key ID: B90B564155310A2E
4 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST tpm2-openssl-1.1.0.tar.gz 415118 BLAKE2B c82410b1694b5db3e7b6614b1c4e2eef7354c87574334e1e81631bba707398e3d33d975dba2f2cbbf1b09d90f8ae94e7f01531c98b1efd666ca43298a02ead0a SHA512 a57e25d8efcbaa3a898a2803d816169e4227466f9391e5dc7c80a44686865cae0c24ee1973c6376d86d5be8081850f7b35cd0d4cb0b3a8cf654d400d78ae383b

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>salah.coronya@gmail.com</email>
<name>Christopher Byrne</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,42 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="OpenSSL Provider for TPM2 integration"
HOMEPAGE="https://github.com/tpm2-software/tpm2-openssl"
SRC_URI="https://github.com/tpm2-software/tpm2-openssl/releases/download/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64"
# Needs IBM's software TPM simulator, which isn't in Portage
RESTRICT="test"
RDEPEND=">=app-crypt/tpm2-tss-3.2.0:=
=dev-libs/openssl-3.0*:0="
BDEPEND="sys-devel/autoconf-archive
virtual/pkgconfig"
src_prepare() {
# See bug #833887 (and similar); eautoreconf means version information
# could be incorrectly embedded
sed -i \
"s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${PV}/" \
"${S}/configure.ac" || die
eautoreconf
default
}
src_install() {
default
find ${ED} -iname \*.la -delete
# No libtool files are install, so nothing to check for bug #833887
}

View File

@ -9,6 +9,10 @@
# TODO: Either fix per profile masking in overlays, or move
# relevant entries to the relevant package.mask files in ::gentoo
# Christopher Byrne <salah.coronya@gmail.com> (2022-04-15)
# Depends on masked dev-libs/openssl-3.0.*
app-crypt/tpm2-openssl
# Adrian Schollmeyer <nex+b-g-o@nexadn.de> (2022-03-15)
# Package will be removed after 2022-04-15 from ::guru, since it is no longer
# being used by net-im/abaddon and has no other reverse dependencies.