Skip to content

Commit

Permalink
{emulators,sysutils}/xen-{kernel,tools}: update to 4.17.2
Browse files Browse the repository at this point in the history
Also take the opportunity to switch to fetching the sources from the GitHub
mirror based on commit hash.  This makes it easier to update the port when
security fixes or relevant bugfixes are backported to the stable branches,
instead of manually having to cherry pick the changes and add them as patches.

Long term we should look into building emulators/qemu with Xen support so that
the xen-tools package doesn't need to carry its own version of QEMU.

Approved by: bapt (implicit)
  • Loading branch information
Roger Pau Monné authored and Roger Pau Monné committed Oct 16, 2023
1 parent 142e896 commit 8b5aa5e
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 643 deletions.
19 changes: 7 additions & 12 deletions emulators/xen-kernel/Makefile
@@ -1,9 +1,11 @@
PORTNAME= xen
PORTVERSION= 4.17.0
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://downloads.xenproject.org/release/xen/${PORTVERSION}/
PKGNAMESUFFIX= -kernel
DISTVERSION= 4.17.2.20230929
CATEGORIES= emulators

USE_GITLAB= yes
GL_ACCOUNT= xen-project
GL_TAGNAME= 0b56bed864ca9b572473957f0254aefa797216f2

MAINTAINER= royger@FreeBSD.org
COMMENT= Hypervisor using a microkernel design
Expand All @@ -26,14 +28,7 @@ PLIST_FILES= /boot/xen \
lib/debug/boot/xen.debug \
lib/debug/boot/xen-debug.debug

# XSAs
EXTRA_PATCHES+= ${PATCHDIR}/xsa425.patch:-p1 \
${PATCHDIR}/xsa426.patch:-p1 \
${PATCHDIR}/0001-xen-Work-around-Clang-IAS-macro-expansion-bug.patch:-p1
# Backports
# clang build fixes
EXTRA_PATCHES+= ${PATCHDIR}/0001-xen-x86-Remove-the-use-of-K-R-functions.patch:-p1
# Support for fetching video mode from PVH dom0
# Support for fetching video mode for PVH dom0
EXTRA_PATCHES+= ${PATCHDIR}/0001-x86-platform-introduce-hypercall-to-get-initial-vide.patch:-p1 \
${PATCHDIR}/0001-x86-platform-make-XENPF_get_dom0_console-actually-us.patch:-p1

Expand Down
6 changes: 3 additions & 3 deletions emulators/xen-kernel/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1678353105
SHA256 (xen-4.17.0.tar.gz) = 119fc44fa3f9b581f1929c2ed8e0f97fac59a1828bc5ec5c244df096e7343ef9
SIZE (xen-4.17.0.tar.gz) = 46484553
TIMESTAMP = 1697454930
SHA256 (xen-project-xen-0b56bed864ca9b572473957f0254aefa797216f2_GL0.tar.gz) = 67416c990b22ce989f7a1011482b5a99372b8a6060d55230258daf859524c0e5
SIZE (xen-project-xen-0b56bed864ca9b572473957f0254aefa797216f2_GL0.tar.gz) = 6703002

This file was deleted.

This file was deleted.

132 changes: 0 additions & 132 deletions emulators/xen-kernel/files/xsa425.patch

This file was deleted.

0 comments on commit 8b5aa5e

Please sign in to comment.