pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

First working version of qemu-guest-agent!



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Tue Apr 9 20:55:22 2024 +0200
Changeset:	b0743c5409eb3e5605fddf85cba8ae7aa4347fb5

Modified Files:
	qemu-guest-agent/DESCR
	qemu-guest-agent/Makefile
	qemu-guest-agent/PLIST
Removed Files:
	qemu-guest-agent/options.mk

Log Message:
First working version of qemu-guest-agent!

This still needs more cleanup before committing.

PR pkg/57922

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b0743c5409eb3e5605fddf85cba8ae7aa4347fb5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 qemu-guest-agent/DESCR      |  12 +-
 qemu-guest-agent/Makefile   | 199 ++++---------------
 qemu-guest-agent/PLIST      | 474 +-------------------------------------------
 qemu-guest-agent/options.mk | 103 ----------
 4 files changed, 45 insertions(+), 743 deletions(-)

diffs:
diff --git a/qemu-guest-agent/DESCR b/qemu-guest-agent/DESCR
index d939711a26..d2622fb115 100644
--- a/qemu-guest-agent/DESCR
+++ b/qemu-guest-agent/DESCR
@@ -1,11 +1,5 @@
 QEMU is a FAST! processor emulator using dynamic translation to achieve
-good emulation speed, QEMU has two operating modes:
+good emulation speed.
 
-    * Full system emulation. In this mode, QEMU emulates a full system
-      (for example a PC), including a processor and various peripherals.
-      It can be used to launch different Operating Systems without rebooting
-      the PC or to debug system code.
-    * User mode emulation (Linux host only). In this mode, QEMU can launch
-      Linux processes compiled for one CPU on another CPU. It can be used
-      to launch the Wine Windows API emulator or to ease cross-compilation
-      and cross-debugging.
+This package contains the only the Guest Agent, which is run on the
+guest and enables communicating with the host.
diff --git a/qemu-guest-agent/Makefile b/qemu-guest-agent/Makefile
index 6b56ec37d8..2601c3940d 100644
--- a/qemu-guest-agent/Makefile
+++ b/qemu-guest-agent/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.340 2024/04/07 07:33:58 wiz Exp $
 
 DISTNAME=	qemu-8.2.2
-PKGREVISION=	2
+PKGNAME=	${DISTNAME:S/qemu/qemu-guest-agent/}
 CATEGORIES=	emulators
 MASTER_SITES=	https://download.qemu.org/
 EXTRACT_SUFX=	.tar.xz
@@ -13,12 +13,10 @@ LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2.1 AND mit AND modified-bsd
 
 TOOL_DEPENDS+=	meson-[0-9]*:../../devel/meson
 TOOL_DEPENDS+=	ninja-build-[0-9]*:../../devel/ninja-build
-TOOL_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-TOOL_DEPENDS+=	${PYPKGPREFIX}-sphinx-rtd-theme>=1.2.0:../../textproc/py-sphinx-rtd-theme
 
-USE_CURSES=		resize_term wide
 USE_LANGUAGES+=		c c++
-USE_TOOLS+=		bison flex makeinfo perl:build pod2man pkg-config
+#USE_TOOLS+=		bison flex makeinfo perl:build pod2man pkg-config
+USE_TOOLS+=		pkg-config perl:build
 UNLIMIT_RESOURCES=	datasize
 HAS_CONFIGURE=		yes
 
@@ -27,156 +25,58 @@ GCC_REQD+=		7
 
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 
-.include "options.mk"
-
 .include "../../mk/bsd.prefs.mk"
 
-# When upgrading Qemu, you need to determine if this PALcode binary for
-# the Alpha emulator needs to be re-built.  If it does not, then you do
-# not need to bump the version of this PALcode binary blob (which is
-# supplied as a separate distfile).  Contact thorpej@ for details.
-PALCODE_CLIPPER=	palcode-clipper-qemu-5.2.0nb8
-
-DISTFILES=		${DEFAULT_DISTFILES}
-DISTFILES+=		${PALCODE_CLIPPER}
-SITES.${PALCODE_CLIPPER}= http://ftp.NetBSD.org/pub/NetBSD/arch/alpha/qemu/
-
 CONFIGURE_ARGS+=	--prefix=${PREFIX}
 CONFIGURE_ARGS+=	--interp-prefix=${PREFIX}/share/qemu
 CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=	--python=${PYTHONBIN}
 CONFIGURE_ARGS+=	--smbd=${PREFIX}/sbin/smbd
 CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR}
-CONFIGURE_ARGS+=	--enable-curses
-CONFIGURE_ARGS+=	--enable-docs
 CONFIGURE_ENV+=		mansuffix=/${PKGMANDIR}
 ALL_ENV+=		MESON_RSP_THRESHOLD=262144
 
