[Midnightbsd-cvs] mports [23620] trunk/sysutils: add grub2-bhyve

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jul 21 19:50:29 EDT 2018


Revision: 23620
          http://svnweb.midnightbsd.org/mports/?rev=23620
Author:   laffer1
Date:     2018-07-21 19:50:28 -0400 (Sat, 21 Jul 2018)
Log Message:
-----------
add grub2-bhyve

Modified Paths:
--------------
    trunk/sysutils/Makefile

Added Paths:
-----------
    trunk/sysutils/grub2-bhyve/
    trunk/sysutils/grub2-bhyve/Makefile
    trunk/sysutils/grub2-bhyve/distinfo
    trunk/sysutils/grub2-bhyve/pkg-descr

Modified: trunk/sysutils/Makefile
===================================================================
--- trunk/sysutils/Makefile	2018-07-21 23:01:52 UTC (rev 23619)
+++ trunk/sysutils/Makefile	2018-07-21 23:50:28 UTC (rev 23620)
@@ -54,6 +54,7 @@
 SUBDIR += gnome-settings-daemon
 SUBDIR += gnome-system-monitor
 SUBDIR += gnome_subr
+SUBDIR += grub2-bhyve
 SUBDIR += gstreamer-plugins-hal
 SUBDIR += hal
 SUBDIR += hal-info

Added: trunk/sysutils/grub2-bhyve/Makefile
===================================================================
--- trunk/sysutils/grub2-bhyve/Makefile	                        (rev 0)
+++ trunk/sysutils/grub2-bhyve/Makefile	2018-07-21 23:50:28 UTC (rev 23620)
@@ -0,0 +1,43 @@
+# Created by: kmoore at FreeBSD.org
+# $FreeBSD: head/sysutils/grub2-bhyve/Makefile 449591 2017-09-10 20:55:38Z gerald $
+# $MidnightBSD$
+
+PORTNAME=	grub2-bhyve
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.40
+PORTREVISION=	3
+CATEGORIES=	sysutils
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Grub-emu loader for bhyve
+
+LICENSE=	gpl3
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/flex:textproc/flex \
+		help2man:misc/help2man
+
+ONLY_FOR_ARCHS=	amd64
+SSP_UNSAFE=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	grehan-freebsd
+USES=		bison gmake
+USE_GCC=	yes
+PLIST_FILES=	sbin/grub-bhyve
+MAKE_JOBS_UNSAFE=	yes
+CONFIGURE_ARGS=	--with-platform=emu CC=${CC} LEX=${LOCALBASE}/bin/flex \
+		--enable-grub-mount=no --enable-grub-mkfont=no \
+		--enable-grub-emu-sdl=no --disable-nls --disable-werror
+
+post-patch:
+	@${REINPLACE_CMD} -e "s/libintl\.h/I_do_not_want_libintl.h/g" ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e "s/-lintl//g" ${WRKSRC}/grub-core/Makefile.in
+
+do-configure:
+	@ cd ${WRKSRC}/ && ./configure ${CONFIGURE_ARGS}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/grub-core/grub-emu ${STAGEDIR}${LOCALBASE}/sbin/grub-bhyve
+
+.include <bsd.port.mk>
+
+RUN_DEPENDS:=	${RUN_DEPENDS:Ngcc*}


Property changes on: trunk/sysutils/grub2-bhyve/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/sysutils/grub2-bhyve/distinfo
===================================================================
--- trunk/sysutils/grub2-bhyve/distinfo	                        (rev 0)
+++ trunk/sysutils/grub2-bhyve/distinfo	2018-07-21 23:50:28 UTC (rev 23620)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1532202578
+SHA256 (grub2-bhyve-v0.40_GH0.tar.gz) = 7cf3547d816e925f53b0790abd4633da72126d8271ae210d0f348ad63f4f6d34
+SIZE (grub2-bhyve-v0.40_GH0.tar.gz) = 8380492


Property changes on: trunk/sysutils/grub2-bhyve/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/sysutils/grub2-bhyve/pkg-descr
===================================================================
--- trunk/sysutils/grub2-bhyve/pkg-descr	                        (rev 0)
+++ trunk/sysutils/grub2-bhyve/pkg-descr	2018-07-21 23:50:28 UTC (rev 23620)
@@ -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


Property changes on: trunk/sysutils/grub2-bhyve/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list