Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
g202308_5 29 Dec 2024 11:34:56
    |
Tijl Coosemans (tijl)  |
Mk/bsd.commands.mk: Use absolute path to define GMAKE
Same as BSDMAKE variable. It is needed by some ports.
Some ports needed fixes:
- devel/rcs57: Regenerate configure with newer autoconf so it can deal
with MAKE set to an absolute path. While here fix issues with
(un)escaping double quotes. The warnings about this were in
WRKSRC/src/conf.err.
- lang/gnu-cobol: Patch configure.ac so the MAKE environment variable
can contain an absolute path, and define MAKE before it is used in
AM_INIT_AUTOMAKE. Remove post-patch patching of configure. It appears
to have been fixed upstream.
- math/unuran: Remove post-patch, fixed upstream.
- net-mgmt/kismet: Fix post-patch.
PR: 283534
Exp-run by: antoine |
g202308_5 01 Sep 2024 06:36:01
    |
Li-Wen Hsu (lwhsu)  |
sysutils/edk2: Fix WWW |
g202308_5 01 Jul 2024 13:01:49
    |
Corvin Köhne (corvink)  |
sysutils/edk2: make bhyve's bootorder feature work
Bhyve supports a bootindex property for bootable devices. When adding it
to at least one device, bhyve creates a bootorder and passes it over the
Qemu FwCfg interface to the guest. The guest firmware has to pick up the
FwCfg file and has to apply the bootorder. Otherwise, the bootindex
property won't have any effect. Recently, a commit was merged by EDKII
to support that feature and we can simply cherry-pick it.
PR: 279720
Reviewed by: manu
Approved by: manu
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D45768 |
g202308_4 24 Nov 2023 09:30:35
    |
Corvin Köhne (corvink)  |
sysutils/edk2: set IO port range properly for bhyve
Bhyve uses an io port range of [ 0x2000, 0x10000 ] [1]. At the moment,
EDKII is using a subset of this range [ 0xC000, 0x10000 ] [2]. Even
though the EDKII range doesn't exceed the bhyve range, it's causing
issues on some guests like OpenBSD. We don't know why it's causing
issues yet. However, using the same IO port range in EDKII fixes the
issue.
[1]
https://github.com/freebsd/freebsd-src/blob/82ea0132c8b17a7a6067c8a36c6434e587ede6de/usr.sbin/bhyve/pci_emul.c#L133-L134
[2]
https://github.com/tianocore/edk2/blob/fb044b7fe893a4545995bfe2701fd38e593355d9/OvmfPkg/Bhyve/PlatformPei/Platform.c#L156-L157
PR: 274389
Reviewed by: manu, markj
Approved by: manu
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D42627 |
g202308_3 15 Sep 2023 15:00:35
    |
Corvin Köhne (corvink)  |
sysutils/edk2: enable TPM on bhyve
bhyve gained support for TPM emulation in the upcoming FreeBSD 14.0. The
firmware has to setup the TPM to make it useable for the OS.
Reviewed by: manu
Approved by: manu
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D41868 |
g202308_2 15 Sep 2023 14:59:37
    |
Corvin Köhne (corvink)  |
sysutils/edk2: enable secure boot on bhyve
Everything is ready in edk2 for secure boot. To make use of secure boot
you have to boot into an EFI shell and install your keys. Booting an EFI
shell can be done by starting bhyve without any image attached to it.
More information on how to generate and install keys can be found in the
ACRN documentation [1].
Note that that secure boot capable UEFI implementation is required to
meet the Windows 11 requirements.
[1] https://projectacrn.github.io/3.2/tutorials/waag-secure-boot.html
Reviewed by: manu
Approved by: manu
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D41869 |
g202308_1 08 Sep 2023 06:53:32
    |