-.if defined(PKGSRC_USE_SSP)
-# do not add flags to everything
-PKGSRC_USE_SSP=		no
-CONFIGURE_ARGS+=	--enable-stack-protector
-.endif
-
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-aarch64
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-alpha
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-arm
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-cris
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-hppa
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-i386
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-m68k
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-microblaze
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-microblazeel
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-mips
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-mips64
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-mips64el
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-mipsel
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-nios2
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-or1k
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-ppc
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-ppc64
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-riscv32
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-riscv64
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-s390x
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-sh4
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-sh4eb
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-sparc
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-sparc64
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-tricore
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-x86_64
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-xtensa
-NOT_PAX_MPROTECT_SAFE+=	bin/qemu-system-xtensaeb
+CONFIGURE_ARGS+=	--enable-guest-agent
+CONFIGURE_ARGS+=	--disable-tools
+CONFIGURE_ARGS+=	--disable-xkbcommon
+CONFIGURE_ARGS+=	--disable-attr
+CONFIGURE_ARGS+=	--disable-install-blobs
+CONFIGURE_ARGS+=	--disable-brlapi
+CONFIGURE_ARGS+=	--disable-bzip2
+CONFIGURE_ARGS+=	--disable-cap-ng
+CONFIGURE_ARGS+=	--disable-coroutine-pool
+CONFIGURE_ARGS+=	--disable-curses
+CONFIGURE_ARGS+=	--disable-docs
+CONFIGURE_ARGS+=	--disable-fdt
+CONFIGURE_ARGS+=	--disable-gcrypt
+CONFIGURE_ARGS+=	--disable-glusterfs
+CONFIGURE_ARGS+=	--disable-libnfs
+CONFIGURE_ARGS+=	--disable-libusb
+CONFIGURE_ARGS+=	--disable-lzo
+CONFIGURE_ARGS+=	--disable-netmap
+CONFIGURE_ARGS+=	--disable-nettle
+CONFIGURE_ARGS+=	--disable-numa
+CONFIGURE_ARGS+=	--disable-rbd
+CONFIGURE_ARGS+=	--disable-rdma
+CONFIGURE_ARGS+=	--disable-seccomp
+CONFIGURE_ARGS+=	--disable-smartcard
+CONFIGURE_ARGS+=	--disable-snappy
+CONFIGURE_ARGS+=	--disable-spice
+CONFIGURE_ARGS+=	--disable-system
+CONFIGURE_ARGS+=	--disable-tpm
+CONFIGURE_ARGS+=	--disable-user
+CONFIGURE_ARGS+=	--disable-vhost-net
+CONFIGURE_ARGS+=	--disable-virtfs
+CONFIGURE_ARGS+=	--disable-vnc
 
 PKG_SYSCONFSUBDIR=	qemu
 
 INSTALLATION_DIRS=	${PKGMANDIR}/man1 share/doc/qemu
 
-.include "../../mk/oss.buildlink3.mk"
-
-.if ${OSS_TYPE} != "none"
-SUBST_CLASSES+=		oss
-SUBST_STAGE.oss=	pre-configure
-SUBST_MESSAGE.oss=	Correcting the path to the OSS device.
-SUBST_FILES.oss+=	audio/ossaudio.c
-SUBST_SED.oss+=		-e "s,/dev/dsp,${DEVOSSAUDIO},g"
-.endif
-
-UE_ARCHS+=		aarch64 aarch64_be
-UE_ARCHS+=		alpha arm armeb cris
-UE_ARCHS+=		hexagon hppa
-UE_ARCHS+=		i386
-UE_ARCHS+=		loongarch64
-UE_ARCHS+=		m68k microblaze microblazeel
-UE_ARCHS+=		mips mips64 mips64el mipsel mipsn32 mipsn32el
-UE_ARCHS+=		nios2
-UE_ARCHS+=		or1k ppc ppc64 ppc64le
-UE_ARCHS+=		riscv32 riscv64
-UE_ARCHS+=		s390x sh4 sh4eb sparc sparc32plus sparc64
-UE_ARCHS+=		x86_64 xtensa xtensaeb
-
-.if ${OPSYS} == "NetBSD"
-PLIST.ga=			yes
-PLIST.nbd=			yes
-.  if !exists(/usr/include/machine/trap.h)	\
-	|| "1"=="1"	# XXX usermode emulation is broken
-CONFIGURE_ARGS+=		--disable-bsd-user
-.  else
-CONFIGURE_ARGS+=		--enable-bsd-user
-USER_EMUL=			i386 x86_64
-.  endif
-.elif ${OPSYS:M*BSD} || ${OPSYS} == "DragonFly"
-USER_EMUL=			i386 x86_64
-PLIST.ga=			yes
-PLIST.nbd=			yes
-.elif ${OPSYS} == "Darwin"
-USER_EMUL=
-CONFIGURE_ARGS+=		--disable-bsd-user
-PLIST.nbd=			yes
-.elif ${OPSYS} == "Linux"
-# Help this package to build on systems too old for user-mode code.
-HAVE_LINUX_USER!=	${CPP} ${CPPFLAGS} ${FILESDIR}/linux-user-test.h \
-  >/dev/null 2>&1 && echo yes || echo no
-.  if ${HAVE_LINUX_USER} != "yes"
-CONFIGURE_ARGS+=		--disable-linux-user
-.  else
-USER_EMUL=			${UE_ARCHS}
-.  endif
-PLIST.bridge-helper=		yes
-PLIST.ga=			yes
-PLIST.nbd=			yes
-PLIST.pr-helper=		yes
-.elif ${MACHINE_PLATFORM:MSunOS-5.11-*}
-PLIST.ga=			yes
-PLIST.nbd=			yes
-CONFIGURE_ARGS+=		--disable-coroutine-pool
-.endif
-
-PLIST_VARS+=		plugins
-.if ${OPSYS} != "SunOS"
-PLIST.plugins=		yes
-CONFIGURE_ARGS+=	--enable-plugins
-.else
-CONFIGURE_ARGS+=	--disable-plugins
-.endif
-
-PLIST_VARS+=		${UE_ARCHS} bridge-helper ga keymap nbd pr-helper
-.for pvar in ${USER_EMUL}
-PLIST.${pvar}=		yes
-.endfor
-
-# different versions of Sphinx generate different static files
-PLIST_SRC=	PLIST ${WRKDIR}/PLIST.STATIC
-
-PRINT_PLIST_AWK+=	/\/_static\// { next; }
-
 TEST_TARGET=		check
 
 PYTHON_FOR_BUILD_ONLY=	tool
 
