Gentoo Archives: gentoo-commits

From: Quentin Retornaz <gentoo@××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/libressl:master commit in: sys-boot/vboot-utils/files/, sys-boot/vboot-utils/
Date: Tue, 05 Jul 2022 21:19:34
Message-Id: 1657055911.ff85da39c210a0e36fecaffa3a0d16f37a9a94b2.quentin@gentoo
1 commit: ff85da39c210a0e36fecaffa3a0d16f37a9a94b2
2 Author: orbea <orbea <AT> riseup <DOT> net>
3 AuthorDate: Tue Jul 5 01:56:46 2022 +0000
4 Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
5 CommitDate: Tue Jul 5 21:18:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=ff85da39
7
8 sys-boot/vboot-utils: Remove package
9
10 Works with libressl-3.5.x and vboot-utils-80_p20200108::gentoo.
11
12 Signed-off-by: orbea <orbea <AT> riseup.net>
13 Closes: https://github.com/gentoo/libressl/pull/433
14 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>
15
16 sys-boot/vboot-utils/Manifest | 1 -
17 .../files/vboot-utils-72_p20181229-libressl.patch | 11 ---
18 sys-boot/vboot-utils/metadata.xml | 12 ---
19 .../vboot-utils/vboot-utils-72_p20181229-r1.ebuild | 100 ---------------------
20 4 files changed, 124 deletions(-)
21
22 diff --git a/sys-boot/vboot-utils/Manifest b/sys-boot/vboot-utils/Manifest
23 deleted file mode 100644
24 index 660bec3..0000000
25 --- a/sys-boot/vboot-utils/Manifest
26 +++ /dev/null
27 @@ -1 +0,0 @@
28 -DIST vboot-utils-72_p20181229.tar.xz 18489004 BLAKE2B 444eb0bc2c571ad79d26d473da724016d6d041207beaae161f6c1155768ff9d0b1c8b7b070b828083cc1396266cc77175a75e8067ce22613c75b4d77780dda75 SHA512 41df034dc5498bcbec0d49a472331ceb2fbc2eb3b4173d5c56e920d65ae485382b3d811e5f2c13cf45a1b05a5d6a24197924fa1c76ada9c3aac14fa3c4c363fe
29
30 diff --git a/sys-boot/vboot-utils/files/vboot-utils-72_p20181229-libressl.patch b/sys-boot/vboot-utils/files/vboot-utils-72_p20181229-libressl.patch
31 deleted file mode 100644
32 index 6702a9f..0000000
33 --- a/sys-boot/vboot-utils/files/vboot-utils-72_p20181229-libressl.patch
34 +++ /dev/null
35 @@ -1,11 +0,0 @@
36 ---- a/host/include/openssl_compat.h 2019-01-03 17:32:20.000000000 -0500
37 -+++ b/host/include/openssl_compat.h 2019-02-23 13:40:27.521664838 -0500
38 -@@ -12,7 +12,7 @@
39 -
40 - #include <openssl/rsa.h>
41 -
42 --#if OPENSSL_VERSION_NUMBER < 0x10100000L
43 -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER < 0x2080000L
44 -
45 - static inline void RSA_get0_key(const RSA *rsa, const BIGNUM **n,
46 - const BIGNUM **e, const BIGNUM **d)
47
48 diff --git a/sys-boot/vboot-utils/metadata.xml b/sys-boot/vboot-utils/metadata.xml
49 deleted file mode 100644
50 index 8860a1b..0000000
51 --- a/sys-boot/vboot-utils/metadata.xml
52 +++ /dev/null
53 @@ -1,12 +0,0 @@
54 -<?xml version="1.0" encoding="UTF-8"?>
55 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
56 -<pkgmetadata>
57 - <upstream>
58 - <bugs-to>http://crbug.com</bugs-to>
59 - <changelog>https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+log/master</changelog>
60 - <doc>https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/master/README</doc>
61 - </upstream>
62 - <maintainer type="person">
63 - <email>zmedico@g.o</email>
64 - </maintainer>
65 -</pkgmetadata>
66
67 diff --git a/sys-boot/vboot-utils/vboot-utils-72_p20181229-r1.ebuild b/sys-boot/vboot-utils/vboot-utils-72_p20181229-r1.ebuild
68 deleted file mode 100644
69 index b45fc15..0000000
70 --- a/sys-boot/vboot-utils/vboot-utils-72_p20181229-r1.ebuild
71 +++ /dev/null
72 @@ -1,100 +0,0 @@
73 -# Copyright 1999-2021 Gentoo Authors
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -EAPI=6
77 -
78 -inherit eutils toolchain-funcs
79 -
80 -# This is the latest commit in the latest branch.
81 -GIT_SHA1="a32c930e8c46424a3bba3c296fd78b3e60f50aeb"
82 -
83 -DESCRIPTION="Chrome OS verified boot tools"
84 -HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/ http://dev.chromium.org/chromium-os/chromiumos-design-docs/verified-boot"
85 -# Can't use gitiles directly until b/19710536 is fixed.
86 -#SRC_URI="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+archive/${GIT_SHA1}.tar.gz -> ${P}.tar.gz"
87 -SRC_URI="mirror://gentoo/${P}.tar.xz
88 - https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz"
89 -
90 -LICENSE="BSD"
91 -SLOT="0"
92 -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
93 -IUSE="minimal static"
94 -
95 -LIB_DEPEND="
96 - dev-libs/libyaml:=[static-libs(+)]
97 - app-arch/xz-utils:=[static-libs(+)]"
98 -LIB_DEPEND_MINIMAL="
99 - dev-libs/openssl:0=[static-libs(+)]
100 - sys-apps/util-linux:=[static-libs(+)]
101 - dev-libs/libzip:=[static-libs(+)]"
102 -RDEPEND="!static? (
103 - ${LIB_DEPEND_MINIMAL//\[static-libs(+)]}
104 - !minimal? ( ${LIB_DEPEND//\[static-libs(+)]} )
105 - )
106 - elibc_musl? ( sys-libs/fts-standalone )"
107 -DEPEND="${RDEPEND}
108 - static? (
109 - ${LIB_DEPEND_MINIMAL}
110 - !minimal? ( ${LIB_DEPEND} )
111 - )
112 - app-crypt/trousers"
113 -
114 -S=${WORKDIR}
115 -
116 -src_prepare() {
117 - eapply "${FILESDIR}"/${P}-libressl.patch
118 -
119 - default
120 - sed -i \
121 - -e 's:${DESTDIR}/\(bin\|${LIBDIR}\):${DESTDIR}/usr/\1:g' \
122 - -e 's:${DESTDIR}/default:${DESTDIR}/etc/default:g' \
123 - -e 's:${TEST_INSTALL_DIR}/bin:${TEST_INSTALL_DIR}/usr/bin:' \
124 - -e '/cgpt -D 358400/d' \
125 - Makefile || die
126 - sed -e 's:^BIN_DIR=${BUILD_DIR}/install_for_test/bin:BIN_DIR=${BUILD_DIR}/install_for_test/usr/bin:' \
127 - -i tests/common.sh || die
128 - sed -e "s:/mnt/host/source/src/platform/vboot_reference:${S}:" \
129 - -i tests/futility/expect_output/* || die
130 -}
131 -
132 -_emake() {
133 - local arch=$(tc-arch)
134 - emake \
135 - V=1 \
136 - QEMU_ARCH= \
137 - ARCH=${arch} \
138 - HOST_ARCH=${arch} \
139 - LIBDIR="$(get_libdir)" \
140 - DEBUG_FLAGS= \
141 - WERROR= \
142 - MINIMAL=$(usev minimal) \
143 - STATIC=$(usev static) \
144 - $(usex elibc_musl HAVE_MUSL=1 "") \
145 - "$@"
146 -}
147 -
148 -src_compile() {
149 - tc-export CC AR CXX PKG_CONFIG
150 - _emake TEST_BINS= all
151 -}
152 -
153 -src_test() {
154 - _emake runtests
155 -}
156 -
157 -src_install() {
158 - _emake DESTDIR="${ED}" install
159 -
160 - insinto /usr/share/vboot/devkeys
161 - doins tests/devkeys/*
162 -
163 - insinto /usr/include/vboot
164 - doins host/include/* \
165 - firmware/include/gpt.h \
166 - firmware/include/tlcl.h \
167 - firmware/include/tss_constants.h
168 -
169 - dolib.a build/libvboot_host.a
170 -
171 - dodoc README
172 -}