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 does not install GRUB on the master boot record of your hard drive.
To do this you will need to read the info page that is installed by the port.
This port includes additional patches and fixes making it work properly
with ZFS boot-environments.
===> The following configuration options are available for grub2-pcbsd-2.02q_19:
FUSE=off: Build grub-mount (require FUSE)
MKFONT=on: Build grub-mkfont (require freetype2)
===> Use 'make config' to modify these settings
To install GRUB as your boot-loader, use the following command:
# grub-install /dev/ada0 (replace ada0 with your disk)
# grub-mkconfig -o /boot/grub/grub.cfg
This version of GRUB can be used traditionally or with
PC-BSD style boot environments.
Additionally, when using GPT, you must have a created a
"bios-boot" partition at install time. This partition is used
for GRUB's modules for GELI/ZFS and related bits.
Traditional Setup
--
When the "beadm" utility is not present, grub-mkconfig
will use the standard GRUB detection scripts for setting
up your /boot/grub/grub.cfg file.
Boot Environment Setup
--
If the "beadm" command is installed on the system,
grub-mkconfig will use it to setup /boot/grub/grub.cfg
For it to properly detect / populate your BE menus you
must have your root zpool setup in the following manner:
<tank>/ROOT/<be>
Where <tank> is your zpool, and <be> is your '/' mountpoint.
The "beadm" utility must be installed and working before using
GRUB utilities.
devel/autoconf: Update to 2.73
cad/alliance, databases/proxysql, deskutils/growl-for-linux,
emulators/wine-proton, net/yate, sysutils/grub2-efi,
sysutils/grub2-pcbsd: Add USE_CSTD=gnu11 because autoconf 2.73 tries
to use C23 and these ports are broken with that.
PR: 293963
Exp-run by: antoine
devel/libtextstyle, devel/gettext*: Update to 0.26
Recent versions of gettext no longer install m4 files in
PREFIX/share/aclocal. They have to be installed in the work
directory by autopoint for aclocal to find them.
Patch devel/autoconf so autoreconf runs autopoint when gettext related
macros are used in configure.ac (e.g. AM_ICONV). Previously it only
ran autopoint when AM_GNU_GETTEXT_(REQUIRE_)VERSION was used.
The following ports now require autopoint (i.e. USES=gettext-tools):
benchmarks/sysbench, devel/libhtp, editors/fxite, filesystems/rar2fs,
graphics/gd, net/ucarp, news/fidogate, sysutils/cdrdao
Other fixes:
(Only the first 15 lines of the commit message are shown above )
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.
Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.
Approved by: portmgr (rene)
Reviewed by: mat
Pull Request: https://github.com/freebsd/freebsd-ports/pull/302
PR: 281988
sysutils/grub2-pcbsd: Fix build with GCC 14
GCC 14 has transformed some warnings into errors: revert them to simple
warnings.
PR: 281247
Reported by: exp-run (antoine)
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)
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 )
sysutils/grub2-pcbsd: prepare for freetype2 update
- freetype2 will no longer ship freetype-config (which was a pkg-config
wrapper) in the near future -- use pkg-config to gather the required
flags.
PR: 251512
Remove expired ports:
2019-05-08 databases/ruby-odbc: Broken for more than 6 months
2019-05-08 databases/rubygem-dbd-odbc: Broken for more than 6 months
2019-05-08 devel/dlangui: Broken for more than 6 months
2019-05-08 editors/dlangide: Broken for more than 6 months
2019-05-08 emulators/desmume: Broken for more than 6 months
2019-05-08 emulators/yabause: Broken for more than 6 months
2019-05-08 emulators/yape: Broken for more than 6 months
2019-05-08 games/armagetron: Broken for more than 6 months
2019-05-08 games/boswars: Broken for more than 6 months
2019-05-08 games/ceferino: Broken for more than 6 months
2019-05-08 games/chanta: Broken for more than 6 months
2019-05-08 games/d2x-xl: Broken for more than 6 months
2019-05-08 games/drcreep: Broken for more than 6 months
2019-05-08 games/frobtads: Broken for more than 6 months
(Only the first 15 lines of the commit message are shown above )
Mark BROKEN: fails to build
In file included from efiemu/runtime/efiemu.c:33:
../include/grub/efiemu/runtime.h:36:1: error: alignment 1 of 'struct
efi_variable' is less than 8 [-Werror=packed-not-aligned]
Reported by: pkg-fallout
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
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.
Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.
Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them
Bump revision of all impacted ports
PR: 232907
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D17816
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
Remove support for variables that have been deprecated for a while.
variables deprecation revision
WITHOUT_NLS 2013-12-13 r336337
WITH_/WITHOUT_ 2014-02-24 r345870
NOPORT(DOC|EXAMPLE)S 2014-04-19 r351587
WITH_BDB_VER 2016-05-02 r414444
OVERRIDE_LINUX_BASE_PORT 2016-09-05 r421387
WITH_OPENSSL_(BASE|PORT) 2016-06-16 r416965
While there, add an ERROR variable that works like DEV_ERROR, but for
user facing errors, and move NOPORTDOCS,
NOPORTEXAMPLES and WITHOUT_NLS to it.
Cleanup bsd.sanity.mk a bit.
Fix fallout.
PR: 224613
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D13490
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
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
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.
- Bring up to speed with version in PC-BSD
- Update to later GRUB -devel from upstream
- Don't build BE menu if 'beadm' not installed
- Fix a bug matching BE names properly instead of subset
- Update to grub.d scripts, allow using grub2-pcbsd on traditional,
non-ZFS/BE installations
- Update pkg-message with additional usage information
- Bump PORTREV
Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default
Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1))
Large cleanup on lots of font ports
All fonts are now properly dynamically generating fonts.dir and fonts.scale
instead of sometime overwriting existing ones)
All fonts are generating fontconfig's cache
Improve consistency in fonts ports
- Update grub2-pcbsd to bring it in sync with PC-BSD's repo
- Add support for "cleaner" boot-menus, list old BEs in their own submenu
- Fix an issue with geli passphrase passthrough
- Bump PORTREV
- Add patch to fix providing the full pathname for kernel + modules
This fixes using dtrace when booting from grub, and perhaps others
that expect full pathname in kldstat(2)
- Bump PORTREV
- Add patch which allows GRUB to use the freebsd-boot type in addition
to the specific bios-boot type that GRUB already uses
- Bump PORTREV
Submitted by: Kevin Lo <kevlo@>
- Fix an issue setting kenv values in grub.cfg with ; or " in the string
- Add some default kenv values to match /boot/defaults/loader.conf
- Bump PORTREV
- Update to latest git pull - 2.02_3
- Add support for GELI passphrase kernel passthrough
- Patch grub-install / EFI support to disable trying to use Linux 'efibootmgr'
- Add sysutils/grub2-pcbsd
This installs PC-BSD's custom grub 2.02-prerelease, which includes
various enhancements for Boot-Environments and ZFS support