1 |
commit: 499b4a8c28fcaa5436c03fa68582990189391f04 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 3 22:19:25 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 3 22:21:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=499b4a8c |
7 |
|
8 |
sys-boot/vboot-utils: remove old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
sys-boot/vboot-utils/Manifest | 3 - |
14 |
.../vboot-utils-42_p20150219-cgpt-static.patch | 36 --------- |
15 |
.../files/vboot-utils-42_p20150219-sysmacros.patch | 43 ----------- |
16 |
.../vboot-utils/vboot-utils-1.0_p20130222.ebuild | 74 ------------------- |
17 |
.../vboot-utils/vboot-utils-42_p20150219.ebuild | 85 ---------------------- |
18 |
.../vboot-utils/vboot-utils-51_p20160427.ebuild | 84 --------------------- |
19 |
6 files changed, 325 deletions(-) |
20 |
|
21 |
diff --git a/sys-boot/vboot-utils/Manifest b/sys-boot/vboot-utils/Manifest |
22 |
index 089754b6938..de1ea2d3981 100644 |
23 |
--- a/sys-boot/vboot-utils/Manifest |
24 |
+++ b/sys-boot/vboot-utils/Manifest |
25 |
@@ -1,4 +1 @@ |
26 |
-DIST vboot-utils-20130222gite6cf2c2-3.fc19.src.rpm 2170079 BLAKE2B b05013b54a4a6a7c9bbdcaeca5b01c7cc75ff9d58e9594a47da914d49dfc0dc4b8d4a31c9f1af5b2414e911ac310f7200731ee78c8941dc3d5fceb97bc34e9bc SHA512 ccb5320f01d270ff30465e6ffc234d245220afdb9628f9b5f9e8abc7c91c5e58085b5e8eefe217e85faa18166576d945cad9f757d99927389473cb0a4337a05f |
27 |
-DIST vboot-utils-42_p20150219.tar.xz 18578108 BLAKE2B b5780f35a66ebed39b4c26b75820ac1574691d85c8bd222a3602c79aa92c1058448996bdefc501a3772b116fbf888e93139f8cce10465780d2956de877cc0377 SHA512 bf1b5579f80bfd3804d74f5fed5ca0f85ff3d66cc4efd1c5e744ab0de50309c7e5168fe9a751579e9fcc0cb7dda72fc98497b2e13437b357b0ad9bb063edd33a |
28 |
-DIST vboot-utils-51_p20160427.tar.xz 18377808 BLAKE2B 7938c9fb69a0da7d4d8b62f1f9b5f911658d6a3673b198f603e20b5e2ed29d989fc92f74eb7553f0fec230fc062bb85785f6ac01ef537944ce144d87690551c2 SHA512 5b9af2815b8939ae21f4e430744902ccd811627d668eaba709354901eb70553e57050b9068b07fecdfec5bb2ece0c11f1cf0f1a01c0e5f886d1913e1478fe3d7 |
29 |
DIST vboot-utils-59_p20170413.tar.xz 18431260 BLAKE2B 73853f92c5855a1fbcad55c696414317f46a06a69901529dd6da19be2abe4ca0337cf20dddc4f84f1d2a99357bb2f01df115b7d16c45f9af62dcd1b833580d46 SHA512 f92b9aed7a52ac7bab49b624725d4963564a22a03741619ad4ef1bc0a1fdee5123c68f3dad5bef9fb033f94f2a9ae99478c16386758fe4667a361bc91dda8048 |
30 |
|
31 |
diff --git a/sys-boot/vboot-utils/files/vboot-utils-42_p20150219-cgpt-static.patch b/sys-boot/vboot-utils/files/vboot-utils-42_p20150219-cgpt-static.patch |
32 |
deleted file mode 100644 |
33 |
index 3f53fc7be76..00000000000 |
34 |
--- a/sys-boot/vboot-utils/files/vboot-utils-42_p20150219-cgpt-static.patch |
35 |
+++ /dev/null |
36 |
@@ -1,36 +0,0 @@ |
37 |
-From 9d437e9122019568df7fa2d602f911e6a873d78b Mon Sep 17 00:00:00 2001 |
38 |
-From: Anatol Pomazau <anatol@××××××.com> |
39 |
-Date: Thu, 19 Feb 2015 05:11:51 -0800 |
40 |
-Subject: [PATCH] Remove duplicated linker flag |
41 |
- |
42 |
-We already set '-static' to LDFLAGS above no need to do it again here. |
43 |
- |
44 |
-TEST=build with 'make' and 'make STATIC=1'. Check that 'STATIC=1' adds '-static' linker flag. |
45 |
-BUG=None |
46 |
- |
47 |
-Change-Id: I83e23984753094af203432eb4570930085788398 |
48 |
-Reviewed-on: https://chromium-review.googlesource.com/251151 |
49 |
-Reviewed-by: Mike Frysinger <vapier@××××××××.org> |
50 |
-Reviewed-by: Hung-Te Lin <hungte@××××××××.org> |
51 |
-Reviewed-by: Anatol Pomazau <anatol@××××××.com> |
52 |
-Commit-Queue: Anatol Pomazau <anatol@××××××.com> |
53 |
-Tested-by: Anatol Pomazau <anatol@××××××.com> |
54 |
---- |
55 |
- Makefile | 1 - |
56 |
- 1 file changed, 1 deletion(-) |
57 |
- |
58 |
-diff --git a/Makefile b/Makefile |
59 |
-index dfa971c..c0c5f50 100644 |
60 |
---- a/Makefile |
61 |
-+++ b/Makefile |
62 |
-@@ -960,7 +960,6 @@ ${CGPT_WRAPPER}: ${CGPT_WRAPPER_OBJS} ${UTILLIB} |
63 |
- .PHONY: cgpt |
64 |
- cgpt: ${CGPT} ${CGPT_WRAPPER} |
65 |
- |
66 |
--${CGPT}: LDFLAGS += -static |
67 |
- ${CGPT}: LDLIBS += -luuid |
68 |
- |
69 |
- ${CGPT}: ${CGPT_OBJS} ${UTILLIB} |
70 |
--- |
71 |
-2.3.1 |
72 |
- |
73 |
|
74 |
diff --git a/sys-boot/vboot-utils/files/vboot-utils-42_p20150219-sysmacros.patch b/sys-boot/vboot-utils/files/vboot-utils-42_p20150219-sysmacros.patch |
75 |
deleted file mode 100644 |
76 |
index 508f5407676..00000000000 |
77 |
--- a/sys-boot/vboot-utils/files/vboot-utils-42_p20150219-sysmacros.patch |
78 |
+++ /dev/null |
79 |
@@ -1,43 +0,0 @@ |
80 |
-https://chromium-review.googlesource.com/339680 |
81 |
-https://bugs.gentoo.org/580554 |
82 |
- |
83 |
-From 7fff56afefd4e63dce2366636c084d4c1f1f95d4 Mon Sep 17 00:00:00 2001 |
84 |
-From: Mike Frysinger <vapier@××××××××.org> |
85 |
-Date: Tue, 19 Apr 2016 13:58:49 -0400 |
86 |
-Subject: [PATCH] include sys/sysmacros.h for major() |
87 |
- |
88 |
-The major() func is defined in the sys/sysmacros.h header, so include it |
89 |
-explicitly for the prototype. Upstream C libs are moving away from having |
90 |
-sys/types.h include it all the time implicitly. |
91 |
- |
92 |
-BUG=None |
93 |
-TEST=precq passes |
94 |
-BRANCH=None |
95 |
- |
96 |
-Change-Id: I56b84138f08ded2376193403f9c9db22c5f24f71 |
97 |
---- |
98 |
- |
99 |
-diff --git a/cgpt/cgpt_wrapper.c b/cgpt/cgpt_wrapper.c |
100 |
-index dcfaab9..1716cdd 100644 |
101 |
---- a/cgpt/cgpt_wrapper.c |
102 |
-+++ b/cgpt/cgpt_wrapper.c |
103 |
-@@ -18,6 +18,7 @@ |
104 |
- #include <stdio.h> |
105 |
- #include <string.h> |
106 |
- #include <sys/stat.h> |
107 |
-+#include <sys/sysmacros.h> |
108 |
- #include <sys/types.h> |
109 |
- #include <unistd.h> |
110 |
- |
111 |
-diff --git a/futility/dump_kernel_config_lib.c b/futility/dump_kernel_config_lib.c |
112 |
-index 4fe990c..abf37ae 100644 |
113 |
---- a/futility/dump_kernel_config_lib.c |
114 |
-+++ b/futility/dump_kernel_config_lib.c |
115 |
-@@ -10,6 +10,7 @@ |
116 |
- #include <string.h> |
117 |
- #include <sys/mman.h> |
118 |
- #include <sys/stat.h> |
119 |
-+#include <sys/sysmacros.h> |
120 |
- #include <sys/types.h> |
121 |
- #include <unistd.h> |
122 |
- |
123 |
|
124 |
diff --git a/sys-boot/vboot-utils/vboot-utils-1.0_p20130222.ebuild b/sys-boot/vboot-utils/vboot-utils-1.0_p20130222.ebuild |
125 |
deleted file mode 100644 |
126 |
index 8a5b61a8c14..00000000000 |
127 |
--- a/sys-boot/vboot-utils/vboot-utils-1.0_p20130222.ebuild |
128 |
+++ /dev/null |
129 |
@@ -1,74 +0,0 @@ |
130 |
-# Copyright 1999-2014 Gentoo Foundation |
131 |
-# Distributed under the terms of the GNU General Public License v2 |
132 |
- |
133 |
-EAPI=5 |
134 |
-inherit eutils rpm toolchain-funcs |
135 |
- |
136 |
-KEYWORDS="~amd64 ~arm ~x86" |
137 |
-DESCRIPTION="Chrome OS verified boot tools" |
138 |
-HOMEPAGE="http://git.chromium.org/gitweb/?p=chromiumos/platform/vboot_reference.git" |
139 |
-EGIT_COMMIT="e6cf2c21a1cd6fc46b6adcaadc865e2f8bd4874e" |
140 |
-MY_VERSION="${PV##*_p}git${EGIT_COMMIT:0:7}" |
141 |
-MY_PV="${PN}-${MY_VERSION}" |
142 |
-SRC_URI="http://kojipkgs.fedoraproject.org/packages/${PN}/${MY_VERSION}/3.fc19/src/${MY_PV}-3.fc19.src.rpm" |
143 |
-LICENSE="BSD" |
144 |
-SLOT="0" |
145 |
-IUSE="" |
146 |
- |
147 |
-RDEPEND="app-arch/xz-utils:= |
148 |
- dev-libs/libyaml:= |
149 |
- dev-libs/openssl:0= |
150 |
- sys-apps/util-linux:=" |
151 |
- |
152 |
-DEPEND="app-crypt/trousers |
153 |
- ${RDEPEND}" |
154 |
- |
155 |
-S=${WORKDIR} |
156 |
- |
157 |
-src_unpack() { |
158 |
- rpm_unpack ${A} |
159 |
- unpack ./${MY_PV}.tar.xz |
160 |
- mv ./${MY_PV}/* ./ || die |
161 |
-} |
162 |
- |
163 |
-src_prepare() { |
164 |
- epatch *.patch |
165 |
- sed -e 's:-Werror ::g' -e 's:-nostdinc ::g' \ |
166 |
- -i Makefile || die |
167 |
-} |
168 |
- |
169 |
-src_compile() { |
170 |
- mkdir "${S}"/build-main || die |
171 |
- tc-export CC AR CXX PKG_CONFIG |
172 |
- emake \ |
173 |
- -j1 \ |
174 |
- V=1 \ |
175 |
- BUILD="${S}"/build-main \ |
176 |
- ARCH=$(tc-arch) \ |
177 |
- all |
178 |
- unset CC AR CXX PKG_CONFIG |
179 |
-} |
180 |
- |
181 |
-src_test() { |
182 |
- # ARCH and HOST_ARCH must be identical in order |
183 |
- # to avoid calling qemu. |
184 |
- local arch=$(tc-arch) |
185 |
- [[ ${arch} == amd64 ]] && arch=x86_64 |
186 |
- emake \ |
187 |
- V=1 \ |
188 |
- BUILD="${S}"/build-main \ |
189 |
- ARCH=${arch} \ |
190 |
- HOST_ARCH=${arch} \ |
191 |
- runtests |
192 |
-} |
193 |
- |
194 |
-src_install() { |
195 |
- emake \ |
196 |
- V=1 \ |
197 |
- BUILD="${S}"/build-main \ |
198 |
- DESTDIR="${ED}/usr/bin" \ |
199 |
- install |
200 |
- insinto /usr/share/vboot/devkeys |
201 |
- doins tests/devkeys/* |
202 |
- dodoc README |
203 |
-} |
204 |
|
205 |
diff --git a/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild b/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild |
206 |
deleted file mode 100644 |
207 |
index 5b70868f8f2..00000000000 |
208 |
--- a/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild |
209 |
+++ /dev/null |
210 |
@@ -1,85 +0,0 @@ |
211 |
-# Copyright 1999-2016 Gentoo Foundation |
212 |
-# Distributed under the terms of the GNU General Public License v2 |
213 |
- |
214 |
-EAPI=5 |
215 |
- |
216 |
-inherit eutils toolchain-funcs |
217 |
- |
218 |
-# This is the latest commit in the latest branch. |
219 |
-GIT_SHA1="f44ebbe36b2c1603437edc57b534244e89bfcd9c" |
220 |
- |
221 |
-DESCRIPTION="Chrome OS verified boot tools" |
222 |
-HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/ http://dev.chromium.org/chromium-os/chromiumos-design-docs/verified-boot" |
223 |
-# Can't use gitiles directly until b/19710536 is fixed. |
224 |
-#SRC_URI="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+archive/${GIT_SHA1}.tar.gz -> ${P}.tar.gz" |
225 |
-SRC_URI="mirror://gentoo/${P}.tar.xz" |
226 |
- |
227 |
-LICENSE="BSD" |
228 |
-SLOT="0" |
229 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
230 |
-IUSE="libressl minimal static" |
231 |
- |
232 |
-LIB_DEPEND=" |
233 |
- !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) |
234 |
- libressl? ( dev-libs/libressl:0=[static-libs(+)] ) |
235 |
- sys-apps/util-linux:=[static-libs(+)]" |
236 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
237 |
- !minimal? ( |
238 |
- app-arch/xz-utils:= |
239 |
- dev-libs/libyaml:= |
240 |
- )" |
241 |
-DEPEND="${RDEPEND} |
242 |
- static? ( ${LIB_DEPEND} ) |
243 |
- app-crypt/trousers" |
244 |
- |
245 |
-S=${WORKDIR} |
246 |
- |
247 |
-src_prepare() { |
248 |
- epatch "${FILESDIR}"/${P}-cgpt-static.patch |
249 |
- epatch "${FILESDIR}"/${P}-sysmacros.patch #580554 |
250 |
- sed -i \ |
251 |
- -e 's: -Werror : :g' \ |
252 |
- -e 's:${DESTDIR}/\(bin\|${LIBDIR}\):${DESTDIR}/usr/\1:g' \ |
253 |
- -e 's:${DESTDIR}/default:${DESTDIR}/etc/default:g' \ |
254 |
- Makefile || die |
255 |
-} |
256 |
- |
257 |
-_emake() { |
258 |
- local arch=$(tc-arch) |
259 |
- emake \ |
260 |
- V=1 \ |
261 |
- QEMU_ARCH= \ |
262 |
- ARCH=${arch} \ |
263 |
- HOST_ARCH=${arch} \ |
264 |
- LIBDIR="$(get_libdir)" \ |
265 |
- DEBUG_FLAGS= \ |
266 |
- MINIMAL=$(usev minimal) \ |
267 |
- STATIC=$(usev static) \ |
268 |
- "$@" |
269 |
-} |
270 |
- |
271 |
-src_compile() { |
272 |
- tc-export CC AR CXX PKG_CONFIG |
273 |
- _emake TEST_BINS= all |
274 |
-} |
275 |
- |
276 |
-src_test() { |
277 |
- _emake runtests |
278 |
-} |
279 |
- |
280 |
-src_install() { |
281 |
- _emake DESTDIR="${ED}" install |
282 |
- |
283 |
- insinto /usr/share/vboot/devkeys |
284 |
- doins tests/devkeys/* |
285 |
- |
286 |
- insinto /usr/include/vboot |
287 |
- doins host/include/* \ |
288 |
- firmware/include/gpt.h \ |
289 |
- firmware/include/tlcl.h \ |
290 |
- firmware/include/tss_constants.h |
291 |
- |
292 |
- dolib.a build/libvboot_host.a |
293 |
- |
294 |
- dodoc README |
295 |
-} |
296 |
|
297 |
diff --git a/sys-boot/vboot-utils/vboot-utils-51_p20160427.ebuild b/sys-boot/vboot-utils/vboot-utils-51_p20160427.ebuild |
298 |
deleted file mode 100644 |
299 |
index 67c54ce4119..00000000000 |
300 |
--- a/sys-boot/vboot-utils/vboot-utils-51_p20160427.ebuild |
301 |
+++ /dev/null |
302 |
@@ -1,84 +0,0 @@ |
303 |
-# Copyright 1999-2016 Gentoo Foundation |
304 |
-# Distributed under the terms of the GNU General Public License v2 |
305 |
- |
306 |
-EAPI=5 |
307 |
- |
308 |
-inherit eutils toolchain-funcs |
309 |
- |
310 |
-# This is the latest commit in the latest branch. |
311 |
-GIT_SHA1="48b1a50b086e39332d2e1e51a73434e39c40b329" |
312 |
- |
313 |
-DESCRIPTION="Chrome OS verified boot tools" |
314 |
-HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/ http://dev.chromium.org/chromium-os/chromiumos-design-docs/verified-boot" |
315 |
-# Can't use gitiles directly until b/19710536 is fixed. |
316 |
-#SRC_URI="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+archive/${GIT_SHA1}.tar.gz -> ${P}.tar.gz" |
317 |
-SRC_URI="mirror://gentoo/${P}.tar.xz" |
318 |
- |
319 |
-LICENSE="BSD" |
320 |
-SLOT="0" |
321 |
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86" |
322 |
-IUSE="libressl minimal static" |
323 |
- |
324 |
-LIB_DEPEND=" |
325 |
- !libressl? ( dev-libs/openssl:0=[static-libs(+)] ) |
326 |
- libressl? ( dev-libs/libressl:0=[static-libs(+)] ) |
327 |
- sys-apps/util-linux:=[static-libs(+)]" |
328 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
329 |
- !minimal? ( |
330 |
- app-arch/xz-utils:= |
331 |
- dev-libs/libyaml:= |
332 |
- )" |
333 |
-DEPEND="${RDEPEND} |
334 |
- static? ( ${LIB_DEPEND} ) |
335 |
- app-crypt/trousers" |
336 |
- |
337 |
-S=${WORKDIR} |
338 |
- |
339 |
-src_prepare() { |
340 |
- sed -i \ |
341 |
- -e 's:${DESTDIR}/\(bin\|${LIBDIR}\):${DESTDIR}/usr/\1:g' \ |
342 |
- -e 's:${DESTDIR}/default:${DESTDIR}/etc/default:g' \ |
343 |
- Makefile || die |
344 |
-} |
345 |
- |
346 |
-_emake() { |
347 |
- local arch=$(tc-arch) |
348 |
- emake \ |
349 |
- V=1 \ |
350 |
- QEMU_ARCH= \ |
351 |
- ARCH=${arch} \ |
352 |
- HOST_ARCH=${arch} \ |
353 |
- LIBDIR="$(get_libdir)" \ |
354 |
- DEBUG_FLAGS= \ |
355 |
- WERROR= \ |
356 |
- MINIMAL=$(usev minimal) \ |
357 |
- STATIC=$(usev static) \ |
358 |
- $(usex elibc_musl HAVE_MUSL=1 "") \ |
359 |
- "$@" |
360 |
-} |
361 |
- |
362 |
-src_compile() { |
363 |
- tc-export CC AR CXX PKG_CONFIG |
364 |
- _emake TEST_BINS= all |
365 |
-} |
366 |
- |
367 |
-src_test() { |
368 |
- _emake runtests |
369 |
-} |
370 |
- |
371 |
-src_install() { |
372 |
- _emake DESTDIR="${ED}" install |
373 |
- |
374 |
- insinto /usr/share/vboot/devkeys |
375 |
- doins tests/devkeys/* |
376 |
- |
377 |
- insinto /usr/include/vboot |
378 |
- doins host/include/* \ |
379 |
- firmware/include/gpt.h \ |
380 |
- firmware/include/tlcl.h \ |
381 |
- firmware/include/tss_constants.h |
382 |
- |
383 |
- dolib.a build/libvboot_host.a |
384 |
- |
385 |
- dodoc README |
386 |
-} |