commit:     6c9abf793927ed32920b54efd5fb3d54cbc8300c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 18:58:57 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 19:06:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c9abf79

app-emulation/libvirt: drop 7.7.0-r3, 8.2.0-r1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emulation/libvirt/Manifest                     |   4 -
 .../files/libvirt-6.7.0-do-not-use-sysconfig.patch | 169 -----------
 .../libvirt-6.7.0-fix-paths-for-apparmor.patch     |  51 ----
 ....0-docs-Fix-template-matching-in-page.xsl.patch |  62 ----
 app-emulation/libvirt/libvirt-7.7.0-r3.ebuild      | 336 ---------------------
 app-emulation/libvirt/libvirt-8.2.0-r1.ebuild      | 335 --------------------
 6 files changed, 957 deletions(-)

diff --git a/app-emulation/libvirt/Manifest b/app-emulation/libvirt/Manifest
index bd2d88c6903d..01ad73945261 100644
--- a/app-emulation/libvirt/Manifest
+++ b/app-emulation/libvirt/Manifest
@@ -1,7 +1,3 @@
-DIST libvirt-7.7.0.tar.xz 8670212 BLAKE2B 
93c72117941b0a74484c7510c8437054e66fc3ad20c02cead3ce917a38868da2acff9b1e70bbb823122ba647763a3682aaa0da04d82fa75e1acc67449301ae8c
 SHA512 
a0d585c9ac46be08d2865d66456d681b7233291d17f6e0ed2564d0f29dc38ea7afc846ab382f58a193d3cd9acaf25fcc526feb3c98e12a6b4b8ae5aa4aec2f3e
-DIST libvirt-7.7.0.tar.xz.asc 833 BLAKE2B 
86a77bf461e353776d79f31f1d0c82fa13e28348bd9c6ae7cb653b98886c7e070d67ed0db55f5e1f3b5e5bd2a3861a5cb08dbf95799b14df1037139f8001b030
 SHA512 
d5f8cd6accd3bfaebfb7c8761e321aaa9a090c7705256785c5507aa88d985f78a788047dc881f37ea6f64a4634c65c9718d8b1ee0a24744acc3ad5ed6e517bdf
-DIST libvirt-8.2.0.tar.xz 8871236 BLAKE2B 
85c4fd7323f4ea0564e6fcb37dffe643d0ff54f228a695476c1b24c78022402a86cf967503e40fad003d82528f24a02bef79466e38c133c5ad37cbcd5783f01d
 SHA512 
fbdc2953e86117643aafb3198a3d9327188d94abfd155eae4439ee0e722737a57ee44dbb2929746c0a28e10e275c35f4a8190e99668e4cba4025555358591544
-DIST libvirt-8.2.0.tar.xz.asc 833 BLAKE2B 
3dba2fe7dc76052307ab8b1d7f2a61445759ed15e130615ca2a6325e981ae5c1a7143e7d78ee67f2bf9001cdf82126dff89f4f1eb3b39b77620721a5b75f4cfa
 SHA512 
33ecc465da1b7e4b53733611255d01414f8c1081c96fdcb0a9f1a0e194823872b7f9f9032938527f6d1d8bbebc3b61f2dc393875b8d11fdd47bec40e9408475b
 DIST libvirt-8.7.0.tar.xz 8937316 BLAKE2B 
131d46206662627e952b6daa3ceeab187321ff5fb1984980bc2816dfedf730c6ccd4b5a1cbfb46f33cc9e84508621e2625fa661f06b9e35561e8de52906824e5
 SHA512 
35d33d0e0dab525e8f0a8a592d286e9d17fc5c5d1ff2fab5af5c40b85248481dd17b5c3daf64e8c6e1b8a93328eebee6ece3e95edacff208a81d8b78dc102d7a
 DIST libvirt-8.7.0.tar.xz.asc 833 BLAKE2B 
ebea1430670bcb44e9ffb4460388b2ab41e8b409d1513d09ac56b12f379621f5ad39af0dba9691b36220bbed5634ad24b2efda8315b41bb2e7f3f6a65e9b028c
 SHA512 
5ac09b10de74283c474fb80cfe600a171d6b49039df73113702cda565889f6c6919e99aff6ce60538ee7fda52287ef035ee15e8f47e5f724384c6ec474e6bed8
 DIST libvirt-8.8.0.tar.xz 8941928 BLAKE2B 
f3b8cb4fe30a156884a03e5c873f3fcef0c8d13315c79b865f387ea053635ae2435a3b4d6e81c988cfcd087d55223450e7b874e24e4503479d152b417c398250
 SHA512 
868e49b369afe200c5af6e2cd0606de2eeebfa92523b5ad3c653203c8838d304bd0cdc5acfb3c4d4c33c0a87ab8e769b84cc62e3f06e055936c43573a23d7190

