diff --git a/emulators/xen-kernel/Makefile b/emulators/xen-kernel/Makefile index bf5fa67e143d..94c3cd24e131 100644 --- a/emulators/xen-kernel/Makefile +++ b/emulators/xen-kernel/Makefile @@ -1,59 +1,60 @@ PORTNAME= xen PKGNAMESUFFIX= -kernel DISTVERSION= 4.21.0.20260212 +PORTREVISION= 1 CATEGORIES= emulators DIST_SUBDIR= xen/${PORTVERSION} USE_GITLAB= yes GL_ACCOUNT= xen-project GL_TAGNAME= afaf4e7b503ad3e79602b39064e58d6488d10f3d MAINTAINER= royger@FreeBSD.org COMMENT= Hypervisor using a microkernel design WWW= https://www.xenproject.org/ LICENSE= GPLv2 ONLY_FOR_ARCHS= amd64 USES= cpe gmake python:build bison # Ports build environment has ARCH=amd64 set which disables Xen automatic arch # detection, but amd64 is not a valid arch for Xen. Hardcode x86_64 on the # command line in order to overwrite the one from the environment. MAKE_ARGS= clang=y PYTHON=${PYTHON_CMD} ARCH=x86_64 NO_MTREE= yes STRIP= # PLIST_FILES= /boot/xen \ /boot/xen-debug \ lib/debug/boot/xen.debug \ lib/debug/boot/xen-debug.debug .include .if ${OPSYS} != FreeBSD IGNORE= only supported on FreeBSD .endif # The ports native 'build' target cannot be used because it sets # CFLAGS, and that breaks the Xen build system. # # Build both a production and a debug hypervisor. do-build: ${ECHO} "CONFIG_DEBUG=y" > ${WRKSRC}/xen/.config ${MAKE_CMD} -C ${WRKSRC}/xen olddefconfig ${MAKE_ARGS} ${MAKE_CMD} -j${MAKE_JOBS_NUMBER} -C ${WRKSRC} build-xen ${MAKE_ARGS} cp ${WRKSRC}/xen/xen ${WRKSRC}/xen/xen-debug cp ${WRKSRC}/xen/xen-syms ${WRKSRC}/xen/xen-debug-syms ${MAKE_CMD} -j${MAKE_JOBS_NUMBER} -C ${WRKSRC} distclean-xen ${MAKE_ARGS} ${MAKE_CMD} -j${MAKE_JOBS_NUMBER} -C ${WRKSRC} build-xen ${MAKE_ARGS} do-install: ${MKDIR} ${STAGEDIR}/boot ${MKDIR} ${STAGEDIR}${PREFIX}/lib/debug/boot/ ${INSTALL_PROGRAM} ${WRKSRC}/xen/xen ${STAGEDIR}/boot ${INSTALL_DATA} ${WRKSRC}/xen/xen-syms ${STAGEDIR}${PREFIX}/lib/debug/boot/xen.debug ${INSTALL_PROGRAM} ${WRKSRC}/xen/xen-debug ${STAGEDIR}/boot ${INSTALL_DATA} ${WRKSRC}/xen/xen-debug-syms ${STAGEDIR}${PREFIX}/lib/debug/boot/xen-debug.debug .include diff --git a/emulators/xen-kernel/distinfo b/emulators/xen-kernel/distinfo index 3e76c49ad739..a9a042702365 100644 --- a/emulators/xen-kernel/distinfo +++ b/emulators/xen-kernel/distinfo @@ -1,3 +1,3 @@ TIMESTAMP = 1772029881 -SHA256 (xen-project-xen-afaf4e7b503ad3e79602b39064e58d6488d10f3d_GL0.tar.gz) = 21a7a79febcca5985bf9933773949dd4454c9b8a497f9ef96715d8d6cca7ae43 -SIZE (xen-project-xen-afaf4e7b503ad3e79602b39064e58d6488d10f3d_GL0.tar.gz) = 7153568 +SHA256 (xen/4.21.0.20260212/xen-project-xen-afaf4e7b503ad3e79602b39064e58d6488d10f3d_GL0.tar.gz) = 21a7a79febcca5985bf9933773949dd4454c9b8a497f9ef96715d8d6cca7ae43 +SIZE (xen/4.21.0.20260212/xen-project-xen-afaf4e7b503ad3e79602b39064e58d6488d10f3d_GL0.tar.gz) = 7153568