app-crypt/tpm2-totp - 0.3.0 (gentoo)

Search

Install

Install this version:

emerge -a =app-crypt/tpm2-totp-0.3.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-crypt/tpm2-totp-0.3.0

Or alternatively:

emerge --autounmask-write -a =app-crypt/tpm2-totp-0.3.0

Package Information

Description:
Attest the trustworthiness of a device against a human using time-based OTP
Homepage:
https://github.com/tpm2-software/tpm2-totp
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
0.3.0 7 ~amd64 0
View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit autotools

DESCRIPTION="Attest the trustworthiness of a device against a human using time-based OTP"
HOMEPAGE="https://github.com/tpm2-software/tpm2-totp"
SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/v${PV}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="plymouth test"

REQUIRED_USE="test? ( plymouth )"

RDEPEND="app-crypt/tpm2-tss:=
	media-gfx/qrencode
	plymouth? ( sys-boot/plymouth )"
DEPEND="${RDEPEND}
	test? (
		app-crypt/swtpm
		app-crypt/tpm2-tools
		>=app-crypt/tpm2-tss-3.0.0:=
		sys-apps/fakeroot
		sys-auth/oath-toolkit
	)"

BDEPEND="virtual/pkgconfig"

RESTRICT="!test? ( test )"

PATCHES=(
	"${FILESDIR}/${P}-Remove-bogus-value-from-Makefile.am"
)

src_prepare() {
	default
	eautoreconf
}

src_configure() {
	econf \
		--disable-static \
		--disable-defaultflags \
		$(use_enable plymouth) \
		$(use_enable test integration)
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-crypt/tpm2-totp | euse -E <flag> -p app-crypt/tpm2-totp | euse -D <flag> -p app-crypt/tpm2-totp

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

app-crypt/tpm2-tss:=
	media-gfx/qrencode
	plymouth? ( sys-boot/plymouth )
	test? (
		app-crypt/swtpm
		app-crypt/tpm2-tools
		>=app-crypt/tpm2-tss-3.0.0:=
		sys-apps/fakeroot
		sys-auth/oath-toolkit
	)

RDEPEND

app-crypt/tpm2-tss:=
	media-gfx/qrencode
	plymouth? ( sys-boot/plymouth )

BDEPEND

virtual/pkgconfig

Manifest for 0.3.0

Type File Size Source URLs
DIST tpm2-totp-0.3.0.tar.gz 428874 bytes https://github.com/tpm2-software/tpm2-totp/releases/download/v0.3.0/tpm2-totp-0.3.0.tar.gz