perfinion    15/05/07 19:41:35

  Added:                tboot-1.8.3.ebuild ChangeLog metadata.xml
  Log:
  Initial commit of tboot
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
0x7EF137EC935B0EAF)

Revision  Changes    Path
1.1                  sys-boot/tboot/tboot-1.8.3.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/tboot/tboot-1.8.3.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/tboot/tboot-1.8.3.ebuild?rev=1.1&content-type=text/plain

Index: tboot-1.8.3.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/tboot/tboot-1.8.3.ebuild,v 1.1 
2015/05/07 19:41:35 perfinion Exp $

EAPI=5

inherit flag-o-matic mount-boot

DESCRIPTION="A module that uses Intel(R) Trusted Execution Technology to 
perform a measured and verified boot"
HOMEPAGE="http://sourceforge.net/projects/tboot/";
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 -*"
IUSE="custom-cflags"

RESTRICT="test" # test is restricted because it requires patching the kernel src

DEPEND="app-crypt/trousers
app-crypt/tpm-tools"

RDEPEND="${DEPEND}
sys-boot/grub:2"

DOCS=(README COPYING CHANGELOG)

src_prepare() {
        epatch "${FILESDIR}/tboot-1.8.2-genkernel_arch.patch"
        epatch "${FILESDIR}/tboot-1.8.2-stack-check-no.patch" # breaks with ssp
        epatch "${FILESDIR}/tboot-1.8.2-disable-pcid.patch" # PaX enables pcid

        sed -i 's/ -Werror//g' Config.mk || die
        sed -i 's/^INSTALL_STRIP = -s$//' Config.mk || die # QA Errors

        epatch_user
}

src_compile() {
        use custom-cflags && export TBOOT_CFLAGS=${CFLAGS} || unset CCASFLAGS 
CFLAGS CPPFLAGS LDFLAGS

        if use amd64; then
                MAKEARGS="TARGET_ARCH=x86_64"
        else
                MAKEARGS="TARGET_ARCH=i686"
        fi

        emake debug=y ${MAKEARGS} build
}

src_install() {
        emake DISTDIR="${D}" install

        dodoc "${DOCS[@]}"
        dodoc docs/*.txt lcptools/*.{txt,pdf} || die "docs failed"

        cd "${D}"
        mkdir -p usr/lib/tboot/ || die
        mv boot usr/lib/tboot/ || die
}

pkg_postinst() {
        mount-boot_mount_boot_partition

        cp ${ROOT%/}/usr/lib/tboot/boot/* ${ROOT%/}/boot/

        mount-boot_pkg_postinst

        ewarn "Please remember to download the SINIT AC Module relevant"
        ewarn "for your platform from:"
        ewarn 
"http://software.intel.com/en-us/articles/intel-trusted-execution-technology/";
}



1.1                  sys-boot/tboot/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/tboot/ChangeLog?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/tboot/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for sys-boot/tboot
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/tboot/ChangeLog,v 1.1 2015/05/07 
19:41:35 perfinion Exp $

*tboot-1.8.3 (07 May 2015)

  07 May 2015; Jason Zaman <[email protected]> +tboot-1.8.3.ebuild,
  +files/tboot-1.8.2-disable-pcid.patch,
  +files/tboot-1.8.2-genkernel_arch.patch,
  +files/tboot-1.8.2-stack-check-no.patch, +metadata.xml:
  Initial commit of tboot




1.1                  sys-boot/tboot/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/tboot/metadata.xml?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/tboot/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
<pkgmetadata>
        <maintainer>
                <email>[email protected]</email>
                <name>Jason Zaman</name>
        </maintainer>

        <longdescription lang="en">
        A pre-kernel/VMM module that uses Intel(R) Trusted Execution Technology 
to perform a measured and verified launch of an OS kernel/VMM.
        </longdescription>
</pkgmetadata>




Reply via email to