notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
grub2-bhyve Grub-emu loader for bhyve
0.40_11 sysutils on this many watch lists=11 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.40_11Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-11-03 05:12:10
Last Update: 2024-01-07 12:32:30
Commit Hash: c918e3f
People watching this port, also watch:: pkg, git, tmux, glib, vim
License: GPLv3
WWW:
https://github.com/grehan-freebsd/grub2-bhyve
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. sbin/grub-bhyve
  2. /usr/local/share/licenses/grub2-bhyve-0.40_11/catalog.mk
  3. /usr/local/share/licenses/grub2-bhyve-0.40_11/LICENSE
  4. /usr/local/share/licenses/grub2-bhyve-0.40_11/GPLv3
Collapse this list.
Dependency lines:
  • grub2-bhyve>0:sysutils/grub2-bhyve
To install the port:
cd /usr/ports/sysutils/grub2-bhyve/ && make install clean
To add the package, run one of these commands:
  • pkg install sysutils/grub2-bhyve
  • pkg install grub2-bhyve
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: grub2-bhyve
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
TIMESTAMP = 1704507032 SHA256 (grehan-freebsd-grub2-bhyve-v0.40_GH0.tar.gz) = 7cf3547d816e925f53b0790abd4633da72126d8271ae210d0f348ad63f4f6d34 SIZE (grehan-freebsd-grub2-bhyve-v0.40_GH0.tar.gz) = 8380492

Expand this list (6 items)

Collapse this list.

SHA256 (b080876e0711ee9d7a9c86661df173d98f2d0845.diff) = 263b2101ccc703d5ab71df5c4dcaef745dcba2a6335b8d9ccff7e5afa24e40cf SIZE (b080876e0711ee9d7a9c86661df173d98f2d0845.diff) = 504 SHA256 (a2a1a8f716a00a8f42b36a8b91ac5b3e2328d39c.diff) = 3baf5dee30974a00503497caa0210ec8b9a18de14e6c11c2da0a19d4cda25d2a SIZE (a2a1a8f716a00a8f42b36a8b91ac5b3e2328d39c.diff) = 8631 SHA256 (91f06e5daab48d0242d397f67d38c3410e173c15.diff) = e5293203a01def1634fd5b86c4b2142062b93a09a6a47bf2638923d57c5399b9 SIZE (91f06e5daab48d0242d397f67d38c3410e173c15.diff) = 9789

Collapse this list.


Packages (timestamps in pop-ups are UTC):
grub2-bhyve
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-0.40_11------
FreeBSD:13:quarterly-0.40_11------
FreeBSD:14:latest-0.40_11------
FreeBSD:14:quarterly-0.40_11------
FreeBSD:15:latest-0.40_11n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. flex : textproc/flex
  2. help2man : misc/help2man
  3. bison : devel/bison
  4. gmake>=4.3 : devel/gmake
  5. gcc12 : lang/gcc12
  6. as : devel/binutils
This port is required by:
for Run
  1. net/wifibox-core
  2. sysutils/bmd
  3. sysutils/bvm

Configuration Options:
No options to configure
Options name:
sysutils_grub2-bhyve
USES:
bison gmake
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/grehan-freebsd/grub2-bhyve/tar.gz/v0.40?dummy=/
Collapse this list.

Number of commits found: 41

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.40_11
07 Jan 2024 12:32:30
commit hash: c918e3f780ddd4cc6a0b6650854a1a10fe96644fcommit hash: c918e3f780ddd4cc6a0b6650854a1a10fe96644fcommit hash: c918e3f780ddd4cc6a0b6650854a1a10fe96644fcommit hash: c918e3f780ddd4cc6a0b6650854a1a10fe96644f files touched by this commit
Hiroki Sato (hrs) search for other commits by this committer
sysutils/grub2-bhyve: Add patches to fix loading OpenBSD kernel

PR:		273814
Submitted by:	Yuichiro NAITO
0.40_10
23 Apr 2023 09:09:58
commit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5bcommit hash: 8d3e020ed032a8db00208994d0db646de7dc6f5b files touched by this commit
Gerald Pfeifer (gerald) search for other commits by this committer
*: Bump PORTREVISIONs for math/mpc update to 1.3.1
0.40_9
03 Apr 2023 15:42:43
commit hash: 906b07ca0bb9f7b83be91f619cd92b7f898b8b43commit hash: 906b07ca0bb9f7b83be91f619cd92b7f898b8b43commit hash: 906b07ca0bb9f7b83be91f619cd92b7f898b8b43commit hash: 906b07ca0bb9f7b83be91f619cd92b7f898b8b43 files touched by this commit
Dima Panov (fluffy) search for other commits by this committer
sysutils/grub2-bhyve: unbreack build on recent -current (+)

