aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-07-04 18:56:46 -0700
committerQuentin Retornaz <gentoo@retornaz.com>2022-07-05 23:18:31 +0200
commitff85da39c210a0e36fecaffa3a0d16f37a9a94b2 (patch)
tree8e788513795eccbd45a2982d1030a880eaf1eed3
parentapp-crypt/tpm-tools: Remove package (diff)
downloadlibressl-ff85da39c210a0e36fecaffa3a0d16f37a9a94b2.tar.gz
libressl-ff85da39c210a0e36fecaffa3a0d16f37a9a94b2.tar.bz2
libressl-ff85da39c210a0e36fecaffa3a0d16f37a9a94b2.zip
sys-boot/vboot-utils: Remove package
Works with libressl-3.5.x and vboot-utils-80_p20200108::gentoo. Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/libressl/pull/433 Signed-off-by: Quentin Retornaz <gentoo@retornaz.com>
-rw-r--r--sys-boot/vboot-utils/Manifest1
-rw-r--r--sys-boot/vboot-utils/files/vboot-utils-72_p20181229-libressl.patch11
-rw-r--r--sys-boot/vboot-utils/metadata.xml12
-rw-r--r--sys-boot/vboot-utils/vboot-utils-72_p20181229-r1.ebuild100
4 files changed, 0 insertions, 124 deletions
diff --git a/sys-boot/vboot-utils/Manifest b/sys-boot/vboot-utils/Manifest
deleted file mode 100644
index 660bec3..0000000
--- a/sys-boot/vboot-utils/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST vboot-utils-72_p20181229.tar.xz 18489004 BLAKE2B 444eb0bc2c571ad79d26d473da724016d6d041207beaae161f6c1155768ff9d0b1c8b7b070b828083cc1396266cc77175a75e8067ce22613c75b4d77780dda75 SHA512 41df034dc5498bcbec0d49a472331ceb2fbc2eb3b4173d5c56e920d65ae485382b3d811e5f2c13cf45a1b05a5d6a24197924fa1c76ada9c3aac14fa3c4c363fe
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
deleted file mode 100644
index 6702a9f..0000000
--- a/sys-boot/vboot-utils/files/vboot-utils-72_p20181229-libressl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/host/include/openssl_compat.h 2019-01-03 17:32:20.000000000 -0500
-+++ b/host/include/openssl_compat.h 2019-02-23 13:40:27.521664838 -0500
-@@ -12,7 +12,7 @@
-
- #include <openssl/rsa.h>
-
--#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER < 0x2080000L
-
- static inline void RSA_get0_key(const RSA *rsa, const BIGNUM **n,
- const BIGNUM **e, const BIGNUM **d)
diff --git a/sys-boot/vboot-utils/metadata.xml b/sys-boot/vboot-utils/metadata.xml
deleted file mode 100644
index 8860a1b..0000000
--- a/sys-boot/vboot-utils/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <upstream>
- <bugs-to>http://crbug.com</bugs-to>
- <changelog>https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+log/master</changelog>
- <doc>https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/master/README</doc>
- </upstream>
- <maintainer type="person">
- <email>zmedico@gentoo.org</email>
- </maintainer>
-</pkgmetadata>
diff --git a/sys-boot/vboot-utils/vboot-utils-72_p20181229-r1.ebuild b/sys-boot/vboot-utils/vboot-utils-72_p20181229-r1.ebuild
deleted file mode 100644
index b45fc15..0000000
--- a/sys-boot/vboot-utils/vboot-utils-72_p20181229-r1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils toolchain-funcs
-
-# This is the latest commit in the latest branch.
-GIT_SHA1="a32c930e8c46424a3bba3c296fd78b3e60f50aeb"
-
-DESCRIPTION="Chrome OS verified boot tools"
-HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/ http://dev.chromium.org/chromium-os/chromiumos-design-docs/verified-boot"
-# Can't use gitiles directly until b/19710536 is fixed.
-#SRC_URI="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+archive/${GIT_SHA1}.tar.gz -> ${P}.tar.gz"
-SRC_URI="mirror://gentoo/${P}.tar.xz
- https://dev.gentoo.org/~zmedico/dist/${P}.tar.xz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
-IUSE="minimal static"
-
-LIB_DEPEND="
- dev-libs/libyaml:=[static-libs(+)]
- app-arch/xz-utils:=[static-libs(+)]"
-LIB_DEPEND_MINIMAL="
- dev-libs/openssl:0=[static-libs(+)]
- sys-apps/util-linux:=[static-libs(+)]
- dev-libs/libzip:=[static-libs(+)]"
-RDEPEND="!static? (
- ${LIB_DEPEND_MINIMAL//\[static-libs(+)]}
- !minimal? ( ${LIB_DEPEND//\[static-libs(+)]} )
- )
- elibc_musl? ( sys-libs/fts-standalone )"
-DEPEND="${RDEPEND}
- static? (
- ${LIB_DEPEND_MINIMAL}
- !minimal? ( ${LIB_DEPEND} )
- )
- app-crypt/trousers"
-
-S=${WORKDIR}
-
-src_prepare() {
- eapply "${FILESDIR}"/${P}-libressl.patch
-
- default
- sed -i \
- -e 's:${DESTDIR}/\(bin\|${LIBDIR}\):${DESTDIR}/usr/\1:g' \
- -e 's:${DESTDIR}/default:${DESTDIR}/etc/default:g' \
- -e 's:${TEST_INSTALL_DIR}/bin:${TEST_INSTALL_DIR}/usr/bin:' \
- -e '/cgpt -D 358400/d' \
- Makefile || die
- sed -e 's:^BIN_DIR=${BUILD_DIR}/install_for_test/bin:BIN_DIR=${BUILD_DIR}/install_for_test/usr/bin:' \
- -i tests/common.sh || die
- sed -e "s:/mnt/host/source/src/platform/vboot_reference:${S}:" \
- -i tests/futility/expect_output/* || die
-}
-
-_emake() {
- local arch=$(tc-arch)
- emake \
- V=1 \
- QEMU_ARCH= \
- ARCH=${arch} \
- HOST_ARCH=${arch} \
- LIBDIR="$(get_libdir)" \
- DEBUG_FLAGS= \
- WERROR= \
- MINIMAL=$(usev minimal) \
- STATIC=$(usev static) \
- $(usex elibc_musl HAVE_MUSL=1 "") \
- "$@"
-}
-
-src_compile() {
- tc-export CC AR CXX PKG_CONFIG
- _emake TEST_BINS= all
-}
-
-src_test() {
- _emake runtests
-}
-
-src_install() {
- _emake DESTDIR="${ED}" install
-
- insinto /usr/share/vboot/devkeys
- doins tests/devkeys/*
-
- insinto /usr/include/vboot
- doins host/include/* \
- firmware/include/gpt.h \
- firmware/include/tlcl.h \
- firmware/include/tss_constants.h
-
- dolib.a build/libvboot_host.a
-
- dodoc README
-}