diff --git 
a/app-emulation/libvirt/files/libvirt-6.7.0-do-not-use-sysconfig.patch 
b/app-emulation/libvirt/files/libvirt-6.7.0-do-not-use-sysconfig.patch
deleted file mode 100644
index f3d2e3c39162..000000000000
--- a/app-emulation/libvirt/files/libvirt-6.7.0-do-not-use-sysconfig.patch
+++ /dev/null
@@ -1,169 +0,0 @@
---- a/src/interface/virtinterfaced.service.in
-+++ b/src/interface/virtinterfaced.service.in
-@@ -13,7 +13,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtinterfaced
- ExecStart=@sbindir@/virtinterfaced $VIRTINTERFACED_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
---- a/src/libxl/virtxend.service.in
-+++ b/src/libxl/virtxend.service.in
-@@ -17,7 +17,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtxend
- ExecStart=@sbindir@/virtxend $VIRTXEND_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
---- a/src/locking/virtlockd.service.in
-+++ b/src/locking/virtlockd.service.in
-@@ -7,8 +7,7 @@
- Documentation=https://libvirt.org
- 
- [Service]
--EnvironmentFile=-@sysconfdir@/sysconfig/virtlockd
--ExecStart=@sbindir@/virtlockd $VIRTLOCKD_ARGS
-+ExecStart=@sbindir@/virtlockd
- ExecReload=/bin/kill -USR1 $MAINPID
- # Loosing the locks is a really bad thing that will
- # cause the machine to be fenced (rebooted), so make
---- a/src/logging/virtlogd.service.in
-+++ b/src/logging/virtlogd.service.in
-@@ -7,8 +7,7 @@
- Documentation=https://libvirt.org
- 
- [Service]
--EnvironmentFile=-@sysconfdir@/sysconfig/virtlogd
--ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS
-+ExecStart=@sbindir@/virtlogd
- ExecReload=/bin/kill -USR1 $MAINPID
- # Loosing the logs is a really bad thing that will
- # cause the machine to be fenced (rebooted), so make
---- a/src/lxc/virtlxcd.service.in
-+++ b/src/lxc/virtlxcd.service.in
-@@ -18,7 +18,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtlxcd
- ExecStart=@sbindir@/virtlxcd $VIRTLXCD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- KillMode=process
---- a/src/network/virtnetworkd.service.in
-+++ b/src/network/virtnetworkd.service.in
-@@ -16,7 +16,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtnetworkd
- ExecStart=@sbindir@/virtnetworkd $VIRTNETWORKD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
---- a/src/node_device/virtnodedevd.service.in
-+++ b/src/node_device/virtnodedevd.service.in
-@@ -13,7 +13,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtnodedevd
- ExecStart=@sbindir@/virtnodedevd $VIRTNODEDEVD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
---- a/src/nwfilter/virtnwfilterd.service.in
-+++ b/src/nwfilter/virtnwfilterd.service.in
-@@ -13,7 +13,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtnwfilterd
- ExecStart=@sbindir@/virtnwfilterd $VIRTNWFILTERD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
---- a/src/qemu/virtqemud.service.in
-+++ b/src/qemu/virtqemud.service.in
-@@ -18,7 +18,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtqemud
- ExecStart=@sbindir@/virtqemud $VIRTQEMUD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- KillMode=process
---- a/src/remote/libvirtd.service.in
-+++ b/src/remote/libvirtd.service.in
-@@ -28,8 +28,7 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/libvirtd
--ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
-+ExecStart=@sbindir@/libvirtd
- ExecReload=/bin/kill -HUP $MAINPID
- KillMode=process
- Restart=on-failure
---- a/src/remote/virtproxyd.service.in
-+++ b/src/remote/virtproxyd.service.in
-@@ -13,7 +13,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtproxyd
- ExecStart=@sbindir@/virtproxyd $VIRTPROXYD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
---- a/src/secret/virtsecretd.service.in
-+++ b/src/secret/virtsecretd.service.in
-@@ -13,7 +13,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtsecretd
- ExecStart=@sbindir@/virtsecretd $VIRTSECRETD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
---- a/src/storage/virtstoraged.service.in
-+++ b/src/storage/virtstoraged.service.in
-@@ -15,7 +15,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtstoraged
- ExecStart=@sbindir@/virtstoraged $VIRTSTORAGED_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
---- a/src/vbox/virtvboxd.service.in
-+++ b/src/vbox/virtvboxd.service.in
-@@ -14,7 +14,6 @@
- 
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtvboxd
- ExecStart=@sbindir@/virtvboxd $VIRTVBOXD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
---- a/tools/libvirt-guests.service.in
-+++ b/tools/libvirt-guests.service.in
-@@ -10,7 +10,7 @@
- Documentation=https://libvirt.org
- 
- [Service]
--EnvironmentFile=-@sysconfdir@/sysconfig/libvirt-guests
-+EnvironmentFile=-/etc/libvirt/libvirt-guests.conf
- # Hack just call traditional service until we factor
- # out the code
- ExecStart=@libexecdir@/libvirt-guests.sh start
---- a/tools/libvirt-guests.sysconf
-+++ b/tools/libvirt-guests.sysconf
-@@ -1,3 +1,9 @@
-+#
-+# Warning: This configuration file is only sourced by the systemd
-+# libvirt-guests.service unit. The coresponding openrc facility is in
-+# /etc/init.d/libvirtd and /etc/conf.d/libvirtd
-+#
-+
- # Customizations for the libvirt-guests.service systemd unit
- 
- # URIs to check for running guests

