svn commit: r525557 - in head: . sysutils sysutils/uefi-edk2-bhyve sysutils/uefi-edk2-bhyve-devel sysutils/uefi-edk2-bhyve-devel/files sysutils/uefi-edk2-bhyve/files
Rebecca Cran
bcran at FreeBSD.org
Sat Feb 8 14:55:37 UTC 2020
Author: bcran (src committer)
Date: Sat Feb 8 14:55:34 2020
New Revision: 525557
URL: https://svnweb.freebsd.org/changeset/ports/525557
Log:
Revert "sysutils/uefi-edk2-bhyve: update to be same as uefi-edk2-bhyve-devel"
This reverts commit r525460.
Added:
head/sysutils/uefi-edk2-bhyve-devel/
head/sysutils/uefi-edk2-bhyve-devel/Makefile (contents, props changed)
head/sysutils/uefi-edk2-bhyve-devel/distinfo (contents, props changed)
head/sysutils/uefi-edk2-bhyve-devel/files/
head/sysutils/uefi-edk2-bhyve-devel/files/patch-CryptoPkg_Library_OpensslLib_openssl_crypto_uid.c (contents, props changed)
head/sysutils/uefi-edk2-bhyve-devel/pkg-descr (contents, props changed)
Deleted:
head/sysutils/uefi-edk2-bhyve/files/
Modified:
head/MOVED
head/sysutils/Makefile
head/sysutils/uefi-edk2-bhyve/Makefile
head/sysutils/uefi-edk2-bhyve/distinfo
head/sysutils/uefi-edk2-bhyve/pkg-descr
Modified: head/MOVED
==============================================================================
--- head/MOVED Sat Feb 8 14:52:37 2020 (r525556)
+++ head/MOVED Sat Feb 8 14:55:34 2020 (r525557)
@@ -14023,7 +14023,6 @@ www/py-dj21-drf-yasg||2020-01-31|Has expired: Django 2
www/sogo3|www/sogo4|2020-01-31|Has expired: Deprecated, replaced by www/sogo4
www/py-dj21-djangorestframework|www/py-dj22-djangorestframework|2020-01-31|Removed, part of expired Django 2.1
www/py-django21|www/py-django22|2020-01-31|Has expired: Django 2.1 is now End-of-Life (Since December 2 2019). Switch to Django 2.2+ as soon as possible
-sysutils/uefi-edk2-bhyve-devel|sysutils/uefi-edk2-bhyve|2020-02-02|Moved to sysutils/uefi-edk2-bhyve
devel/py-Products.ATContentTypes||2020-02-03|Has expired: Outdated version of plone 4.3 (legacy), uses EOLed python27
devel/py-Products.ATReferenceBrowserWidget||2020-02-03|Has expired: Outdated version of plone 4.3 (legacy), uses EOLed python27
devel/py-Products.Archetypes||2020-02-03|Has expired: Outdated version of plone 4.3 (legacy), uses EOLed python27
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Sat Feb 8 14:52:37 2020 (r525556)
+++ head/sysutils/Makefile Sat Feb 8 14:55:34 2020 (r525557)
@@ -1380,6 +1380,7 @@
SUBDIR += udfclient
SUBDIR += uefi-edk2-bhyve
SUBDIR += uefi-edk2-bhyve-csm
+ SUBDIR += uefi-edk2-bhyve-devel
SUBDIR += uefi-edk2-qemu
SUBDIR += ufetch
SUBDIR += ufs_copy
Added: head/sysutils/uefi-edk2-bhyve-devel/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/uefi-edk2-bhyve-devel/Makefile Sat Feb 8 14:55:34 2020 (r525557)
@@ -0,0 +1,80 @@
+# $FreeBSD$
+
+PORTNAME= uefi-edk2-bhyve-devel
+DISTVERSION= g20190424
+PORTREVISION= 1
+CATEGORIES= sysutils
+
+MAINTAINER= araujo at FreeBSD.org
+COMMENT= UEFI-EDK2 firmware for bhyve
+
+LICENSE= BSD2CLAUSE
+
+ONLY_FOR_ARCHS= amd64
+
+BUILD_DEPENDS= ${BASH_CMD}:shells/bash \
+ nasm:devel/nasm \
+ ${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:databases/py-sqlite3@${PY_FLAVOR}
+
+USES= gmake \
+ python:2.7,build
+USE_GCC= 8+
+USE_GITHUB= yes
+GH_ACCOUNT= freebsd
+GH_PROJECT= uefi-edk2
+GH_TAGNAME= 0613ec3
+GH_TUPLE= openssl:openssl:OpenSSL_1_1_0j:openssl/src/github.com/openssl/openssl
+
+PLIST_FILES= share/uefi-firmware/BHYVE_UEFI_CODE${PLIST_SUFFIX}-devel.fd \
+ share/uefi-firmware/BHYVE_UEFI_VARS${PLIST_SUFFIX}-devel.fd
+
+OPTIONS_DEFINE= DEBUG HTTP_BOOT
+OPTIONS_DEFAULT= HTTP_BOOT
+
+DEBUG_DESC= Build a debug configuration
+HTTP_BOOT_DESC= Build with HTTP(S) boot support
+
+DEBUG_VARS= uefi_target=DEBUG
+DEBUG_VARS_OFF= uefi_target=RELEASE
+HTTP_BOOT_VARS= build_args+=-DHTTP_BOOT_ENABLE=TRUE
+
+BASH_CMD= ${LOCALBASE}/bin/bash
+
+MAKE_ARGS+= EXTRA_LDFLAGS=-static
+MAKE_ARGS+= SHELL=${BASH_CMD}
+MAKE_ENV+= PYTHON_COMMAND=${PYTHON_CMD}
+BUILD_ARGS= -DDEBUG_ON_SERIAL_PORT=TRUE
+
+post-extract:
+ @${RMDIR} ${WRKSRC}/CryptoPkg/Library/OpensslLib/openssl
+ @${MV} ${WRKSRC}/src/github.com/openssl/openssl \
+ ${WRKSRC}/CryptoPkg/Library/OpensslLib/openssl
+do-build:
+ ${MKDIR} ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE};
+ ${LN} -sf ${LOCALBASE}/bin/gcc${GCC_DEFAULT} ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/gcc
+ ${LN} -sf ${LOCALBASE}/bin/gcc${GCC_DEFAULT} ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/cc
+ ${LN} -sf ${LOCALBASE}/bin/g++${GCC_DEFAULT} ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/g++
+ ${LN} -sf ${LOCALBASE}/bin/ld ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/ld
+ ${LN} -sf ${LOCALBASE}/bin/gmake ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/make
+ ${LN} -sf ${LOCALBASE}/bin/gcc-ar${GCC_DEFAULT} ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/gcc-ar
+ ${LN} -sf ${LOCALBASE}/bin/gcc-nm${GCC_DEFAULT} ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/gcc-nm
+ ${LN} -sf ${LOCALBASE}/bin/objcopy ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/objcopy
+ ${LN} -sf ${LOCALBASE}/bin/nasm ${BUILD_WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/nasm
+ unset ARCH; unset MAKEFLAGS
+ ${SETENV} ${MAKE_ENV} ${BASH_CMD} -c "cd ${WRKSRC}; . ./edksetup.sh; ${MAKE_CMD} ${MAKE_ARGS} -C ${WRKSRC}/BaseTools"
+ ${SETENV} ${MAKE_ENV} ${BASH_CMD} -c " \
+ cd ${BUILD_WRKSRC}; \
+ unset ARCH; unset MAKEFLAGS; \
+ . ./edksetup.sh; \
+ build -t GCC5 -a X64 -b ${UEFI_TARGET} -p OvmfPkg/OvmfPkgX64.dsc ${BUILD_ARGS} \
+ "
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/uefi-firmware/
+ ${INSTALL} ${BUILD_WRKSRC}/Build/OvmfX64/${UEFI_TARGET}_GCC5/FV/OVMF_CODE.fd \
+ ${STAGEDIR}${PREFIX}/share/uefi-firmware/BHYVE_UEFI_CODE${PLIST_SUFFIX}-devel.fd
+ ${INSTALL} ${BUILD_WRKSRC}/Build/OvmfX64/${UEFI_TARGET}_GCC5/FV/OVMF_VARS.fd \
+ ${STAGEDIR}${PREFIX}/share/uefi-firmware/BHYVE_UEFI_VARS${PLIST_SUFFIX}-devel.fd
+
+.include <bsd.port.mk>
+RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*}
Added: head/sysutils/uefi-edk2-bhyve-devel/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/uefi-edk2-bhyve-devel/distinfo Sat Feb 8 14:55:34 2020 (r525557)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1556115530
+SHA256 (freebsd-uefi-edk2-g20190424-0613ec3_GH0.tar.gz) = fbdb9bedfcb2a05981e94027a2f29d1d16e89d923daad72e9437723ec9d1cbc0
+SIZE (freebsd-uefi-edk2-g20190424-0613ec3_GH0.tar.gz) = 34125617
+SHA256 (openssl-openssl-OpenSSL_1_1_0j_GH0.tar.gz) = 95f9d879e66f76711db28d8c2f24ab4e049ab7d5afb7266238a312c95bb9f338
+SIZE (openssl-openssl-OpenSSL_1_1_0j_GH0.tar.gz) = 5949610
Added: head/sysutils/uefi-edk2-bhyve-devel/files/patch-CryptoPkg_Library_OpensslLib_openssl_crypto_uid.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/uefi-edk2-bhyve-devel/files/patch-CryptoPkg_Library_OpensslLib_openssl_crypto_uid.c Sat Feb 8 14:55:34 2020 (r525557)
@@ -0,0 +1,11 @@
+--- CryptoPkg/Library/OpensslLib/openssl/crypto/uid.c.orig 2019-03-20 05:39:21 UTC
++++ CryptoPkg/Library/OpensslLib/openssl/crypto/uid.c
+@@ -14,6 +14,8 @@
+
+ # include OPENSSL_UNISTD
+
++int issetugid(void);
++
+ int OPENSSL_issetugid(void)
+ {
+ return issetugid();
Added: head/sysutils/uefi-edk2-bhyve-devel/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/uefi-edk2-bhyve-devel/pkg-descr Sat Feb 8 14:55:34 2020 (r525557)
@@ -0,0 +1,3 @@
+UEFI-EDK2 firmware for bhyve.
+
+WWW: https://github.com/freebsd/uefi-edk2/tree/bhyve/edk2-stable201903
Modified: head/sysutils/uefi-edk2-bhyve/Makefile
==============================================================================
--- head/sysutils/uefi-edk2-bhyve/Makefile Sat Feb 8 14:52:37 2020 (r525556)
+++ head/sysutils/uefi-edk2-bhyve/Makefile Sat Feb 8 14:55:34 2020 (r525557)
@@ -1,12 +1,14 @@
# $FreeBSD$
PORTNAME= uefi-edk2-bhyve
-DISTVERSION= g20190424
-PORTEPOCH= 2
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2
+PORTREVISION= 1
+PORTEPOCH= 1
CATEGORIES= sysutils
-MAINTAINER= bcran at FreeBSD.org
-COMMENT= UEFI-EDK2 firmware for bhyve
+MAINTAINER= araujo at FreeBSD.org
+COMMENT?= UEFI-EDK2 firmware for bhyve
LICENSE= BSD2CLAUSE
@@ -14,62 +16,71 @@ ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= bash:shells/bash \
nasm:devel/nasm \
- gcc${GCC_DEFAULT}:lang/gcc${GCC_DEFAULT} \
- ${PYTHON_PKGNAMEPREFIX}sqlite3>=3.4:databases/py-sqlite3@${PY_FLAVOR}
+ ${PYTHON_LIBDIR}/lib-dynload/_sqlite3.so:databases/py-sqlite3@${PY_FLAVOR}
USES= gmake \
- python:3.4+,build
-
+ python:2.7,build
+USE_GCC= 4.8
USE_GITHUB= yes
-GH_ACCOUNT= freebsd openssl:ssl
-GH_PROJECT= uefi-edk2 openssl:ssl
-GH_TAGNAME= bhyve/edk2-stable201903 OpenSSL_1_1_0j:ssl
-GH_SUBDIR= CryptoPkg/Library/OpensslLib/openssl:ssl
+GH_ACCOUNT= freebsd
+GH_PROJECT= uefi-edk2
+GH_TAGNAME= aa8d718
-MAKE_ARGS= EXTRA_LDFLAGS=-static
+PLIST_FILES= ${PREFIX}/share/uefi-firmware/BHYVE_UEFI${PLIST_SUFFIX}.fd
-PLIST_FILES= share/uefi-firmware/BHYVE_UEFI_CODE${PLIST_SUFFIX}-devel.fd \
- share/uefi-firmware/BHYVE_UEFI_VARS${PLIST_SUFFIX}-devel.fd
+OPTIONS_DEFINE= DEBUG
-OPTIONS_DEFINE= DEBUG HTTP_BOOT
-OPTIONS_DEFAULT=HTTP_BOOT
+DEBUG_VARS= uefi_target=DEBUG
+DEBUG_VARS_OFF= uefi_target=RELEASE
-DEBUG_DESC= Build a debug configuration
-HTTP_BOOT_DESC= Build with HTTP(S) boot support
+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
-DEBUG_VARS= uefi_target=DEBUG
-DEBUG_VARS_OFF= uefi_target=RELEASE
-HTTP_BOOT_VARS= build_args+=-DHTTP_BOOT_ENABLE=TRUE
+BUILD_ARGS=-DDEBUG_ON_SERIAL_PORT=TRUE -D FD_SIZE_2MB
-BUILD_ARGS= -DDEBUG_ON_SERIAL_PORT=TRUE
+.include <bsd.port.options.mk>
-post-patch:
- ${MKDIR} ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE};
- ${LN} -sf ${LOCALBASE}/bin/gcc${GCC_DEFAULT} ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/gcc
- ${LN} -sf ${LOCALBASE}/bin/gcc${GCC_DEFAULT} ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/cc
- ${LN} -sf ${LOCALBASE}/bin/g++${GCC_DEFAULT} ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/g++
- ${LN} -sf ${LOCALBASE}/bin/ld ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/ld
- ${LN} -sf ${LOCALBASE}/bin/gmake ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/make
- ${LN} -sf ${LOCALBASE}/bin/gcc-ar${GCC_DEFAULT} ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/gcc-ar
- ${LN} -sf ${LOCALBASE}/bin/gcc-nm${GCC_DEFAULT} ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/gcc-nm
- ${LN} -sf ${LOCALBASE}/bin/objcopy ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/objcopy
- ${LN} -sf ${PYTHON_CMD} ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/python
- ${LN} -sf ${LOCALBASE}/bin/nasm ${WRKSRC}/BaseTools/Bin/FreeBSD-${MACHINE}/nasm
+.if defined(WITH_CSM)
+PLIST_SUFFIX= _CSM
+BUILD_ARGS+= -DCSM_ENABLE=TRUE
+.endif
+post-extract:
+ @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/BaseTools/Tests/GNUmakefile \
+ ${WRKSRC}/BaseTools/BinWrappers/PosixLike/*
+
do-build:
- bash -c "cd ${WRKSRC}; . ./edksetup.sh; ${MAKE_CMD} -j${MAKE_JOBS_NUMBER} -C ${WRKSRC}/BaseTools"
+ 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
+.if defined(WITH_CSM)
bash -c " \
- cd ${WRKSRC}; \
+ cd ${BUILD_WRKSRC}; \
+ source edksetup.sh;\
unset ARCH; unset MAKEFLAGS; \
- . ./edksetup.sh; \
- build -t GCC5 -a X64 -b ${UEFI_TARGET} -p OvmfPkg/OvmfPkgX64.dsc ${BUILD_ARGS} \
+ ${MAKE_CMD} ${MAKE_ARGS} GCC48_BIN=${BUILD_WRKSRC}/Build/ -C ${BUILD_WRKSRC}/BhyvePkg/Csm/BhyveCsm16/"
+.endif
+ 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} ${WRKSRC}/Build/OvmfX64/${UEFI_TARGET}_GCC5/FV/OVMF_CODE.fd \
- ${STAGEDIR}${PREFIX}/share/uefi-firmware/BHYVE_UEFI_CODE${PLIST_SUFFIX}-devel.fd
- ${INSTALL} ${WRKSRC}/Build/OvmfX64/${UEFI_TARGET}_GCC5/FV/OVMF_VARS.fd \
- ${STAGEDIR}${PREFIX}/share/uefi-firmware/BHYVE_UEFI_VARS${PLIST_SUFFIX}-devel.fd
+ ${INSTALL} ${BUILD_WRKSRC}/Build/BhyveX64/${UEFI_TARGET}_GCC48/FV/BHYVE.fd \
+ ${STAGEDIR}${PREFIX}/share/uefi-firmware/BHYVE_UEFI${PLIST_SUFFIX}.fd
.include <bsd.port.mk>
+RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*}
Modified: head/sysutils/uefi-edk2-bhyve/distinfo
==============================================================================
--- head/sysutils/uefi-edk2-bhyve/distinfo Sat Feb 8 14:52:37 2020 (r525556)
+++ head/sysutils/uefi-edk2-bhyve/distinfo Sat Feb 8 14:55:34 2020 (r525557)
@@ -1,5 +1,3 @@
-TIMESTAMP = 1580748854
-SHA256 (freebsd-uefi-edk2-g20190424-bhyve-edk2-stable201903_GH0.tar.gz) = b231dfb6f570300cf9fe4936bf86ccde362f9bd5bfd279cf08e63c4b2ffb7785
-SIZE (freebsd-uefi-edk2-g20190424-bhyve-edk2-stable201903_GH0.tar.gz) = 34126901
-SHA256 (openssl-openssl-OpenSSL_1_1_0j_GH0.tar.gz) = 95f9d879e66f76711db28d8c2f24ab4e049ab7d5afb7266238a312c95bb9f338
-SIZE (openssl-openssl-OpenSSL_1_1_0j_GH0.tar.gz) = 5949610
+TIMESTAMP = 1548651484
+SHA256 (freebsd-uefi-edk2-v0.2-aa8d718_GH0.tar.gz) = 749ef1ec3fdb37434745a7ecf7f3d41e6c84aeb906d52e5f8ce85527a06a472e
+SIZE (freebsd-uefi-edk2-v0.2-aa8d718_GH0.tar.gz) = 30986800
Modified: head/sysutils/uefi-edk2-bhyve/pkg-descr
==============================================================================
--- head/sysutils/uefi-edk2-bhyve/pkg-descr Sat Feb 8 14:52:37 2020 (r525556)
+++ head/sysutils/uefi-edk2-bhyve/pkg-descr Sat Feb 8 14:55:34 2020 (r525557)
@@ -1,3 +1,3 @@
UEFI-EDK2 firmware for bhyve.
-WWW: https://github.com/freebsd/uefi-edk2/tree/bhyve/edk2-stable201903
+WWW: https://github.com/freebsd/uefi-edk2/tree/bhyve/UDK2014.SP1
More information about the svn-ports-all
mailing list