From: "Ian Delaney" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/refind/
Date: Mon, 21 Sep 2015 03:54:03 +0000 (UTC) [thread overview]
Message-ID: <1442807618.7cf329c650af9be1178a6df6f950a9e64aebea69.idella4@gentoo> (raw)
commit: 7cf329c650af9be1178a6df6f950a9e64aebea69
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 03:53:38 2015 +0000
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 03:53:38 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cf329c6
sys-boot/refind: bump to -0.9.2, ebuild a live / versioned combo
sourced fron, and closes, bug #560962
Package-Manager: portage-2.2.20.1
sys-boot/refind/Manifest | 1 +
sys-boot/refind/refind-0.9.2.ebuild | 101 ++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
diff --git a/sys-boot/refind/Manifest b/sys-boot/refind/Manifest
index d2c33c7..01fdfe6 100644
--- a/sys-boot/refind/Manifest
+++ b/sys-boot/refind/Manifest
@@ -1 +1,2 @@
DIST refind-src-0.9.0.zip 2939724 SHA256 842a01d7964bc8c8000a66e6d08f6fadb4c257d251b1277cebff0bf731e024aa SHA512 c49e3110e6b9f8d44dadae1ab828d3bf59bbce2da9170efed73db961135144ae9963b57d4cc39af2b15ecdf1f289359bda56c3d3e8f72d05be165ae5a3e2654d WHIRLPOOL 225a6b84ea7044e8fe0bab5e268c8c46a4523ab6f408d1bb2a94adfe54afe80c9c83ec0dc104945b332ae6c375c9d041972dee39baa43665588eb0dfc1fe4362
+DIST refind-src-0.9.2.zip 2941986 SHA256 9022da3d46493395c273e2d2fc555d1c786fb1b9c11b2912751a88fe3328212a SHA512 6636cf02bb69ffe699d5f9717d09b80db0e4330aa52c14949e8612caed11f032370db17700c15d285173729271d2434fd0fbc39f5b445a3c05255ee14d125d47 WHIRLPOOL 2d81427bf6cc9cf021a4ffc7238bcf914e380fea091cbefaa601e391cf28f43f7c3ef1181744e4aab3d71d2535d88ba633b13cdae696f0baddd26d3c2511a88d
diff --git a/sys-boot/refind/refind-0.9.2.ebuild b/sys-boot/refind/refind-0.9.2.ebuild
new file mode 100644
index 0000000..7520444
--- /dev/null
+++ b/sys-boot/refind/refind-0.9.2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="git://git.code.sf.net/p/refind/code"
+else
+ SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip"
+ KEYWORDS="~x86 ~amd64"
+fi
+
+DESCRIPTION="The rEFInd UEFI Boot Manager by Rod Smith"
+HOMEPAGE="http://www.rodsbooks.com/refind/index.html"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="btrfs +ext2 +ext4 hfs +iso9660 ntfs reiserfs"
+
+DOCS="NEWS.txt README.txt docs/refind docs/Styles"
+
+DEPEND=">=sys-boot/gnu-efi-3.0u"
+
+src_prepare() {
+ # bug 560280: Relocate the install location of refind.conf-sample
+ local oldstring="\$RefindDir\/refind.conf-sample"
+ local newstring="\/usr\/share\/doc\/${PF}\/refind.conf-sample"
+ sed -e "s/$oldstring/$newstring/" -i install.sh || die
+
+ epatch_user
+}
+
+src_compile() {
+ emake gnuefi
+
+ pushd "${S}/filesystems" > /dev/null
+ for fs in ${IUSE}; do
+ fs=${fs#+}
+ if use "${fs}"; then
+ einfo "Building ${fs} filesystem driver"
+ rm -f fsw_efi.o
+
+ # ARCH detection in the Makefile not working
+ use x86 && buildarch=ia32
+ use amd64 && buildarch=x86_64
+ emake DRIVERNAME=${fs} ARCH=${buildarch} -f Make.gnuefi
+ fi
+ done
+ popd > /dev/null
+}
+
+src_install() {
+ exeinto "/usr/share/${P}"
+ doexe install.sh
+
+ dodoc -r ${DOCS}
+
+ dodoc refind.conf-sample
+ docompress -x /usr/share/doc/${PF}/refind.conf-sample
+
+ insinto "/usr/share/${P}/refind"
+ use x86 && doins refind/refind_ia32.efi
+ use amd64 && doins refind/refind_x64.efi
+
+ use x86 && filearch=ia32
+ use amd64 && filearch=x64
+ insinto "/usr/share/${P}/refind/drivers_${filearch}"
+ for fs in ${IUSE}; do
+ fs=${fs#+}
+ if use "${fs}"; then
+ doins "drivers_${filearch}/${fs}_${filearch}.efi"
+ fi
+ done
+
+ insinto "/usr/share/${P}/refind"
+ doins -r images icons fonts banners
+
+ insinto "/usr/share/${P}/keys"
+ doins keys/*
+}
+
+pkg_postinst() {
+ elog "EFI executables have been built and installed into /usr/share/${P}"
+ elog "You will need to use the provided install script 'install.sh' or"
+ elog "manually install the binaries into your EFI System Partition"
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog ""
+ elog "For key generation and binary signing for use with SecureBoot, the"
+ elog "package app-crypt/sbsigntool can be installed"
+ elog ""
+ elog "A sample configration can be found at"
+ elog "/usr/share/doc/${PF}/refind.conf-sample"
+ else
+ ewarn "Note that this will not update any EFI binaries on your EFI"
+ ewarn "System Partition - this needs to be done manually."
+ fi
+}
next reply other threads:[~2015-09-21 3:54 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 3:54 Ian Delaney [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-15 4:54 [gentoo-commits] repo/gentoo:master commit in: sys-boot/refind/ Viorel Munteanu
2024-10-08 5:18 Viorel Munteanu
2024-09-30 14:06 Sam James
2024-09-30 14:06 Sam James
2024-08-28 15:14 Viorel Munteanu
2024-08-25 9:51 Arthur Zamarin
2024-08-25 9:51 Arthur Zamarin
2024-06-17 19:01 Viorel Munteanu
2024-06-05 4:47 Viorel Munteanu
2024-06-05 4:47 Viorel Munteanu
2024-06-05 4:47 Viorel Munteanu
2023-10-17 6:09 Joonas Niilola
2023-10-17 6:09 Joonas Niilola
2023-09-07 9:58 Viorel Munteanu
2023-07-20 11:33 Andrew Ammerlaan
2022-05-18 15:30 Joonas Niilola
2021-12-07 6:26 Agostino Sarubbo
2021-12-05 22:04 Sam James
2021-03-23 9:21 Joonas Niilola
2021-01-20 9:29 Sam James
2021-01-19 14:24 Sam James
2021-01-10 18:30 Sam James
2020-12-07 7:36 Joonas Niilola
2020-07-30 21:12 Marek Szuba
2020-04-30 12:00 Joonas Niilola
2020-04-30 12:00 Joonas Niilola
2019-11-12 10:45 Agostino Sarubbo
2019-11-12 10:05 Agostino Sarubbo
2018-09-02 0:46 Sam Jorna
2018-08-30 9:12 Sam Jorna
2018-08-30 9:12 Sam Jorna
2018-04-27 9:23 Sam Jorna
2018-04-23 13:01 Sam Jorna
2018-03-25 17:57 Mikle Kolyada
2018-01-03 13:43 Patrice Clement
2017-07-11 13:10 Michael Palimaka
2017-05-15 11:02 Sam Jorna
2017-04-28 0:36 Sam Jorna
2017-04-23 23:29 Sam Jorna
2016-12-22 5:10 Aaron Bauman
2016-12-14 22:38 Sam Jorna
2016-12-14 22:38 Sam Jorna
2016-12-14 22:38 Sam Jorna
2016-11-06 16:24 Göktürk Yüksek
2016-11-06 16:24 Göktürk Yüksek
2016-11-06 16:24 Göktürk Yüksek
2016-10-25 2:48 Göktürk Yüksek
2016-10-25 2:48 Göktürk Yüksek
2016-10-25 2:48 Göktürk Yüksek
2016-10-25 2:48 Göktürk Yüksek
2016-03-15 8:53 Sam Jorna
2016-03-14 23:37 Sam Jorna
2015-09-17 14:46 Ian Delaney
2015-08-26 5:15 Ian Delaney
2015-08-26 3:46 Ian Delaney
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=1442807618.7cf329c650af9be1178a6df6f950a9e64aebea69.idella4@gentoo \
--to=idella4@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