git: 2f2c84c6fc95 - main - sysutils/uefi-edk2-bhyve-csm: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 01 Apr 2024 12:04:27 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f2c84c6fc9514b1965aafb8a58a7228136a60cd

commit 2f2c84c6fc9514b1965aafb8a58a7228136a60cd
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-04-01 12:03:22 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-04-01 12:04:02 +0000

    sysutils/uefi-edk2-bhyve-csm: Remove expired port
    
    2024-04-01 sysutils/uefi-edk2-bhyve-csm: Requires old edk2 version and gcc 4.8
---
 MOVED                                  |  1 +
 sysutils/Makefile                      |  1 -
 sysutils/uefi-edk2-bhyve-csm/Makefile  | 78 ----------------------------------
 sysutils/uefi-edk2-bhyve-csm/distinfo  |  3 --
 sysutils/uefi-edk2-bhyve-csm/pkg-descr | 20 ---------
 5 files changed, 1 insertion(+), 102 deletions(-)

diff --git a/MOVED b/MOVED
index 3d903948e09a..e96e50197451 100644
--- a/MOVED
+++ b/MOVED
@@ -3132,3 +3132,4 @@ irc/rbot||2024-04-01|Has expired: Outdated, unmaintained in ports since 2016
 editors/linux-sublime||2024-04-01|Has expired: This is the legacy version Use linux-sublime-text4
 irc/pircbot||2024-04-01|Has expired: Abandoned upstream, last release in 2009 and superseded by pircbotx (fork)
 security/akmos||2024-04-01|Has expired: Last release in 2018, no active development for years and no users in tree
+sysutils/uefi-edk2-bhyve-csm||2024-04-01|Has expired: Requires old edk2 version and gcc 4.8
diff --git a/sysutils/Makefile b/sysutils/Makefile
index b9692cd3961a..e78e4163f788 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1554,7 +1554,6 @@
     SUBDIR += ucspi-tcp
     SUBDIR += ucspi-unix
     SUBDIR += udfclient
-    SUBDIR += uefi-edk2-bhyve-csm
     SUBDIR += ufetch
     SUBDIR += ufs_copy
     SUBDIR += uhidd
