From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 79E8A139936 for ; Wed, 26 Aug 2015 03:46:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0C60E084C; Wed, 26 Aug 2015 03:46:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 44C57E084C for ; Wed, 26 Aug 2015 03:46:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF292340A35 for ; Wed, 26 Aug 2015 03:46:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3618C162 for ; Wed, 26 Aug 2015 03:46:51 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1440560763.5ff4b13a46f5c8f2ea70aa227cb95b22b7a89d24.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/refind/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/refind/Manifest sys-boot/refind/metadata.xml sys-boot/refind/refind-0.9.0.ebuild sys-boot/refind/thiisthing X-VCS-Directories: sys-boot/refind/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: 5ff4b13a46f5c8f2ea70aa227cb95b22b7a89d24 X-VCS-Branch: master Date: Wed, 26 Aug 2015 03:46:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6be83f1a-0ee5-441e-a422-f84860417a92 X-Archives-Hash: da1a14b6fc069ade925eea1efbbe4450 commit: 5ff4b13a46f5c8f2ea70aa227cb95b22b7a89d24 Author: Ian Delaney gentoo org> AuthorDate: Wed Aug 26 03:44:16 2015 +0000 Commit: Ian Delaney gentoo org> CommitDate: Wed Aug 26 03:46:03 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff4b13a sys-boot/refind: new package added by new proxy maintainer 'wraeth' Source of ebuild and metadata from bug #435960, closes said bug. Added under the proxy-maint herd. Package-Manager: portage-2.2.20 sys-boot/refind/Manifest | 1 + sys-boot/refind/metadata.xml | 20 ++++++++++ sys-boot/refind/refind-0.9.0.ebuild | 76 +++++++++++++++++++++++++++++++++++++ sys-boot/refind/thiisthing | 0 4 files changed, 97 insertions(+) diff --git a/sys-boot/refind/Manifest b/sys-boot/refind/Manifest new file mode 100644 index 0000000..d2c33c7 --- /dev/null +++ b/sys-boot/refind/Manifest @@ -0,0 +1 @@ +DIST refind-src-0.9.0.zip 2939724 SHA256 842a01d7964bc8c8000a66e6d08f6fadb4c257d251b1277cebff0bf731e024aa SHA512 c49e3110e6b9f8d44dadae1ab828d3bf59bbce2da9170efed73db961135144ae9963b57d4cc39af2b15ecdf1f289359bda56c3d3e8f72d05be165ae5a3e2654d WHIRLPOOL 225a6b84ea7044e8fe0bab5e268c8c46a4523ab6f408d1bb2a94adfe54afe80c9c83ec0dc104945b332ae6c375c9d041972dee39baa43665588eb0dfc1fe4362 diff --git a/sys-boot/refind/metadata.xml b/sys-boot/refind/metadata.xml new file mode 100644 index 0000000..3af998e --- /dev/null +++ b/sys-boot/refind/metadata.xml @@ -0,0 +1,20 @@ + + + + proxy-maintainers + + wraeth@wraeth.id.au + Sam Jorna + Proxy - Maintainer. Assign bugs to him + + EFI Boot Manager + + Builds the EFI binary ext2 filesystem driver + Builds the EFI binary ext4 filesystem driver + Builds the EFI binary reiserfs filesystem driver + Builds the EFI binary iso9660 filesystem driver + Builds the EFI binary hfs filesystem driver + Builds the EFI binary btrfs filesystem driver + Builds the EFI binary ntfs filesystem driver + + diff --git a/sys-boot/refind/refind-0.9.0.ebuild b/sys-boot/refind/refind-0.9.0.ebuild new file mode 100644 index 0000000..2b763a7 --- /dev/null +++ b/sys-boot/refind/refind-0.9.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +DESCRIPTION="The rEFInd UEFI Boot Manager by Rod Smith" +HOMEPAGE="http://www.rodsbooks.com/refind/index.html" +SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="btrfs +ext2 +ext4 hfs +iso9660 ntfs reiserfs" + +DOCS="BUILDING.txt NEWS.txt README.txt refind.conf-sample {refind,Styles}" + +DEPEND=">=sys-boot/gnu-efi-3.0u" +RDEPEND="" + +src_compile() { + emake gnuefi || die "Failed to build refind EFI binary" + + cd "${S}/filesystems" + for fs in ext2 ext4 reiserfs iso9660 hfs btrfs ; do + 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 || die "Failed building ${fs} filesystem EFI binary" + fi + done +} + +src_install() { + exeinto "/usr/share/${P}" + doexe install.sh + + dodoc -r ${DOCS} + + 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 ext2 ext4 reiserfs iso9660 hfs btrfs ; do + if use "${fs}" ; then doins "drivers_${filearch}/${fs}_${filearch}.efi" ; fi + done + + for dir in images icons fonts banners ; do + insinto "/usr/share/${P}/refind/${dir}" + doins -r "${dir}" + done + + insinto "/usr/share/${P}/keys" + doins keys/* +} + +pkg_postinst() { + einfo "" + einfo "EFI executables have been built and installed into /usr/share/${P}" + einfo "You will need to use the provided install script 'install.sh' or" + einfo "manually install the binaries into your EFI System Partition." + einfo "" + einfo "For key generation and binary signing for use with SecureBoot, the" + einfo "package app-crypt/sbsigntool can be installed." + einfo "" + einfo "A sample configration can be found at" + einfo "/usr/share/doc/${P}/refind.conf-sample.bz2" + einfo "" +} diff --git a/sys-boot/refind/thiisthing b/sys-boot/refind/thiisthing new file mode 100644 index 0000000..e69de29