summaryrefslogtreecommitdiff
path: root/app-crypt/tpm2-totp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /app-crypt/tpm2-totp
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'app-crypt/tpm2-totp')
-rw-r--r--app-crypt/tpm2-totp/Manifest6
-rw-r--r--app-crypt/tpm2-totp/metadata.xml3
-rw-r--r--app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild (renamed from app-crypt/tpm2-totp/tpm2-totp-0.2.1-r1.ebuild)24
3 files changed, 26 insertions, 7 deletions
diff --git a/app-crypt/tpm2-totp/Manifest b/app-crypt/tpm2-totp/Manifest
index a18481c54bc4..c26fde8d1b47 100644
--- a/app-crypt/tpm2-totp/Manifest
+++ b/app-crypt/tpm2-totp/Manifest
@@ -1,3 +1,3 @@
-DIST tpm2-totp-0.2.1.tar.gz 427226 BLAKE2B e6a9dbcdac4d7fc31048aff968e3eea097752c79a3c1b8551d22558a6b143a758e7bb507722185c648000f4b1edd2f0bbdd443890b5763b297f3d42cfbd84d9d SHA512 2bda34e89b76319a40206e08c0208b0f139309c0b0e40e7168b5e7562096750df504dfcae3a39e6f82fdccbf7a79ed0802d115fbd7560dc3f5b52d81fe8fb59c
-EBUILD tpm2-totp-0.2.1-r1.ebuild 696 BLAKE2B 4adbf823093d5e8868fe20d0c1bec2c86afa1d5b32b7800ae3a040fbb77b244bb9e1999d20d9a5bce6f367e6ee5093e465d22a29f3e2e2acb7217ffd69a5b2ec SHA512 aaa9cd2384921a0b723ef6ee9b661b5eb8a42aa8a8124d0747dcf70b49dfc2e2ac8320e97bb731a83491e1f1e8c3642aeb271f1570e3318f4264fdb87d046c12
-MISC metadata.xml 457 BLAKE2B a9c8431a32d462bb22c6362828b488746c0ec6f7cb0e2990894db416eedc1b0093b2b6a34cf05797ffe1769c5706f41099ec0a239904d3cd66f948dbe330d12c SHA512 eb49af2e52b354ee329f7bff699ad3a8d30efb83162f907806896021a54fd6d8cc17fa3ba037332004fed460576b4c1ac2e7323ff10331e053d8423540f17542
+DIST tpm2-totp-0.3.0.tar.gz 428874 BLAKE2B 413f4418cd1ce9a996f36c83e27c3fe256b2d3f5ff36e7df1dc1b651e38afa222be9742d5cfa76287263a4e1402dabea3400b41a1e1bde9f31fe03f82894f4f1 SHA512 d47cc8155a60a464afe602c3114ff8e6b2ff825457e6069693947421716b97c34b00f70adbcb4cda1b5b9639b8a3dfc7800295bbff99822da7a8077ebf78d6b2
+EBUILD tpm2-totp-0.3.0.ebuild 994 BLAKE2B d9b207eeb13a40283cedd2993049d09bab514d93cc71071d6332a6d589280d39908cbb1f5b69e9c014aa7e531d2e67498a66131e1389a8c52f6b7e3f93a990e2 SHA512 bcdc1cb8bee0503710d1d673ace426fb340e6a3982c237b09cdfb4f2a9c8370209e9e099a9a56262938a51348790082411323fb30650354aff25d29b20f2952d
+MISC metadata.xml 544 BLAKE2B 4c6496211180d7893b35163eab8ca8f6a6cede115470f0e4bbeaaed773d81c8d08cd45949276e33842d321bd4834f978ef1f1fff09545c261fe02e0add3b6a52 SHA512 47d8998acc8e248fd70743a7cd53ecfd04f9ffdd5f0332be0efb5cf6112d0909044b9562e2401b9d7f6f98d5dd008dd71d56d8c2c85847536d18e93da706122e
diff --git a/app-crypt/tpm2-totp/metadata.xml b/app-crypt/tpm2-totp/metadata.xml
index ff3a177c4bdd..fb1b2ed30d06 100644
--- a/app-crypt/tpm2-totp/metadata.xml
+++ b/app-crypt/tpm2-totp/metadata.xml
@@ -12,4 +12,7 @@
<upstream>
<remote-id type="github">tpm2-software/tpm2-totp</remote-id>
</upstream>
+ <use>
+ <flag name="plymouth">Add <pkg>sys-boot/plymouth</pkg> support</flag>
+ </use>
</pkgmetadata>
diff --git a/app-crypt/tpm2-totp/tpm2-totp-0.2.1-r1.ebuild b/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild
index e2c2d163e572..b02901ba1dcd 100644
--- a/app-crypt/tpm2-totp/tpm2-totp-0.2.1-r1.ebuild
+++ b/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild
@@ -12,12 +12,26 @@ SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/v${PV}/${P}.ta
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
+ )"
-RDEPEND=">=app-crypt/tpm2-tss-2.0
- media-gfx/qrencode:="
-DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
+RESTRICT="!test? ( test )"
+
src_prepare() {
default
eautoreconf
@@ -26,7 +40,9 @@ src_prepare() {
src_configure() {
econf \
--disable-static \
- --disable-defaultflags
+ --disable-defaultflags \
+ $(use_enable plymouth) \
+ $(use_enable test integration)
}
src_install() {