-post-extract:
-	cp ${WRKDIR}/${PALCODE_CLIPPER} ${WRKSRC}/pc-bios/palcode-clipper
-	cp ${FILESDIR}/hw-mips-mipssim_virtio.c ${WRKSRC}/hw/mips/mipssim_virtio.c
-
 do-build:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
 		ninja -j ${_MAKE_JOBS_N:U1} -C build
@@ -190,35 +90,8 @@ do-install:
 post-build:
 	${TOUCH} ${WRKSRC}/config-host.mak
 
-post-install:
-	${INSTALL_DATA} ${FILESDIR}/Makefile.multinode-NetBSD \
-		${DESTDIR}${PREFIX}/share/doc/qemu/
-	${INSTALL_DATA} ${FILESDIR}/README.NetBSD \
-		${DESTDIR}${PREFIX}/share/doc/qemu/
-	${RM} -f ${DESTDIR}${PREFIX}/share/doc/qemu/interop/.buildinfo
-	${RM} -f ${DESTDIR}${PREFIX}/share/doc/qemu/specs/.buildinfo
-	${RM} -f ${WRKDIR}/PLIST.STATIC
-	cd ${DESTDIR}${PREFIX} && \
-	${FIND} share/doc/qemu -path '*/_static/*' -type f -print > ${WRKDIR}/PLIST.STATIC
-
-.include "../../archivers/lzo/buildlink3.mk"
-.include "../../archivers/zstd/buildlink3.mk"
+
 .include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/libusb1/buildlink3.mk"
-.include "../../devel/snappy/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
 .include "../../lang/python/tool.mk"