Backport 2 patches from upstream:

* make bhyve memory map less odd
* update for changes in libvmmapi version 2.0 to add struct vcpu

Sponsored by:	Serenity Cybersecurity, LLC
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.40_8
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.40_8
20 Jul 2022 14:23:05
commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4commit hash: ea7123695aad83707eba8adaf42b29dac7f296e4 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
sysutils: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <jsmith@resonatingmedia.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Landwehr <aaron@snaphat.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Adrian Chadd
  *  Adrian Chadd <adrian@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Deiter <alex.deiter@gmail.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.40_8
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.40_8
29 Mar 2021 21:41:12
Revision:569520Original commit files touched by this commit
bapt search for other commits by this committer
Fix typo

Submitted by:	Henric Jungheim <software@henric.org>
0.40_8
29 Mar 2021 21:06:34
Revision:569511Original commit files touched by this commit
bapt search for other commits by this committer
sysutils/grub2-bhyve: properly use CONFIGURE macros
0.40_8
06 Feb 2021 11:48:18
Revision:564216Original commit files touched by this commit
gerald search for other commits by this committer
Convert sysutils/grub2-bhyve to use the new "build" argument to USE_GCC,
replacing direct manipulation of RUN_DEPENDS by the more declarative and
simpler USE_GCC=yes:build.

PR:		211154
0.40_8
12 Feb 2020 15:32:31
Revision:525916Original commit files touched by this commit
cem search for other commits by this committer
sysutils/grub2-bhyve: Neutralize privileged guest commands

GRUB was designed to run in a trusted environment, where anyone with access
to grub2.cfg could also modify grub itself.  In grub2-bhyve, we have
modified it to run in host context, but interpret the commands of guest
grub2.cfg.  This means we have to worry about malicious guests.

This patch addresses two escalation vectors: font-loading, and the direct
'read', 'write', 'in', and 'out' commands (which read/write arbitrary
addresses).  Both reported by Reno Robert.

Disable font-loading by neutering the command.  It is believed to be non-
essential and there is at least one buffer overflow in the font loading
code.

Disable reading and writing host memory and IO ports.  It is believed to be
non-essential.

admbugs:	948
Reported by:	Reno Robert <renorobert AT gmail.com>
Approved by:	bapt
MFH:		2010Q1 (bapt)
Security:	yes
0.40_7
17 Oct 2019 10:39:01
Revision:514655Original commit files touched by this commit This port version is marked as vulnerable.
woodsb02 search for other commits by this committer
sysutils/grub2-bhyve: fix build on 13-CURRENT

Build error: ./stdio.h:456:1: error: 'gets' undeclared here (not in a
             function); did you mean 'getw'?

grub2 doesn't use gets() at all so it's just an error in the glib header
file as a result of gets being excised from FreeBSD. Commenting out the
_GL_WARN_ON_USE macro for that is fine.

PR:		241168
Submitted by:	Robert James Hernandez <rob@sarcasticadmin.com>
Approved by:	grehan (maintainer)
MFH:		2019Q4
0.40_7
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit This port version is marked as vulnerable.
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
0.40_6
12 Dec 2018 01:35:36
Revision:487272Original commit files touched by this commit This port version is marked as vulnerable.
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
0.40_5
29 Jul 2018 22:18:46
Revision:475857Original commit files touched by this commit This port version is marked as vulnerable.
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
0.40_4
07 May 2018 18:05:49
Revision:469306Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Drop maintainership of the various grub-* ports we no longer
use internally.
0.40_4
10 Mar 2018 17:46:06
Revision:464084Original commit files touched by this commit This port version is marked as vulnerable.
gerald search for other commits by this committer
Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
0.40_3
10 Sep 2017 20:55:39
Revision:449591Original commit files touched by this commit This port version is marked as vulnerable.
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
0.40_2
01 Apr 2017 15:23:32
Revision:437439Original commit files touched by this commit This port version is marked as vulnerable.
gerald search for other commits by this committer
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
0.40_1
03 Jan 2017 11:01:06
Revision:430454Original commit files touched by this commit Sanity Test Failure This port version is marked as vulnerable.
mat search for other commits by this committer
Cleanup BROKEN/IGNORE for 10.3-

Sponsored by:	Absolight
0.40_1
20 Nov 2016 09:38:09
Revision:426566Original commit files touched by this commit This port version is marked as vulnerable.
gerald search for other commits by this committer
Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
0.40
19 May 2016 10:53:06
Revision:415500Original commit files touched by this commit This port version is marked as vulnerable.
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [p-x]*