diff --git 
a/app-emulation/libvirt/files/libvirt-6.7.0-fix-paths-for-apparmor.patch 
b/app-emulation/libvirt/files/libvirt-6.7.0-fix-paths-for-apparmor.patch
deleted file mode 100644
index 18e7ef2daa0b..000000000000
--- a/app-emulation/libvirt/files/libvirt-6.7.0-fix-paths-for-apparmor.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff --git a/src/security/apparmor/libvirt-qemu 
b/src/security/apparmor/libvirt-qemu
-index 80986ae..d550d8c 100644
---- a/src/security/apparmor/libvirt-qemu
-+++ b/src/security/apparmor/libvirt-qemu
-@@ -88,6 +88,7 @@
-   /usr/share/sgabios/** r,
-   /usr/share/slof/** r,
-   /usr/share/vgabios/** r,
-+  /usr/share/seavgabios/** r,
- 
-   # pki for libvirt-vnc and libvirt-spice (LP: #901272, #1690140)
-   /etc/pki/CA/ r,
-
---- a/src/security/apparmor/meson.build        2020-10-06 17:45:18.590000000 
+0100
-+++ b/src/security/apparmor/meson.build        2020-10-06 17:45:07.044000000 
+0100
-@@ -1,5 +1,5 @@
- apparmor_gen_profiles = [
--  'usr.lib.libvirt.virt-aa-helper',
-+  'usr.libexec.libvirt.virt-aa-helper',
-   'usr.sbin.libvirtd',
- ]
- 
-@@ -32,7 +32,7 @@ install_data(
- )
- 
- install_data(
--  'usr.lib.libvirt.virt-aa-helper.local',
-+  'usr.libexec.libvirt.virt-aa-helper.local',
-   install_dir: apparmor_dir / 'local',
--  rename: 'usr.lib.libvirt.virt-aa-helper',
-+  rename: 'usr.libexec.libvirt.virt-aa-helper',
- )
-
-diff --git a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in 
b/src/security/apparmor/usr.libexec.libvirt.virt-aa-helper.in
-similarity index 97%
-rename from src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
-rename to src/security/apparmor/usr.libexec.libvirt.virt-aa-helper.in
-index dd18c8a..d06f9cb 100644
---- a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in
-+++ b/src/security/apparmor/usr.libexec.libvirt.virt-aa-helper.in
-@@ -69,5 +69,5 @@ profile virt-aa-helper @libexecdir@/virt-aa-helper {
-   /**.[iI][sS][oO] r,
-   /**/disk{,.*} r,
- 
--  #include <local/usr.lib.libvirt.virt-aa-helper>
-+  #include <local/usr.libexec.libvirt.virt-aa-helper>
- }
-diff --git a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.local 
b/src/security/apparmor/usr.libexec.libvirt.virt-aa-helper.local
-similarity index 100%
-rename from src/security/apparmor/usr.lib.libvirt.virt-aa-helper.local
-rename to src/security/apparmor/usr.libexec.libvirt.virt-aa-helper.local

diff --git 
a/app-emulation/libvirt/files/libvirt-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
 
b/app-emulation/libvirt/files/libvirt-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
deleted file mode 100644
index 5207c6d81ec7..000000000000
--- 
a/app-emulation/libvirt/files/libvirt-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 54814c87f3706cc8eb894634ebef0f9cf7dabae6 Mon Sep 17 00:00:00 2001
-Message-Id: 
<54814c87f3706cc8eb894634ebef0f9cf7dabae6.1645458252.git.mpriv...@redhat.com>
-From: Martin Kletzander <[email protected]>
-Date: Mon, 21 Feb 2022 09:26:13 +0100
-Subject: [PATCH] docs: Fix template matching in page.xsl
-
-Our last default template had a match of "node()" which incidentally matched
-everything, including text nodes.  Since this has the same priority according 
to
-the XSLT spec, section 5.5:
-
-  https://www.w3.org/TR/1999/REC-xslt-19991116#conflict
-
-this is an error.  Also according to the same spec section, the XSLT processor
-may signal the error or pick the last rule.
-
-This was uncovered with libxslt 1.1.35 which contains the following commit:
-
-  
https://gitlab.gnome.org/GNOME/libxslt/-/commit/b0074eeca3c6b21b4da14fdf712b853900c51635
-
-which makes the build fail with:
-
-  runtime error: file ../docs/page.xsl line 223 element element
-  xsl:element: The effective name '' is not a valid QName.
-
-because our last rule also matches text nodes and we are trying to extract the
-node name out of them.
-
-To fix this we change the match to "*" which only matches elements and not all
-the nodes, and to avoid any possible errors with different XSLT processors we
-also bump the priority of the match="text()" rule a little higher, just in case
-someone needs to use an XSLT processor that chooses signalling the error 
instead
-of the optional recovery.
-
-https://bugs.gentoo.org/833586
-
-Signed-off-by: Martin Kletzander <[email protected]>
-Signed-off-by: Michal Privoznik <[email protected]>
----
- docs/page.xsl | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/docs/page.xsl b/docs/page.xsl
-index fd67918d3b..72a6fa0842 100644
---- a/docs/page.xsl
-+++ b/docs/page.xsl
-@@ -215,11 +215,11 @@
-     </xsl:element>
-   </xsl:template>
- 
--  <xsl:template match="text()" mode="copy">
-+  <xsl:template match="text()" mode="copy" priority="0">
-     <xsl:value-of select="."/>
-   </xsl:template>
- 
--  <xsl:template match="node()" mode="copy">
-+  <xsl:template match="*" mode="copy">
-     <xsl:element name="{name()}">
-       <xsl:copy-of select="./@*"/>
-       <xsl:apply-templates mode="copy" />
--- 
-2.34.1
-