-.include "../../net/libslirp/buildlink3.mk"
-.include "../../security/libgcrypt/buildlink3.mk"
-.include "../../sysutils/dtc/buildlink3.mk"
-.include "../../www/curl/buildlink3.mk"
-.include "../../x11/pixman/buildlink3.mk"
-.if ${OPSYS} != "Darwin"
-.include "../../x11/xkeyboard-config/buildlink3.mk"
-.endif
-.include "../../mk/curses.buildlink3.mk"
-.include "../../mk/jpeg.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/qemu-guest-agent/PLIST b/qemu-guest-agent/PLIST
index 383cf25e6a..768d912ffa 100644
--- a/qemu-guest-agent/PLIST
+++ b/qemu-guest-agent/PLIST
@@ -1,469 +1,7 @@
-@comment $NetBSD: PLIST,v 1.88 2023/12/28 17:15:39 adam Exp $
-bin/elf2dmp
-${PLIST.aarch64}bin/qemu-aarch64
-${PLIST.aarch64_be}bin/qemu-aarch64_be
-${PLIST.alpha}bin/qemu-alpha
-${PLIST.arm}bin/qemu-arm
-${PLIST.armeb}bin/qemu-armeb
-${PLIST.cris}bin/qemu-cris
-bin/qemu-edid
-${PLIST.ga}bin/qemu-ga
-${PLIST.hexagon}bin/qemu-hexagon
-${PLIST.hppa}bin/qemu-hppa
-${PLIST.i386}bin/qemu-i386
-bin/qemu-img
-bin/qemu-io
-${PLIST.keymap}bin/qemu-keymap
-${PLIST.loongarch64}bin/qemu-loongarch64
-${PLIST.m68k}bin/qemu-m68k
-${PLIST.microblaze}bin/qemu-microblaze
-${PLIST.microblazeel}bin/qemu-microblazeel
-${PLIST.mips}bin/qemu-mips
-${PLIST.mips64}bin/qemu-mips64
-${PLIST.mips64el}bin/qemu-mips64el
-${PLIST.mipsel}bin/qemu-mipsel
-${PLIST.mipsn32}bin/qemu-mipsn32
-${PLIST.mipsn32el}bin/qemu-mipsn32el
-${PLIST.nbd}bin/qemu-nbd
-${PLIST.nios2}bin/qemu-nios2
-${PLIST.or1k}bin/qemu-or1k
-${PLIST.ppc}bin/qemu-ppc
-${PLIST.ppc64}bin/qemu-ppc64
-${PLIST.ppc64le}bin/qemu-ppc64le
-${PLIST.pr-helper}bin/qemu-pr-helper
-${PLIST.riscv32}bin/qemu-riscv32
-${PLIST.riscv64}bin/qemu-riscv64
-${PLIST.s390x}bin/qemu-s390x
-${PLIST.sh4}bin/qemu-sh4
-${PLIST.sh4eb}bin/qemu-sh4eb
-${PLIST.sparc}bin/qemu-sparc
-${PLIST.sparc32plus}bin/qemu-sparc32plus
-${PLIST.sparc64}bin/qemu-sparc64
-bin/qemu-storage-daemon
-bin/qemu-system-aarch64
-bin/qemu-system-alpha
-bin/qemu-system-arm
-bin/qemu-system-avr
-bin/qemu-system-cris
-bin/qemu-system-hppa
-bin/qemu-system-i386
-bin/qemu-system-loongarch64
-bin/qemu-system-m68k
-bin/qemu-system-microblaze
-bin/qemu-system-microblazeel
-bin/qemu-system-mips
-bin/qemu-system-mips64
-bin/qemu-system-mips64el
-bin/qemu-system-mipsel
-bin/qemu-system-nios2
-bin/qemu-system-or1k
-bin/qemu-system-ppc
-bin/qemu-system-ppc64
-bin/qemu-system-riscv32
-bin/qemu-system-riscv64
-bin/qemu-system-rx
-bin/qemu-system-s390x
-bin/qemu-system-sh4
-bin/qemu-system-sh4eb
-bin/qemu-system-sparc
-bin/qemu-system-sparc64
-bin/qemu-system-tricore
-bin/qemu-system-x86_64
-bin/qemu-system-xtensa
-bin/qemu-system-xtensaeb
-${PLIST.x86_64}bin/qemu-x86_64
-${PLIST.xtensa}bin/qemu-xtensa
-${PLIST.xtensaeb}bin/qemu-xtensaeb
-${PLIST.plugins}include/qemu-plugin.h
-${PLIST.bridge-helper}libexec/qemu-bridge-helper
-${PLIST.virtfs-proxy-helper}libexec/virtfs-proxy-helper
-man/man1/qemu-img.1
-man/man1/qemu-storage-daemon.1
-man/man1/qemu.1
-${PLIST.virtfs-proxy-helper}man/man1/virtfs-proxy-helper.1
-man/man7/qemu-block-drivers.7
-man/man7/qemu-cpu-models.7
-${PLIST.ga}man/man7/qemu-ga-ref.7
-man/man7/qemu-qmp-ref.7
-man/man7/qemu-storage-daemon-qmp-ref.7
-${PLIST.ga}man/man8/qemu-ga.8
-man/man8/qemu-nbd.8
-man/man8/qemu-pr-helper.8
-share/applications/qemu.desktop
-share/doc/qemu/.buildinfo
-share/doc/qemu/Makefile.multinode-NetBSD
-share/doc/qemu/README.NetBSD
-share/doc/qemu/about/build-platforms.html
-share/doc/qemu/about/deprecated.html
-share/doc/qemu/about/emulation.html
-share/doc/qemu/about/index.html
-share/doc/qemu/about/license.html
-share/doc/qemu/about/removed-features.html
-share/doc/qemu/dbus-dbusindex.html
-share/doc/qemu/devel/acpi-bits.html
-share/doc/qemu/devel/atomics.html
-share/doc/qemu/devel/bitops.html
-share/doc/qemu/devel/block-coroutine-wrapper.html
-share/doc/qemu/devel/build-system.html
-share/doc/qemu/devel/ci.html
-share/doc/qemu/devel/clocks.html
-share/doc/qemu/devel/code-of-conduct.html
-share/doc/qemu/devel/conflict-resolution.html
-share/doc/qemu/devel/control-flow-integrity.html
-share/doc/qemu/devel/decodetree.html
-share/doc/qemu/devel/ebpf_rss.html
-share/doc/qemu/devel/fuzzing.html
-share/doc/qemu/devel/index-api.html
-share/doc/qemu/devel/index-build.html
-share/doc/qemu/devel/index-internals.html
-share/doc/qemu/devel/index-process.html
-share/doc/qemu/devel/index-tcg.html
-share/doc/qemu/devel/index.html
-share/doc/qemu/devel/kconfig.html
-share/doc/qemu/devel/loads-stores.html
-share/doc/qemu/devel/maintainers.html
-share/doc/qemu/devel/memory.html
-share/doc/qemu/devel/migration.html
-share/doc/qemu/devel/modules.html
-share/doc/qemu/devel/multi-process.html
-share/doc/qemu/devel/multi-thread-tcg.html
-share/doc/qemu/devel/pci.html
-share/doc/qemu/devel/qapi-code-gen.html
-share/doc/qemu/devel/qdev-api.html
-share/doc/qemu/devel/qgraph.html
-share/doc/qemu/devel/qom-api.html
-share/doc/qemu/devel/qom.html
-share/doc/qemu/devel/qtest.html
-share/doc/qemu/devel/replay.html
-share/doc/qemu/devel/reset.html
-share/doc/qemu/devel/s390-cpu-topology.html
-share/doc/qemu/devel/s390-dasd-ipl.html
-share/doc/qemu/devel/secure-coding-practices.html
-share/doc/qemu/devel/stable-process.html
-share/doc/qemu/devel/style.html
-share/doc/qemu/devel/submitting-a-patch.html
-share/doc/qemu/devel/submitting-a-pull-request.html
-share/doc/qemu/devel/tcg-icount.html
-share/doc/qemu/devel/tcg-ops.html
-share/doc/qemu/devel/tcg-plugins.html
-share/doc/qemu/devel/tcg.html
-share/doc/qemu/devel/testing.html
-share/doc/qemu/devel/tracing.html
-share/doc/qemu/devel/trivial-patches.html
-share/doc/qemu/devel/ui.html
-share/doc/qemu/devel/vfio-migration.html
-share/doc/qemu/devel/virtio-backends.html
-share/doc/qemu/devel/writing-monitor-commands.html
-share/doc/qemu/devel/zoned-storage.html
-share/doc/qemu/genindex.html
-share/doc/qemu/index.html
-share/doc/qemu/interop/barrier.html
-share/doc/qemu/interop/bitmaps.html
-share/doc/qemu/interop/dbus-display.html
-share/doc/qemu/interop/dbus-vmstate.html
-share/doc/qemu/interop/dbus.html
-share/doc/qemu/interop/index.html
-share/doc/qemu/interop/live-block-operations.html
-share/doc/qemu/interop/pr-helper.html
-share/doc/qemu/interop/qemu-ga-ref.html
-share/doc/qemu/interop/qemu-ga.html
-share/doc/qemu/interop/qemu-qmp-ref.html
-share/doc/qemu/interop/qemu-storage-daemon-qmp-ref.html
-share/doc/qemu/interop/qmp-spec.html
-share/doc/qemu/interop/vhost-user-gpu.html
-share/doc/qemu/interop/vhost-user.html
-share/doc/qemu/interop/vhost-vdpa.html
-share/doc/qemu/interop/virtio-balloon-stats.html
-share/doc/qemu/interop/vnc-ledstate-pseudo-encoding.html
-share/doc/qemu/objects.inv
-share/doc/qemu/search.html
-share/doc/qemu/searchindex.js
-share/doc/qemu/specs/acpi_cpu_hotplug.html
-share/doc/qemu/specs/acpi_erst.html
-share/doc/qemu/specs/acpi_hest_ghes.html
-share/doc/qemu/specs/acpi_hw_reduced_hotplug.html
-share/doc/qemu/specs/acpi_mem_hotplug.html
-share/doc/qemu/specs/acpi_nvdimm.html
-share/doc/qemu/specs/acpi_pci_hotplug.html
-share/doc/qemu/specs/edu.html
-share/doc/qemu/specs/fw_cfg.html
-share/doc/qemu/specs/index.html
-share/doc/qemu/specs/ivshmem-spec.html
-share/doc/qemu/specs/pci-ids.html
-share/doc/qemu/specs/pci-serial.html
-share/doc/qemu/specs/pci-testdev.html
-share/doc/qemu/specs/ppc-spapr-hcalls.html
-share/doc/qemu/specs/ppc-spapr-hotplug.html
-share/doc/qemu/specs/ppc-spapr-numa.html
-share/doc/qemu/specs/ppc-spapr-uv-hcalls.html
-share/doc/qemu/specs/ppc-spapr-xive.html
-share/doc/qemu/specs/ppc-xive.html
-share/doc/qemu/specs/pvpanic.html
-share/doc/qemu/specs/sev-guest-firmware.html
-share/doc/qemu/specs/standard-vga.html
-share/doc/qemu/specs/tpm.html
-share/doc/qemu/specs/virt-ctlr.html
-share/doc/qemu/specs/vmcoreinfo.html
-share/doc/qemu/specs/vmgenid.html
-share/doc/qemu/specs/vmw_pvscsi-spec.html
-share/doc/qemu/system/arm/aspeed.html
-share/doc/qemu/system/arm/bananapi_m2u.html
-share/doc/qemu/system/arm/collie.html
-share/doc/qemu/system/arm/cpu-features.html
-share/doc/qemu/system/arm/cubieboard.html
-share/doc/qemu/system/arm/digic.html
-share/doc/qemu/system/arm/emcraft-sf2.html
-share/doc/qemu/system/arm/emulation.html
-share/doc/qemu/system/arm/gumstix.html
-share/doc/qemu/system/arm/highbank.html
-share/doc/qemu/system/arm/imx25-pdk.html
-share/doc/qemu/system/arm/integratorcp.html
-share/doc/qemu/system/arm/kzm.html
-share/doc/qemu/system/arm/mainstone.html
-share/doc/qemu/system/arm/mps2.html
-share/doc/qemu/system/arm/musca.html
-share/doc/qemu/system/arm/musicpal.html
-share/doc/qemu/system/arm/nrf.html
-share/doc/qemu/system/arm/nseries.html
-share/doc/qemu/system/arm/nuvoton.html
-share/doc/qemu/system/arm/orangepi.html
-share/doc/qemu/system/arm/palm.html
-share/doc/qemu/system/arm/raspi.html
-share/doc/qemu/system/arm/realview.html
-share/doc/qemu/system/arm/sabrelite.html
-share/doc/qemu/system/arm/sbsa.html
-share/doc/qemu/system/arm/stellaris.html
-share/doc/qemu/system/arm/stm32.html
-share/doc/qemu/system/arm/sx1.html
-share/doc/qemu/system/arm/versatile.html
-share/doc/qemu/system/arm/vexpress.html
-share/doc/qemu/system/arm/virt.html
-share/doc/qemu/system/arm/xenpvh.html
-share/doc/qemu/system/arm/xlnx-versal-virt.html
-share/doc/qemu/system/arm/xscale.html
-share/doc/qemu/system/authz.html
-share/doc/qemu/system/barrier.html
-share/doc/qemu/system/bootindex.html
-share/doc/qemu/system/confidential-guest-support.html
-share/doc/qemu/system/cpu-hotplug.html
-share/doc/qemu/system/device-emulation.html
-share/doc/qemu/system/devices/can.html
-share/doc/qemu/system/devices/canokey.html
-share/doc/qemu/system/devices/ccid.html
-share/doc/qemu/system/devices/cxl.html
-share/doc/qemu/system/devices/igb.html
-share/doc/qemu/system/devices/ivshmem.html
-share/doc/qemu/system/devices/keyboard.html
-share/doc/qemu/system/devices/net.html
-share/doc/qemu/system/devices/nvme.html
-share/doc/qemu/system/devices/usb-u2f.html
-share/doc/qemu/system/devices/usb.html
-share/doc/qemu/system/devices/vhost-user-rng.html
-share/doc/qemu/system/devices/vhost-user.html
-share/doc/qemu/system/devices/virtio-gpu.html
-share/doc/qemu/system/devices/virtio-pmem.html
-share/doc/qemu/system/devices/virtio-snd.html
-share/doc/qemu/system/gdb.html
-share/doc/qemu/system/generic-loader.html
-share/doc/qemu/system/guest-loader.html
-share/doc/qemu/system/i386/amd-memory-encryption.html
-share/doc/qemu/system/i386/cpu.html
-share/doc/qemu/system/i386/hyperv.html
-share/doc/qemu/system/i386/kvm-pv.html
-share/doc/qemu/system/i386/microvm.html
-share/doc/qemu/system/i386/pc.html
-share/doc/qemu/system/i386/sgx.html
-share/doc/qemu/system/i386/xen.html
-share/doc/qemu/system/images.html
-share/doc/qemu/system/index.html
-share/doc/qemu/system/introduction.html
-share/doc/qemu/system/invocation.html
-share/doc/qemu/system/keys.html
-share/doc/qemu/system/linuxboot.html
-share/doc/qemu/system/loongarch/virt.html
-share/doc/qemu/system/managed-startup.html
-share/doc/qemu/system/monitor.html
-share/doc/qemu/system/multi-process.html
-share/doc/qemu/system/mux-chardev.html
-share/doc/qemu/system/openrisc/cpu-features.html
-share/doc/qemu/system/openrisc/emulation.html
-share/doc/qemu/system/openrisc/or1k-sim.html
-share/doc/qemu/system/openrisc/virt.html
-share/doc/qemu/system/ppc/embedded.html
-share/doc/qemu/system/ppc/powermac.html
-share/doc/qemu/system/ppc/powernv.html
-share/doc/qemu/system/ppc/ppce500.html
-share/doc/qemu/system/ppc/prep.html
-share/doc/qemu/system/ppc/pseries.html
-share/doc/qemu/system/pr-manager.html
-share/doc/qemu/system/qemu-block-drivers.html
-share/doc/qemu/system/qemu-cpu-models.html
-share/doc/qemu/system/qemu-manpage.html
-share/doc/qemu/system/replay.html
-share/doc/qemu/system/riscv/microchip-icicle-kit.html
-share/doc/qemu/system/riscv/shakti-c.html
-share/doc/qemu/system/riscv/sifive_u.html
-share/doc/qemu/system/riscv/virt.html
-share/doc/qemu/system/s390x/3270.html
-share/doc/qemu/system/s390x/bootdevices.html
-share/doc/qemu/system/s390x/cpu-topology.html
-share/doc/qemu/system/s390x/css.html
-share/doc/qemu/system/s390x/pcidevices.html
-share/doc/qemu/system/s390x/protvirt.html
-share/doc/qemu/system/s390x/vfio-ap.html
-share/doc/qemu/system/s390x/vfio-ccw.html
-share/doc/qemu/system/secrets.html
-share/doc/qemu/system/security.html
-share/doc/qemu/system/target-arm.html
-share/doc/qemu/system/target-avr.html
-share/doc/qemu/system/target-i386.html
-share/doc/qemu/system/target-m68k.html
-share/doc/qemu/system/target-mips.html
-share/doc/qemu/system/target-openrisc.html
-share/doc/qemu/system/target-ppc.html
-share/doc/qemu/system/target-riscv.html
-share/doc/qemu/system/target-rx.html
-share/doc/qemu/system/target-s390x.html
-share/doc/qemu/system/target-sparc.html
-share/doc/qemu/system/target-sparc64.html
-share/doc/qemu/system/target-xtensa.html
-share/doc/qemu/system/targets.html
-share/doc/qemu/system/tls.html
-share/doc/qemu/system/virtio-net-failover.html
-share/doc/qemu/system/vm-templating.html
-share/doc/qemu/system/vnc-security.html
-share/doc/qemu/tools/index.html
-share/doc/qemu/tools/qemu-img.html
-share/doc/qemu/tools/qemu-nbd.html
-share/doc/qemu/tools/qemu-pr-helper.html
-share/doc/qemu/tools/qemu-storage-daemon.html
-share/doc/qemu/tools/qemu-trace-stap.html
-share/doc/qemu/tools/virtfs-proxy-helper.html
-share/doc/qemu/user/index.html
-share/doc/qemu/user/main.html
-share/icons/hicolor/128x128/apps/qemu.png
-share/icons/hicolor/16x16/apps/qemu.png
-share/icons/hicolor/24x24/apps/qemu.png
-share/icons/hicolor/256x256/apps/qemu.png
-share/icons/hicolor/32x32/apps/qemu.bmp
-share/icons/hicolor/32x32/apps/qemu.png
-share/icons/hicolor/48x48/apps/qemu.png
-share/icons/hicolor/512x512/apps/qemu.png
-share/icons/hicolor/64x64/apps/qemu.png
-share/icons/hicolor/scalable/apps/qemu.svg
-${PLIST.gtk}share/locale/bg/LC_MESSAGES/qemu.mo
-${PLIST.gtk}share/locale/de_DE/LC_MESSAGES/qemu.mo
-${PLIST.gtk}share/locale/fr_FR/LC_MESSAGES/qemu.mo
-${PLIST.gtk}share/locale/hu/LC_MESSAGES/qemu.mo
-${PLIST.gtk}share/locale/it/LC_MESSAGES/qemu.mo
-${PLIST.gtk}share/locale/sv/LC_MESSAGES/qemu.mo
-${PLIST.gtk}share/locale/tr/LC_MESSAGES/qemu.mo
-${PLIST.gtk}share/locale/uk/LC_MESSAGES/qemu.mo
-${PLIST.gtk}share/locale/zh_CN/LC_MESSAGES/qemu.mo
-share/qemu/QEMU,cgthree.bin
-share/qemu/QEMU,tcx.bin
-share/qemu/bamboo.dtb
-share/qemu/bios-256k.bin
-share/qemu/bios-microvm.bin
-share/qemu/bios.bin
-share/qemu/canyonlands.dtb
-share/qemu/edk2-aarch64-code.fd
-share/qemu/edk2-arm-code.fd
-share/qemu/edk2-arm-vars.fd
-share/qemu/edk2-i386-code.fd
-share/qemu/edk2-i386-secure-code.fd
-share/qemu/edk2-i386-vars.fd
-share/qemu/edk2-licenses.txt
-share/qemu/edk2-x86_64-code.fd
-share/qemu/edk2-x86_64-secure-code.fd
-share/qemu/efi-e1000.rom
-share/qemu/efi-e1000e.rom
-share/qemu/efi-eepro100.rom
-share/qemu/efi-ne2k_pci.rom
-share/qemu/efi-pcnet.rom
-share/qemu/efi-rtl8139.rom
-share/qemu/efi-virtio.rom
-share/qemu/efi-vmxnet3.rom
-share/qemu/firmware/50-edk2-i386-secure.json
-share/qemu/firmware/50-edk2-x86_64-secure.json
-share/qemu/firmware/60-edk2-aarch64.json
-share/qemu/firmware/60-edk2-arm.json
-share/qemu/firmware/60-edk2-i386.json
-share/qemu/firmware/60-edk2-x86_64.json
-share/qemu/hppa-firmware.img
-share/qemu/keymaps/ar
-share/qemu/keymaps/bepo
-share/qemu/keymaps/cz
-share/qemu/keymaps/da
-share/qemu/keymaps/de
-share/qemu/keymaps/de-ch
-share/qemu/keymaps/en-gb
-share/qemu/keymaps/en-us
-share/qemu/keymaps/es
-share/qemu/keymaps/et
-share/qemu/keymaps/fi
-share/qemu/keymaps/fo
-share/qemu/keymaps/fr
-share/qemu/keymaps/fr-be
-share/qemu/keymaps/fr-ca
-share/qemu/keymaps/fr-ch
-share/qemu/keymaps/hr
-share/qemu/keymaps/hu
-share/qemu/keymaps/is
-share/qemu/keymaps/it
-share/qemu/keymaps/ja
-share/qemu/keymaps/lt
-share/qemu/keymaps/lv
-share/qemu/keymaps/mk
-share/qemu/keymaps/nl
-share/qemu/keymaps/no
-share/qemu/keymaps/pl
-share/qemu/keymaps/pt
-share/qemu/keymaps/pt-br
-share/qemu/keymaps/ru
-share/qemu/keymaps/sl
-share/qemu/keymaps/sv
-share/qemu/keymaps/th
-share/qemu/keymaps/tr
-share/qemu/kvmvapic.bin
-share/qemu/linuxboot.bin
-share/qemu/linuxboot_dma.bin
-share/qemu/multiboot.bin
-share/qemu/multiboot_dma.bin
-share/qemu/npcm7xx_bootrom.bin
-share/qemu/openbios-ppc
-share/qemu/openbios-sparc32
-share/qemu/openbios-sparc64
-share/qemu/opensbi-riscv32-generic-fw_dynamic.bin
-share/qemu/opensbi-riscv64-generic-fw_dynamic.bin
-share/qemu/palcode-clipper
-share/qemu/petalogix-ml605.dtb
-share/qemu/petalogix-s3adsp1800.dtb
-share/qemu/pvh.bin
-share/qemu/pxe-e1000.rom
-share/qemu/pxe-eepro100.rom
-share/qemu/pxe-ne2k_pci.rom
-share/qemu/pxe-pcnet.rom
-share/qemu/pxe-rtl8139.rom
-share/qemu/pxe-virtio.rom
-share/qemu/qboot.rom
-share/qemu/qemu-nsis.bmp
-share/qemu/qemu_vga.ndrv
-share/qemu/s390-ccw.img
-share/qemu/s390-netboot.img
-share/qemu/skiboot.lid
-share/qemu/slof.bin
+@comment $NetBSD$
+bin/qemu-ga
+include/qemu-plugin.h
 share/qemu/trace-events-all
-share/qemu/u-boot-sam460-20100605.bin
-share/qemu/u-boot.e500
-share/qemu/vgabios-ati.bin
-share/qemu/vgabios-bochs-display.bin
-share/qemu/vgabios-cirrus.bin
-share/qemu/vgabios-qxl.bin
-share/qemu/vgabios-ramfb.bin
-share/qemu/vgabios-stdvga.bin
-share/qemu/vgabios-virtio.bin
-share/qemu/vgabios-vmware.bin
-share/qemu/vgabios.bin
-share/qemu/vof-nvram.bin
-share/qemu/vof.bin
+@pkgdir var/run
+@pkgdir share/doc/qemu
+@pkgdir man/man1
diff --git a/qemu-guest-agent/options.mk b/qemu-guest-agent/options.mk
deleted file mode 100644
index 15c61df603..0000000000
--- a/qemu-guest-agent/options.mk
+++ /dev/null
@@ -1,103 +0,0 @@
-# $NetBSD: options.mk,v 1.23 2024/02/20 19:08:39 imil Exp $
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.qemu
-PKG_SUPPORTED_OPTIONS=	debug debug-info gtk3 iscsi jack sdl spice
-PKG_SUGGESTED_OPTIONS+=	iscsi sdl spice
-
-.include "../../mk/bsd.fast.prefs.mk"
-
-.if ${OPSYS} == "Linux"
-PKG_SUPPORTED_OPTIONS+=	virtfs-proxy-helper
-.endif
-
-.if ${OPSYS} != "Darwin"
-# NetBSD<9.0 does not have EGL support in native X11,
-# so the QEMU OpenGL display driver cannot build.
-.  include "../../graphics/MesaLib/features.mk"
-.  if !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss])
-PKG_SUPPORTED_OPTIONS+=	opengl
-PKG_SUGGESTED_OPTIONS+=	opengl
-.  endif
-.endif
-
-.include "../../mk/bsd.options.mk"
-
-PLIST_VARS+=		gtk keymap virtfs-proxy-helper
-
-.if !empty(PKG_OPTIONS:Mjack)
-CONFIGURE_ARGS+=	--enable-jack
-.include "../../audio/jack/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-jack
-.endif
-
-.if !empty(PKG_OPTIONS:Mdebug-info)
-CONFIGURE_ARGS+=	--enable-debug-info
-.else
-CONFIGURE_ARGS+=	--disable-debug-info
-.endif
-
-.if !empty(PKG_OPTIONS:Mdebug)
-CONFIGURE_ARGS+=	--enable-debug
-.endif
-
-.if !empty(PKG_OPTIONS:Mgtk3)
-PLIST.gtk=		yes
-CONFIGURE_ARGS+=	--enable-gtk
-.include "../../x11/gtk3/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-gtk
-.endif
-
-.if !empty(PKG_OPTIONS:Mopengl)
-CONFIGURE_ARGS+=	--enable-opengl
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/libepoxy/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-opengl
-.endif
-
-.if !empty(PKG_OPTIONS:Msdl)
-CONFIGURE_ARGS+=	--enable-sdl
-.include "../../devel/SDL2/buildlink3.mk"
-.include "../../graphics/SDL2_image/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-sdl
-.endif
-
-# On Darwin, qemu uses Cocoa
-.if ${OPSYS} != "Darwin"
-.  if !empty(PKG_OPTIONS:Mgtk3) || \
-    !empty(PKG_OPTIONS:Mopengl) || !empty(PKG_OPTIONS:Msdl)
-PLIST.keymap=		yes
-.include "../../x11/libxkbcommon/buildlink3.mk"
-.  else
-CONFIGURE_ARGS+=	--disable-xkbcommon
-.  endif
-.endif
-
-# NB to successfully build virtfs-proxy-helper, the upstream Linux
-# header/development libraries for libcap and libattr must be installed.
-.if ${OPSYS} == "Linux" && !empty(PKG_OPTIONS:Mvirtfs-proxy-helper)
-PLIST.virtfs-proxy-helper=	yes
-CONFIGURE_ARGS+=		--enable-virtfs
-.elif ${OPSYS} == "Darwin"
-CONFIGURE_ARGS+=		--enable-virtfs
-.else
-CONFIGURE_ARGS+=		--disable-virtfs
-.endif
-
-.if !empty(PKG_OPTIONS:Mspice)
-CONFIGURE_ARGS+=	--enable-spice
-.include "../../sysutils/spice-protocol/buildlink3.mk"
-.include "../../sysutils/spice-server/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-spice
-.endif
-
-.if !empty(PKG_OPTIONS:Miscsi)
-CONFIGURE_ARGS+=	--enable-libiscsi
-.include "../../net/libiscsi/buildlink3.mk"
-.else
-CONFIGURE_ARGS+=	--disable-libiscsi
-.endif


Home | Main Index | Thread Index | Old Index