From be8708090362c01c6111c4b76f1e395c14d86e00 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 13 Aug 2024 11:06:03 +0100 Subject: gentoo auto-resync : 13:08:2024 - 11:06:03 --- sys-boot/tboot/Manifest | 4 +- sys-boot/tboot/tboot-1.10.5.ebuild | 77 -------------------------------------- sys-boot/tboot/tboot-1.11.3.ebuild | 77 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 79 deletions(-) delete mode 100644 sys-boot/tboot/tboot-1.10.5.ebuild create mode 100644 sys-boot/tboot/tboot-1.11.3.ebuild (limited to 'sys-boot/tboot') diff --git a/sys-boot/tboot/Manifest b/sys-boot/tboot/Manifest index 84d77be90853..b1edd6a2ca9d 100644 --- a/sys-boot/tboot/Manifest +++ b/sys-boot/tboot/Manifest @@ -2,6 +2,6 @@ AUX tboot-1.10.3-disable-Werror.patch 522 BLAKE2B e25832b544ffc81d83d963061c3543 AUX tboot-1.10.3-disable-strip.patch 343 BLAKE2B 65d5e7f4e97504ace2d42123701de8f6e27e3ffc196b69a0afc8057ed8fe75c8274c427d858cb316d5712505381a5a109ddc5301eedc0f93c34d3ed0551deaff SHA512 f86f595d8883d433327eb906ee5fbe0c277180c7a993ae47e26c23ea8b406e59cbad28509ca399286ba306949b0d5de5dc9420242706c7affcba12d86e3f183b AUX tboot-1.10.3-dont-call-toolchain-directly.patch 1884 BLAKE2B 80a029eb34f3088ccb772b5e9b092b60f35516659c74d149c0ff6bc6afb7578d35e3063beadaf0dd61407f84f78f20d782c3b64c33ab566751a2317fee14aeb9 SHA512 02dd09eb4b4a65802206c066f32959ab8150933dbc37458e888dcec4cf40b25681e3f0463cd8df62149f7764956d04259c05be36aeed8d9a243d758d3a2225a2 AUX tboot-1.10.5-fix-pconf-element.patch 775 BLAKE2B adba01bd5a9b6ff315ab50b3b42c2862ce09a19207a37ddf0c93ba5b8819f14fa0e3f1a3d8a65029bdb4d70bf1ea9b546b9038c158922cbcc3ea166e1f7b5213 SHA512 3a11bd1603a9487659c7059ada60e91aed9fb38f382298f2473c88aff66abcf2cced90980487be988ca150be1b2b87c40ef0190b7ec5862dc00af6077c652f52 -DIST tboot-1.10.5.tar.gz 907657 BLAKE2B f9e33c512fac304eba6cbf87b497c48ff52c5efdb47103f247e04c95f8e44230671c58811d7d58753cd9c49c53d9ad77a0c5c7fb7fcce5c94d48f8fcaa9ad1f7 SHA512 01a039e5612b6cca6f7558e93673ba50edfcfbf3f65e390ac64f4aa6ae0859a314676b20d722dcd41a7a3c940473fe7982e823c800a75bd26a5e8f956528f223 -EBUILD tboot-1.10.5.ebuild 1959 BLAKE2B 4f9b66455b96fb343b9b6596445fef97a547f7aa149d1aeddb56c3d53a15a83689a1d655a51d4e11c9e2e3a56897cc6a6d5a9752b6c164fa0d5095f5b04d3295 SHA512 26ea401eb2b6aeeb8c80d7d336d7416ebf3a5e7666237e667fbfa6cd46255d3ee68943b5843f93d52cb116d96d0fa6718dca056d2286326d598f4d16c051589f +DIST tboot-1.11.3.tar.gz 924627 BLAKE2B 5c734121f3c8ef206963fbfb6d1a044f36f3ec4893999357a95a208867101ad14e79289519353f9e634a6c16c824c0af3cdaa7baa436359b6d04e93c5b0054f7 SHA512 777026cdfb31041dd7d9dd4d208c888e6fe8259171d1340ea7936f22053362ac1ec64017319626dbcb6a9a1283c8819c9a8fe1107b9b2f3898380fd0abcc047b +EBUILD tboot-1.11.3.ebuild 1959 BLAKE2B 4f9b66455b96fb343b9b6596445fef97a547f7aa149d1aeddb56c3d53a15a83689a1d655a51d4e11c9e2e3a56897cc6a6d5a9752b6c164fa0d5095f5b04d3295 SHA512 26ea401eb2b6aeeb8c80d7d336d7416ebf3a5e7666237e667fbfa6cd46255d3ee68943b5843f93d52cb116d96d0fa6718dca056d2286326d598f4d16c051589f MISC metadata.xml 508 BLAKE2B c28a3b0e46c57c91011bbee5ff6769ace24ab4e7b3355536b8e8c3bdb33b0be4ee1fedd60f00e2bfe8957570f763e8e85f3a1786f7a470bc5b4c855e57f7b8a2 SHA512 e45960df2560d82cb914db1f661d739b5d6747b7fb433152fef849d36d6bb4cc812def3cbafa4b362056c4d96e37980e65f8bc163b2021d5827ffd6ee9afca4d diff --git a/sys-boot/tboot/tboot-1.10.5.ebuild b/sys-boot/tboot/tboot-1.10.5.ebuild deleted file mode 100644 index 2dd62fe49384..000000000000 --- a/sys-boot/tboot/tboot-1.10.5.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit mount-boot toolchain-funcs - -DESCRIPTION="Performs a measured and verified boot using Intel Trusted Execution Technology" -HOMEPAGE="https://sourceforge.net/projects/tboot/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="custom-cflags selinux" - -# requires patching the kernel src -RESTRICT="test" - -DEPEND="dev-libs/openssl:0=[-bindist(-)]" - -RDEPEND="${DEPEND} - sys-boot/grub:2 - selinux? ( sec-policy/selinux-tboot )" - -DOCS=( README.md COPYING CHANGELOG ) -PATCHES=( "${FILESDIR}/${PN}-1.10.3-disable-Werror.patch" - "${FILESDIR}/${PN}-1.10.3-disable-strip.patch" - "${FILESDIR}/${PN}-1.10.3-dont-call-toolchain-directly.patch" - "${FILESDIR}/${PN}-1.10.5-fix-pconf-element.patch" ) - -pkg_setup() { - if tc-is-clang; then - eerror "tboot is a freestanding application that uses gcc" - eerror "extensions in fundemental ways, include VLAIS" - eerror "(Variable Length Arrays in Structs) and will not" - eerror "compile with clang witout upstream action" - die "Cannot compile with clang. See bug #832020" - fi -} - -src_configure() { - tc-export AS LD CC CPP AR RANLIB NM OBJCOPY OBJDUMP STRIP - - default -} - -src_compile() { - use custom-cflags && export TBOOT_CFLAGS=${CFLAGS} || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS - - if use amd64; then - export MAKEARGS="TARGET_ARCH=x86_64" - else - export MAKEARGS="TARGET_ARCH=i686" - fi - - default -} - -src_install() { - emake DISTDIR="${D}" install - - dodoc "${DOCS[@]}" - dodoc docs/*.{txt,md} - - cd "${ED}" || die - mkdir -p usr/lib/tboot/ || die - mv boot usr/lib/tboot/ || die -} - -pkg_postinst() { - cp "${ROOT}/usr/lib/tboot/boot/"* "${ROOT}/boot/" || die - - 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/" -} diff --git a/sys-boot/tboot/tboot-1.11.3.ebuild b/sys-boot/tboot/tboot-1.11.3.ebuild new file mode 100644 index 000000000000..2dd62fe49384 --- /dev/null +++ b/sys-boot/tboot/tboot-1.11.3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit mount-boot toolchain-funcs + +DESCRIPTION="Performs a measured and verified boot using Intel Trusted Execution Technology" +HOMEPAGE="https://sourceforge.net/projects/tboot/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="custom-cflags selinux" + +# requires patching the kernel src +RESTRICT="test" + +DEPEND="dev-libs/openssl:0=[-bindist(-)]" + +RDEPEND="${DEPEND} + sys-boot/grub:2 + selinux? ( sec-policy/selinux-tboot )" + +DOCS=( README.md COPYING CHANGELOG ) +PATCHES=( "${FILESDIR}/${PN}-1.10.3-disable-Werror.patch" + "${FILESDIR}/${PN}-1.10.3-disable-strip.patch" + "${FILESDIR}/${PN}-1.10.3-dont-call-toolchain-directly.patch" + "${FILESDIR}/${PN}-1.10.5-fix-pconf-element.patch" ) + +pkg_setup() { + if tc-is-clang; then + eerror "tboot is a freestanding application that uses gcc" + eerror "extensions in fundemental ways, include VLAIS" + eerror "(Variable Length Arrays in Structs) and will not" + eerror "compile with clang witout upstream action" + die "Cannot compile with clang. See bug #832020" + fi +} + +src_configure() { + tc-export AS LD CC CPP AR RANLIB NM OBJCOPY OBJDUMP STRIP + + default +} + +src_compile() { + use custom-cflags && export TBOOT_CFLAGS=${CFLAGS} || unset CCASFLAGS CFLAGS CPPFLAGS LDFLAGS + + if use amd64; then + export MAKEARGS="TARGET_ARCH=x86_64" + else + export MAKEARGS="TARGET_ARCH=i686" + fi + + default +} + +src_install() { + emake DISTDIR="${D}" install + + dodoc "${DOCS[@]}" + dodoc docs/*.{txt,md} + + cd "${ED}" || die + mkdir -p usr/lib/tboot/ || die + mv boot usr/lib/tboot/ || die +} + +pkg_postinst() { + cp "${ROOT}/usr/lib/tboot/boot/"* "${ROOT}/boot/" || die + + 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/" +} -- cgit v1.2.3