Corvin Köhne (corvink)  |
OvmfPkg/Bhyve: don't exit early if RSDP is not found in memory
If OVMF fails to find the RSDP in memory, it should fall back installing
the statically provided ACPI tables.
Signed-off-by: Corvin Köhne <corvink@FreeBSD.org>
PR: 273560
Reviewed by: madpilot, manu
Approved by: manu
Fixes: 8097dda40a03b8a27a1edf1f31a8af0455a52baf ("sysutils/edk2: update to
202308")
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D41769 |
g202308 02 Sep 2023 05:20:35
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Fix distinfo
Regenerate distinfo with the correct short hashes.
Fixes: 8097dda40a03 ("sysutils/edk2: update to 202308")
Sponsored by: Beckhoff Automation GmbH & Co. KG
PR: 273507 |
g202308 01 Sep 2023 11:38:34
    |
Corvin Köhne (corvink)  |
sysutils/edk2: update to 202308
Reviewed by: manu
Approved by: manu
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D41631 |
g202202_10 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
g202202_10 23 Apr 2023 09:09:58
    |
Gerald Pfeifer (gerald)  |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
g202202_2 04 Apr 2023 07:09:03
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Enable IPV6
PR: 270631
Sponsored by: Beckhoff Automation GmbH & Co. KG |
g202202_1 21 Oct 2022 22:00:03
    |
Lorenzo Salvadore (salvadore)  Author: Mark Millard |
sysutils/edk2: Fix build on aarch64
Build on aarch64 was failing with the following error:
ld-elf.so.1: /lib/libgcc_s.so.1: version GCC_4.5.0 required by
/usr/local/lib/gcc11/libstdc++.so.6 not found
Fix by using /usr/local/lib/gcc*/libgcc_s.so.1 instead.
While here, also define WWW variable.
PR: 266404
Approved by: imp (uboot) |
g202202_1 09 Sep 2022 22:19:51
    |
Lorenzo Salvadore (salvadore)  Author: Oleg Sidorkin |
sysutils/edk2: Fix build with GCC 12
- Backport two upstreamed patches.
- Fix ar path.
While here, pet portlint.
PR: 263543
Reported by: exp-run (antoine)
Approved by: manu |
g202202_1 07 Jun 2022 06:35:36
    |
Emmanuel Vadot (manu)  |
sysutils/edk2@qemu_i386: Fix build depends
nasm is also needed for qemu_i386
Fixes: 177204e319 ("sysutils/edk2: Add qemu_x64 and qemu_i386 as new FLAVORs of
edk2")
Reported by: pkg-fallout
Sponsored by: Beckhoff Automation GmbH & Co. KG |
g202202_1 06 Jun 2022 23:32:08
    |
Rebecca Cran (bcran)  |
sysutils/edk2: Add qemu_x64 and qemu_i386 as new FLAVORs of edk2
Instead of having a separate sysutils/uefi-edk2-qemu port, add qemu_x64
and qemu_i386 as FLAVORs of sysutils/edk2 and delete sysutils/uefi-edk2-qemu.
Differential Revision: https://reviews.freebsd.org/D35408
Approved by: manu |
g202202_1 03 Jun 2022 08:23:41
    |
Emmanuel Vadot (manu)  |
sysutils/edk2@bhyve: Fix main firmware
EDK2 produce multiple files for the bhyve flavor, _CODE and _DATA
The PLAT_RESULT is just a concat of both.
But bhyve doesn't support having only one file.
When it was its own port we just install the _CODE file as the main file
instead of using the concat one generated during edk2 build.
For this port we need to use the main PLAT_RESULT files for all flavors
except bhyve so add a quirks in the install phase that just replace the main
file with the _CODE one.
Thanks to Corvin Köhne <CorvinK@beckhoff.com> for helping me understanding
the issue.
Fixes: 2e6a6ccd15 ("sysutils/edk2: Add bhyve as a new FLAVOR of edk2")
Sponsored by: Beckhoff Automation GmbH & Co. KG
PR: 264338 |
g202202 25 May 2022 19:33:53
    |
Rebecca Cran (bcran)  |
sysutils/edk2: Add bhyve as a new FLAVOR of edk2
Instead of having a separate sysutils/uefi-edk2-bhyve port, add bhyve
as a FLAVOR of sysutils/edk2 and delete sysutils/uefi-edk2-bhyve.
To support existing users who depend on firmware in
/usr/local/share/uefi-firmware create compatibility symlinks.
Update sysutils/bhyve-firmware to depend on edk2@bhyve.
Differential Revision: https://reviews.freebsd.org/D35148
Reviewed by: manu
Approved by: manu |
g202202 16 May 2022 12:28:44
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Remove default FLAVOR
THis makes make clean clean all the flavors by default. |
g202202 02 May 2022 16:52:29
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Update to stable202202
Release notes: https://github.com/tianocore/edk2/releases/tag/edk2-stable202202
Release notes: https://github.com/tianocore/edk2/releases/tag/edk2-stable202111
Release notes: https://github.com/tianocore/edk2/releases/tag/edk2-stable202108
Release notes: https://github.com/tianocore/edk2/releases/tag/edk2-stable202105 |
g202102 09 Nov 2021 08:53:49
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Remove aarch64-none-elf-gcc on aarch64
We can use the native gcc (from USE_GCC) to build the ports so don't
add another build dep. |
g202102 09 Nov 2021 08:53:41
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Mark the xen flavor as amd64 only
Xen flavors needs a gcc that can compile amd64 code (obviously) which
we don't really have in ports. Also there isn't much sense to build something
amd64 only on other arches. The inverse isn't true as bootstraping arm64 boards
from amd64 is common.
Reported by: diizzy |
g202102 25 Oct 2021 12:58:29
    |
Alexey Dokuchaev (danfe)  |
Style: improve ONLY_FOR_ARCHS_REASON (grammar, markup, etc.)
ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should
start with lower-case letter and not end with a period which is added
by the framework, similar to other knobs like BROKEN, IGNORE, et al.
While here, remove needless quoting, add missing Oxford comma, expand
contractions and jargonisms, use correct spelling for proper names. |
g202102 21 Oct 2021 14:27:12
    |
Stefan Eßer (se)  |
sysutils/edk2: Add CPE information
Approved by: portmgr (blanket) |
g202102 28 Sep 2021 17:06:48
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Reorder FLAVORS
Put the default one (macchiatobin) at the first place otherwise poudriere
keeps rebuilding the package :
Deleting edk2-macchiatobin-g202102.pkg: stale package: unwanted origin
sysutils/edk2@macchiatobin |
g202102 29 Jul 2021 20:03:05
    |
Andrew Turner (andrew)  |
sysutils/edk2: Add fvp support
This is used on the Arm Models (simulators)
Reviewed by: manu
Approved by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31277 |
g202102 20 May 2021 06:58:57
    |
Roger Pau Monné (royger)  |
sysutils/xen-tools: fix build on FreeBSD 12
QEMU Inter-VM shared memory device (ivshmem) depends on eventfd and
will only be built on FreeBSD versions > 12.
The fix is picked up from the QEMU port.
Approved by: bapt (implicit) |
g202102 20 May 2021 06:58:23
    |
Roger Pau Monné (royger)  |
sysutils/edk2: update to 202102
This also requires bumping the versions of some submodules and the
platform repositories.
Reviewed by: manu
Approved by: manu
Differential revision: https://reviews.freebsd.org/D30329 |
g202005 20 May 2021 06:57:27
    |
Roger Pau Monné (royger)  |
sysutils/edk2: use default gcc
Builds fine with the default gcc version.
Reviewed by: manu
Approved by: manu
Differential revision: https://reviews.freebsd.org/D30328 |
g202005 18 May 2021 09:15:22
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Rename xen flavor to xen_x64
We might want to have other flavor of this for other xen
arches at one point.
Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D30278 |
g202005 15 May 2021 17:15:53
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Restrict building on aarch64 and amd64
The port only provides firmwares for those arch so it doesn't make sense to
build them for other arch.
If one day people wants to bootstrap an aarch64 image from a risc-v board
we will reconsider this change. |
g202005 12 May 2021 08:57:19
    |
Roger Pau Monné (royger)  |
sysutils/edk2: add Xen platform
As part of this make the gcc aarch64 dependency conditional to
building a firmware for that architecture, and make the nasm package a
build dependency for the X64 (amd64) targets.
Sponsored by: Citrix Systems R&D
Reviewed by: manu
Approved by: manu
Differential revision: https://reviews.freebsd.org/D30225 |
g202005 11 May 2021 17:07:19
    |
Emmanuel Vadot (manu)  |
sysutils/edk2: Set maintainer to uboot@
Nobody should ever own this port so set the uboot list as the maintainer.
Even if it's not uboot this port is a flavored port for edk2 targeting
arm64 boards (for now) so uboot@ is the closest things that we have. |
g202005 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
g202005 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
g202005 06 Sep 2020 19:07:06
  |
linimon  |
Restrict only to architectures that the code claims to support:
Python/TargetTool/TargetTool.py: help="ARCHS is one of list: IA32, X64, ARM,
AARCH64 or EBC, which replaces target.txt's TARGET_ARCH definition. To specify
more archs, please repeat this option."
Python/build/buildoptions.py: help="ARCHS is one of list: IA32, X64, ARM,
AARCH64, RISCV64 or EBC, which overrides target.txt's TARGET_ARCH definition. To
specify more archs, please repeat this option."
See also: BaseTools/Source/C/GNUmakefile.
Result from attempt on powerpc64:
Attempting to detect HOST_ARCH from 'uname -m': powerpc
Could not detected HOST_ARCH from uname results
Approved by: portmgr (tier-2 blanket) |
g202005 09 Aug 2020 17:31:53
  |
manu  |
sysutils/edk2: Add new port
EDK2 is a modern, feature-rich, cross-platform firmware development
environment for the UEFI and PI specifications from www.uefi.org.
The port currently support 3 flavors: macchiatobin, rpi3 and rpi4. |