Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/systemd-boot/files/, sys-boot/systemd-boot/
Date: Sun, 31 Mar 2019 16:42:31
Message-Id: 1554050505.cd7fdd79aaea10bf089059344681d49f86599973.floppym@gentoo
1 commit: cd7fdd79aaea10bf089059344681d49f86599973
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 31 16:23:48 2019 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 31 16:41:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7fdd79
7
8 sys-boot/systemd-boot: remove old
9
10 Package-Manager: Portage-2.3.62_p4, Repoman-2.3.12_p87
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 sys-boot/systemd-boot/Manifest | 3 -
14 .../233-Force-libsystemd-shared-to-be-static.patch | 25 -----
15 .../systemd-boot/files/235-libshared-static.patch | 24 -----
16 sys-boot/systemd-boot/systemd-boot-233.ebuild | 111 ---------------------
17 sys-boot/systemd-boot/systemd-boot-235.ebuild | 108 --------------------
18 sys-boot/systemd-boot/systemd-boot-237.ebuild | 110 --------------------
19 6 files changed, 381 deletions(-)
20
21 diff --git a/sys-boot/systemd-boot/Manifest b/sys-boot/systemd-boot/Manifest
22 index 7270e8b5f4a..7948d4c26aa 100644
23 --- a/sys-boot/systemd-boot/Manifest
24 +++ b/sys-boot/systemd-boot/Manifest
25 @@ -1,4 +1 @@
26 -DIST systemd-233.tar.gz 4660737 BLAKE2B 38cdd74543447b3c02391b328428fed169fe2cf2df6e9341dcaf2f7d3d977612ec102301e144c1cada90d61e9e9bda3b2faaef708c8ff4bd0b52b143760a83b2 SHA512 5ad5329ea116d973cf67096f7e7ad28e9ea0905696e9451291f1d25e5064f4a9bfcfae87e912996c6a38397e9f4a148d4ccecfa9b70f7ecdf04deadb61784c8e
27 -DIST systemd-235.tar.gz 6586406 BLAKE2B f2e46a6c51fc9445800c4b7eee66f23ae83b42c2fedf2304acf612e6cb99122afe67f1b93cf72ed022b52384975afb92ab38cfb4efc6026384602c973d2eb98e SHA512 243f2eb5340fa37dd1286eaa63e83387bda9e03953af266cd6196a37535a13491482caf14c6ab10608bba4ed23b6c41923608e52017e0c26988ed72ddd2b9993
28 -DIST systemd-237.tar.gz 6871350 BLAKE2B 4734a110a297fbbd6679bced6302fcdca55ab5d4207905e8dee9f5545f1de841d5adeaa4fd89961b9e63709d04b5c862b8bc81481311cf8e72ee327e459c9d91 SHA512 15ef4b92815a6dd9a6c51672dbc00fd7cd0f08068ef0cbeaca574f68d330b28bc67ba1946f24f75ef3d9e7b63843a73eea700db54688061dbf5c9f8470394c3b
29 DIST systemd-239.tar.gz 7157293 BLAKE2B 975f6215c8bb6662d6e161f637e1fece22930c0190b3c31a8fc4cb1a10600546a252704ac95590d9d14e495fcd06082a590e6d755e36603a41b3a396d579d8b0 SHA512 fd44590dfd148504c5ed1e67521efce50d84b627b7fc77015fa95dfa76d7a42297c56cc89eff40181809732024b16d48f2a87038cf435e0c63bc2b95ecd86b0f
30
31 diff --git a/sys-boot/systemd-boot/files/233-Force-libsystemd-shared-to-be-static.patch b/sys-boot/systemd-boot/files/233-Force-libsystemd-shared-to-be-static.patch
32 deleted file mode 100644
33 index b837890f616..00000000000
34 --- a/sys-boot/systemd-boot/files/233-Force-libsystemd-shared-to-be-static.patch
35 +++ /dev/null
36 @@ -1,25 +0,0 @@
37 -From 5aefd5fddd2af5f979ece96cda8ed1ab0492709c Mon Sep 17 00:00:00 2001
38 -From: Mike Gilbert <floppym@g.o>
39 -Date: Tue, 30 May 2017 14:05:41 -0400
40 -Subject: [PATCH] Force libsystemd-shared to be static
41 -
42 ----
43 - Makefile.am | 2 +-
44 - 1 file changed, 1 insertion(+), 1 deletion(-)
45 -
46 -diff --git a/Makefile.am b/Makefile.am
47 -index 2a5610740..4e95cb316 100644
48 ---- a/Makefile.am
49 -+++ b/Makefile.am
50 -@@ -1145,7 +1145,7 @@ libshared_la_LIBADD = \
51 - $(BLKID_LIBS) \
52 - $(LIBCRYPTSETUP_LIBS)
53 -
54 --rootlibexec_LTLIBRARIES += \
55 -+noinst_LTLIBRARIES += \
56 - libsystemd-shared.la
57 -
58 - libsystemd_shared_la_SOURCES = \
59 ---
60 -2.13.0
61 -
62
63 diff --git a/sys-boot/systemd-boot/files/235-libshared-static.patch b/sys-boot/systemd-boot/files/235-libshared-static.patch
64 deleted file mode 100644
65 index 2a0bf678539..00000000000
66 --- a/sys-boot/systemd-boot/files/235-libshared-static.patch
67 +++ /dev/null
68 @@ -1,24 +0,0 @@
69 ---- a/meson.build
70 -+++ b/meson.build
71 -@@ -1505,9 +1505,8 @@ if conf.get('ENABLE_EFI') == 1 and conf.get('HAVE_BLKID') == 1
72 - exe = executable('bootctl',
73 - 'src/boot/bootctl.c',
74 - include_directories : includes,
75 -- link_with : [libshared],
76 -+ link_with : [libshared_static],
77 - dependencies : [libblkid],
78 -- install_rpath : rootlibexecdir,
79 - install : true)
80 - public_programs += [exe]
81 - endif
82 -diff --git a/src/shared/meson.build b/src/shared/meson.build
83 -index 883821352..b560e65c9 100644
84 ---- a/src/shared/meson.build
85 -+++ b/src/shared/meson.build
86 -@@ -157,5 +157,6 @@ libshared_static = static_library(
87 - libshared_name,
88 - shared_sources,
89 - basic_sources,
90 -+ libsystemd_internal_sources,
91 - include_directories : includes,
92 - dependencies : libshared_deps)
93
94 diff --git a/sys-boot/systemd-boot/systemd-boot-233.ebuild b/sys-boot/systemd-boot/systemd-boot-233.ebuild
95 deleted file mode 100644
96 index 313b919e089..00000000000
97 --- a/sys-boot/systemd-boot/systemd-boot-233.ebuild
98 +++ /dev/null
99 @@ -1,111 +0,0 @@
100 -# Copyright 1999-2017 Gentoo Foundation
101 -# Distributed under the terms of the GNU General Public License v2
102 -
103 -EAPI=6
104 -
105 -inherit autotools toolchain-funcs
106 -
107 -DESCRIPTION="UEFI boot manager from systemd (formerly gummiboot)"
108 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/"
109 -SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${PV}.tar.gz"
110 -
111 -LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
112 -SLOT="0"
113 -KEYWORDS="~amd64"
114 -IUSE=""
115 -RESTRICT="test"
116 -
117 -COMMON_DEPEND="
118 - >=sys-apps/util-linux-2.27.1
119 -"
120 -DEPEND="${COMMON_DEPEND}
121 - app-text/docbook-xml-dtd:4.2
122 - app-text/docbook-xml-dtd:4.5
123 - app-text/docbook-xsl-stylesheets
124 - dev-libs/libxslt:0
125 - >=dev-util/intltool-0.50
126 - dev-util/gperf
127 - >=sys-boot/gnu-efi-3.0.2
128 - sys-libs/libcap
129 - virtual/pkgconfig
130 -"
131 -RDEPEND="${COMMON_DEPEND}
132 - !sys-apps/systemd
133 -"
134 -
135 -S="${WORKDIR}/systemd-${PV}"
136 -
137 -PATCHES=(
138 - "${FILESDIR}"/233-Force-libsystemd-shared-to-be-static.patch
139 -)
140 -
141 -src_prepare() {
142 - default
143 - eautoreconf
144 -}
145 -
146 -src_configure() {
147 - local myeconfargs=(
148 - EFI_CC="$(tc-getPROG "EFI_CC CC" gcc)"
149 - cc_cv_CFLAGS__flto=no
150 - cc_cv_LDFLAGS__Wl__fuse_ld_gold=no
151 - --enable-blkid
152 - --enable-efi
153 - --enable-gnuefi
154 - --disable-acl
155 - --disable-apparmor
156 - --disable-audit
157 - --disable-bzip2
158 - --disable-elfutils
159 - --disable-gcrypt
160 - --disable-gnutls
161 - --disable-kmod
162 - --disable-libcryptsetup
163 - --disable-libcurl
164 - --disable-libidn
165 - --disable-lz4
166 - --disable-microhttpd
167 - --disable-myhostname
168 - --disable-pam
169 - --disable-qrencode
170 - --disable-seccomp
171 - --disable-selinux
172 - --disable-xkbcommon
173 - --disable-xz
174 - --disable-zlib
175 - )
176 - econf "${myeconfargs[@]}"
177 -}
178 -
179 -src_compile() {
180 - local targets=(
181 - bootctl
182 - man/bootctl.1
183 - man/kernel-install.8
184 - '$(bootlib_DATA)'
185 - )
186 - emake built-sources
187 - echo "gentoo: ${targets[*]}" | emake -f Makefile -f - gentoo
188 -}
189 -
190 -src_install() {
191 - local args=(
192 - DESTDIR="${D%/}"
193 -
194 - # bootctl
195 - bin_PROGRAMS=bootctl
196 - install-binPROGRAMS
197 -
198 - # kernel-install
199 - install-dist_binSCRIPTS
200 - install-dist_kernelinstallSCRIPTS
201 -
202 - man_MANS="man/bootctl.1 man/kernel-install.8"
203 - install-man1
204 - install-man8
205 -
206 - install-bootlibDATA
207 - )
208 - emake "${args[@]}"
209 - einstalldocs
210 -}
211
212 diff --git a/sys-boot/systemd-boot/systemd-boot-235.ebuild b/sys-boot/systemd-boot/systemd-boot-235.ebuild
213 deleted file mode 100644
214 index ff86b01e755..00000000000
215 --- a/sys-boot/systemd-boot/systemd-boot-235.ebuild
216 +++ /dev/null
217 @@ -1,108 +0,0 @@
218 -# Copyright 1999-2017 Gentoo Foundation
219 -# Distributed under the terms of the GNU General Public License v2
220 -
221 -EAPI=6
222 -
223 -inherit meson toolchain-funcs
224 -
225 -DESCRIPTION="UEFI boot manager from systemd (formerly gummiboot)"
226 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/"
227 -SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${PV}.tar.gz"
228 -
229 -LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
230 -SLOT="0"
231 -KEYWORDS="~amd64"
232 -IUSE=""
233 -RESTRICT="test"
234 -
235 -COMMON_DEPEND="
236 - >=sys-apps/util-linux-2.30
237 -"
238 -DEPEND="${COMMON_DEPEND}
239 - app-text/docbook-xml-dtd:4.2
240 - app-text/docbook-xml-dtd:4.5
241 - app-text/docbook-xsl-stylesheets
242 - dev-libs/libxslt:0
243 - >=dev-util/intltool-0.50
244 - dev-util/gperf
245 - >=sys-boot/gnu-efi-3.0.2
246 - sys-libs/libcap
247 - virtual/pkgconfig
248 -"
249 -RDEPEND="${COMMON_DEPEND}
250 - !sys-apps/systemd
251 -"
252 -
253 -S="${WORKDIR}/systemd-${PV}"
254 -
255 -PATCHES=(
256 - "${FILESDIR}/235-libshared-static.patch"
257 -)
258 -
259 -src_configure() {
260 - local emesonargs=(
261 - -D blkid=true
262 - -D efi=true
263 - -D gnu-efi=true
264 - -D efi-cc="$(tc-getCC)"
265 - -D efi-ld="$(tc-getLD)"
266 -
267 - -D acl=false
268 - -D apparmor=false
269 - -D audit=false
270 - -D bzip2=false
271 - -D elfutils=false
272 - -D gcrypt=false
273 - -D gnutls=false
274 - -D kmod=false
275 - -D libcryptsetup=false
276 - -D libcurl=false
277 - -D libidn=false
278 - -D libidn2=false
279 - -D libiptc=false
280 - -D lz4=false
281 - -D microhttpd=false
282 - -D myhostname=false
283 - -D pam=false
284 - -D qrencode=false
285 - -D seccomp=false
286 - -D selinux=false
287 - -D xkbcommon=false
288 - -D xz=false
289 - )
290 - meson_src_configure
291 -}
292 -
293 -set_efi_arch() {
294 - case "$(tc-arch)" in
295 - amd64) efi_arch=x64 ;;
296 - arm) efi_arch=arm ;;
297 - arm64) efi_arch=aa64 ;;
298 - x86) efi_arch=x86 ;;
299 - esac
300 -}
301 -
302 -src_compile() {
303 - local efi_arch
304 - set_efi_arch
305 - local targets=(
306 - bootctl
307 - man/bootctl.1
308 - man/kernel-install.8
309 - src/boot/efi/linux${efi_arch}.efi.stub
310 - src/boot/efi/systemd-boot${efi_arch}.efi
311 - )
312 - eninja -C "${BUILD_DIR}" "${targets[@]}" || die
313 -}
314 -
315 -src_install() {
316 - local efi_arch
317 - set_efi_arch
318 - dobin "${BUILD_DIR}"/bootctl src/kernel-install/kernel-install
319 - doman "${BUILD_DIR}"/man/{bootctl.1,kernel-install.8}
320 - exeinto usr/lib/kernel/install.d
321 - doexe src/kernel-install/{50-depmod,90-loaderentry}.install
322 - insinto usr/lib/systemd/boot/efi
323 - doins "${BUILD_DIR}"/src/boot/efi/{linux${efi_arch}.efi.stub,systemd-boot${efi_arch}.efi}
324 - einstalldocs
325 -}
326
327 diff --git a/sys-boot/systemd-boot/systemd-boot-237.ebuild b/sys-boot/systemd-boot/systemd-boot-237.ebuild
328 deleted file mode 100644
329 index 48d61ac38b2..00000000000
330 --- a/sys-boot/systemd-boot/systemd-boot-237.ebuild
331 +++ /dev/null
332 @@ -1,110 +0,0 @@
333 -# Copyright 1999-2018 Gentoo Foundation
334 -# Distributed under the terms of the GNU General Public License v2
335 -
336 -EAPI=6
337 -
338 -inherit meson toolchain-funcs
339 -
340 -DESCRIPTION="UEFI boot manager from systemd (formerly gummiboot)"
341 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/"
342 -SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${PV}.tar.gz"
343 -
344 -LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
345 -SLOT="0"
346 -KEYWORDS="~amd64"
347 -IUSE=""
348 -RESTRICT="test"
349 -
350 -COMMON_DEPEND="
351 - >=sys-apps/util-linux-2.30
352 -"
353 -DEPEND="${COMMON_DEPEND}
354 - app-text/docbook-xml-dtd:4.2
355 - app-text/docbook-xml-dtd:4.5
356 - app-text/docbook-xsl-stylesheets
357 - dev-libs/libxslt:0
358 - >=dev-util/intltool-0.50
359 - dev-util/gperf
360 - >=sys-boot/gnu-efi-3.0.2
361 - sys-libs/libcap
362 - virtual/pkgconfig
363 -"
364 -RDEPEND="${COMMON_DEPEND}
365 - !sys-apps/systemd
366 -"
367 -
368 -S="${WORKDIR}/systemd-${PV}"
369 -
370 -PATCHES=(
371 - "${FILESDIR}/237-libshared-static.patch"
372 -)
373 -
374 -src_configure() {
375 - local emesonargs=(
376 - -D blkid=true
377 - -D efi=true
378 - -D gnu-efi=true
379 - -D efi-cc="$(tc-getCC)"
380 - -D efi-ld="$(tc-getLD)"
381 - -D split-usr=true
382 - -D rootprefix="${EPREFIX:-/}"
383 -
384 - -D acl=false
385 - -D apparmor=false
386 - -D audit=false
387 - -D bzip2=false
388 - -D elfutils=false
389 - -D gcrypt=false
390 - -D gnutls=false
391 - -D kmod=false
392 - -D libcryptsetup=false
393 - -D libcurl=false
394 - -D libidn=false
395 - -D libidn2=false
396 - -D libiptc=false
397 - -D lz4=false
398 - -D microhttpd=false
399 - -D myhostname=false
400 - -D pam=false
401 - -D qrencode=false
402 - -D seccomp=false
403 - -D selinux=false
404 - -D xkbcommon=false
405 - -D xz=false
406 - )
407 - meson_src_configure
408 -}
409 -
410 -set_efi_arch() {
411 - case "$(tc-arch)" in
412 - amd64) efi_arch=x64 ;;
413 - arm) efi_arch=arm ;;
414 - arm64) efi_arch=aa64 ;;
415 - x86) efi_arch=x86 ;;
416 - esac
417 -}
418 -
419 -src_compile() {
420 - local efi_arch
421 - set_efi_arch
422 - local targets=(
423 - bootctl
424 - man/bootctl.1
425 - man/kernel-install.8
426 - src/boot/efi/linux${efi_arch}.efi.stub
427 - src/boot/efi/systemd-boot${efi_arch}.efi
428 - )
429 - eninja -C "${BUILD_DIR}" "${targets[@]}" || die
430 -}
431 -
432 -src_install() {
433 - local efi_arch
434 - set_efi_arch
435 - dobin "${BUILD_DIR}"/bootctl src/kernel-install/kernel-install
436 - doman "${BUILD_DIR}"/man/{bootctl.1,kernel-install.8}
437 - exeinto usr/lib/kernel/install.d
438 - doexe src/kernel-install/{50-depmod,90-loaderentry}.install
439 - insinto usr/lib/systemd/boot/efi
440 - doins "${BUILD_DIR}"/src/boot/efi/{linux${efi_arch}.efi.stub,systemd-boot${efi_arch}.efi}
441 - einstalldocs
442 -}