Gentoo Archives: gentoo-commits

From: Jason Zaman <gentoo@×××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:master commit in: sys-boot/tboot/
Date: Sat, 30 Aug 2014 22:45:12
Message-Id: 1409438692.914e5c4a019363a64a18e57eec0b1bb4c88ef017.perfinion@gentoo
1 commit: 914e5c4a019363a64a18e57eec0b1bb4c88ef017
2 Author: Jason Zaman <jason <AT> perfinion <DOT> com>
3 AuthorDate: Sat Aug 30 22:44:52 2014 +0000
4 Commit: Jason Zaman <gentoo <AT> perfinion <DOT> com>
5 CommitDate: Sat Aug 30 22:44:52 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=914e5c4a
7
8 tboot: fix deps and version number
9
10 Package-Manager: portage-2.2.12
11
12 ---
13 sys-boot/tboot/tboot-1.8.2.ebuild | 15 +++++++++++----
14 1 file changed, 11 insertions(+), 4 deletions(-)
15
16 diff --git a/sys-boot/tboot/tboot-1.8.2.ebuild b/sys-boot/tboot/tboot-1.8.2.ebuild
17 index 5ec44e0..9432230 100644
18 --- a/sys-boot/tboot/tboot-1.8.2.ebuild
19 +++ b/sys-boot/tboot/tboot-1.8.2.ebuild
20 @@ -17,17 +17,24 @@ IUSE="custom-cflags"
21
22 RESTRICT="test" # test is restricted because it requires patching the kernel src
23
24 -DEPEND="app-crypt/trousers sys-boot/grub:2"
25 -RDEPEND="${DEPEND}"
26 +DEPEND="app-crypt/trousers
27 +app-crypt/tpm-tools"
28 +
29 +RDEPEND="${DEPEND}
30 +sys-boot/grub:2"
31 +
32 DOCS=(README COPYING CHANGELOG)
33
34 src_prepare() {
35 epatch "${FILESDIR}/1.8.2-genkernel_arch.patch"
36
37 - epatch_user
38 + # the version number is wrong in the grub files
39 + sed -i 's/tboot_version="1.8.1"/tboot_version="1.8.2"/' tboot/20_linux*tboot
40
41 sed -i 's/ -Werror//g' Config.mk
42 - sed -i 's/^INSTALL_STRIP = -s$//' Config.mk
43 + sed -i 's/^INSTALL_STRIP = -s$//' Config.mk # QA Errors
44 +
45 + epatch_user
46 }
47
48 src_compile() {