1 |
commit: 8ae25bc849c29a34378347034ea88125db3092aa |
2 |
Author: Salah Coronya <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Feb 20 02:06:07 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 26 16:17:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae25bc8 |
7 |
|
8 |
app-crypt/tpm2-totp: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
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-totp/Manifest | 1 - |
15 |
.../tpm2-totp/files/tpm2-totp-0.1.1-build.patch | 70 ---------------------- |
16 |
app-crypt/tpm2-totp/tpm2-totp-0.1.1.ebuild | 38 ------------ |
17 |
3 files changed, 109 deletions(-) |
18 |
|
19 |
diff --git a/app-crypt/tpm2-totp/Manifest b/app-crypt/tpm2-totp/Manifest |
20 |
index db6a6311864..5e4f68674f2 100644 |
21 |
--- a/app-crypt/tpm2-totp/Manifest |
22 |
+++ b/app-crypt/tpm2-totp/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST tpm2-totp-0.1.1.tar.gz 357787 BLAKE2B c7a24b30c155cfd5387180a2c8584497327eadd701068aa5eb3c385bbadf26f448f88c238849fbf68c4e7265f01d3783b3aa50a912070df1c2fd4485310f2299 SHA512 33a4af16a292ddd674a399bf12ce0b355d95de7014e8be11816a1d88edfd36ae222a8b7508f3aa1be3b46c7e04bf2712ee4839cf9f4f83fc308cb4f639ec5b9f |
25 |
DIST tpm2-totp-0.2.1.tar.gz 427226 BLAKE2B e6a9dbcdac4d7fc31048aff968e3eea097752c79a3c1b8551d22558a6b143a758e7bb507722185c648000f4b1edd2f0bbdd443890b5763b297f3d42cfbd84d9d SHA512 2bda34e89b76319a40206e08c0208b0f139309c0b0e40e7168b5e7562096750df504dfcae3a39e6f82fdccbf7a79ed0802d115fbd7560dc3f5b52d81fe8fb59c |
26 |
|
27 |
diff --git a/app-crypt/tpm2-totp/files/tpm2-totp-0.1.1-build.patch b/app-crypt/tpm2-totp/files/tpm2-totp-0.1.1-build.patch |
28 |
deleted file mode 100644 |
29 |
index 232b4f9e868..00000000000 |
30 |
--- a/app-crypt/tpm2-totp/files/tpm2-totp-0.1.1-build.patch |
31 |
+++ /dev/null |
32 |
@@ -1,70 +0,0 @@ |
33 |
-From 2652497a15572d2484f57fee8be252d0d5fe4f8c Mon Sep 17 00:00:00 2001 |
34 |
-From: Alon Bar-Lev <alon.barlev@×××××.com> |
35 |
-Date: Fri, 31 May 2019 01:39:29 +0300 |
36 |
-Subject: [PATCH] build: add --disable-defaultflags |
37 |
- |
38 |
-Align with tpm2-tss to allow downstream to provide flags. |
39 |
- |
40 |
-Signed-off-by: Alon Bar-Lev <alon.barlev@×××××.com> |
41 |
---- |
42 |
- configure.ac | 42 +++++++++++++++++++++++++----------------- |
43 |
- 1 file changed, 25 insertions(+), 17 deletions(-) |
44 |
- |
45 |
-https://github.com/tpm2-software/tpm2-totp/pull/39 |
46 |
- |
47 |
-diff --git a/configure.ac b/configure.ac |
48 |
-index baf596b..ac11e1e 100644 |
49 |
---- a/configure.ac |
50 |
-+++ b/configure.ac |
51 |
-@@ -47,23 +47,31 @@ AC_SUBST([LIBEXECDIR]) |
52 |
- |
53 |
- AC_CONFIG_FILES([Makefile dist/tpm2-totp.pc dist/dracut/module-setup.sh dist/initcpio/install/plymouth-tpm2-totp]) |
54 |
- |
55 |
--AX_ADD_COMPILER_FLAG([-std=c99]) |
56 |
--AX_ADD_COMPILER_FLAG([-Wall]) |
57 |
--AX_ADD_COMPILER_FLAG([-Wextra]) |
58 |
--AX_ADD_COMPILER_FLAG([-Wformat-security]) |
59 |
--AX_ADD_COMPILER_FLAG([-Werror]) |
60 |
--AX_ADD_COMPILER_FLAG([-fstack-protector-all]) |
61 |
--AX_ADD_COMPILER_FLAG([-fpic]) |
62 |
--AX_ADD_COMPILER_FLAG([-fPIC]) |
63 |
-- |
64 |
--# work around GCC bug #53119 |
65 |
--# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 |
66 |
--AX_ADD_COMPILER_FLAG([-Wno-missing-braces]) |
67 |
-- |
68 |
--AX_ADD_LINK_FLAG([-Wl,--no-undefined]) |
69 |
--AX_ADD_LINK_FLAG([-Wl,-z,noexecstack]) |
70 |
--AX_ADD_LINK_FLAG([-Wl,-z,now]) |
71 |
--AX_ADD_LINK_FLAG([-Wl,-z,relro]) |
72 |
-+AC_ARG_ENABLE([defaultflags], |
73 |
-+ [AS_HELP_STRING([--disable-defaultflags], |
74 |
-+ [Disable default preprocessor, compiler, and linker flags.])], |
75 |
-+ [enable_defaultflags=$enableval], |
76 |
-+ [enable_defaultflags=yes]) |
77 |
-+AS_IF([test "x$enable_defaultflags" = "xyes"], |
78 |
-+ [ |
79 |
-+ AX_ADD_COMPILER_FLAG([-std=c99]) |
80 |
-+ AX_ADD_COMPILER_FLAG([-Wall]) |
81 |
-+ AX_ADD_COMPILER_FLAG([-Wextra]) |
82 |
-+ AX_ADD_COMPILER_FLAG([-Wformat-security]) |
83 |
-+ AX_ADD_COMPILER_FLAG([-Werror]) |
84 |
-+ AX_ADD_COMPILER_FLAG([-fstack-protector-all]) |
85 |
-+ AX_ADD_COMPILER_FLAG([-fpic]) |
86 |
-+ AX_ADD_COMPILER_FLAG([-fPIC]) |
87 |
-+ |
88 |
-+ # work around GCC bug #53119 |
89 |
-+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 |
90 |
-+ AX_ADD_COMPILER_FLAG([-Wno-missing-braces]) |
91 |
-+ |
92 |
-+ AX_ADD_LINK_FLAG([-Wl,--no-undefined]) |
93 |
-+ AX_ADD_LINK_FLAG([-Wl,-z,noexecstack]) |
94 |
-+ AX_ADD_LINK_FLAG([-Wl,-z,now]) |
95 |
-+ AX_ADD_LINK_FLAG([-Wl,-z,relro]) |
96 |
-+ ]) |
97 |
- |
98 |
- AX_CODE_COVERAGE |
99 |
- m4_ifdef([_AX_CODE_COVERAGE_RULES], |
100 |
--- |
101 |
-2.21.0 |
102 |
- |
103 |
|
104 |
diff --git a/app-crypt/tpm2-totp/tpm2-totp-0.1.1.ebuild b/app-crypt/tpm2-totp/tpm2-totp-0.1.1.ebuild |
105 |
deleted file mode 100644 |
106 |
index 8b2622c2586..00000000000 |
107 |
--- a/app-crypt/tpm2-totp/tpm2-totp-0.1.1.ebuild |
108 |
+++ /dev/null |
109 |
@@ -1,38 +0,0 @@ |
110 |
-# Copyright 1999-2019 Gentoo Authors |
111 |
-# Distributed under the terms of the GNU General Public License v2 |
112 |
- |
113 |
-EAPI=7 |
114 |
- |
115 |
-inherit autotools |
116 |
- |
117 |
-DESCRIPTION="Attest the trustworthiness of a device against a human using time-based OTP" |
118 |
-HOMEPAGE="https://github.com/tpm2-software/tpm2-totp" |
119 |
-SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/v${PV}/${P}.tar.gz" |
120 |
- |
121 |
-LICENSE="BSD" |
122 |
-SLOT="0" |
123 |
-KEYWORDS="~amd64" |
124 |
- |
125 |
-RDEPEND=">=app-crypt/tpm2-tss-2.0:= |
126 |
- media-gfx/qrencode:=" |
127 |
-DEPEND="${RDEPEND}" |
128 |
-BDEPEND="virtual/pkgconfig" |
129 |
- |
130 |
-PATCHES=( |
131 |
- "${FILESDIR}/${P}-build.patch" |
132 |
-) |
133 |
- |
134 |
-src_prepare() { |
135 |
- default |
136 |
- eautoreconf |
137 |
-} |
138 |
- |
139 |
-src_configure() { |
140 |
- econf \ |
141 |
- --disable-defaultflags |
142 |
-} |
143 |
- |
144 |
-src_install() { |
145 |
- default |
146 |
- find "${D}" -name '*.la' -delete || die |
147 |
-} |