Approved by:	portmgr blanket
0.40
01 Apr 2016 14:25:18
Revision:412349Original commit files touched by this commit This port version is marked as vulnerable.
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
0.40
02 Sep 2015 13:57:59
Revision:395839Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Update to v0.40

ChangeLog:
https://github.com/grehan-freebsd/grub2-bhyve/releases/tag/v0.40
0.30_1
26 May 2015 16:55:40
Revision:387492Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Add patch to fix bug with hanging when using nmdm as console
- Bump PORTREV

PR: 200460
Submitted by: olgeni@
0.30
07 May 2015 20:24:16
Revision:385665Original commit files touched by this commit This port version is marked as vulnerable.
mat search for other commits by this committer
Update ports in the remaining categories to not use GH_COMMIT.

With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
0.30
20 Nov 2014 14:07:02
Revision:372932Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Update to v0.30

Add -c, --cons-dev option to choose terminal.
This allows nmdm devices to be used by grub for output.
Submitted by Conrad Meyer.

Set Linux boot_params video rows/columns to 80x25. This can
be disabled with the "-e|--evga" switch.

Move the 32-bit flat-mode GDT to the first page in memory to
avoid being stomped on by the decompressor in older Linux kernels.
These two fixes allow Centos 4/5 ISOs to boot without
triple-faulting or panic'ing with divide-by-zero errors.

Clean up command-line help, and be more FreeBSD-specific in
the display, including printing the grub-bhyve version.
0.24
22 Oct 2014 19:29:29
Revision:371367Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
 - Fix building on HEAD

PR: 194536
0.24
13 Oct 2014 17:19:05
Revision:370804Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Update to 0.24

 *  Add multiboot support
 *  Fix issue with NetBSD parameter layout. knetbsd now works.
 *  Fix similar issue with OpenBSD bootarg layout.
0.23
20 Jun 2014 15:40:13
Revision:358593Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Update to 0.23
0.22_2
16 May 2014 15:49:35
Revision:354240Original commit files touched by this commit This port version is marked as vulnerable.
bapt search for other commits by this committer
Reduce runtime dependencies to the minimum

- Add a hack to prevent USE_GCC to add a useless runtime dependency
- Remove gettext dependency and teach the configure script that --disable-nls
really means I do not want nls at all
- Teach the Makefiles that if I do not want nls then it is really not need to
try to link anyway to libintl

Requested by:	gehan
Approved by:	kmoore (maintainer)
0.22_1
22 Apr 2014 14:09:11
Revision:351837Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
 - Patch to restrict terminal size to 255x255 max to avoid uint8 overflow.
 - Bump PORTREV

https://github.com/grehan-freebsd/grub2-bhyve/commit/70ace4fd43f5017d4aacc920017b5641c9d45431

Submitted by: Oleg Ginzburg <olevole@olevole.ru>
0.22
11 Mar 2014 08:45:27
Revision:347869Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Update to 0.22

Fixed a bug with OpenBSD 5.5 not seeing the serial console boot metadata,
and eliminates some (harmless) warnings when booting Ubuntu that
triggered a 10-second delay.
0.21_2
10 Mar 2014 20:55:22
Revision:347809Original commit files touched by this commit This port version is marked as vulnerable.
gerald search for other commits by this committer
Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
0.21_1
03 Mar 2014 23:30:56
Revision:346975Original commit files touched by this commit This port version is marked as vulnerable.
gerald search for other commits by this committer
Replace USE_GCC=4.6+ by USE_GCC=yes.

Approved by:	portmgr (mat)
0.21_1
27 Dec 2013 17:33:12
Revision:337760Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
 - Cleanup the Makefile / pkg-plist
 - Switch to USE_GCC= 4.6+

PR: 185040
Submitted by: Johannes Jost Meixner <xmj@chaot.net>
0.21
19 Dec 2013 19:30:16
Revision:336950Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Make gcc47 a BUILD_DEPENDS only
0.21
21 Nov 2013 16:14:26
Revision:334501Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Update to 0.21
- Adds support for FreeBSD/amd64 boot via kfreebsd and friends
0.2
11 Nov 2013 16:04:55
Revision:333517Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
 - Chase upstream distfile being re-rolled
0.2
06 Nov 2013 16:21:01
Revision:333009Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
 - Cleanup the Makefile

Suggested By: Alexey Dokuchaev <danfe@FreeBSD.org>
0.2
03 Nov 2013 05:11:59
Revision:332589Original commit files touched by this commit This port version is marked as vulnerable.
kmoore search for other commits by this committer
 - 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

Number of commits found: 41