1 |
commit: 8c992f5c577a0b64eea655e958a97c32418e7b9c |
2 |
Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Apr 10 15:01:17 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 13 13:16:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c992f5c |
7 |
|
8 |
app-crypt/tpm2-tss: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Salah Coronya <salah.coronya <AT> gmail.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
app-crypt/tpm2-tss/Manifest | 2 -- |
15 |
app-crypt/tpm2-tss/tpm2-tss-2.2.3-r2.ebuild | 56 ----------------------------- |
16 |
app-crypt/tpm2-tss/tpm2-tss-2.3.3.ebuild | 53 --------------------------- |
17 |
3 files changed, 111 deletions(-) |
18 |
|
19 |
diff --git a/app-crypt/tpm2-tss/Manifest b/app-crypt/tpm2-tss/Manifest |
20 |
index 16f1388cba1..e25f40f7a50 100644 |
21 |
--- a/app-crypt/tpm2-tss/Manifest |
22 |
+++ b/app-crypt/tpm2-tss/Manifest |
23 |
@@ -1,3 +1 @@ |
24 |
-DIST tpm2-tss-2.2.3.tar.gz 912179 BLAKE2B 36b2a462512822dccb3adab605ea9922132f027455a1d2895b6735f6200fe44f08288477c99afd0f6c06b4bff3090104b6412b12ea4a518888cf756fb8ee53c4 SHA512 68087cbf2b7acc33788e90b3825bf2c91faa65cfc04b576790634c88876a8a6930d6943f83b7cf0858e37e5e7307703d0c975b9fc0b0ad1d87f66c74b65bd411 |
25 |
-DIST tpm2-tss-2.3.3.tar.gz 1171185 BLAKE2B de88d3301bf05239ac9644b4d0e8f257f483bd7a8196ba957a68da9f47cd88ca47422fded5fa8939ccb3bcdf4b39c1dd363c65b9e675f3e03021fb12ec723117 SHA512 df83908508fc8add8ca1aaf7144bcf369f13797f7e5d39fe29654d82e2de2cddf324cd06cb3154318ef767d706d863a7781d98c7b29a90945f081a54594128e5 |
26 |
DIST tpm2-tss-2.4.0.tar.gz 1446509 BLAKE2B bb078719fa85d9ea07b9710b5ac5d2f9c2b842700ed5b26a30ab2708a227b4bd599563c76e648d6f0b9dfe7785a25c049826f953baffdd39113bd62e7b4563df SHA512 763370381584f2124f751f0736e6a8b34428fd52134fd9966f3581e128f3b74b3f1261992f5d6162d7c866e47f7e5519ea80c1d1d39b80d5ed6e067eb2cd35a0 |
27 |
|
28 |
diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.2.3-r2.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.2.3-r2.ebuild |
29 |
deleted file mode 100644 |
30 |
index cc1d9f37f2a..00000000000 |
31 |
--- a/app-crypt/tpm2-tss/tpm2-tss-2.2.3-r2.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,56 +0,0 @@ |
34 |
-# Copyright 1999-2020 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-inherit linux-info udev |
40 |
- |
41 |
-DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" |
42 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" |
43 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="BSD-2" |
46 |
-SLOT="0/0" # sublot is libtss2-sys number |
47 |
-KEYWORDS="~amd64" |
48 |
-IUSE="doc +gcrypt openssl static-libs test" |
49 |
- |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-REQUIRED_USE=" |
53 |
- gcrypt? ( !openssl ) |
54 |
- openssl? ( !gcrypt ) |
55 |
- || ( gcrypt openssl )" |
56 |
- |
57 |
-RDEPEND=" |
58 |
- acct-group/tss |
59 |
- acct-user/tss |
60 |
- gcrypt? ( dev-libs/libgcrypt:0= ) |
61 |
- openssl? ( dev-libs/openssl:0= )" |
62 |
-DEPEND="${RDEPEND} |
63 |
- test? ( dev-util/cmocka )" |
64 |
-BDEPEND="virtual/pkgconfig |
65 |
- doc? ( app-doc/doxygen )" |
66 |
- |
67 |
-pkg_setup() { |
68 |
- local CONFIG_CHECK=" \ |
69 |
- ~TCG_TPM |
70 |
- " |
71 |
- linux-info_pkg_setup |
72 |
- kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- econf \ |
77 |
- $(use_enable doc doxygen-doc) \ |
78 |
- $(use_enable static-libs static) \ |
79 |
- $(use_enable test unit) \ |
80 |
- --disable-defaultflags \ |
81 |
- --with-crypto="$(usex gcrypt gcrypt ossl)" \ |
82 |
- --with-udevrulesdir="$(get_udevdir)/rules.d" \ |
83 |
- --with-udevrulesprefix=60- |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- default |
88 |
- find "${D}" -name '*.la' -delete || die |
89 |
-} |
90 |
|
91 |
diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.3.3.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.3.3.ebuild |
92 |
deleted file mode 100644 |
93 |
index 0802983f630..00000000000 |
94 |
--- a/app-crypt/tpm2-tss/tpm2-tss-2.3.3.ebuild |
95 |
+++ /dev/null |
96 |
@@ -1,53 +0,0 @@ |
97 |
-# Copyright 1999-2020 Gentoo Authors |
98 |
-# Distributed under the terms of the GNU General Public License v2 |
99 |
- |
100 |
-EAPI=7 |
101 |
- |
102 |
-inherit linux-info udev |
103 |
- |
104 |
-DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack" |
105 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-tss" |
106 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" |
107 |
- |
108 |
-LICENSE="BSD-2" |
109 |
-SLOT="0" |
110 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
111 |
-IUSE="doc +gcrypt openssl static-libs test" |
112 |
- |
113 |
-RESTRICT="!test? ( test )" |
114 |
- |
115 |
-REQUIRED_USE="^^ ( gcrypt openssl )" |
116 |
- |
117 |
-RDEPEND="acct-group/tss |
118 |
- acct-user/tss |
119 |
- gcrypt? ( dev-libs/libgcrypt:0= ) |
120 |
- openssl? ( dev-libs/openssl:0= )" |
121 |
-DEPEND="${RDEPEND} |
122 |
- test? ( dev-util/cmocka )" |
123 |
-BDEPEND="virtual/pkgconfig |
124 |
- doc? ( app-doc/doxygen )" |
125 |
- |
126 |
-pkg_setup() { |
127 |
- local CONFIG_CHECK=" \ |
128 |
- ~TCG_TPM |
129 |
- " |
130 |
- linux-info_pkg_setup |
131 |
- kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required" |
132 |
-} |
133 |
- |
134 |
-src_configure() { |
135 |
- econf \ |
136 |
- $(use_enable doc doxygen-doc) \ |
137 |
- $(use_enable static-libs static) \ |
138 |
- $(use_enable test unit) \ |
139 |
- --disable-defaultflags \ |
140 |
- --disable-weakcrypto \ |
141 |
- --with-crypto="$(usex gcrypt gcrypt ossl)" \ |
142 |
- --with-udevrulesdir="$(get_udevdir)/rules.d" \ |
143 |
- --with-udevrulesprefix=60- |
144 |
-} |
145 |
- |
146 |
-src_install() { |
147 |
- default |
148 |
- find "${D}" -name '*.la' -delete || die |
149 |
-} |