summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-freebsd/grub2-bhyve/Manifest4
-rw-r--r--sys-freebsd/grub2-bhyve/grub2-bhyve-0.22.ebuild50
-rw-r--r--sys-freebsd/grub2-bhyve/grub2-bhyve-9999.ebuild50
-rw-r--r--sys-freebsd/grub2-bhyve/metadata.xml8
4 files changed, 112 insertions, 0 deletions
diff --git a/sys-freebsd/grub2-bhyve/Manifest b/sys-freebsd/grub2-bhyve/Manifest
new file mode 100644
index 0000000..9289180
--- /dev/null
+++ b/sys-freebsd/grub2-bhyve/Manifest
@@ -0,0 +1,4 @@
+DIST v0.22.tar.gz 8391981 SHA256 c1606f81ba5ee0c64469ae63cdaa64c09f20a4d292c8be28e5de013ce822e8e1 SHA512 c79a9d949748a09a2f8c6de066bb0c8b998fd2341080c0d97220acec4a2e491535ba38facda6863ba743572cca843286aaca58428f6cb481b73cee9c566c3c8f WHIRLPOOL 4b6347eba0930ef27300d6121013e43299f6352924cd8e5e78e233ad0029e21981428e501228725ed023c222c831a84e4084db6f1d1ece0082ca384a2f9436b0
+EBUILD grub2-bhyve-0.22.ebuild 981 SHA256 a16c1fe5ca88868ccb3b2397fb826f1958c356a7da6434a124e06b076adae7cd SHA512 b9ce134c726ae190e91b97c2952b2c2005e8ca42fcd6bad44c55f3002da12e65bf208a6dbd8f9ccfce3d737c6a82ef3a4e60f57b2082794741ef722ecb2db145 WHIRLPOOL e2f2074197e58e9f9ec8c7f6bd3c82d86bfa88ddf0e7984fb76c4792ef831dd6f5ad58249054e969d6aba7bdc98b1ebf628e6bbdc9d9b68b6c60fb1df56a476f
+EBUILD grub2-bhyve-9999.ebuild 981 SHA256 a16c1fe5ca88868ccb3b2397fb826f1958c356a7da6434a124e06b076adae7cd SHA512 b9ce134c726ae190e91b97c2952b2c2005e8ca42fcd6bad44c55f3002da12e65bf208a6dbd8f9ccfce3d737c6a82ef3a4e60f57b2082794741ef722ecb2db145 WHIRLPOOL e2f2074197e58e9f9ec8c7f6bd3c82d86bfa88ddf0e7984fb76c4792ef831dd6f5ad58249054e969d6aba7bdc98b1ebf628e6bbdc9d9b68b6c60fb1df56a476f
+MISC metadata.xml 223 SHA256 5c9860c4ce81b51fef51a6c5e87081bfd13e74ba452c27191a1abc0ca5ff0aa0 SHA512 3dc7fea8c9f850d63d4f9f24af639fb41d406c2e87439eb960c401412b37e7dc7ab6822d446ec113eb079aba30967391e95cd71dceb889753ed969bc51f6064e WHIRLPOOL 577570d1260a6ef86155c1647e3d90c18aa9b83a89027dcea28b70d22df60e413cee353083d7e915d81129f447772dc7dc4ea766e478a9cf363dabce5d9042de
diff --git a/sys-freebsd/grub2-bhyve/grub2-bhyve-0.22.ebuild b/sys-freebsd/grub2-bhyve/grub2-bhyve-0.22.ebuild
new file mode 100644
index 0000000..8616054
--- /dev/null
+++ b/sys-freebsd/grub2-bhyve/grub2-bhyve-0.22.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit autotools-utils
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-2
+ KEYWORDS=""
+ EGIT_REPO_URI="git://github.com/grehan-freebsd/grub2-bhyve.git"
+else
+ KEYWORDS="~amd64-fbsd"
+ SRC_URI="https://github.com/grehan-freebsd/grub2-bhyve/archive/v${PV}.tar.gz"
+fi
+
+DESCRIPTION="Grub-emu loader for bhyve"
+HOMEPAGE="https://github.com/grehan-freebsd/grub2-bhyve"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="zfs"
+
+RDEPEND="
+ >=sys-freebsd/freebsd-usbin-10.0
+ >=sys-libs/ncurses-5.2-r5
+ zfs? ( >=sys-freebsd/freebsd-cddl-10.0 )
+"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ sys-apps/help2man
+"
+
+src_configure() {
+ local myeconfargs=(
+ --disable-werror
+ --with-platform=emu
+ --enable-grub-mount=no
+ --enable-grub-mkfont=no
+ --enable-grub-emu-sdl=no
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ newbin ${BUILD_DIR}/grub-core/grub-emu grub-bhyve
+}
+
diff --git a/sys-freebsd/grub2-bhyve/grub2-bhyve-9999.ebuild b/sys-freebsd/grub2-bhyve/grub2-bhyve-9999.ebuild
new file mode 100644
index 0000000..8616054
--- /dev/null
+++ b/sys-freebsd/grub2-bhyve/grub2-bhyve-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+inherit autotools-utils
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-2
+ KEYWORDS=""
+ EGIT_REPO_URI="git://github.com/grehan-freebsd/grub2-bhyve.git"
+else
+ KEYWORDS="~amd64-fbsd"
+ SRC_URI="https://github.com/grehan-freebsd/grub2-bhyve/archive/v${PV}.tar.gz"
+fi
+
+DESCRIPTION="Grub-emu loader for bhyve"
+HOMEPAGE="https://github.com/grehan-freebsd/grub2-bhyve"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="zfs"
+
+RDEPEND="
+ >=sys-freebsd/freebsd-usbin-10.0
+ >=sys-libs/ncurses-5.2-r5
+ zfs? ( >=sys-freebsd/freebsd-cddl-10.0 )
+"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ sys-apps/help2man
+"
+
+src_configure() {
+ local myeconfargs=(
+ --disable-werror
+ --with-platform=emu
+ --enable-grub-mount=no
+ --enable-grub-mkfont=no
+ --enable-grub-emu-sdl=no
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ newbin ${BUILD_DIR}/grub-core/grub-emu grub-bhyve
+}
+
diff --git a/sys-freebsd/grub2-bhyve/metadata.xml b/sys-freebsd/grub2-bhyve/metadata.xml
new file mode 100644
index 0000000..d74d135
--- /dev/null
+++ b/sys-freebsd/grub2-bhyve/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>bsd</herd>
+ <use>
+ <flag name='zfs'>Enable ZFS support.</flag>
+ </use>
+</pkgmetadata>