From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5AA11382C5 for ; Mon, 12 Feb 2018 00:01:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14A21E0DE6; Mon, 12 Feb 2018 00:01:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D92F2E0DE6 for ; Mon, 12 Feb 2018 00:01:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A298335C56 for ; Mon, 12 Feb 2018 00:01:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 743391F3 for ; Mon, 12 Feb 2018 00:01:52 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1518393695.c9bc5dfd490682a71cd5fa2790b0379996bba31e.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-firmware/ipxe/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-firmware/ipxe/Manifest sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild sys-firmware/ipxe/metadata.xml X-VCS-Directories: sys-firmware/ipxe/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: c9bc5dfd490682a71cd5fa2790b0379996bba31e X-VCS-Branch: master Date: Mon, 12 Feb 2018 00:01:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5e44d1cd-f15a-449b-bf2c-e027167c0942 X-Archives-Hash: dc7ad9ac718acfe1ac10cf8ada7ccaad commit: c9bc5dfd490682a71cd5fa2790b0379996bba31e Author: Matthias Maier gentoo org> AuthorDate: Mon Feb 12 00:00:55 2018 +0000 Commit: Matthias Maier gentoo org> CommitDate: Mon Feb 12 00:01:35 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9bc5dfd sys-firmware/ipxe: Add USE=binary Closes: https://bugs.gentoo.org/484886 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-firmware/ipxe/Manifest | 1 + sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild | 23 +++++++++++++++++------ sys-firmware/ipxe/metadata.xml | 1 + 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/sys-firmware/ipxe/Manifest b/sys-firmware/ipxe/Manifest index 301afef0a72..da4bd1fddb1 100644 --- a/sys-firmware/ipxe/Manifest +++ b/sys-firmware/ipxe/Manifest @@ -1,3 +1,4 @@ DIST ipxe-1.0.0_p20130925-cba22d3.tar.bz2 2240189 BLAKE2B 58717ca43ece4ffbe8f68cae2f409c4cd8f1d3c2149521c28db017d4fcd31b6122fa35b9a476d3dc865baba0d2768744f4977420fb6410f1b09dad9170c32497 SHA512 a098d3fc0f68067be281b9c3654bb1b0be1b9d397327b55b36b17e69faf03ce6117d0278552c06990a5020e4ece7acac168d975b3c7bfce3b6865dea1fd1d8dd DIST ipxe-1.0.0_p20160620-694c18a.tar.bz2 2839663 BLAKE2B ec6999f3bcaf198f4b73464ee34456b923d0be26f11980e3020dd66012ddbf1b721aebb1c74c4289a0012e2ffae96a54a25821a4c7c621f727e090d13de58213 SHA512 67657dabe09f497c270cca16391669c89032112c1496b54009e2f1e8a477904d758476d4e465973aa0b6fc764be48ed6421607189aaea76e23fa0da6e9c8add5 +DIST ipxe-1.0.0_p20180211-546dd51-bin.tar.xz 1748228 BLAKE2B 5ed2ce71c7dbc41d5cbef6e263abd230b9831c945a8edb33a29d408bd4262e370a2f73c8d2eb3cb20e08c61ece83af1fb1bb4c5694098cb29c44628dbd18def8 SHA512 af2778c925a6e4c374ddae85f3db983c83e7a4e5bb2cf35e356d277b87d4c89bf63cc2c061ec31d608ff2160c13297232fa131da2b9dd0b580d93e1b0efd6532 DIST ipxe-1.0.0_p20180211-546dd51.tar.bz2 2954305 BLAKE2B 8232b1afe017ff5d0389534e4efea3209ea0330d66e4d3d429abf81da66639b19488911d85bf2da200ff8cb0d49c5dda438074c4538303335419ea080ef80a16 SHA512 45d7f80f15a1c5ff1daa31b132065d38013a51127795ad81308b468940a455edcb40cde7601475039a7c977d732817203bbc627c642d3d10146a480da603f1dd diff --git a/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild b/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild index 3af1d37ca63..1794162081a 100644 --- a/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild +++ b/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild @@ -10,27 +10,36 @@ GIT_SHORT=${GIT_REV:0:7} DESCRIPTION="Open source network boot (PXE) firmware" HOMEPAGE="http://ipxe.org/" -SRC_URI="https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2 -> ${P}-${GIT_SHORT}.tar.bz2" +SRC_URI=" + !binary? ( https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2 -> ${P}-${GIT_SHORT}.tar.bz2 ) + binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-${GIT_SHORT}-bin.tar.xz )" LICENSE="GPL-2" SLOT="0" -# TODO: Add arm/arm64 once figure out how to build w/out including -# all the x86-specific drivers (that use I/O insns). -KEYWORDS="-* ~amd64 ~x86" -IUSE="efi ipv6 iso lkrn +qemu undi usb vmware" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86" +IUSE="+binary efi ipv6 iso lkrn +qemu undi usb vmware" -DEPEND="app-arch/xz-utils +REQUIRED_USE="!amd64? ( !x86? ( binary ) )" + +SOURCE_DEPEND="app-arch/xz-utils dev-lang/perl sys-libs/zlib iso? ( sys-boot/syslinux virtual/cdrtools )" +DEPEND=" + !binary? ( + amd64? ( ${SOURCE_DEPEND} ) + x86? ( ${SOURCE_DEPEND} ) + )" RDEPEND="" S="${WORKDIR}/ipxe-${GIT_SHORT}/src" src_configure() { + use binary && return + cat <<-EOF > "${S}"/config/local/general.h #undef BANNER_TIMEOUT #define BANNER_TIMEOUT 0 @@ -66,6 +75,8 @@ ipxemake() { } src_compile() { + use binary && return + export NO_WERROR=1 if use qemu; then ipxemake bin/808610de.rom # pxe-e1000.rom (old) diff --git a/sys-firmware/ipxe/metadata.xml b/sys-firmware/ipxe/metadata.xml index 79e3a615e17..2dad71b85b7 100644 --- a/sys-firmware/ipxe/metadata.xml +++ b/sys-firmware/ipxe/metadata.xml @@ -5,6 +5,7 @@ qemu@gentoo.org + Use pre-built binaries Build an EFI program for using PXE Build a bootable ISO for using PXE Build a linux kernel bootable file for using with grub/etc...