Skip to content

Commit

Permalink
app-crypt/tpm2-tss: version bump
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/show_bug.cgi?id=687034
Signed-off-by: Alon Bar-Lev <[email protected]>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
  • Loading branch information
alonbl committed May 30, 2019
1 parent 9498391 commit 9a3ca0c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 132 deletions.
2 changes: 1 addition & 1 deletion app-crypt/tpm2-tss/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST tpm2-tss-2.1.0.tar.gz 922814 BLAKE2B 06baa6b817b99c0955a5190b0f90f8a0c55987eb06feb827cb950b69992ec1623367db488617722712ce9932ad8310c1b743af038ac77508106fb8f6f4409b1c SHA512 2aea80a4cb2be59a87de6eda74a2907a2832aa76c3c208f610172f4c5bd29133b24b0876286c40855a742d6068b8f843e32f6d995b0e51c2d1e0a752b92fff7c
DIST tpm2-tss-2.2.3.tar.gz 912179 BLAKE2B 36b2a462512822dccb3adab605ea9922132f027455a1d2895b6735f6200fe44f08288477c99afd0f6c06b4bff3090104b6412b12ea4a518888cf756fb8ee53c4 SHA512 68087cbf2b7acc33788e90b3825bf2c91faa65cfc04b576790634c88876a8a6930d6943f83b7cf0858e37e5e7307703d0c975b9fc0b0ad1d87f66c74b65bd411
88 changes: 0 additions & 88 deletions app-crypt/tpm2-tss/files/tpm2-tss-2.1.0-build.patch

This file was deleted.

30 changes: 0 additions & 30 deletions app-crypt/tpm2-tss/files/tpm2-tss-2.1.0-tests.patch

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EAPI=7

inherit autotools linux-info udev
inherit linux-info udev user

DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
Expand All @@ -21,36 +21,28 @@ REQUIRED_USE="

RDEPEND="gcrypt? ( dev-libs/libgcrypt:0= )
openssl? ( dev-libs/openssl:0= )"
DEPEND="${DEPEND}
DEPEND="${RDEPEND}
test? ( dev-util/cmocka )"
BDEPEND="virtual/pkgconfig
~sys-devel/autoconf-archive-2018.03.13
doc? ( app-doc/doxygen )"

PATCHES=(
"${FILESDIR}/${P}-build.patch"
"${FILESDIR}/${P}-tests.patch"
)

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_prepare() {
default
eautoreconf
enewgroup tss
enewuser tss -1 -1 /var/lib/tpm tss
}

src_configure() {
# next version add --disable-defaultflags
econf \
$(use_enable doc doxygen-doc) \
$(use_enable static-libs static) \
$(use_enable test unit) \
--disable-defaultflags \
--with-crypto="$(usex gcrypt gcrypt ossl)" \
--with-udevrulesdir="$(get_udevdir)/rules.d" \
--with-udevrulesprefix=60-
Expand Down

0 comments on commit 9a3ca0c

Please sign in to comment.