summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-perl/Test-Most/Manifest1
-rw-r--r--dev-perl/Test-Most/Test-Most-0.380.0.ebuild27
-rw-r--r--dev-perl/Test-Needs/Manifest1
-rw-r--r--dev-perl/Test-Needs/Test-Needs-0.2.10.ebuild15
-rw-r--r--sys-firmware/ipxe/Manifest2
-rw-r--r--sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild127
-rw-r--r--sys-firmware/ipxe/metadata.xml3
7 files changed, 175 insertions, 1 deletions
diff --git a/dev-perl/Test-Most/Manifest b/dev-perl/Test-Most/Manifest
index a0a3118e012b..b278e072e30e 100644
--- a/dev-perl/Test-Most/Manifest
+++ b/dev-perl/Test-Most/Manifest
@@ -1 +1,2 @@
DIST Test-Most-0.37.tar.gz 16544 BLAKE2B 2b6ecfa942dff391aa653aba0e5525c9e662ff0bdc4f53101bd808c496458256dadce8a5a403dff74607cab37eee683cd36abe5f676c59b7761b9c15bbc37fea SHA512 133dbb9815884fbecd65520dd2f2d43a761439c33f7d32ffdfc80ed3d3e05fb563dca420cf5445e61382735a048c467b35b5c160b1013b5f5c7616be00aa328d
+DIST Test-Most-0.38.tar.gz 16174 BLAKE2B 7665c323f75da2d41d27444e1b322f9d49a7ac72d35fffb82c1bf4eec2541b75ee7ea3925f5d763b55bcd298fb8047c3dfd1f8dc998431f2b1e9b12ea05681ef SHA512 cb91e8a1cb61d5ad8d222f077fe2681a68d9b1806263d37989446d42baf911e3b6789cd1fd28fdfb7e4de17ee7766545d5c07356e53e56c5fb6d7c2af9d5d448
diff --git a/dev-perl/Test-Most/Test-Most-0.380.0.ebuild b/dev-perl/Test-Most/Test-Most-0.380.0.ebuild
new file mode 100644
index 000000000000..c49b37585689
--- /dev/null
+++ b/dev-perl/Test-Most/Test-Most-0.380.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=OVID
+DIST_VERSION=0.38
+inherit perl-module
+
+DESCRIPTION="Most commonly needed test functions and features"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+RDEPEND="
+ >=dev-perl/Exception-Class-1.140.0
+ >=dev-perl/Test-Deep-0.119.0
+ >=dev-perl/Test-Differences-0.640.0
+ >=dev-perl/Test-Exception-0.430.0
+ >=virtual/perl-Test-Harness-3.350.0
+ >=virtual/perl-Test-Simple-1.302.47
+ >=dev-perl/Test-Warn-0.300.0
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/perl-ExtUtils-MakeMaker
+"
diff --git a/dev-perl/Test-Needs/Manifest b/dev-perl/Test-Needs/Manifest
index bb0c9b694e87..0be422d4ef88 100644
--- a/dev-perl/Test-Needs/Manifest
+++ b/dev-perl/Test-Needs/Manifest
@@ -1 +1,2 @@
DIST Test-Needs-0.002009.tar.gz 17052 BLAKE2B e8c51a23b1febe592ee25b0c83741695d07777adfbc2f0e4fa58a81284d0da5d7601b312cc7b33ead19680b728ba481efceb8b4fe042823212f4523f1028a009 SHA512 758f22ca9b024f7d3252ff575ae84453e64f4ef4e18d3233cdaa3b81d9212cf48e41fde529047e7355678d5e53345bd51210a45dd9545c3bf8ffe16f96a9500d
+DIST Test-Needs-0.002010.tar.gz 17455 BLAKE2B 15947016abd348ea41ce77a208b54161506fd60250ce162aae0da68cd8cf9f7401b9117fc8f385223dba37a85cd4e22dfbcb3cdd7d509cfa6f4613b6cd92a0e1 SHA512 1dde33f0b161a9cb99d1add141706ae015472a16620c38c159e3ae9654d749c275c7a4a979082c2720999305bf25129e7b178a9afdd6f4b4dfc9ee00281c76eb
diff --git a/dev-perl/Test-Needs/Test-Needs-0.2.10.ebuild b/dev-perl/Test-Needs/Test-Needs-0.2.10.ebuild
new file mode 100644
index 000000000000..5a1b2829e0d6
--- /dev/null
+++ b/dev-perl/Test-Needs/Test-Needs-0.2.10.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=HAARG
+DIST_VERSION=0.002010
+inherit perl-module
+
+DESCRIPTION="Skip tests when modules not available"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+
+BDEPEND="virtual/perl-ExtUtils-MakeMaker"
diff --git a/sys-firmware/ipxe/Manifest b/sys-firmware/ipxe/Manifest
index 9d8bdecfe24a..03e4b585e3cd 100644
--- a/sys-firmware/ipxe/Manifest
+++ b/sys-firmware/ipxe/Manifest
@@ -1,2 +1,4 @@
DIST ipxe-1.21.1-bin.tar.xz 1860424 BLAKE2B 9d621c92be1058389758f885a02b601169d645335bba366a18d16326a7616345e44eb0cd5007d32ac034e7e3c8f8eecd90ade3346e34ca0df899622321f38017 SHA512 85afacfb70e562a935380b7d14ab7328e418478a6f6124eaec7cd0fefb9ba13b8a3f04833fab7b724ceb4c94897a7be2c67faa8be59373719a972ad51e6a5ab3
DIST ipxe-1.21.1.tar.gz 3934045 BLAKE2B 03871b5f89c6228a9082bb89c7b102d85e5f3afcd5fe0d93762e220fe162c9c3037a9918f30251fd103835d949335f99109a12559f560a5b686e65a7c24c6501 SHA512 47400975110ed4ab95835aa1b7c8d5a6917c19c5713c6ab88bc0741a3adcd62245a9c4251d1f46fffc45289c6b18bf893f86dbc3b67d3189c41b7f198367ecaa
+DIST ipxe-1.21.1_p20230601-bin.tar.xz 2248076 BLAKE2B aac91488a4df65548b857980283fc66b3d6d245e400a8dc1115be1708439d09aafb9d6fe93366feafa889035bdfb13edd15be34bf47aa52b75f14f75a1956618 SHA512 2dbcc5b6bf764f9fecf0fd18e304d4ac21ae081a590ceda710a2984e2cd500cff3f26f36d4abb15f806ee64f11ee1b1eb299e6e184f54d85ce74843918a4f02a
+DIST ipxe-1.21.1_p20230601.gh.tar.gz 4137586 BLAKE2B 51d8e0f5c95e77707d934a0d8c16104c0d7c500ca33f408c2d94b77244d4b198e7a4b40ee091eb059a55bc0f780572bee8d3556de28f9fdae498206c24139276 SHA512 3fbb803bd679adbeb805c7d3a8ac952e14ff41fdbb7b0c30d8ccb196e39da346faf4c3e2588466bc82400b9f113f08aa8a8056d4ed2393d1aa0fee0d22b67111
diff --git a/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild b/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild
new file mode 100644
index 000000000000..8123927dca19
--- /dev/null
+++ b/sys-firmware/ipxe/ipxe-1.21.1_p20230601.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit savedconfig toolchain-funcs
+
+# for 1.21.1_p20230601
+COMMIT_SHA1="4fa4052c7ebb59e4d4aa396f1563c89118623ec7"
+
+DESCRIPTION="Open source network boot (PXE) firmware"
+HOMEPAGE="https://ipxe.org/"
+SRC_URI="
+ !binary? ( https://github.com/${PN}/${PN}/archive/${COMMIT_SHA1}.tar.gz -> ${P}.gh.tar.gz )
+ binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-bin.tar.xz )"
+S="${WORKDIR}/${PN}-${COMMIT_SHA1}/src"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv x86"
+IUSE="+binary efi efi64 ipv6 iso lkrn +qemu undi usb vmware"
+REQUIRED_USE="!amd64? ( !x86? ( binary ) )"
+
+SOURCE_DEPEND="
+ app-arch/xz-utils
+ dev-lang/perl
+ iso? (
+ app-cdr/cdrtools
+ sys-boot/syslinux
+ )"
+BDEPEND="
+ !binary? (
+ amd64? ( ${SOURCE_DEPEND} )
+ x86? ( ${SOURCE_DEPEND} )
+ )"
+
+src_configure() {
+ use binary && return
+
+ cat > config/local/general.h <<-EOF || die
+ #undef BANNER_TIMEOUT
+ #define BANNER_TIMEOUT 0
+ EOF
+
+ if use ipv6; then
+ cat >> config/local/general.h <<-EOF || die
+ #define NET_PROTO_IPV6
+ EOF
+ fi
+
+ if use vmware; then
+ cat >> config/local/general.h <<-EOF || die
+ #define VMWARE_SETTINGS
+ #define CONSOLE_VMWARE
+ EOF
+ fi
+
+ restore_config config/local/general.h
+
+ tc-ld-disable-gold
+}
+
+ipxemake() {
+ # Q='' makes the build verbose since that's what everyone loves now
+ emake Q='' \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getLD)" \
+ AS="$(tc-getAS)" \
+ AR="$(tc-getAR)" \
+ NM="$(tc-getNM)" \
+ OBJCOPY="$(tc-getOBJCOPY)" \
+ RANLIB="$(tc-getRANLIB)" \
+ OBJDUMP="$(tc-getOBJDUMP)" \
+ HOST_CC="$(tc-getBUILD_CC)" \
+ "$@"
+}
+
+src_compile() {
+ use binary && return
+
+ export NO_WERROR=1
+ if use qemu; then
+ ipxemake bin/808610de.rom # pxe-e1000.rom (old)
+ ipxemake bin/8086100e.rom # pxe-e1000.rom
+ ipxemake bin/80861209.rom # pxe-eepro100.rom
+ ipxemake bin/10500940.rom # pxe-ne2k_pci.rom
+ ipxemake bin/10222000.rom # pxe-pcnet.rom
+ ipxemake bin/10ec8139.rom # pxe-rtl8139.rom
+ ipxemake bin/1af41000.rom # pxe-virtio.rom
+ fi
+
+ if use vmware; then
+ ipxemake bin/8086100f.mrom # e1000
+ ipxemake bin/808610d3.mrom # e1000e
+ ipxemake bin/10222000.mrom # vlance
+ ipxemake bin/15ad07b0.rom # vmxnet3
+ fi
+
+ use efi && ipxemake PLATFORM=efi BIN=bin-i386-efi bin-i386-efi/ipxe.efi
+ use efi64 && ipxemake PLATFORM=efi BIN=bin-x86_64-efi bin-x86_64-efi/ipxe.efi
+ use iso && ipxemake bin/ipxe.iso
+ use undi && ipxemake bin/undionly.kpxe
+ use usb && ipxemake bin/ipxe.usb
+ use lkrn && ipxemake bin/ipxe.lkrn
+}
+
+src_install() {
+ insinto /usr/share/ipxe/
+
+ if use qemu || use vmware; then
+ doins bin/*.rom
+ fi
+ use vmware && doins bin/*.mrom
+ use efi && newins bin-i386-efi/ipxe.efi ipxe-i386.efi
+ use efi64 && newins bin-x86_64-efi/ipxe.efi ipxe-x86_64.efi
+ # Add a symlink for backwards compatiblity, in case both variants are
+ # enabled the x86_64 bit variant takes presedence.
+ use efi && dosym ipxe-i386.efi /usr/share/ipxe/ipxe.efi
+ use efi64 && dosym ipxe-x86_64.efi /usr/share/ipxe/ipxe.efi
+
+ use iso && doins bin/*.iso
+ use undi && doins bin/*.kpxe
+ use usb && doins bin/*.usb
+ use lkrn && doins bin/*.lkrn
+
+ save_config config/local/general.h
+}
diff --git a/sys-firmware/ipxe/metadata.xml b/sys-firmware/ipxe/metadata.xml
index 75c7fde1f5bc..11d78499e871 100644
--- a/sys-firmware/ipxe/metadata.xml
+++ b/sys-firmware/ipxe/metadata.xml
@@ -11,7 +11,8 @@
</maintainer>
<use>
<flag name="binary">Use pre-built binaries</flag>
- <flag name="efi">Build an EFI program for using PXE</flag>
+ <flag name="efi">Build a 32bit EFI program for using PXE</flag>
+ <flag name="efi64">Build a 64bit EFI program for using PXE</flag>
<flag name="iso">Build a bootable ISO for using PXE</flag>
<flag name="lkrn">Build a linux kernel bootable file for using with grub/etc...</flag>
<flag name="usb">Build a bootable USB image for using PXE</flag>