Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-firmware/ipxe/
Date: Sat, 24 Sep 2022 20:52:04
Message-Id: 1664052156.f61cc08e54ab7d8f86be5f6fa0e4696d7076eeb1.asturm@gentoo
1 commit: f61cc08e54ab7d8f86be5f6fa0e4696d7076eeb1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 29 20:06:05 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 20:42:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61cc08e
7
8 sys-firmware/ipxe: drop 1.0.0_p20180211, 1.0.0_p20190728, EAPI-6--
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 sys-firmware/ipxe/Manifest | 4 -
13 sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild | 119 --------------------------
14 sys-firmware/ipxe/ipxe-1.0.0_p20190728.ebuild | 119 --------------------------
15 3 files changed, 242 deletions(-)
16
17 diff --git a/sys-firmware/ipxe/Manifest b/sys-firmware/ipxe/Manifest
18 index f7b3398a4125..9d8bdecfe24a 100644
19 --- a/sys-firmware/ipxe/Manifest
20 +++ b/sys-firmware/ipxe/Manifest
21 @@ -1,6 +1,2 @@
22 -DIST ipxe-1.0.0_p20180211-546dd51-bin.tar.xz 1748228 BLAKE2B 5ed2ce71c7dbc41d5cbef6e263abd230b9831c945a8edb33a29d408bd4262e370a2f73c8d2eb3cb20e08c61ece83af1fb1bb4c5694098cb29c44628dbd18def8 SHA512 af2778c925a6e4c374ddae85f3db983c83e7a4e5bb2cf35e356d277b87d4c89bf63cc2c061ec31d608ff2160c13297232fa131da2b9dd0b580d93e1b0efd6532
23 -DIST ipxe-1.0.0_p20180211-546dd51.tar.bz2 2954305 BLAKE2B 8232b1afe017ff5d0389534e4efea3209ea0330d66e4d3d429abf81da66639b19488911d85bf2da200ff8cb0d49c5dda438074c4538303335419ea080ef80a16 SHA512 45d7f80f15a1c5ff1daa31b132065d38013a51127795ad81308b468940a455edcb40cde7601475039a7c977d732817203bbc627c642d3d10146a480da603f1dd
24 -DIST ipxe-1.0.0_p20190728-a4f8c6e-bin.tar.xz 1839688 BLAKE2B b28772b928690646e1b0cb1c27ef56e2cb1c0637a43c6174dea7c8ca401d8c8819938fa358a0bed5d57b8cf992b8c2060b52e32a970ef813f1cf705fb0805beb SHA512 1e5838b8c530257dc544f6e25f80e6e223480917db393ca3ff8c577f07e60180e18f2eed4e71f7b1965157d6e7001f65e224d3c8b56a98f84739e2504ca38985
25 -DIST ipxe-1.0.0_p20190728-a4f8c6e.tar.bz2 2985776 BLAKE2B 5a85505404978d51f80e30332f6eb0417d6d97eb9b3bc05eec5ad649c446c7d17dc841f8cd34a1b29c31dc6f5cf08baa69191de9c8dd4bcdb098c5d7f13a7824 SHA512 3af0da9058b39966bfd8f9d7dfe518ae7b26e18f58d1a3fa2cba8922ec3c50775b82dd9f23bf51be3ca3f69b705f92bcf80988a1817b30f7ab1826a4b159c5a6
26 DIST ipxe-1.21.1-bin.tar.xz 1860424 BLAKE2B 9d621c92be1058389758f885a02b601169d645335bba366a18d16326a7616345e44eb0cd5007d32ac034e7e3c8f8eecd90ade3346e34ca0df899622321f38017 SHA512 85afacfb70e562a935380b7d14ab7328e418478a6f6124eaec7cd0fefb9ba13b8a3f04833fab7b724ceb4c94897a7be2c67faa8be59373719a972ad51e6a5ab3
27 DIST ipxe-1.21.1.tar.gz 3934045 BLAKE2B 03871b5f89c6228a9082bb89c7b102d85e5f3afcd5fe0d93762e220fe162c9c3037a9918f30251fd103835d949335f99109a12559f560a5b686e65a7c24c6501 SHA512 47400975110ed4ab95835aa1b7c8d5a6917c19c5713c6ab88bc0741a3adcd62245a9c4251d1f46fffc45289c6b18bf893f86dbc3b67d3189c41b7f198367ecaa
28
29 diff --git a/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild b/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild
30 deleted file mode 100644
31 index b13500031e9b..000000000000
32 --- a/sys-firmware/ipxe/ipxe-1.0.0_p20180211.ebuild
33 +++ /dev/null
34 @@ -1,119 +0,0 @@
35 -# Copyright 1999-2021 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI="6"
39 -
40 -inherit toolchain-funcs savedconfig
41 -
42 -GIT_REV="546dd51de8459d4d09958891f426fa2c73ff090d"
43 -GIT_SHORT=${GIT_REV:0:7}
44 -
45 -DESCRIPTION="Open source network boot (PXE) firmware"
46 -HOMEPAGE="https://ipxe.org/"
47 -SRC_URI="
48 - !binary? ( https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2 -> ${P}-${GIT_SHORT}.tar.bz2 )
49 - binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-${GIT_SHORT}-bin.tar.xz )"
50 -
51 -LICENSE="GPL-2"
52 -SLOT="0"
53 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 x86"
54 -IUSE="+binary efi ipv6 iso lkrn +qemu undi usb vmware"
55 -
56 -REQUIRED_USE="!amd64? ( !x86? ( binary ) )"
57 -
58 -SOURCE_DEPEND="app-arch/xz-utils
59 - dev-lang/perl
60 - sys-libs/zlib
61 - iso? (
62 - app-cdr/cdrtools
63 - sys-boot/syslinux
64 - )"
65 -DEPEND="
66 - !binary? (
67 - amd64? ( ${SOURCE_DEPEND} )
68 - x86? ( ${SOURCE_DEPEND} )
69 - )"
70 -RDEPEND=""
71 -
72 -S="${WORKDIR}/ipxe-${GIT_SHORT}/src"
73 -
74 -src_configure() {
75 - use binary && return
76 -
77 - cat <<-EOF > "${S}"/config/local/general.h
78 -#undef BANNER_TIMEOUT
79 -#define BANNER_TIMEOUT 0
80 -EOF
81 -
82 - use ipv6 && echo "#define NET_PROTO_IPV6" >> "${S}"/config/local/general.h
83 -
84 - if use vmware; then
85 - cat <<-EOF >> "${S}"/config/local/general.h
86 -#define VMWARE_SETTINGS
87 -#define CONSOLE_VMWARE
88 -EOF
89 - fi
90 -
91 - restore_config config/local/general.h
92 -
93 - tc-ld-disable-gold
94 -}
95 -
96 -ipxemake() {
97 - # Q='' makes the build verbose since that's what everyone loves now
98 - emake Q='' \
99 - CC="$(tc-getCC)" \
100 - LD="$(tc-getLD)" \
101 - AS="$(tc-getAS)" \
102 - AR="$(tc-getAR)" \
103 - NM="$(tc-getNM)" \
104 - OBJCOPY="$(tc-getOBJCOPY)" \
105 - RANLIB="$(tc-getRANLIB)" \
106 - OBJDUMP="$(tc-getOBJDUMP)" \
107 - HOST_CC="$(tc-getBUILD_CC)" \
108 - "$@"
109 -}
110 -
111 -src_compile() {
112 - use binary && return
113 -
114 - export NO_WERROR=1
115 - if use qemu; then
116 - ipxemake bin/808610de.rom # pxe-e1000.rom (old)
117 - ipxemake bin/8086100e.rom # pxe-e1000.rom
118 - ipxemake bin/80861209.rom # pxe-eepro100.rom
119 - ipxemake bin/10500940.rom # pxe-ne2k_pci.rom
120 - ipxemake bin/10222000.rom # pxe-pcnet.rom
121 - ipxemake bin/10ec8139.rom # pxe-rtl8139.rom
122 - ipxemake bin/1af41000.rom # pxe-virtio.rom
123 - fi
124 -
125 - if use vmware; then
126 - ipxemake bin/8086100f.mrom # e1000
127 - ipxemake bin/808610d3.mrom # e1000e
128 - ipxemake bin/10222000.mrom # vlance
129 - ipxemake bin/15ad07b0.rom # vmxnet3
130 - fi
131 -
132 - use efi && ipxemake PLATFORM=efi BIN=bin-efi bin-efi/ipxe.efi
133 - use iso && ipxemake bin/ipxe.iso
134 - use undi && ipxemake bin/undionly.kpxe
135 - use usb && ipxemake bin/ipxe.usb
136 - use lkrn && ipxemake bin/ipxe.lkrn
137 -}
138 -
139 -src_install() {
140 - insinto /usr/share/ipxe/
141 -
142 - if use qemu || use vmware; then
143 - doins bin/*.rom
144 - fi
145 - use vmware && doins bin/*.mrom
146 - use efi && doins bin-efi/*.efi
147 - use iso && doins bin/*.iso
148 - use undi && doins bin/*.kpxe
149 - use usb && doins bin/*.usb
150 - use lkrn && doins bin/*.lkrn
151 -
152 - save_config config/local/general.h
153 -}
154
155 diff --git a/sys-firmware/ipxe/ipxe-1.0.0_p20190728.ebuild b/sys-firmware/ipxe/ipxe-1.0.0_p20190728.ebuild
156 deleted file mode 100644
157 index dc6b098f4149..000000000000
158 --- a/sys-firmware/ipxe/ipxe-1.0.0_p20190728.ebuild
159 +++ /dev/null
160 @@ -1,119 +0,0 @@
161 -# Copyright 1999-2021 Gentoo Authors
162 -# Distributed under the terms of the GNU General Public License v2
163 -
164 -EAPI="6"
165 -
166 -inherit toolchain-funcs savedconfig
167 -
168 -GIT_REV="a4f8c6e31f6c62522cfc633bbbffa81b22f9d6f3"
169 -GIT_SHORT=${GIT_REV:0:7}
170 -
171 -DESCRIPTION="Open source network boot (PXE) firmware"
172 -HOMEPAGE="https://ipxe.org/"
173 -SRC_URI="
174 - !binary? ( https://git.ipxe.org/ipxe.git/snapshot/${GIT_REV}.tar.bz2 -> ${P}-${GIT_SHORT}.tar.bz2 )
175 - binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-${GIT_SHORT}-bin.tar.xz )"
176 -
177 -LICENSE="GPL-2"
178 -SLOT="0"
179 -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 x86"
180 -IUSE="+binary efi ipv6 iso lkrn +qemu undi usb vmware"
181 -
182 -REQUIRED_USE="!amd64? ( !x86? ( binary ) )"
183 -
184 -SOURCE_DEPEND="app-arch/xz-utils
185 - dev-lang/perl
186 - sys-libs/zlib
187 - iso? (
188 - app-cdr/cdrtools
189 - sys-boot/syslinux
190 - )"
191 -DEPEND="
192 - !binary? (
193 - amd64? ( ${SOURCE_DEPEND} )
194 - x86? ( ${SOURCE_DEPEND} )
195 - )"
196 -RDEPEND=""
197 -
198 -S="${WORKDIR}/ipxe-${GIT_SHORT}/src"
199 -
200 -src_configure() {
201 - use binary && return
202 -
203 - cat <<-EOF > "${S}"/config/local/general.h
204 -#undef BANNER_TIMEOUT
205 -#define BANNER_TIMEOUT 0
206 -EOF
207 -
208 - use ipv6 && echo "#define NET_PROTO_IPV6" >> "${S}"/config/local/general.h
209 -
210 - if use vmware; then
211 - cat <<-EOF >> "${S}"/config/local/general.h
212 -#define VMWARE_SETTINGS
213 -#define CONSOLE_VMWARE
214 -EOF
215 - fi
216 -
217 - restore_config config/local/general.h
218 -
219 - tc-ld-disable-gold
220 -}
221 -
222 -ipxemake() {
223 - # Q='' makes the build verbose since that's what everyone loves now
224 - emake Q='' \
225 - CC="$(tc-getCC)" \
226 - LD="$(tc-getLD)" \
227 - AS="$(tc-getAS)" \
228 - AR="$(tc-getAR)" \
229 - NM="$(tc-getNM)" \
230 - OBJCOPY="$(tc-getOBJCOPY)" \
231 - RANLIB="$(tc-getRANLIB)" \
232 - OBJDUMP="$(tc-getOBJDUMP)" \
233 - HOST_CC="$(tc-getBUILD_CC)" \
234 - "$@"
235 -}
236 -
237 -src_compile() {
238 - use binary && return
239 -
240 - export NO_WERROR=1
241 - if use qemu; then
242 - ipxemake bin/808610de.rom # pxe-e1000.rom (old)
243 - ipxemake bin/8086100e.rom # pxe-e1000.rom
244 - ipxemake bin/80861209.rom # pxe-eepro100.rom
245 - ipxemake bin/10500940.rom # pxe-ne2k_pci.rom
246 - ipxemake bin/10222000.rom # pxe-pcnet.rom
247 - ipxemake bin/10ec8139.rom # pxe-rtl8139.rom
248 - ipxemake bin/1af41000.rom # pxe-virtio.rom
249 - fi
250 -
251 - if use vmware; then
252 - ipxemake bin/8086100f.mrom # e1000
253 - ipxemake bin/808610d3.mrom # e1000e
254 - ipxemake bin/10222000.mrom # vlance
255 - ipxemake bin/15ad07b0.rom # vmxnet3
256 - fi
257 -
258 - use efi && ipxemake PLATFORM=efi BIN=bin-efi bin-efi/ipxe.efi
259 - use iso && ipxemake bin/ipxe.iso
260 - use undi && ipxemake bin/undionly.kpxe
261 - use usb && ipxemake bin/ipxe.usb
262 - use lkrn && ipxemake bin/ipxe.lkrn
263 -}
264 -
265 -src_install() {
266 - insinto /usr/share/ipxe/
267 -
268 - if use qemu || use vmware; then
269 - doins bin/*.rom
270 - fi
271 - use vmware && doins bin/*.mrom
272 - use efi && doins bin-efi/*.efi
273 - use iso && doins bin/*.iso
274 - use undi && doins bin/*.kpxe
275 - use usb && doins bin/*.usb
276 - use lkrn && doins bin/*.lkrn
277 -
278 - save_config config/local/general.h
279 -}