summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-09-10 21:32:58 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-09-10 21:32:58 +0000
commitff15c45ae90eeb2d57f8bbab237fa135d2c90065 (patch)
treecb8e0589f7242e9080f96dafa71fbf8971620235 /sys-firmware
parentremove old version (diff)
downloadhistorical-ff15c45ae90eeb2d57f8bbab237fa135d2c90065.tar.gz
historical-ff15c45ae90eeb2d57f8bbab237fa135d2c90065.tar.bz2
historical-ff15c45ae90eeb2d57f8bbab237fa135d2c90065.zip
Add initial version of iPXE 1.0.0+
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
Diffstat (limited to 'sys-firmware')
-rw-r--r--sys-firmware/ipxe/ChangeLog10
-rw-r--r--sys-firmware/ipxe/Manifest4
-rw-r--r--sys-firmware/ipxe/ipxe-1.0.0_p20120905.ebuild68
-rw-r--r--sys-firmware/ipxe/metadata.xml16
4 files changed, 98 insertions, 0 deletions
diff --git a/sys-firmware/ipxe/ChangeLog b/sys-firmware/ipxe/ChangeLog
new file mode 100644
index 000000000000..cfcb52dda8d6
--- /dev/null
+++ b/sys-firmware/ipxe/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-firmware/ipxe
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ChangeLog,v 1.1 2012/09/10 21:32:58 cardoe Exp $
+
+*ipxe-1.0.0_p20120905 (10 Sep 2012)
+
+ 10 Sep 2012; Doug Goldstein <cardoe@gentoo.org> +ipxe-1.0.0_p20120905.ebuild,
+ +metadata.xml:
+ Add initial version of iPXE 1.0.0+
+
diff --git a/sys-firmware/ipxe/Manifest b/sys-firmware/ipxe/Manifest
new file mode 100644
index 000000000000..c3cce2beecac
--- /dev/null
+++ b/sys-firmware/ipxe/Manifest
@@ -0,0 +1,4 @@
+DIST e6427b7ee117ea4af0812bb13b57999bccd8e058.tar.bz2 2198003 SHA256 008a80b80a8b19ef6963581b5599880d51171aad13f96690589cbc0fa895eaf3 SHA512 8456ef3c27f3f4de827ae4c744cbe2eaacb96cf703a5525f490c53ac26ed597635acb744a50607d733d7bd5014dcbbb333f74da8fe68fddca19e11d047377d73 WHIRLPOOL 814cda89fa52afec2b1a8811407ce3b361c1d7548e40255fdffda2bd0fbb8485352575f19b6935de50582a97c31758cd9bcc2194cb2b222b89313868a032a828
+EBUILD ipxe-1.0.0_p20120905.ebuild 1691 SHA256 4d897618d6be3831af68fe5d9a391d40ea223cee10d57dcfcccddbba6eb36f85 SHA512 52676c26ebd08d6c982080528ad4f999792556b27e1fe64035b8afd6617a703e265b653dbec183f0c7e4e4b1399c1499c3996e083d801b2367ecd07d24cfbb2a WHIRLPOOL 9b69a8438cf24908ac45d8ec02a275dd6177358f5d97df884008616fe71eca11db5e570492bcc70cf44992ce7eead52ca44b93bc0845f3eaefdf1d3a7848e29f
+MISC ChangeLog 379 SHA256 deab987d14d79cabab40bd44eaea6ad50d041ce2606de3c5265a55a193e437d4 SHA512 95c6c22de301511a116c34bd4d89f68d22d260987f84852c685e784bdcefc48fc4b84e45a5826f3a88bae41b460d638c611572aa4e24fe6327177186696c5a2a WHIRLPOOL a94ad638b18988f9c1958ae87ce6285ac6f3f56011883e6fd18e2859dc093dd91205eb339ce7b11ffcc351b6e2e5a869c391063f9620921bff78919ddf322a10
+MISC metadata.xml 691 SHA256 f0f4dc35384ae2bbc0e938812ae3ec259c490e101fe978e2a7cc8ce8eb3d6a7b SHA512 1e1063f205a4a284224e229fa675f6eb83f03ee80c3874198740da15744961664c3f6fe0ec6c1211dcabfe1204bc92ec355b98075c5d626c3493bfbc7de08ae7 WHIRLPOOL 435dfad45383449b30a12b1caf484f05b39102d5132c9dd5573fddb84cfa2c987e6db700b0bc656e821cbc7fde5b04af5504fd367d665027b7eeef06853ff413
diff --git a/sys-firmware/ipxe/ipxe-1.0.0_p20120905.ebuild b/sys-firmware/ipxe/ipxe-1.0.0_p20120905.ebuild
new file mode 100644
index 000000000000..1dbb096aea9c
--- /dev/null
+++ b/sys-firmware/ipxe/ipxe-1.0.0_p20120905.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-firmware/ipxe/ipxe-1.0.0_p20120905.ebuild,v 1.1 2012/09/10 21:32:58 cardoe Exp $
+
+EAPI=4
+
+GIT_REV="e6427b7ee117ea4af0812bb13b57999bccd8e058"
+GIT_SHORT="e6427b7"
+
+DESCRIPTION="Open source network boot (PXE) firmware"
+HOMEPAGE="http://ipxe.org"
+SRC_URI="https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="iso +qemu undi usb vmware"
+
+DEPEND="sys-devel/make
+ dev-lang/perl
+ sys-libs/zlib
+ iso? ( sys-boot/syslinux )"
+RDEPEND=""
+
+S="${WORKDIR}/ipxe-${GIT_SHORT}/src"
+
+src_configure() {
+ if use vmware; then
+ sed -i config/sideband.h \
+ -e 's|//#define[[:space:]]VMWARE_SETTINGS|#define VMWARE_SETTINGS|'
+ sed -i config/console.h \
+ -e 's|//#define[[:space:]]CONSOLE_VMWARE|#define CONSOLE_VMWARE|'
+ fi
+}
+
+src_compile() {
+ if use qemu; then
+ emake bin/808610de.rom # pxe-e1000.rom
+ emake bin/80861209.rom # pxe-eepro100.rom
+ emake bin/10500940.rom # pxe-ne2k_pci.rom
+ emake bin/10222000.rom # pxe-pcnet.rom
+ emake bin/10ec8139.rom # pxe-rtl8139.rom
+ emake bin/1af41000.rom # pxe-virtio.rom
+ fi
+
+ if use vmware; then
+ emake bin/8086100f.mrom # e1000
+ emake bin/808610d3.mrom # e1000e
+ emake bin/10222000.mrom # vlance
+ emake bin/15ad07b0.rom # vmxnet3
+ fi
+
+ use iso && emake bin/ipxe.iso
+ use undi && emake bin/undionly.kpxe
+ use usb && emake bin/ipxe.usb
+}
+
+src_install() {
+ insinto /usr/share/ipxe/
+
+ if use qemu || use vmware; then
+ doins bin/*.rom
+ fi
+ use vmware && doins bin/*.mrom
+ use iso && doins bin/*.iso
+ use undi && doins bin/*.kpxe
+ use usb && doins bin/*.usb
+}
diff --git a/sys-firmware/ipxe/metadata.xml b/sys-firmware/ipxe/metadata.xml
new file mode 100644
index 000000000000..6f1c5abbc3f6
--- /dev/null
+++ b/sys-firmware/ipxe/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>cardoe@gentoo.org</email>
+<name>Doug Goldstein</name>
+</maintainer>
+<use>
+ <flag name='iso'>Build a bootable ISO for using PXE</flag>
+ <flag name='usb'>Build a bootable USB image for using PXE</flag>
+ <flag name='undi'>Build a Universal Network Device Interface driver
+ chainloading your existing PXE NIC into iPXE</flag>
+ <flag name='qemu'>Build the required PXE ROM images for <pkg>app-emulation/qemu</pkg> and <pkg>app-emulation/qemu-kvm</pkg></flag>
+ <flag name='vmware'>Build the PXE ROM images that VMWare uses</flag>
+</use>
+</pkgmetadata>