svn commit: r332589 - in head/sysutils: . grub2-bhyve
Kris Moore
kmoore at FreeBSD.org
Sun Nov 3 05:12:01 UTC 2013
Author: kmoore
Date: Sun Nov 3 05:11:59 2013
New Revision: 332589
URL: http://svnweb.freebsd.org/changeset/ports/332589
Log:
- Add sysutils/grub2-bhyve 0.2
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
Added:
head/sysutils/grub2-bhyve/
head/sysutils/grub2-bhyve/Makefile (contents, props changed)
head/sysutils/grub2-bhyve/distinfo (contents, props changed)
head/sysutils/grub2-bhyve/pkg-descr (contents, props changed)
head/sysutils/grub2-bhyve/pkg-plist (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Sun Nov 3 05:10:47 2013 (r332588)
+++ head/sysutils/Makefile Sun Nov 3 05:11:59 2013 (r332589)
@@ -350,6 +350,7 @@
SUBDIR += graveman
SUBDIR += grok
SUBDIR += grub2
+ SUBDIR += grub2-bhyve
SUBDIR += grub2-efi
SUBDIR += gsmartcontrol
SUBDIR += gstopd
Added: head/sysutils/grub2-bhyve/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/grub2-bhyve/Makefile Sun Nov 3 05:11:59 2013 (r332589)
@@ -0,0 +1,43 @@
+# Created by: kmoore at 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 at 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>
Added: head/sysutils/grub2-bhyve/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/grub2-bhyve/distinfo Sun Nov 3 05:11:59 2013 (r332589)
@@ -0,0 +1,2 @@
+SHA256 (grub2-bhyve-0.2.tar.gz) = 04ca6eba5f98cc5a9b2390c9bbea1c27eb131a6147820c138ccd939220fc51bd
+SIZE (grub2-bhyve-0.2.tar.gz) = 8392664
Added: head/sysutils/grub2-bhyve/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/grub2-bhyve/pkg-descr Sun Nov 3 05:11:59 2013 (r332589)
@@ -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
Added: head/sysutils/grub2-bhyve/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/grub2-bhyve/pkg-plist Sun Nov 3 05:11:59 2013 (r332589)
@@ -0,0 +1 @@
+sbin/grub-bhyve
More information about the svn-ports-head
mailing list