Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/tboot/
Date: Sat, 26 Feb 2022 02:30:05
Message-Id: 1645842373.5ed2ffc8f5bd62efbabd3aa76bf238f41d9a60e3.sam@gentoo
1 commit: 5ed2ffc8f5bd62efbabd3aa76bf238f41d9a60e3
2 Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
3 AuthorDate: Thu Feb 24 20:58:28 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 02:26:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ed2ffc8
7
8 sys-boot/tboot: Remove old
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/24339
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 sys-boot/tboot/Manifest | 1 -
16 sys-boot/tboot/tboot-1.10.3.ebuild | 76 --------------------------------------
17 2 files changed, 77 deletions(-)
18
19 diff --git a/sys-boot/tboot/Manifest b/sys-boot/tboot/Manifest
20 index c4e612c45eaa..249d776b4c9c 100644
21 --- a/sys-boot/tboot/Manifest
22 +++ b/sys-boot/tboot/Manifest
23 @@ -1,2 +1 @@
24 -DIST tboot-1.10.3.tar.gz 906732 BLAKE2B 4015ba84fbc273d1f1ea3f302dd11e62d1866049a31674b8967a9c1be645f88f2fdbc8614e1f7d824010e8280484885392b34aedb2d9f32654a3065e75e0bd42 SHA512 998501cfb23511adf63c0e2a70f203b3a92328cba39948a6be2e0dc6600aaaf9fcc18dc1ffcdd00c43a5d2c688c34c912c7525fd54a5c673a764c34141be4b77
25 DIST tboot-1.10.4.tar.gz 908050 BLAKE2B 8c793e2ec29cc3c3aa8199ac5058e9b3521eb0a72609c8b5ae21e0843571ae765be74bb48184178e2641ff8eec05680f81e45b12b80fd7d2727c82f9c8702411 SHA512 6fe93cabd5fc10cba7797048cad2cce4c490e0112c5c877f3367d78873cb55ba3d84eb703f2fcdba807eb21f1bef6a838d315b32d6418fb88b2589ff66e99491
26
27 diff --git a/sys-boot/tboot/tboot-1.10.3.ebuild b/sys-boot/tboot/tboot-1.10.3.ebuild
28 deleted file mode 100644
29 index 4cedba3fabfc..000000000000
30 --- a/sys-boot/tboot/tboot-1.10.3.ebuild
31 +++ /dev/null
32 @@ -1,76 +0,0 @@
33 -# Copyright 1999-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -inherit mount-boot toolchain-funcs
39 -
40 -DESCRIPTION="Performs a measured and verified boot using Intel Trusted Execution Technology"
41 -HOMEPAGE="https://sourceforge.net/projects/tboot/"
42 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="BSD"
45 -SLOT="0"
46 -KEYWORDS="-* ~amd64 ~x86"
47 -IUSE="custom-cflags selinux"
48 -
49 -# requires patching the kernel src
50 -RESTRICT="test"
51 -
52 -DEPEND="dev-libs/openssl:0=[-bindist(-)]"
53 -
54 -RDEPEND="${DEPEND}
55 - sys-boot/grub:2
56 - selinux? ( sec-policy/selinux-tboot )"
57 -
58 -DOCS=( README.md COPYING CHANGELOG )
59 -PATCHES=( "${FILESDIR}/${PN}-1.10.3-disable-Werror.patch"
60 - "${FILESDIR}/${PN}-1.10.3-disable-strip.patch"
61 - "${FILESDIR}/${PN}-1.10.3-dont-call-toolchain-directly.patch" )
62 -
63 -pkg_setup() {
64 - if tc-is-clang; then
65 - eerror "tboot is a freestanding application that uses gcc"
66 - eerror "extensions in fundemental ways, include VLAIS"
67 - eerror "(Variable Length Arrays in Structs) and will not"
68 - eerror "compile with clang witout upstream action"
69 - die "Cannot compile with clang. See bug #832020"
70 - fi
71 -}
72 -
73 -src_configure() {
74 - tc-export AS LD CC CPP AR RANLIB NM OBJCOPY OBJDUMP STRIP
75 -
76 - default
77 -}
78 -
79 -src_compile() {
80 - use custom-cflags && export TBOOT_CFLAGS=${CFLAGS} || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS
81 -
82 - if use amd64; then
83 - export MAKEARGS="TARGET_ARCH=x86_64"
84 - else
85 - export MAKEARGS="TARGET_ARCH=i686"
86 - fi
87 -
88 - default
89 -}
90 -
91 -src_install() {
92 - emake DISTDIR="${D}" install
93 -
94 - dodoc "${DOCS[@]}"
95 - dodoc docs/*.{txt,md}
96 -
97 - cd "${ED}" || die
98 - mkdir -p usr/lib/tboot/ || die
99 - mv boot usr/lib/tboot/ || die
100 -}
101 -
102 -pkg_postinst() {
103 - cp "${ROOT}/usr/lib/tboot/boot/"* "${ROOT}/boot/" || die
104 -
105 - ewarn "Please remember to download the SINIT AC Module relevant"
106 - ewarn "for your platform from:"
107 - ewarn "http://software.intel.com/en-us/articles/intel-trusted-execution-technology/"
108 -}