add bacl refit
This commit is contained in:
32
sys-boot/refit/ChangeLog
Normal file
32
sys-boot/refit/ChangeLog
Normal file
@@ -0,0 +1,32 @@
|
||||
# ChangeLog for sys-boot/refit
|
||||
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
15 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild:
|
||||
propperly use the mount-efi system
|
||||
|
||||
14 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild:
|
||||
correct small typos
|
||||
|
||||
12 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild:
|
||||
add proper depndencies
|
||||
|
||||
12 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild:
|
||||
change default install dir
|
||||
|
||||
12 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild:
|
||||
respect cc
|
||||
|
||||
12 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild:
|
||||
add gptsync.efi
|
||||
|
||||
12 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild:
|
||||
add man pages
|
||||
|
||||
12 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild:
|
||||
respect ldflags
|
||||
|
||||
12 Nov 2010; Mario Fetka <mario.fetka@gmail.com> refit-0.14.2.ebuild,
|
||||
+metadata.xml:
|
||||
initial checkin
|
||||
|
||||
5
sys-boot/refit/Manifest
Normal file
5
sys-boot/refit/Manifest
Normal file
@@ -0,0 +1,5 @@
|
||||
DIST refit_0.14-2.debian.tar.gz 42302 SHA256 5418b9d6645453ac53e831c59a255ecfe85a09038e0d5d08fc1a55cf6fb087a3 SHA512 5fe1920083997ed42f77671793432e151e5fa685c5e580c8793d3bcc324ee55245146c353c2c76a9b56c6a46e9be710301f8c4d7168cf0b8a72e9681e49ff80f WHIRLPOOL 20929da76f9c4f92ee98cf1c918a0aa384ad4283bd723f3e48fe91a581142c1d2a8c11d6f99ef455317630ffec627e5d63b28c6bf63a8dfc07d2864aaf9d949a
|
||||
DIST refit_0.14.orig.tar.gz 625164 SHA256 0101ac403c3a8c90813df20726c9e76a58515ca7d1a35a7b2ab42eaf28e25e1e SHA512 3e043437f1568cd2c59b0ea386134b573a65d724032dfb6e2ea49e8aefdb9bea68a03d881702ca34df1bdc4872bed5c91f240cba4e1fd8500a1d0bf5a3e63506 WHIRLPOOL 980952d532c1fd1a55570ab1f7943fe1d1adfc9eb68fdcfe37e2f54388800e33592f55d3ea979f4d7fd8a8ac57f66fdc8ff2f9a4e1cfc54822cf971810f993ad
|
||||
EBUILD refit-0.14.2.ebuild 2598 SHA256 f5b8a5eb27066e746e9cb0ac4edc593bb087a2d03c3cf4cc8184af05398c4f02 SHA512 bfb14f2928c8345da4afad380acdddae9977a300d549678299fa717967b47dbb1db6cf3437535d7f77b9b99ffa75be20f933716392cff59d5ac9904b31e5389e WHIRLPOOL c9c0676f1d572962d76c51648243ff460e89a61330822037c80614c011f5fa9f460465ae998f9574a78fadb4f59be8e22c763c18e865c63a20b8f2f58bc89bc0
|
||||
MISC ChangeLog 985 SHA256 5b3251a1e7cfba68a6456c7be17b401e309cb137ecc6871e96175e20351682b1 SHA512 780c930597f7f4df5ddb276bf88165ea9dba3cef04398a628b30a7828431315139923d1b20517e4341bdeeb36775bc0aeb9b527049dc191e00422e3fcd77570a WHIRLPOOL a8d889bac87d6b4a41ead9ad1db7cbaac809ef65d0b7267c77013c18faf5eff3a42dd9d934e810131206e8b32825b38dbc9d9732695dc7fa36897652dd527046
|
||||
MISC metadata.xml 226 SHA256 a9d3f7df2362a9a7ddcbe05c5d97d726eeb4bab135b21643508149a08bf6a2b2 SHA512 5912920d8f6e9ee5126fb0aaa5717a562feb009cc59b759c6a6eaa909900b19e95e51e3aa7f32fdf2e77073b19878830b97947148e3adeff3b49e7555cfe29e9 WHIRLPOOL c07e2ddb648893f1e9c422e07b0b73a6d0f7e1c9501200b6fcc9d25fe68c3b05fe4f3523e6844067eeca6969973a44004e1ba8a6fa725591a1916648bd2d4834
|
||||
8
sys-boot/refit/metadata.xml
Normal file
8
sys-boot/refit/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>mario.fetka@gmail.com</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
90
sys-boot/refit/refit-0.14.2.ebuild
Normal file
90
sys-boot/refit/refit-0.14.2.ebuild
Normal file
@@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils versionator
|
||||
|
||||
MY_P="${PN}_${PV}"
|
||||
DESCRIPTION="graphical boot menu for ia32 and x64 EFI systems"
|
||||
HOMEPAGE="http://refit.sourceforge.net/"
|
||||
|
||||
# tarballs use debian versioning format
|
||||
MY_PN="refit"
|
||||
MY_PVR=$(replace_version_separator 2 '-' )
|
||||
MY_PV=${MY_PVR/-*/}
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_PV}"
|
||||
|
||||
SRC_URI_BASE="mirror://debian/pool/main/${MY_PN:0:1}/${MY_PN}/"
|
||||
SRC_URI="${SRC_URI_BASE}${MY_PN}_${MY_PV}.orig.tar.gz
|
||||
${SRC_URI_BASE}${MY_PN}_${MY_PVR}.debian.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=sys-boot/gnu-efi-0.3a
|
||||
sys-boot/syslinux"
|
||||
|
||||
RDEPEND="sys-boot/efibootmgr
|
||||
sys-fs/dosfstools"
|
||||
|
||||
src_prepare() {
|
||||
for f in $(<"${WORKDIR}"/debian/patches/series) ; do
|
||||
EPATCH_OPTS="-p1" epatch "${WORKDIR}"/debian/patches/$f
|
||||
done
|
||||
sed -e "s!\$(LIBEG)!!" -i refit/Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local iarch
|
||||
case $ARCH in
|
||||
x86) iarch=ia32 ;;
|
||||
amd64) iarch=x86_64 ;;
|
||||
*) die "unknown architecture: $ARCH" ;;
|
||||
esac
|
||||
|
||||
# Generate include/syslinux_mbr.h
|
||||
chmod +x "${WORKDIR}"/debian/mbr/mkmbrhdr.py
|
||||
"${WORKDIR}"/debian/mbr/mkmbrhdr.py /usr/share/syslinux/mbr.bin > include/syslinux_mbr.h
|
||||
|
||||
# Move the AA font in place
|
||||
cp -f "${WORKDIR}"/debian/font/egemb_font.h libeg/
|
||||
|
||||
# Build EFI applications don't add C/LDFLAGS
|
||||
emake -C libeg SRCDIR="${S}"/libeg CC="$(tc-getCC)" ARCH=${iarch} || die
|
||||
emake -C refit SRCDIR="${S}"/refit CC="$(tc-getCC)" ARCH=${iarch} DEBVER="${iarch} (Gentoo ${PVR})" || die
|
||||
emake -C gptsync -f Makefile.gnuefi CC="$(tc-getCC)" SRCDIR="${S}"/gptsync ARCH=${iarch} || die
|
||||
|
||||
# Build the gptsync command-line utility
|
||||
mkdir gptsync/buildux
|
||||
emake -C gptsync/buildux -f ../Makefile.unix SRCDIR="${S}"/gptsync CC="$(tc-getCC)" \
|
||||
CFLAGS="-Wall ${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin gptsync/buildux/gptsync
|
||||
dosbin gptsync/buildux/showpart
|
||||
|
||||
# install into the std location as used by other distributins
|
||||
# the efi partititon is mounted into /boot/efi
|
||||
# the efi bootloaders are installed into the EFI dir
|
||||
# the dir name is upper case for Windows compatibility
|
||||
# at the moment the onyl really supported filesystem on
|
||||
# all efi bootloader in the efi partition is fat32
|
||||
# (elilo, refit, grub-efi, ...)
|
||||
insinto /usr/share/${PN}
|
||||
doins refit/refit.efi
|
||||
insinto /usr/share/${PN}/tools
|
||||
doins gptsync/gptsync.efi
|
||||
insinto /usr/share/${PN}/${PN}
|
||||
doins -r icons
|
||||
doins images/vollabel/refit.vollabel
|
||||
doins refit.conf
|
||||
|
||||
doman gptsync/gptsync.8
|
||||
doman "${WORKDIR}"/debian/showpart.8
|
||||
}
|
||||
Reference in New Issue
Block a user