diff --git a/sysutils/uefi-edk2-bhyve-csm/Makefile b/sysutils/uefi-edk2-bhyve-csm/Makefile
deleted file mode 100644
index 3bec471bee58..000000000000
--- a/sysutils/uefi-edk2-bhyve-csm/Makefile
+++ /dev/null
@@ -1,78 +0,0 @@
-PORTNAME=	uefi-edk2-bhyve-csm
-DISTVERSIONPREFIX=	v
-DISTVERSION=	0.2
-PORTREVISION=	4
-PORTEPOCH=	1
-CATEGORIES=	sysutils
-
-MAINTAINER=	bcran@FreeBSD.org
-COMMENT=	UEFI EDK2 firmware for bhyve with CSM (16-bit BIOS)
-WWW=		https://github.com/freebsd/uefi-edk2/tree/bhyve/UDK2014.SP1
-
-LICENSE=	BSD2CLAUSE
-
-DEPRECATED=     Requires old edk2 version and gcc 4.8.
-EXPIRATION_DATE=2024-04-01
-
-ONLY_FOR_ARCHS=	amd64
-
-BUILD_DEPENDS=	bash:shells/bash \
-		nasm:devel/nasm \
-		${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:databases/py-sqlite3@${PY_FLAVOR}
-
-USES=		gmake \
-		python:2.7,build
-USE_GCC=	4.8:build
-USE_GITHUB=	yes
-GH_ACCOUNT=	freebsd
-GH_PROJECT=	uefi-edk2
-GH_TAGNAME=	aa8d718
-
-PLIST_FILES=	${PREFIX}/share/uefi-firmware/BHYVE_UEFI_CSM.fd
-
-OPTIONS_DEFINE=	DEBUG
-
-DEBUG_VARS=	uefi_target=DEBUG
-DEBUG_VARS_OFF=	uefi_target=RELEASE
-
-MAKE_ARGS+=	AS=${LOCALBASE}/bin/as \
-		AR=${LOCALBASE}/bin/ar \
-		LD=${LOCALBASE}/bin/ld \
-		OBJCOPY=${LOCALBASE}/bin/objcopy \
-		CC=${LOCALBASE}/bin/gcc48 \
-		CXX=${LOCALBASE}/bin/g++48
-
-BUILD_ARGS=-DDEBUG_ON_SERIAL_PORT=TRUE -D FD_SIZE_2MB -DCSM_ENABLE=TRUE
-
-post-extract:
-	@${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/BaseTools/Tests/GNUmakefile \
-							${WRKSRC}/BaseTools/BinWrappers/PosixLike/*
-
-do-build:
-	unset ARCH; unset MAKEFLAGS; ${MAKE_CMD} ${MAKE_ARGS} -C ${BUILD_WRKSRC}/BaseTools
-	${MKDIR} ${BUILD_WRKSRC}/Build;
-	${LN} -sf ${LOCALBASE}/bin/gcc48 ${BUILD_WRKSRC}/Build/gcc
-	${LN} -sf ${LOCALBASE}/bin/ld ${BUILD_WRKSRC}/Build/ld
-	${LN} -sf ${LOCALBASE}/bin/gmake ${BUILD_WRKSRC}/Build/make
-	${LN} -sf ${LOCALBASE}/bin/ar ${BUILD_WRKSRC}/Build/ar
-	${LN} -sf ${LOCALBASE}/bin/objcopy ${BUILD_WRKSRC}/Build/objcopy
-	${LN} -sf ${LOCALBASE}/bin/nasm ${BUILD_WRKSRC}/Build/nasm
-	bash -c " \
-		cd ${BUILD_WRKSRC}; \
-		source edksetup.sh;\
-		unset ARCH; unset MAKEFLAGS; \
-		${MAKE_CMD} ${MAKE_ARGS} GCC48_BIN=${BUILD_WRKSRC}/Build/ -C ${BUILD_WRKSRC}/BhyvePkg/Csm/BhyveCsm16/"
-	bash -c " \
-		cd ${BUILD_WRKSRC}; \
-		source edksetup.sh;\
-		unset ARCH; unset MAKEFLAGS; \
-		export GCC48_BIN=${BUILD_WRKSRC}/Build/; \
-		build -t GCC48 -a X64 -b ${UEFI_TARGET} -p BhyvePkg/BhyvePkgX64.dsc ${BUILD_ARGS} \
-	"
-
-do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/share/uefi-firmware/
-	${INSTALL} ${BUILD_WRKSRC}/Build/BhyveX64/${UEFI_TARGET}_GCC48/FV/BHYVE.fd \
-		${STAGEDIR}${PREFIX}/share/uefi-firmware/BHYVE_UEFI_CSM.fd
-
-.include <bsd.port.mk>
diff --git a/sysutils/uefi-edk2-bhyve-csm/distinfo b/sysutils/uefi-edk2-bhyve-csm/distinfo
deleted file mode 100644
index d67d01eb4775..000000000000
--- a/sysutils/uefi-edk2-bhyve-csm/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1548651484
-SHA256 (freebsd-uefi-edk2-v0.2-aa8d718_GH0.tar.gz) = 749ef1ec3fdb37434745a7ecf7f3d41e6c84aeb906d52e5f8ce85527a06a472e
-SIZE (freebsd-uefi-edk2-v0.2-aa8d718_GH0.tar.gz) = 30986800
diff --git a/sysutils/uefi-edk2-bhyve-csm/pkg-descr b/sysutils/uefi-edk2-bhyve-csm/pkg-descr
deleted file mode 100644
index 275d14510b64..000000000000
--- a/sysutils/uefi-edk2-bhyve-csm/pkg-descr
+++ /dev/null
@@ -1,20 +0,0 @@
-UEFI EDK2 firmware for bhyve with CSM (16-bit BIOS) support.
-
-From https://github.com/tianocore/tianocore/wiki/UEFI :
-"The Unified Extensible Firmware Interface, or UEFI, specifies the
-firmware layer between an operating system and platform hardware. UEFI
-replaces the legacy Basic Input Output System (BIOS)."
-
-EDK2 is the project from TianoCore (https://tianocore.org) that provides
-"a modern, feature-rich, cross-platform development environment for the
-UEFI and UEFI Platform Initialization (PI) specifications."
-
-It's open source under the BSD-2-Clause-Patent license.
-
-This port provides an EDK2 firmware build for x86_64 with 'CSM' support.
-CSM is the Compatibility Support Module, compatibility code to allow
-operating systems which expect a 16-bit BIOS, and which don't know
-about UEFI, to boot.
-
-This CSM port provides an older version of EDK2 for use with VMs
-running operating systems which don't have UEFI support.