Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/tboot/
Date: Wed, 02 Aug 2017 15:41:28
Message-Id: 1501688451.05a31c5a80c906a0b8e06436017a4588172f29e3.perfinion@gentoo
1 commit: 05a31c5a80c906a0b8e06436017a4588172f29e3
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 2 15:40:51 2017 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 2 15:40:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a31c5a
7
8 sys-boot/tboot: drop old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 sys-boot/tboot/Manifest | 2 -
13 sys-boot/tboot/tboot-1.9.4-r1.ebuild | 70 -----------------------------
14 sys-boot/tboot/tboot-1.9.4_p20161101.ebuild | 70 -----------------------------
15 3 files changed, 142 deletions(-)
16
17 diff --git a/sys-boot/tboot/Manifest b/sys-boot/tboot/Manifest
18 index 6d9c0458aa3..5e633ae5929 100644
19 --- a/sys-boot/tboot/Manifest
20 +++ b/sys-boot/tboot/Manifest
21 @@ -1,3 +1 @@
22 -DIST tboot-1.9.4.tar.gz 2107175 SHA256 7167e5615def4ac0f25b2f9139b3d361a0a20d91386d80b1d865107b3f552f39 SHA512 93db95be54a1286dffe87cf6f5d1e31ac0c4a452b11a11789fec66255c847a9e14251579de0f6ba4c5c122423b45e83751a8287d37e27ea3acba608774d7ac0b WHIRLPOOL 2bf9220317dc5bbc927fb10d07a1d7f5cef2d5351fbf81e45f276b5f317785c1cfc1f1e4b78ac426bceb66641339d7179bff8fbbb867b67aa215544193a5baa1
23 -DIST tboot-1.9.4_p20161101.tar.gz 578097 SHA256 d6a399488fde1d0993a65bcb283cec218c7c8572972d2fdda8422fc2a1b5513f SHA512 6a38148d7be4faf8ec86f2f8e3c342321b7d8d4920a631b0e1b74bd27578039f4ae20faffae877ed8db5dd14500c059a3efd3eed24f22099820e87a67d3ecc17 WHIRLPOOL 316e3ac4965108a63ebf6075b50fb24b5c0a0c1527cb43309b95c64e60a0b6e5b3287e4b19faa8405ab10cf268b975cfd93d6348253a2d3fa07e78f38ef1eac8
24 DIST tboot-1.9.5.tar.gz 685460 SHA256 c7032e367ac0129493c9bb1fcd1437f400ff5533c970119ddce281ff4d58a13f SHA512 d806b692d3d57d0aaf4095ef514a2859b2b054ec695cb5589b3a6133eec7f7a9a0e76544e4b557df02add5ed67c3c15fb3ee5f17d6438252b659d6e5c7d17fe9 WHIRLPOOL 04843854b1a646d6126079a3b46bacf0c8191d5b5c322f8bc04ea39c0d5470bba2f7f2499761d42aa258552c1dfbeb626275e7473628b21719a6fe59bc05029c
25
26 diff --git a/sys-boot/tboot/tboot-1.9.4-r1.ebuild b/sys-boot/tboot/tboot-1.9.4-r1.ebuild
27 deleted file mode 100644
28 index 55a71d36d30..00000000000
29 --- a/sys-boot/tboot/tboot-1.9.4-r1.ebuild
30 +++ /dev/null
31 @@ -1,70 +0,0 @@
32 -# Copyright 1999-2016 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit flag-o-matic mount-boot
38 -
39 -DESCRIPTION="Performs a measured and verified boot using Intel Trusted Execution Technology"
40 -HOMEPAGE="https://sourceforge.net/projects/tboot/"
41 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
42 -
43 -LICENSE="BSD"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86 -*"
46 -IUSE="custom-cflags selinux"
47 -
48 -# requires patching the kernel src
49 -RESTRICT="test"
50 -
51 -DEPEND="app-crypt/trousers
52 -app-crypt/tpm-tools
53 -dev-libs/openssl:0=[-bindist]"
54 -
55 -RDEPEND="${DEPEND}
56 -sys-boot/grub:2
57 -selinux? ( sec-policy/selinux-tboot )"
58 -
59 -DOCS=(README COPYING CHANGELOG)
60 -
61 -src_prepare() {
62 - sed -i 's/ -Werror//g' Config.mk || die
63 - sed -i 's/^INSTALL_STRIP = -s$//' Config.mk || die # QA Errors
64 -
65 - default
66 -}
67 -
68 -src_compile() {
69 - use custom-cflags && export TBOOT_CFLAGS=${CFLAGS} || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS
70 -
71 - if use amd64; then
72 - MAKEARGS="TARGET_ARCH=x86_64"
73 - else
74 - MAKEARGS="TARGET_ARCH=i686"
75 - fi
76 -
77 - default
78 -}
79 -
80 -src_install() {
81 - emake DISTDIR="${D}" install
82 -
83 - dodoc "${DOCS[@]}"
84 - dodoc docs/*.txt lcptools/*.{txt,pdf} || die "docs failed"
85 -
86 - cd "${D}"
87 - mkdir -p usr/lib/tboot/ || die
88 - mv boot usr/lib/tboot/ || die
89 -}
90 -
91 -pkg_postinst() {
92 - mount-boot_mount_boot_partition
93 -
94 - cp ${ROOT%/}/usr/lib/tboot/boot/* ${ROOT%/}/boot/
95 -
96 - mount-boot_pkg_postinst
97 -
98 - ewarn "Please remember to download the SINIT AC Module relevant"
99 - ewarn "for your platform from:"
100 - ewarn "http://software.intel.com/en-us/articles/intel-trusted-execution-technology/"
101 -}
102
103 diff --git a/sys-boot/tboot/tboot-1.9.4_p20161101.ebuild b/sys-boot/tboot/tboot-1.9.4_p20161101.ebuild
104 deleted file mode 100644
105 index 51097ea32a4..00000000000
106 --- a/sys-boot/tboot/tboot-1.9.4_p20161101.ebuild
107 +++ /dev/null
108 @@ -1,70 +0,0 @@
109 -# Copyright 1999-2016 Gentoo Foundation
110 -# Distributed under the terms of the GNU General Public License v2
111 -
112 -EAPI=6
113 -
114 -inherit flag-o-matic mount-boot
115 -
116 -DESCRIPTION="Performs a measured and verified boot using Intel Trusted Execution Technology"
117 -HOMEPAGE="https://sourceforge.net/projects/tboot/"
118 -SRC_URI="http://dev.gentoo.org/~perfinion/distfiles/${P}.tar.gz"
119 -
120 -LICENSE="BSD"
121 -SLOT="0"
122 -KEYWORDS="~amd64 ~x86 -*"
123 -IUSE="custom-cflags selinux"
124 -
125 -# requires patching the kernel src
126 -RESTRICT="test"
127 -
128 -DEPEND="app-crypt/trousers
129 -app-crypt/tpm-tools
130 -dev-libs/openssl:0=[-bindist]"
131 -
132 -RDEPEND="${DEPEND}
133 -sys-boot/grub:2
134 -selinux? ( sec-policy/selinux-tboot )"
135 -
136 -DOCS=(README COPYING CHANGELOG)
137 -
138 -src_prepare() {
139 - sed -i 's/ -Werror//g' Config.mk || die
140 - sed -i 's/^INSTALL_STRIP = -s$//' Config.mk || die # QA Errors
141 -
142 - default
143 -}
144 -
145 -src_compile() {
146 - use custom-cflags && export TBOOT_CFLAGS=${CFLAGS} || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS
147 -
148 - if use amd64; then
149 - MAKEARGS="TARGET_ARCH=x86_64"
150 - else
151 - MAKEARGS="TARGET_ARCH=i686"
152 - fi
153 -
154 - default
155 -}
156 -
157 -src_install() {
158 - emake DISTDIR="${D}" install
159 -
160 - dodoc "${DOCS[@]}"
161 - dodoc docs/*.txt lcptools/*.{txt,pdf} || die "docs failed"
162 -
163 - cd "${D}"
164 - mkdir -p usr/lib/tboot/ || die
165 - mv boot usr/lib/tboot/ || die
166 -}
167 -
168 -pkg_postinst() {
169 - mount-boot_mount_boot_partition
170 -
171 - cp ${ROOT%/}/usr/lib/tboot/boot/* ${ROOT%/}/boot/
172 -
173 - mount-boot_pkg_postinst
174 -
175 - ewarn "Please remember to download the SINIT AC Module relevant"
176 - ewarn "for your platform from:"
177 - ewarn "http://software.intel.com/en-us/articles/intel-trusted-execution-technology/"
178 -}