diff --git a/app-emulation/libvirt/libvirt-7.7.0-r3.ebuild 
b/app-emulation/libvirt/libvirt-7.7.0-r3.ebuild
deleted file mode 100644
index 4b3585f09ce9..000000000000
--- a/app-emulation/libvirt/libvirt-7.7.0-r3.ebuild
+++ /dev/null
@@ -1,336 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit meson linux-info python-any-r1 readme.gentoo-r1 tmpfiles verify-sig
-
-if [[ ${PV} = *9999* ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt.git";
-       EGIT_BRANCH="master"
-       SRC_URI=""
-       SLOT="0"
-else
-       SRC_URI="https://libvirt.org/sources/${P}.tar.xz
-               verify-sig? ( https://libvirt.org/sources/${P}.tar.xz.asc )"
-       KEYWORDS="amd64 arm64 ~ppc64 x86"
-       SLOT="0/${PV}"
-fi
-
-DESCRIPTION="C toolkit to manipulate virtual machines"
-HOMEPAGE="https://www.libvirt.org/ https://gitlab.com/libvirt/libvirt/";
-LICENSE="LGPL-2.1"
-VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libvirt.org.asc
-IUSE="
-       apparmor audit bash-completion +caps dtrace firewalld fuse glusterfs
-       iscsi iscsi-direct +libvirtd lvm libssh lxc nfs nls numa openvz
-       parted pcap policykit +qemu rbd sasl selinux +udev
-       virtualbox +virt-network wireshark-plugins xen zfs
-"
-
-REQUIRED_USE="
-       firewalld? ( virt-network )
-       libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
-       lxc? ( caps libvirtd )
-       openvz? ( libvirtd )
-       qemu? ( libvirtd )
-       virt-network? ( libvirtd )
-       virtualbox? ( libvirtd )
-       xen? ( libvirtd )"
-
-BDEPEND="
-       app-text/xhtml1
-       dev-lang/perl
-       dev-libs/libxslt
-       dev-perl/XML-XPath
-       dev-python/docutils
-       virtual/pkgconfig
-       net-libs/rpcsvc-proto
-       bash-completion? ( >=app-shells/bash-completion-2.0 )
-       verify-sig? ( sec-keys/openpgp-keys-libvirt )"
-
-# gettext.sh command is used by the libvirt command wrappers, and it's
-# non-optional, so put it into RDEPEND.
-# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
-# package will use 3 by default. Since we don't have slot pinning in an API,
-# we must go with the most recent
-RDEPEND="
-       acct-user/qemu
-       app-misc/scrub
-       >=dev-libs/glib-2.48.0
-       dev-libs/libgcrypt:0
-       dev-libs/libnl:3
-       >=dev-libs/libxml2-2.7.6
-       >=net-analyzer/openbsd-netcat-1.105-r1
-       >=net-libs/gnutls-1.0.25:0=
-       net-libs/libssh2
-       net-libs/libtirpc
-       >=net-misc/curl-7.18.0
-       sys-apps/dbus
-       sys-apps/dmidecode
-       sys-devel/gettext
-       sys-libs/readline:=
-       virtual/acl
-       apparmor? ( sys-libs/libapparmor )
-       audit? ( sys-process/audit )
-       caps? ( sys-libs/libcap-ng )
-       dtrace? ( dev-util/systemtap )
-       firewalld? ( >=net-firewall/firewalld-0.6.3 )
-       fuse? ( sys-fs/fuse:0= )
-       glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
-       iscsi? ( sys-block/open-iscsi )
-       iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
-       libssh? ( net-libs/libssh )
-       lvm? ( >=sys-fs/lvm2-2.02.48-r2[lvm] )
-       lxc? ( !sys-apps/systemd[cgroup-hybrid(-)] )
-       nfs? ( net-fs/nfs-utils )
-       numa? (
-               >sys-process/numactl-2.0.2
-               sys-process/numad
-       )
-       parted? (
-               >=sys-block/parted-1.8[device-mapper]
-               sys-fs/lvm2[lvm]
-       )
-       pcap? ( >=net-libs/libpcap-1.0.0 )
-       policykit? (
-               acct-group/libvirt
-               >=sys-auth/polkit-0.9
-       )
-       qemu? (
-               >=app-emulation/qemu-2.11
-               dev-libs/yajl
-       )
-       rbd? ( sys-cluster/ceph )
-       sasl? ( dev-libs/cyrus-sasl )
-       selinux? ( >=sys-libs/libselinux-2.0.85 )
-       virt-network? (
-               net-dns/dnsmasq[dhcp,ipv6(+),script]
-               net-firewall/ebtables
-               >=net-firewall/iptables-1.4.10[ipv6(+)]
-               net-misc/radvd
-               sys-apps/iproute2[-minimal]
-       )
-       wireshark-plugins? ( <net-analyzer/wireshark-3.6.0:= )
-       xen? (
-               >=app-emulation/xen-4.9.0
-               app-emulation/xen-tools:=
-       )
-       udev? (
-               virtual/libudev
-               >=x11-libs/libpciaccess-0.10.9
-       )
-       zfs? ( sys-fs/zfs )"
-
-DEPEND="${BDEPEND}
-       ${RDEPEND}
-       ${PYTHON_DEPS}"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
-       "${FILESDIR}"/${PN}-6.7.0-do-not-use-sysconfig.patch
-       "${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch
-       "${FILESDIR}"/${PN}-8.1.0-docs-Fix-template-matching-in-page.xsl.patch
-)
-
-pkg_setup() {
-       # Check kernel configuration:
-       CONFIG_CHECK=""
-       use fuse && CONFIG_CHECK+="
-               ~FUSE_FS"
-
-       use lvm && CONFIG_CHECK+="
-               ~BLK_DEV_DM
-               ~DM_MULTIPATH
-               ~DM_SNAPSHOT"
-
-       use lxc && CONFIG_CHECK+="
-               ~BLK_CGROUP
-               ~CGROUP_CPUACCT
-               ~CGROUP_DEVICE
-               ~CGROUP_FREEZER
-               ~CGROUP_NET_PRIO
-               ~CGROUP_PERF
-               ~CGROUPS
-               ~CGROUP_SCHED
-               ~CPUSETS
-               ~IPC_NS
-               ~MACVLAN
-               ~NAMESPACES
-               ~NET_CLS_CGROUP
-               ~NET_NS
-               ~PID_NS
-               ~POSIX_MQUEUE
-               ~SECURITYFS
-               ~USER_NS
-               ~UTS_NS
-               ~VETH
-               ~!GRKERNSEC_CHROOT_MOUNT
-               ~!GRKERNSEC_CHROOT_DOUBLE
-               ~!GRKERNSEC_CHROOT_PIVOT
-               ~!GRKERNSEC_CHROOT_CHMOD
-               ~!GRKERNSEC_CHROOT_CAPS"
-
-       kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
-               ~DEVPTS_MULTIPLE_INSTANCES"
-
-       use virt-network && CONFIG_CHECK+="
-               ~BRIDGE_EBT_MARK_T
-               ~BRIDGE_NF_EBTABLES
-               ~NETFILTER_ADVANCED
-               ~NETFILTER_XT_CONNMARK
-               ~NETFILTER_XT_MARK
-               ~NETFILTER_XT_TARGET_CHECKSUM
-               ~IP_NF_FILTER
-               ~IP_NF_MANGLE
-               ~IP_NF_NAT
-               ~IP_NF_TARGET_MASQUERADE
-               ~IP6_NF_FILTER
-               ~IP6_NF_MANGLE
-               ~IP6_NF_NAT"
-       # Bandwidth Limiting Support
-       use virt-network && CONFIG_CHECK+="
-               ~BRIDGE_EBT_T_NAT
-               ~IP_NF_TARGET_REJECT
-               ~NET_ACT_POLICE
-               ~NET_CLS_FW
-               ~NET_CLS_U32
-               ~NET_SCH_HTB
-               ~NET_SCH_INGRESS
-               ~NET_SCH_SFQ"
-
-       ERROR_USER_NS="Optional depending on LXC configuration."
-
-       if [[ -n ${CONFIG_CHECK} ]]; then
-               linux-info_pkg_setup
-       fi
-
-       python-any-r1_pkg_setup
-}
-
-src_prepare() {
-       touch "${S}/.mailmap" || die
-
-       default
-       python_fix_shebang .
-
-       # Skip fragile tests which relies on pristine environment
-       # (Breaks because of sandbox environment variables)
-       # bug #802876
-       sed -i -e "/commandtest/d" tests/meson.build || die
-
-       # Tweak the init script:
-       cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die
-       sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
-               -i "${S}/libvirtd.init" || die "sed failed"
-}
-
-src_configure() {
-       local emesonargs=(
-               $(meson_feature apparmor)
-               $(meson_feature apparmor apparmor_profiles)
-               $(meson_feature audit)
-               $(meson_feature caps capng)
-               $(meson_feature dtrace)
-               $(meson_feature firewalld)
-               $(meson_feature fuse)
-               $(meson_feature glusterfs)
-               $(meson_feature glusterfs storage_gluster)
-               $(meson_feature iscsi storage_iscsi)
-               $(meson_feature iscsi-direct storage_iscsi_direct)
-               $(meson_feature libvirtd driver_libvirtd)
-               $(meson_feature libssh)
-               $(meson_feature lvm storage_lvm)
-               $(meson_feature lvm storage_mpath)
-               $(meson_feature lxc driver_lxc)
-               $(meson_feature nls)
-               $(meson_feature numa numactl)
-               $(meson_feature numa numad)
-               $(meson_feature openvz driver_openvz)
-               $(meson_feature parted storage_disk)
-               $(meson_feature pcap libpcap)
-               $(meson_feature policykit polkit)
-               $(meson_feature qemu driver_qemu)
-               $(meson_feature qemu yajl)
-               $(meson_feature rbd storage_rbd)
-               $(meson_feature sasl)
-               $(meson_feature selinux)
-               $(meson_feature udev)
-               $(meson_feature virt-network driver_network)
-               $(meson_feature virtualbox driver_vbox)
-               $(meson_feature wireshark-plugins wireshark_dissector)
-               $(meson_feature xen driver_libxl)
-               $(meson_feature zfs storage_zfs)
-
-               -Dnetcf=disabled
-               -Dsanlock=disabled
-
-               -Ddriver_esx=enabled
-               -Dinit_script=systemd
-               -Dqemu_user=$(usex caps qemu root)
-               -Dqemu_group=$(usex caps qemu root)
-               -Ddriver_remote=enabled
-               -Dstorage_fs=enabled
-               -Ddriver_vmware=enabled
-
-               --localstatedir="${EPREFIX}/var"
-               -Drunstatedir="${EPREFIX}/run"
-               -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
-       )
-
-       meson_src_configure
-}
-
-src_test() {
-       export VIR_TEST_DEBUG=1
-       # Don't run the syntax check tests, they're fragile and not relevant
-       # to us downstream anyway.
-       # We also crank up the timeout (as Fedora does) just to preempt failures
-       # on slower arches.
-       meson_src_test --no-suite syntax-check --timeout-multiplier 10
-}
-
-src_install() {
-       meson_src_install
-
-       # Depending on configuration option, libvirt will create some bogus
-       # directoreis. They are either not used, or libvirtd is able to create
-       # them on demand, so let's remove them.
-       #
-       # Note, we are using -f here so that rm does not fail or warn if the
-       # directory is nonexistent.
-       rm -rf "${D}"/etc/sysconfig
-       rm -rf "${D}"/var
-       rm -rf "${D}"/run
-
-       use libvirtd || return 0
-       # From here, only libvirtd-related instructions, be warned!
-
-       newtmpfiles "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
-
-       newinitd "${S}/libvirtd.init" libvirtd
-       newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
-       newinitd "${FILESDIR}/virtlockd.init-r2" virtlockd
-       newinitd "${FILESDIR}/virtlogd.init-r2" virtlogd
-
-       newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
-       newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
-
-       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
-       DISABLE_AUTOFORMATTING=true
-       readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-       if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
-               touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml || die
-       fi
-
-       use libvirtd || return 0
-       # From here, only libvirtd-related instructions, be warned!
-       tmpfiles_process libvirtd.conf
-       readme.gentoo_print_elog
-}

diff --git a/app-emulation/libvirt/libvirt-8.2.0-r1.ebuild 
b/app-emulation/libvirt/libvirt-8.2.0-r1.ebuild
deleted file mode 100644
index f417caaa7247..000000000000
--- a/app-emulation/libvirt/libvirt-8.2.0-r1.ebuild
+++ /dev/null
@@ -1,335 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Please bump with dev-python/libvirt-python!
-
-PYTHON_COMPAT=( python3_{8..10} )
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libvirt.org.asc
-inherit meson linux-info python-any-r1 readme.gentoo-r1 tmpfiles verify-sig
-
-if [[ ${PV} = *9999* ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt.git";
-       EGIT_BRANCH="master"
-else
-       SRC_URI="https://libvirt.org/sources/${P}.tar.xz
-               verify-sig? ( https://libvirt.org/sources/${P}.tar.xz.asc )"
-       KEYWORDS="amd64 arm64 ~ppc64 x86"
-fi
-
-DESCRIPTION="C toolkit to manipulate virtual machines"
-HOMEPAGE="https://www.libvirt.org/ https://gitlab.com/libvirt/libvirt/";
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-IUSE="
-       apparmor audit bash-completion +caps dtrace firewalld fuse glusterfs
-       iscsi iscsi-direct +libvirtd lvm libssh libssh2 lxc nfs nls numa openvz
-       parted pcap policykit +qemu rbd sasl selinux +udev
-       virtualbox +virt-network wireshark-plugins xen zfs
-"
-
-REQUIRED_USE="
-       firewalld? ( virt-network )
-       libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
-       lxc? ( caps libvirtd )
-       openvz? ( libvirtd )
-       qemu? ( libvirtd )
-       virt-network? ( libvirtd )
-       virtualbox? ( libvirtd )
-       xen? ( libvirtd )"
-
-BDEPEND="
-       app-text/xhtml1
-       dev-lang/perl
-       dev-libs/libxslt
-       dev-perl/XML-XPath
-       dev-python/docutils
-       virtual/pkgconfig
-       net-libs/rpcsvc-proto
-       bash-completion? ( >=app-shells/bash-completion-2.0 )
-       verify-sig? ( sec-keys/openpgp-keys-libvirt )"
-
-# gettext.sh command is used by the libvirt command wrappers, and it's
-# non-optional, so put it into RDEPEND.
-# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
-# package will use 3 by default. Since we don't have slot pinning in an API,
-# we must go with the most recent
-RDEPEND="
-       acct-user/qemu
-       app-misc/scrub
-       >=dev-libs/glib-2.56.0
-       dev-libs/libgcrypt
-       dev-libs/libnl:3
-       >=dev-libs/libxml2-2.9.1
-       >=net-analyzer/openbsd-netcat-1.105-r1
-       >=net-libs/gnutls-3.2.0:=
-       net-libs/libtirpc:=
-       >=net-misc/curl-7.18.0
-       sys-apps/dbus
-       sys-apps/dmidecode
-       sys-devel/gettext
-       >=sys-libs/readline-7.0:=
-       virtual/acl
-       apparmor? ( sys-libs/libapparmor )
-       audit? ( sys-process/audit )
-       caps? ( sys-libs/libcap-ng )
-       dtrace? ( dev-util/systemtap )
-       firewalld? ( >=net-firewall/firewalld-0.6.3 )
-       fuse? ( sys-fs/fuse:= )
-       glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
-       iscsi? ( >=sys-block/open-iscsi-1.18.0 )
-       iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
-       libssh? ( >=net-libs/libssh-0.7:= )
-       libssh2? ( >=net-libs/libssh2-1.3 )
-       lvm? ( >=sys-fs/lvm2-2.02.48-r2[lvm] )
-       lxc? ( !sys-apps/systemd[cgroup-hybrid(-)] )
-       nfs? ( net-fs/nfs-utils )
-       numa? (
-               >sys-process/numactl-2.0.2
-               sys-process/numad
-       )
-       parted? (
-               >=sys-block/parted-1.8[device-mapper]
-               sys-fs/lvm2[lvm]
-       )
-       pcap? ( >=net-libs/libpcap-1.8.0 )
-       policykit? (
-               acct-group/libvirt
-               >=sys-auth/polkit-0.9
-       )
-       qemu? (
-               >=app-emulation/qemu-2.11
-               >=dev-libs/yajl-2.0.3:=
-       )
-       rbd? ( sys-cluster/ceph )
-       sasl? ( >=dev-libs/cyrus-sasl-2.1.26 )
-       selinux? ( >=sys-libs/libselinux-2.0.85 )
-       virt-network? (
-               net-dns/dnsmasq[dhcp,ipv6(+),script]
-               net-firewall/ebtables
-               >=net-firewall/iptables-1.4.10[ipv6(+)]
-               net-misc/radvd
-               sys-apps/iproute2[-minimal]
-       )
-       wireshark-plugins? ( >=net-analyzer/wireshark-2.6.0:= )
-       xen? (
-               >=app-emulation/xen-4.9.0
-               app-emulation/xen-tools:=
-       )
-       udev? (
-               virtual/libudev:=
-               >=x11-libs/libpciaccess-0.10.9
-       )
-       zfs? ( sys-fs/zfs )
-       kernel_linux? ( sys-apps/util-linux )"
-DEPEND="${BDEPEND}
-       ${RDEPEND}
-       ${PYTHON_DEPS}"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
-       "${FILESDIR}"/${PN}-8.2.0-do-not-use-sysconfig.patch
-       "${FILESDIR}"/${PN}-8.2.0-fix-paths-for-apparmor.patch
-)
-
-pkg_setup() {
-       # Check kernel configuration:
-       CONFIG_CHECK=""
-       use fuse && CONFIG_CHECK+="
-               ~FUSE_FS"
-
-       use lvm && CONFIG_CHECK+="
-               ~BLK_DEV_DM
-               ~DM_MULTIPATH
-               ~DM_SNAPSHOT"
-
-       use lxc && CONFIG_CHECK+="
-               ~BLK_CGROUP
-               ~CGROUP_CPUACCT
-               ~CGROUP_DEVICE
-               ~CGROUP_FREEZER
-               ~CGROUP_NET_PRIO
-               ~CGROUP_PERF
-               ~CGROUPS
-               ~CGROUP_SCHED
-               ~CPUSETS
-               ~IPC_NS
-               ~MACVLAN
-               ~NAMESPACES
-               ~NET_CLS_CGROUP
-               ~NET_NS
-               ~PID_NS
-               ~POSIX_MQUEUE
-               ~SECURITYFS
-               ~USER_NS
-               ~UTS_NS
-               ~VETH
-               ~!GRKERNSEC_CHROOT_MOUNT
-               ~!GRKERNSEC_CHROOT_DOUBLE
-               ~!GRKERNSEC_CHROOT_PIVOT
-               ~!GRKERNSEC_CHROOT_CHMOD
-               ~!GRKERNSEC_CHROOT_CAPS"
-
-       kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
-               ~DEVPTS_MULTIPLE_INSTANCES"
-
-       use virt-network && CONFIG_CHECK+="
-               ~BRIDGE_EBT_MARK_T
-               ~BRIDGE_NF_EBTABLES
-               ~NETFILTER_ADVANCED
-               ~NETFILTER_XT_CONNMARK
-               ~NETFILTER_XT_MARK
-               ~NETFILTER_XT_TARGET_CHECKSUM
-               ~IP_NF_FILTER
-               ~IP_NF_MANGLE
-               ~IP_NF_NAT
-               ~IP_NF_TARGET_MASQUERADE
-               ~IP6_NF_FILTER
-               ~IP6_NF_MANGLE
-               ~IP6_NF_NAT"
-       # Bandwidth Limiting Support
-       use virt-network && CONFIG_CHECK+="
-               ~BRIDGE_EBT_T_NAT
-               ~IP_NF_TARGET_REJECT
-               ~NET_ACT_POLICE
-               ~NET_CLS_FW
-               ~NET_CLS_U32
-               ~NET_SCH_HTB
-               ~NET_SCH_INGRESS
-               ~NET_SCH_SFQ"
-
-       ERROR_USER_NS="Optional depending on LXC configuration."
-
-       if [[ -n ${CONFIG_CHECK} ]]; then
-               linux-info_pkg_setup
-       fi
-
-       python-any-r1_pkg_setup
-}
-
-src_prepare() {
-       touch "${S}/.mailmap" || die
-
-       default
-       python_fix_shebang .
-
-       # Skip fragile tests which relies on pristine environment
-       # (Breaks because of sandbox environment variables)
-       # bug #802876
-       sed -i -e "/commandtest/d" tests/meson.build || die
-
-       # Tweak the init script:
-       cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die
-       sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
-               -i "${S}/libvirtd.init" || die "sed failed"
-}
-
-src_configure() {
-       local emesonargs=(
-               $(meson_feature apparmor)
-               $(meson_feature apparmor apparmor_profiles)
-               $(meson_feature audit)
-               $(meson_feature caps capng)
-               $(meson_feature dtrace)
-               $(meson_feature firewalld)
-               $(meson_feature fuse)
-               $(meson_feature glusterfs)
-               $(meson_feature glusterfs storage_gluster)
-               $(meson_feature iscsi storage_iscsi)
-               $(meson_feature iscsi-direct storage_iscsi_direct)
-               $(meson_feature libvirtd driver_libvirtd)
-               $(meson_feature libssh)
-               $(meson_feature libssh2)
-               $(meson_feature lvm storage_lvm)
-               $(meson_feature lvm storage_mpath)
-               $(meson_feature lxc driver_lxc)
-               $(meson_feature nls)
-               $(meson_feature numa numactl)
-               $(meson_feature numa numad)
-               $(meson_feature openvz driver_openvz)
-               $(meson_feature parted storage_disk)
-               $(meson_feature pcap libpcap)
-               $(meson_feature policykit polkit)
-               $(meson_feature qemu driver_qemu)
-               $(meson_feature qemu yajl)
-               $(meson_feature rbd storage_rbd)
-               $(meson_feature sasl)
-               $(meson_feature selinux)
-               $(meson_feature udev)
-               $(meson_feature virt-network driver_network)
-               $(meson_feature virtualbox driver_vbox)
-               $(meson_feature wireshark-plugins wireshark_dissector)
-               $(meson_feature xen driver_libxl)
-               $(meson_feature zfs storage_zfs)
-
-               -Dnetcf=disabled
-               -Dsanlock=disabled
-
-               -Ddriver_esx=enabled
-               -Dinit_script=systemd
-               -Dqemu_user=$(usex caps qemu root)
-               -Dqemu_group=$(usex caps qemu root)
-               -Ddriver_remote=enabled
-               -Dstorage_fs=enabled
-               -Ddriver_vmware=enabled
-
-               --localstatedir="${EPREFIX}/var"
-               -Drunstatedir="${EPREFIX}/run"
-               -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
-       )
-
-       meson_src_configure
-}
-
-src_test() {
-       export VIR_TEST_DEBUG=1
-       # Don't run the syntax check tests, they're fragile and not relevant
-       # to us downstream anyway.
-       # We also crank up the timeout (as Fedora does) just to preempt failures
-       # on slower arches.
-       meson_src_test --no-suite syntax-check --timeout-multiplier 10
-}
-
-src_install() {
-       meson_src_install
-
-       # Depending on configuration option, libvirt will create some bogus
-       # directoreis. They are either not used, or libvirtd is able to create
-       # them on demand, so let's remove them.
-       #
-       # Note, we are using -f here so that rm does not fail or warn if the
-       # directory is nonexistent.
-       rm -rf "${D}"/etc/sysconfig
-       rm -rf "${D}"/var
-       rm -rf "${D}"/run
-
-       use libvirtd || return 0
-       # From here, only libvirtd-related instructions, be warned!
-
-       newtmpfiles "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
-
-       newinitd "${S}/libvirtd.init" libvirtd
-       newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
-       newinitd "${FILESDIR}/virtlockd.init-r2" virtlockd
-       newinitd "${FILESDIR}/virtlogd.init-r2" virtlogd
-
-       newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
-       newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
-
-       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
-       DISABLE_AUTOFORMATTING=true
-       readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-       if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
-               touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml || die
-       fi
-
-       use libvirtd || return 0
-       # From here, only libvirtd-related instructions, be warned!
-       tmpfiles_process libvirtd.conf
-       readme.gentoo_print_elog
-}

Reply via email to