From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu-guest-agent/
Date: Mon, 30 Dec 2024 14:11:46 +0000 (UTC) [thread overview]
Message-ID: <1735567880.03917118954701469ed427b29d6024bdbafd9571.sam@gentoo> (raw)
commit: 03917118954701469ed427b29d6024bdbafd9571
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 30 14:11:20 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 30 14:11:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03917118
app-emulation/qemu-guest-agent: add 9.2.0
Closes: https://bugs.gentoo.org/947215
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-emulation/qemu-guest-agent/Manifest | 1 +
.../qemu-guest-agent/qemu-guest-agent-9.2.0.ebuild | 94 ++++++++++++++++++++++
2 files changed, 95 insertions(+)
diff --git a/app-emulation/qemu-guest-agent/Manifest b/app-emulation/qemu-guest-agent/Manifest
index c11c1afbfabd..26575199136a 100644
--- a/app-emulation/qemu-guest-agent/Manifest
+++ b/app-emulation/qemu-guest-agent/Manifest
@@ -1 +1,2 @@
DIST qemu-8.2.0.tar.xz 130008888 BLAKE2B a63667042e1e19c635568072d8dcc117320117e81e374a93cfb79e2363ebf505df3217fb098638e53c899eb6f83435221e8031f2aae003c27ec25af8654683b3 SHA512 92ec41196ff145cdbb98948f6b6e43214fa4b4419554a8a1927fb4527080c8212ccb703e184baf8ee0bdfa50ad7a84689e8f5a69eba1bd7bbbdfd69e3b91256c
+DIST qemu-9.2.0.tar.xz 135188800 BLAKE2B 5800556f356e4324124e250c02a07857eef3a6f22995a819fe972061fa750ebf7233da64ae4c0a3e775b1639c870be4b7312d86d9866fedf2bc99074aad0a10a SHA512 f92548623e4e31400c823a2d78417a8a4ecfccb07f3ee4883e2f2ad33054539d2a37d076dbc64df42c6c86c08fa7c2c975cd6e823aa14d5f20cef83348006813
diff --git a/app-emulation/qemu-guest-agent/qemu-guest-agent-9.2.0.ebuild b/app-emulation/qemu-guest-agent/qemu-guest-agent-9.2.0.ebuild
new file mode 100644
index 000000000000..258d627aa86f
--- /dev/null
+++ b/app-emulation/qemu-guest-agent/qemu-guest-agent-9.2.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="ensurepip(-),ncurses,readline"
+
+inherit edo systemd toolchain-funcs python-any-r1 udev
+
+MY_PN="qemu"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
+HOMEPAGE="https://wiki.qemu.org/Features/GuestAgent"
+SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
+
+RDEPEND="dev-libs/glib"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-lang/perl
+ app-alternatives/ninja
+"
+
+PATCHES=(
+ "${FILESDIR}"/qemu-8.1.0-find-sphinx.patch
+)
+
+src_configure() {
+ tc-export AR LD OBJCOPY RANLIB
+
+ local myconf=(
+ --prefix=/usr
+ --sysconfdir=/etc
+ --libdir="/usr/$(get_libdir)"
+ --localstatedir=/
+ --disable-bsd-user
+ --disable-linux-user
+ --disable-system
+ --disable-strip
+ --enable-tools
+ --disable-werror
+ --without-default-features
+ --enable-guest-agent
+ --python="${PYTHON}"
+ --cc="$(tc-getCC)"
+ --cxx="$(tc-getCXX)"
+ --host-cc="$(tc-getBUILD_CC)"
+ )
+
+ # Meson will not use a cross-file unless cross_prefix is set.
+ tc-is-cross-compiler && myconf+=( --cross-prefix="${CHOST}-" )
+
+ edo ./configure "${myconf[@]}"
+}
+
+src_test() {
+ # qga only uses generic code covered by qobject tests,
+ # the full test suite requires at least one softmmu binary
+ emake check-unit
+}
+
+src_install() {
+ dobin build/qga/qemu-ga
+
+ # Normal init stuff
+ newinitd "${FILESDIR}/qemu-ga.init-r1" qemu-guest-agent
+ newconfd "${FILESDIR}/qemu-ga.conf-r1" qemu-guest-agent
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent
+
+ # systemd stuff
+ udev_newrules "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules
+
+ systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \
+ qemu-guest-agent.service
+}
+
+pkg_postinst() {
+ elog "You should add 'qemu-guest-agent' to the default runlevel."
+ elog "e.g. rc-update add qemu-guest-agent default"
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}
next reply other threads:[~2024-12-30 14:11 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-30 14:11 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-03 20:52 [gentoo-commits] repo/gentoo:master commit in: app-emulation/qemu-guest-agent/ Sam James
2025-03-03 20:48 Sam James
2024-12-02 14:50 Sam James
2024-07-03 21:21 Matthias Maier
2024-06-02 5:12 Sam James
2024-06-02 5:12 Sam James
2024-06-02 5:12 Sam James
2024-06-02 5:12 Sam James
2024-05-25 8:26 Sam James
2024-04-29 10:36 Joonas Niilola
2024-04-29 10:36 Joonas Niilola
2024-02-03 3:50 Ionen Wolkens
2024-02-02 3:58 Sam James
2023-08-13 7:42 Joonas Niilola
2023-08-13 7:42 Joonas Niilola
2023-08-01 7:28 Sam James
2023-06-18 3:00 Matthias Maier
2023-05-05 23:32 Matthias Maier
2023-03-04 8:31 Joonas Niilola
2023-03-04 8:27 Joonas Niilola
2023-03-04 8:26 Arthur Zamarin
2022-10-26 3:25 John Helmert III
2022-10-13 14:22 John Helmert III
2022-10-12 22:56 Sam James
2022-10-12 22:56 Sam James
2022-10-12 22:56 Sam James
2021-06-12 17:13 Sam James
2021-05-23 19:04 Michał Górny
2021-05-17 7:49 Agostino Sarubbo
2021-05-17 3:01 Sam James
2021-05-16 20:05 Matthias Maier
2020-05-27 15:23 Alexey Shvetsov
2020-05-27 15:23 Alexey Shvetsov
2020-04-20 9:52 Agostino Sarubbo
2020-04-20 7:53 Agostino Sarubbo
2020-04-19 18:12 Matthias Maier
2019-07-31 11:03 Agostino Sarubbo
2019-07-31 10:59 Agostino Sarubbo
2019-04-29 7:14 Matthias Maier
2019-04-08 2:52 Matthias Maier
2019-01-07 0:16 Thomas Deutschmann
2019-01-06 12:26 Mikle Kolyada
2018-12-19 21:47 Matthias Maier
2018-10-20 16:07 Andreas Hüttel
2018-10-02 8:31 Mikle Kolyada
2018-10-01 21:47 Thomas Deutschmann
2018-06-29 5:33 Matthias Maier
2018-06-29 4:50 Matthias Maier
2018-06-29 4:50 Matthias Maier
2018-06-11 8:13 Agostino Sarubbo
2018-06-10 18:46 Thomas Deutschmann
2018-06-10 3:41 Matthias Maier
2018-06-10 3:31 Matthias Maier
2018-06-10 3:31 Matthias Maier
2018-03-18 21:02 Matthias Maier
2018-03-18 21:02 Matthias Maier
2018-03-18 21:02 Matthias Maier
2018-02-11 21:30 Matthias Maier
2018-02-11 21:30 Matthias Maier
2017-11-17 18:47 David Seifert
2017-11-13 3:38 Matthias Maier
2017-11-13 3:38 Matthias Maier
2017-05-03 12:27 Matthias Maier
2016-05-17 4:41 Mike Frysinger
2016-03-28 21:41 Mike Frysinger
2016-03-28 21:41 Mike Frysinger
2015-12-17 15:12 Mike Frysinger
2015-09-08 7:20 Agostino Sarubbo
2015-09-08 7:19 Agostino Sarubbo
2015-08-12 4:24 Mike Frysinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1735567880.03917118954701469ed427b29d6024bdbafd9571.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox