notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Port details
grub2-bhyve Grub-emu loader for bhyve
0.40_8 sysutils on this many watch lists=8 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_8Version 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: 2021-04-06 14:31:07
Commit Hash: 305f148
People watching this port, also watch:: pkg, git, tmux, glib, cairo
License: GPLv3
Description:
SVNWeb : git : Homepage
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_8/catalog.mk
  3. /usr/local/share/licenses/grub2-bhyve-0.40_8/LICENSE
  4. /usr/local/share/licenses/grub2-bhyve-0.40_8/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:
Packages (timestamps in pop-ups are UTC):
grub2-bhyve
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd640.40_80.40_8
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd640.40_80.40_8
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd640.40_80.40_8
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd640.40_8-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

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. gcc10 : lang/gcc10
  6. as : devel/binutils
This port is required by:
for Run
  1. net/wifibox-core
  2. sysutils/bvm

Configuration Options:
Options name:

USES:

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: 35

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.40_8
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
29 Mar 2021 21:41:12
Original commit files touched by this commit Revision:569520  0.40_8
bapt search for other commits by this committer
Fix typo

Submitted by:	Henric Jungheim <software@henric.org>
29 Mar 2021 21:06:34
Original commit files touched by this commit Revision:569511  0.40_8
bapt search for other commits by this committer
sysutils/grub2-bhyve: properly use CONFIGURE macros
06 Feb 2021 11:48:18
Original commit files touched by this commit Revision:564216  0.40_8
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
12 Feb 2020 15:32:31
Original commit files touched by this commit Revision:525916  0.40_8
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
17 Oct 2019 10:39:01
Original commit files touched by this commit Revision:514655  0.40_7 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
26 Jul 2019 20:46:57
Original commit files touched by this commit Revision:507372  0.40_7 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
12 Dec 2018 01:35:36
Original commit files touched by this commit Revision:487272  0.40_6 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
29 Jul 2018 22:18:46
Original commit files touched by this commit Revision:475857  0.40_5 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
07 May 2018 18:05:49
Original commit files touched by this commit Revision:469306  0.40_4 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.
10 Mar 2018 17:46:06
Original commit files touched by this commit Revision:464084  0.40_4 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).
10 Sep 2017 20:55:39
Original commit files touched by this commit Revision:449591  0.40_3 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
01 Apr 2017 15:23:32
Original commit files touched by this commit Revision:437439  0.40_2 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
03 Jan 2017 11:01:06
Original commit files touched by this commit Revision:430454  0.40_1  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
20 Nov 2016 09:38:09
Original commit files touched by this commit Revision:426566  0.40_1 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.
19 May 2016 10:53:06
Original commit files touched by this commit Revision:415500  0.40 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
01 Apr 2016 14:25:18
Original commit files touched by this commit Revision:412349  0.40 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
02 Sep 2015 13:57:59
Original commit files touched by this commit Revision:395839  0.40 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
26 May 2015 16:55:40
Original commit files touched by this commit Revision:387492  0.30_1 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@
07 May 2015 20:24:16
Original commit files touched by this commit Revision:385665  0.30 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
20 Nov 2014 14:07:02
Original commit files touched by this commit Revision:372932  0.30 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.
22 Oct 2014 19:29:29
Original commit files touched by this commit Revision:371367  0.24 This port version is marked as vulnerable.
kmoore search for other commits by this committer
 - Fix building on HEAD

PR: 194536
13 Oct 2014 17:19:05
Original commit files touched by this commit Revision:370804  0.24 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.
20 Jun 2014 15:40:13
Original commit files touched by this commit Revision:358593  0.23 This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Update to 0.23
16 May 2014 15:49:35
Original commit files touched by this commit Revision:354240  0.22_2 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)
22 Apr 2014 14:09:11
Original commit files touched by this commit Revision:351837  0.22_1 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>
11 Mar 2014 08:45:27
Original commit files touched by this commit Revision:347869  0.22 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.
10 Mar 2014 20:55:22
Original commit files touched by this commit Revision:347809  0.21_2 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)
03 Mar 2014 23:30:56
Original commit files touched by this commit Revision:346975  0.21_1 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)
27 Dec 2013 17:33:12
Original commit files touched by this commit Revision:337760  0.21_1 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>
19 Dec 2013 19:30:16
Original commit files touched by this commit Revision:336950  0.21 This port version is marked as vulnerable.
kmoore search for other commits by this committer
- Make gcc47 a BUILD_DEPENDS only
21 Nov 2013 16:14:26
Original commit files touched by this commit Revision:334501  0.21 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
11 Nov 2013 16:04:55
Original commit files touched by this commit Revision:333517  0.2 This port version is marked as vulnerable.
kmoore search for other commits by this committer
 - Chase upstream distfile being re-rolled
06 Nov 2013 16:21:01
Original commit files touched by this commit Revision:333009  0.2 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>
03 Nov 2013 05:11:59
Original commit files touched by this commit Revision:332589  0.2 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: 35