commit:     914e5c4a019363a64a18e57eec0b1bb4c88ef017
Author:     Jason Zaman <jason <AT> perfinion <DOT> com>
AuthorDate: Sat Aug 30 22:44:52 2014 +0000
Commit:     Jason Zaman <gentoo <AT> perfinion <DOT> com>
CommitDate: Sat Aug 30 22:44:52 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=914e5c4a

tboot: fix deps and version number

Package-Manager: portage-2.2.12

---
 sys-boot/tboot/tboot-1.8.2.ebuild | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/sys-boot/tboot/tboot-1.8.2.ebuild 
b/sys-boot/tboot/tboot-1.8.2.ebuild
index 5ec44e0..9432230 100644
--- a/sys-boot/tboot/tboot-1.8.2.ebuild
+++ b/sys-boot/tboot/tboot-1.8.2.ebuild
@@ -17,17 +17,24 @@ IUSE="custom-cflags"
 
 RESTRICT="test" # test is restricted because it requires patching the kernel 
src
 
-DEPEND="app-crypt/trousers sys-boot/grub:2"
-RDEPEND="${DEPEND}"
+DEPEND="app-crypt/trousers
+app-crypt/tpm-tools"
+
+RDEPEND="${DEPEND}
+sys-boot/grub:2"
+
 DOCS=(README COPYING CHANGELOG)
 
 src_prepare() {
        epatch "${FILESDIR}/1.8.2-genkernel_arch.patch"
 
-       epatch_user
+       # the version number is wrong in the grub files
+       sed -i 's/tboot_version="1.8.1"/tboot_version="1.8.2"/' 
tboot/20_linux*tboot
 
        sed -i 's/ -Werror//g' Config.mk
-       sed -i 's/^INSTALL_STRIP = -s$//' Config.mk
+       sed -i 's/^INSTALL_STRIP = -s$//' Config.mk # QA Errors
+
+       epatch_user
 }
 
 src_compile() {

Reply via email to