public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/systemd-boot/
Date: Sun, 28 Aug 2016 15:11:15 +0000 (UTC)	[thread overview]
Message-ID: <1472397049.ab87fe67fa6223fceb34f586df3e6ce1cd8a1819.floppym@gentoo> (raw)

commit:     ab87fe67fa6223fceb34f586df3e6ce1cd8a1819
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 28 15:09:53 2016 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Aug 28 15:10:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab87fe67

sys-boot/systemd-boot: replacement for sys-boot/gummiboot

Bug: https://bugs.gentoo.org/556734

Package-Manager: portage-2.3.0_p22

 sys-boot/systemd-boot/Manifest                |   1 +
 sys-boot/systemd-boot/metadata.xml            |   8 ++
 sys-boot/systemd-boot/systemd-boot-231.ebuild | 115 ++++++++++++++++++++++++++
 3 files changed, 124 insertions(+)

diff --git a/sys-boot/systemd-boot/Manifest b/sys-boot/systemd-boot/Manifest
new file mode 100644
index 00000000..b8044e3
--- /dev/null
+++ b/sys-boot/systemd-boot/Manifest
@@ -0,0 +1 @@
+DIST systemd-231.tar.gz 4381464 SHA256 899733ad6c157cedbb89aec4efe3bc824dcfd65a1d6f6bebc7b043f7924e39b4 SHA512 199fa33a0494d1d15f7fe3c796fe14913ad386766571d4d3fbb1cb1c446e04f6d06a965213be4c594a7183e810fc2fd4804fe14f64f21b0a1278b717889811c6 WHIRLPOOL 7779291e9fb9873cb1773b8583cf6d4b7dec837363ea89c4a73c1e397a76752b66f8b57d8fc4d9cef768cc1855b5e325ad88a8a69eb5380aa924e0a6dead41b1

diff --git a/sys-boot/systemd-boot/metadata.xml b/sys-boot/systemd-boot/metadata.xml
new file mode 100644
index 00000000..de09ffd
--- /dev/null
+++ b/sys-boot/systemd-boot/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>floppym@gentoo.org</email>
+		<name>Mike Gilbert</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/sys-boot/systemd-boot/systemd-boot-231.ebuild b/sys-boot/systemd-boot/systemd-boot-231.ebuild
new file mode 100644
index 00000000..c034512
--- /dev/null
+++ b/sys-boot/systemd-boot/systemd-boot-231.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit autotools eutils toolchain-funcs
+
+DESCRIPTION="UEFI boot manager from systemd (formerly gummiboot)"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/"
+SRC_URI="https://github.com/systemd/systemd/archive/v${PV}.tar.gz -> systemd-${PV}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 MIT public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+COMMON_DEPEND="
+	>=sys-apps/util-linux-2.27.1:0=
+	sys-libs/libcap:=
+"
+DEPEND="${COMMON_DEPEND}
+	app-text/docbook-xml-dtd:4.2
+	app-text/docbook-xsl-stylesheets
+	dev-libs/libxslt:0
+	>=dev-util/intltool-0.50
+	>=sys-boot/gnu-efi-3.0.2
+"
+RDEPEND="${COMMON_DEPEND}
+	!sys-apps/systemd
+"
+
+S="${WORKDIR}/systemd-${PV}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		EFI_CC="$(tc-getPROG "EFI_CC CC" gcc)"
+		cc_cv_CFLAGS__flto=no
+		cc_cv_LDFLAGS__Wl__fuse_ld_gold=no
+		--enable-blkid
+		--enable-efi
+		--enable-gnuefi
+		--disable-acl
+		--disable-apparmor
+		--disable-audit
+		--disable-bzip2
+		--disable-elfutils
+		--disable-gcrypt
+		--disable-gnutls
+		--disable-kmod
+		--disable-libcryptsetup
+		--disable-libcurl
+		--disable-libidn
+		--disable-lz4
+		--disable-microhttpd
+		--disable-myhostname
+		--disable-pam
+		--disable-qrencode
+		--disable-seccomp
+		--disable-selinux
+		--disable-xkbcommon
+		--disable-xz
+		--disable-zlib
+	)
+	econf "${myeconfargs[@]}"
+}
+
+efi-mt() {
+	case "$(tc-arch)" in
+		amd64) echo x64 ;;
+		arm64) echo aa64 ;;
+		x86) echo ia32 ;;
+		*) die "Unsupported arch" ;;
+	esac
+}
+
+src_compile() {
+	local args=(
+		libsystemd-shared.la
+		bootctl
+		man/bootctl.1
+		linux$(efi-mt).efi.stub
+		systemd-boot$(efi-mt).efi
+	)
+	emake built-sources
+	emake "${args[@]}"
+}
+
+src_install() {
+	local args=(
+		DESTDIR="${D%/}"
+
+		# libsystemd-shared
+		rootlibexec_LTLIBRARIES=libsystemd-shared.la
+		install-rootlibexecLTLIBRARIES
+
+		# bootctl
+		lib_LTLIBRARIES=
+		bin_PROGRAMS=bootctl
+		install-binPROGRAMS
+
+		man_MANS=man/bootctl.1
+		install-man1
+
+		install-bootlibDATA
+	)
+	emake "${args[@]}"
+	prune_libtool_files
+	einstalldocs
+}


             reply	other threads:[~2016-08-28 15:11 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-28 15:11 Mike Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-08-28 15:27 [gentoo-commits] repo/gentoo:master commit in: sys-boot/systemd-boot/ Mike Gilbert
2016-09-03 18:07 Mike Gilbert
2016-10-30 16:51 Mike Gilbert
2016-11-04 16:23 Mike Gilbert
2017-07-02 15:37 Mike Gilbert
2017-07-02 15:37 Mike Gilbert
2018-07-01 13:53 Mike Gilbert
2019-03-31 16:42 Mike Gilbert
2019-03-31 16:49 Mike Gilbert
2019-04-09 16:29 Mike Gilbert
2019-09-11 23:38 Mike Gilbert
2019-09-11 23:38 Mike Gilbert
2020-03-08  4:05 Mike Gilbert
2020-03-08  4:05 Mike Gilbert
2020-07-11 22:46 Mike Gilbert
2020-09-15 14:18 Mike Gilbert
2020-09-15 14:18 Mike Gilbert
2020-10-24  4:55 Georgy Yakovlev
2021-01-24 19:06 Mike Gilbert
2022-01-13  4:42 Sam James
2022-04-16 23:13 Mike Gilbert
2022-04-17  8:18 Sam James
2022-05-30 23:33 Sam James
2022-08-20 15:54 Arthur Zamarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1472397049.ab87fe67fa6223fceb34f586df3e6ce1cd8a1819.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox