From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0B36E138334 for ; Sun, 28 Jul 2019 23:18:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 348A1E0817; Sun, 28 Jul 2019 23:17:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04053E07F9 for ; Sun, 28 Jul 2019 23:17:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A28B0348E83 for ; Sun, 28 Jul 2019 23:17:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC5CF61C for ; Sun, 28 Jul 2019 23:17:54 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1564355839.aed5cfd1b2ec95c1b90d2a07ebaa6182a07ea95d.tamiko@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-firmware/edk2-ovmf/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-firmware/edk2-ovmf/edk2-ovmf-2017_pre20170505-r1.ebuild X-VCS-Directories: sys-firmware/edk2-ovmf/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: aed5cfd1b2ec95c1b90d2a07ebaa6182a07ea95d X-VCS-Branch: master Date: Sun, 28 Jul 2019 23:17:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 57d1e7e8-58e8-4b73-bd47-05d862abe87e X-Archives-Hash: a85397214f045a8b6e25b8100125a6bd commit: aed5cfd1b2ec95c1b90d2a07ebaa6182a07ea95d Author: Matthias Maier gentoo org> AuthorDate: Sun Jul 28 21:08:35 2019 +0000 Commit: Matthias Maier gentoo org> CommitDate: Sun Jul 28 23:17:19 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed5cfd1 sys-firmware/edk2-ovmf: drop vulnerable Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Matthias Maier gentoo.org> .../edk2-ovmf/edk2-ovmf-2017_pre20170505-r1.ebuild | 113 --------------------- 1 file changed, 113 deletions(-) diff --git a/sys-firmware/edk2-ovmf/edk2-ovmf-2017_pre20170505-r1.ebuild b/sys-firmware/edk2-ovmf/edk2-ovmf-2017_pre20170505-r1.ebuild deleted file mode 100644 index a487faaeb8d..00000000000 --- a/sys-firmware/edk2-ovmf/edk2-ovmf-2017_pre20170505-r1.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_REQ_USE="sqlite" -PYTHON_COMPAT=( python2_7 ) - -inherit eutils python-any-r1 readme.gentoo-r1 - -DESCRIPTION="UEFI firmware for 64-bit x86 virtual machines" -HOMEPAGE="https://github.com/tianocore/edk2" - -NON_BINARY_DEPEND=" - >=dev-lang/nasm-2.0.7 - >=sys-power/iasl-20160729 - ${PYTHON_DEPS} -" -DEPEND="" -RDEPEND="" -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/tianocore/edk2" - DEPEND+=" - ${NON_BINARY_DEPEND} - " -else - SRC_URI=" - binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-bin.tar.xz ) - !binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}.tar.xz )" - KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~x86-fbsd" - IUSE="+binary" - REQUIRED_USE+=" - !amd64? ( binary ) - " - DEPEND+=" - !binary? ( - amd64? ( - ${NON_BINARY_DEPEND} - ) - )" - PATCHES=( - "${FILESDIR}"/${P}-build_system_fixes.patch - ) -fi - -LICENSE="BSD-2 MIT" -SLOT="0" - -DISABLE_AUTOFORMATTING=true -DOC_CONTENTS="This package contains the tianocore edk2 UEFI firmware for 64-bit x86 -virtual machines. The firmware is located under - /usr/share/edk2-ovmf/OVMF.fd - /usr/share/edk2-ovmf/OVMF_CODE.fd - /usr/share/edk2-ovmf/OVMF_VARS.fd - -The firmware does not support csm (due to no free csm implementation -available). If you need a firmware with csm support you have to download -one for yourself. Firmware blobs are commonly labeled - OVMF{,_CODE,_VARS}-with-csm.fd - -In order to use the firmware you can run qemu the following way - - $ qemu-system-x86_64 \ - -drive file=/usr/share/edk2-ovmf/OVMF.fd,if=pflash,format=raw,unit=0,readonly=on \ - ... - -You can register the firmware for use in libvirt by adding to /etc/libvirt/qemu.conf: - nvram = [ - \"/usr/share/edk2-ovmf/OVMF_CODE.fd:/usr/share/edk2-ovmf/OVMF_VARS.fd\" - ]" - -pkg_setup() { - [[ ${PV} != "9999" ]] && use binary || python-any-r1_pkg_setup -} - -src_prepare() { - if [[ ${PV} != "9999" ]] && use binary; then - eapply_user - return - fi - default -} - -src_compile() { - TARGET_ARCH=X64 - TARGET_NAME=RELEASE - TARGET_TOOLS=GCC49 - - [[ ${PV} != "9999" ]] && use binary && return - - emake ARCH=${TARGET_ARCH} -C BaseTools -j1 - - . ./edksetup.sh - - ./OvmfPkg/build.sh \ - -a "${TARGET_ARCH}" -b "${TARGET_NAME}" -t "${TARGET_TOOLS}" \ - -D FD_SIZE_2MB \ - || die "OvmfPkg/build.sh failed" -} - -src_install() { - local builddir="Build/OvmfX64/${TARGET_NAME}_${TARGET_TOOLS}/FV" - - insinto /usr/share/${PN} - doins "${builddir}"/OVMF{,_CODE,_VARS}.fd - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog -}