diff options
author | Kris Moore <kmoore@FreeBSD.org> | 2013-11-03 05:11:59 +0000 |
---|---|---|
committer | Kris Moore <kmoore@FreeBSD.org> | 2013-11-03 05:11:59 +0000 |
commit | c9c8fe237a07cf0809c782652372ed58442ef9e9 (patch) | |
tree | 437545de890babf6b762398a972d848158d3bdad /sysutils | |
parent | 048e9d8b39976039d04938e2b720e042333656a9 (diff) |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/grub2-bhyve/Makefile | 43 | ||||
-rw-r--r-- | sysutils/grub2-bhyve/distinfo | 2 | ||||
-rw-r--r-- | sysutils/grub2-bhyve/pkg-descr | 8 | ||||
-rw-r--r-- | sysutils/grub2-bhyve/pkg-plist | 1 |
5 files changed, 55 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index c4639c43a20c..4747ff749fbf 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -350,6 +350,7 @@ SUBDIR += graveman SUBDIR += grok SUBDIR += grub2 + SUBDIR += grub2-bhyve SUBDIR += grub2-efi SUBDIR += gsmartcontrol SUBDIR += gstopd diff --git a/sysutils/grub2-bhyve/Makefile b/sysutils/grub2-bhyve/Makefile new file mode 100644 index 000000000000..37a234508532 --- /dev/null +++ b/sysutils/grub2-bhyve/Makefile @@ -0,0 +1,43 @@ +# Created by: kmoore@FreeBSD.org +# $FreeBSD$ + +PORTNAME= grub2-bhyve +DISTVERSION= 0.2 +CATEGORIES= sysutils +MASTER_SITES= http://github.com/${GH_ACCOUNT}/${PORTNAME}/archive/v${DISTVERSION}.tar.gz?dummy=/ + +MAINTAINER= kmoore@FreeBSD.org +COMMENT= Grub-emu loader for bhyve + +LICENSE= GPLv3 + +BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \ + help2man:${PORTSDIR}/misc/help2man + +SSP_UNSAFE= yes +USE_GCC= 4.7 +USE_GMAKE= yes +USE_GITHUB= yes +GH_ACCOUNT= grehan-freebsd +USES= bison gettext +ONLY_FOR_ARCHS= amd64 +MAKE_JOBS_UNSAFE= yes +CONFIGURE_ARGS= --with-platform=emu CC=gcc47 LEX=${LOCALBASE}/bin/flex --enable-grub-mount=no --enable-grub-mkfont=no +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} <= 1000000 +IGNORE= for FreeBSD 10 and higher +.endif + +do-configure: + @ cd ${WRKSRC}/ && ./configure ${CONFIGURE_ARGS} + +do-build: + @ cd ${WRKSRC}/ && ${GMAKE} + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve + +.include <bsd.port.post.mk> diff --git a/sysutils/grub2-bhyve/distinfo b/sysutils/grub2-bhyve/distinfo new file mode 100644 index 000000000000..8ce95e93bfa2 --- /dev/null +++ b/sysutils/grub2-bhyve/distinfo @@ -0,0 +1,2 @@ +SHA256 (grub2-bhyve-0.2.tar.gz) = 04ca6eba5f98cc5a9b2390c9bbea1c27eb131a6147820c138ccd939220fc51bd +SIZE (grub2-bhyve-0.2.tar.gz) = 8392664 diff --git a/sysutils/grub2-bhyve/pkg-descr b/sysutils/grub2-bhyve/pkg-descr new file mode 100644 index 000000000000..958f6d9bba1f --- /dev/null +++ b/sysutils/grub2-bhyve/pkg-descr @@ -0,0 +1,8 @@ +GNU GRUB is a multiboot boot loader. It was derived from GRUB, the GRand +Unified Bootloader, which was originally designed and implemented by Erich +Stefan Boleyn. + +This port builds the grub-bhyve binary, allowing booting of non-FreeBSD +operating systems in bhyve. + +WWW: https://github.com/grehan-freebsd/grub2-bhyve diff --git a/sysutils/grub2-bhyve/pkg-plist b/sysutils/grub2-bhyve/pkg-plist new file mode 100644 index 000000000000..8bc8a614ef9f --- /dev/null +++ b/sysutils/grub2-bhyve/pkg-plist @@ -0,0 +1 @@ +sbin/grub-bhyve |