diff options
author | Salah Coronya <salah.coronya@gmail.com> | 2020-02-19 20:06:06 -0600 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-02-26 18:17:24 +0200 |
commit | 1ef5efaff6c4d1153bb266230116c2ff796953cd (patch) | |
tree | a6c0a30cbafcde7855112e59166b07ceb9423274 /app-crypt/tpm2-tss | |
parent | app-crypt/tpm2-tss: Add salah.coronya@gmail.com as proxy maintainer (diff) | |
download | gentoo-1ef5efaff6c4d1153bb266230116c2ff796953cd.tar.gz gentoo-1ef5efaff6c4d1153bb266230116c2ff796953cd.tar.bz2 gentoo-1ef5efaff6c4d1153bb266230116c2ff796953cd.zip |
app-crypt/tpm2-tss: Bump version to 2.3.2
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Salah Coronya <salah.coronya@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/tpm2-tss')
-rw-r--r-- | app-crypt/tpm2-tss/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/tpm2-tss/tpm2-tss-2.3.2.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest index 533d36c8bbeb..ac16812b25a9 100644 --- a/app-crypt/tpm2-tss/Manifest +++ b/app-crypt/tpm2-tss/Manifest @@ -1 +1,2 @@ DIST tpm2-tss-2.2.3.tar.gz 912179 BLAKE2B 36b2a462512822dccb3adab605ea9922132f027455a1d2895b6735f6200fe44f08288477c99afd0f6c06b4bff3090104b6412b12ea4a518888cf756fb8ee53c4 SHA512 68087cbf2b7acc33788e90b3825bf2c91faa65cfc04b576790634c88876a8a6930d6943f83b7cf0858e37e5e7307703d0c975b9fc0b0ad1d87f66c74b65bd411 +DIST tpm2-tss-2.3.2.tar.gz 1087241 BLAKE2B cccefc0635ba141b2e54025da064e6328b3c4c74b4b11a25f2230e0e499e235eea67f6df8d1a6cb011c53ce23978827cb4c633e631540bfca88b85d6c8762ed7 SHA512 7b679b54f3478c3adee5b6c3135cbe491ffd9f4712991f465edbd6c7d2831e5f1537038ec36f288e9545c719d5d167b61116c924cf5d816220615d0b58a1d436 diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.3.2.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.3.2.ebuild new file mode 100644 index 000000000000..0a32297970f1 --- /dev/null +++ b/app-crypt/tpm2-tss/tpm2-tss-2.3.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info udev + +DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" +HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/0" # sublot is libtss2-sys number +KEYWORDS="~amd64" +IUSE="doc +gcrypt openssl static-libs test" + +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + gcrypt? ( !openssl ) + openssl? ( !gcrypt ) + || ( gcrypt openssl )" + +RDEPEND="acct-group/tss + acct-user/tss + gcrypt? ( dev-libs/libgcrypt:0= ) + openssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND="virtual/pkgconfig + doc? ( app-doc/doxygen )" + +pkg_setup() { + local CONFIG_CHECK=" \ + ~TCG_TPM + " + linux-info_pkg_setup + kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" +} + +src_configure() { + econf \ + $(use_enable doc doxygen-doc) \ + $(use_enable static-libs static) \ + $(use_enable test unit) \ + --disable-defaultflags \ + --disable-weakcrypto \ + --with-crypto="$(usex gcrypt gcrypt ossl)" \ + --with-udevrulesdir="$(get_udevdir)/rules.d" \ + --with-udevrulesprefix=60- +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |