pkgsrc-WIP-changes archive

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

qemu-guest-agent: remove, imported to pkgsrc/sysutils



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun Mar 16 22:05:42 2025 +0100
Changeset:	205264b82827a85dfb1eb1bd3372e223c2bcf5da

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

Log Message:
qemu-guest-agent: remove, imported to pkgsrc/sysutils

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

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

diffstat:
 Makefile                                   |   1 -
 qemu-guest-agent/DESCR                     |   5 --
 qemu-guest-agent/Makefile                  | 112 -----------------------------
 qemu-guest-agent/PLIST                     |   4 --
 qemu-guest-agent/files/qemu-guest-agent.sh |  20 ------
 qemu-guest-agent/options.mk                |  18 -----
 6 files changed, 160 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 368416fab7..7092f67336 100644
--- a/Makefile
+++ b/Makefile
@@ -4986,7 +4986,6 @@ SUBDIR+=	qFlipper
 SUBDIR+=	qbe-git
 SUBDIR+=	qcdloop
 SUBDIR+=	qemu-git
-SUBDIR+=	qemu-guest-agent
 SUBDIR+=	qgis
 SUBDIR+=	qico
 SUBDIR+=	qiew
diff --git a/qemu-guest-agent/DESCR b/qemu-guest-agent/DESCR
deleted file mode 100644
index d2622fb115..0000000000
--- a/qemu-guest-agent/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-QEMU is a FAST! processor emulator using dynamic translation to achieve
-good emulation speed.
-
-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
deleted file mode 100644
index c7c1eb8dc6..0000000000
--- a/qemu-guest-agent/Makefile
+++ /dev/null
@@ -1,112 +0,0 @@
-# $NetBSD: Makefile,v 1.340 2024/04/07 07:33:58 wiz Exp $
-
-.include "../../emulators/qemu/version.mk"
-
-DISTNAME=	qemu-${QEMU_VERSION}
-PKGNAME=	${DISTNAME:S/qemu/qemu-guest-agent/}
-CATEGORIES=	emulators
-MASTER_SITES=	https://download.qemu.org/
-EXTRACT_SUFX=	.tar.xz
-
-MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=	https://www.qemu.org/
-COMMENT=	CPU emulator using dynamic translation
-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
-
-PYTHON_VERSIONS_INCOMPATIBLE=	39 310 # py-sphinx
-
-USE_LANGUAGES+=		c c++
-USE_TOOLS+=		pkg-config perl
-UNLIMIT_RESOURCES=	datasize
-HAS_CONFIGURE=		yes
-
-PATCHDIR=		../../emulators/qemu/patches
-DISTINFO_FILE=		../../emulators/qemu/distinfo
-RCD_SCRIPTS=		qemu-guest-agent
-
-# https://github.com/qemu/qemu/commit/56208a0d473c6db263cc333c787ca48b502d72ab
-GCC_REQD+=		7
-
-.include "options.mk"
-
-.include "../../mk/bsd.prefs.mk"
-
-CONFIGURE_ARGS+=	--prefix=${PREFIX}
-CONFIGURE_ARGS+=	--interp-prefix=${PREFIX}/share/qemu
-CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASEDIR}
-CONFIGURE_ARGS+=	--python=${TOOL_PYTHONBIN}
-CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR}
-CONFIGURE_ENV+=		mansuffix=/${PKGMANDIR}
-ALL_ENV+=		MESON_RSP_THRESHOLD=262144
-
-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-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
-
-PYTHON_FOR_BUILD_ONLY=	tool
-
-do-build:
-	${RUN}cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
-		ninja -j ${_MAKE_JOBS_N:U1} -C build
-
-# Some dependencies aren't correct and this tries to be re-made on install,
-# failing due to configure bugs.
-post-build:
-	${TOUCH} ${WRKSRC}/config-host.mak
-
-do-install:
-	${RUN}cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} \
-		ninja -j ${_MAKE_JOBS_N:U1} -C build install
-	# not needed for guest agent
-	${RM} -f ${DESTDIR}${PREFIX}/include/qemu-plugin.h
-	${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/qemu.1
-	${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7/qemu-block-drivers.7
-	${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7/qemu-cpu-models.7
-	${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7/qemu-qmp-ref.7
-	${RM} -rf ${DESTDIR}${PREFIX}/share/doc/qemu
-	${RM} -rf ${DESTDIR}${PREFIX}/share/qemu/keymaps
-	${RM} -rf ${DESTDIR}${PREFIX}/share/qemu/trace-events-all
-
-do-test:
-	${RUN}cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${TEST_ENV} \
-		ninja -j ${_MAKE_JOBS_N:U1} -C build test
-
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../lang/python/tool.mk"
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/qemu-guest-agent/PLIST b/qemu-guest-agent/PLIST
deleted file mode 100644
index bd8cca8990..0000000000
--- a/qemu-guest-agent/PLIST
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $NetBSD$
-bin/qemu-ga
-${PLIST.doc}man/man7/qemu-ga-ref.7
-${PLIST.doc}man/man8/qemu-ga.8
diff --git a/qemu-guest-agent/files/qemu-guest-agent.sh b/qemu-guest-agent/files/qemu-guest-agent.sh
deleted file mode 100755
index 4d2ae74104..0000000000
--- a/qemu-guest-agent/files/qemu-guest-agent.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD$
-#
-# PROVIDE: qemu_guest_agent
-# REQUIRE: DAEMON
-#
-
-if [ -f /etc/rc.subr ]; then
-	. /etc/rc.subr
-fi
-
-name="qemu_guest_agent"
-rcvar="${name}"
-command="@PREFIX@/bin/qemu-ga"
-command_args="-d"
-
-
-load_rc_config $name
-run_rc_command "$1"
diff --git a/qemu-guest-agent/options.mk b/qemu-guest-agent/options.mk
deleted file mode 100644
index 7287469c29..0000000000
--- a/qemu-guest-agent/options.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-#	$NetBSD$
-
-PKG_OPTIONS_VAR=	PKG_OPTIONS.qemu-guest-agent
-PKG_SUPPORTED_OPTIONS+=	doc
-PKG_SUGGESTED_OPTIONS+=	doc
-
-PLIST_VARS+=		doc
-
-.include "../../mk/bsd.options.mk"
-
-.if ${PKG_OPTIONS:Mdoc}
-PLIST.doc=		yes
-CONFIGURE_ARGS+=	--enable-docs
-TOOL_DEPENDS+=		${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-TOOL_DEPENDS+=		${PYPKGPREFIX}-sphinx-rtd-theme>=1.2.0:../../textproc/py-sphinx-rtd-theme
-.else
-CONFIGURE_ARGS+=	--disable-docs
-.endif


Home | Main Index | Thread Index | Old Index