summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalah Coronya <salah.coronya@gmail.com>2020-09-13 22:49:23 -0500
committerJoonas Niilola <juippis@gentoo.org>2020-10-02 11:42:30 +0300
commit67847442aeee9a7e684a53d0b47e65d680503ea9 (patch)
tree225fd023215ce53e759a5098730f52729019abc6 /app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild
parentdev-libs/serd: bump to 0.30.6 (diff)
downloadgentoo-67847442aeee9a7e684a53d0b47e65d680503ea9.tar.gz
gentoo-67847442aeee9a7e684a53d0b47e65d680503ea9.tar.bz2
gentoo-67847442aeee9a7e684a53d0b47e65d680503ea9.zip
app-crypt/tpm2-totp: Bump to 0.3.0
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Salah Coronya <salah.coronya@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild')
-rw-r--r--app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild b/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild
new file mode 100644
index 000000000000..b02901ba1dcd
--- /dev/null
+++ b/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 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 )"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ --disable-defaultflags \
+ $(use_enable plymouth) \
+ $(use_enable test integration)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}