summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-07-21 19:54:54 +0200
committerMarek Szuba <marecki@gentoo.org>2020-07-21 20:10:44 +0200
commitc6543a38b2ab1f2372a3bc520eabb23c331cd347 (patch)
tree0081c5f0517fd5aa74c50bfd723fecd90da63f83 /app-emulation/libvirt/files
parentapp-emulation/libvirt: remove old (diff)
downloadgentoo-c6543a38b2ab1f2372a3bc520eabb23c331cd347.tar.gz
gentoo-c6543a38b2ab1f2372a3bc520eabb23c331cd347.tar.bz2
gentoo-c6543a38b2ab1f2372a3bc520eabb23c331cd347.zip
app-emulation/libvirt: bump to 6.5.0
Approved by tamiko on IRC. Closes: https://bugs.gentoo.org/721620 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-emulation/libvirt/files')
-rw-r--r--app-emulation/libvirt/files/libvirt-6.5.0-do-not-use-sysconfig.patch (renamed from app-emulation/libvirt/files/libvirt-6.2.0-do-not-use-sysconfig.patch)118
1 files changed, 19 insertions, 99 deletions
diff --git a/app-emulation/libvirt/files/libvirt-6.2.0-do-not-use-sysconfig.patch b/app-emulation/libvirt/files/libvirt-6.5.0-do-not-use-sysconfig.patch
index 3dc2588b7bfd..74b5954a0cf1 100644
--- a/app-emulation/libvirt/files/libvirt-6.2.0-do-not-use-sysconfig.patch
+++ b/app-emulation/libvirt/files/libvirt-6.5.0-do-not-use-sysconfig.patch
@@ -1,37 +1,6 @@
-From c378ab3e7fe84ac69ad787c099f24fd32dbbf6e4 Mon Sep 17 00:00:00 2001
-Message-Id: <c378ab3e7fe84ac69ad787c099f24fd32dbbf6e4.1586091631.git.mprivozn@redhat.com>
-From: Michal Privoznik <mprivozn@redhat.com>
-Date: Sun, 5 Apr 2020 14:41:45 +0200
-Subject: [PATCH] Do not use sysconfig
-
-Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
----
- src/Makefile.am | 21 ++-------------------
- src/interface/virtinterfaced.service.in | 1 -
- src/libxl/virtxend.service.in | 1 -
- src/locking/virtlockd.service.in | 3 +--
- src/logging/virtlogd.service.in | 3 +--
- src/lxc/virtlxcd.service.in | 1 -
- src/network/virtnetworkd.service.in | 1 -
- src/node_device/virtnodedevd.service.in | 1 -
- src/nwfilter/virtnwfilterd.service.in | 1 -
- src/qemu/virtqemud.service.in | 1 -
- src/remote/libvirtd.service.in | 3 +--
- src/remote/virtproxyd.service.in | 1 -
- src/secret/virtsecretd.service.in | 1 -
- src/storage/virtstoraged.service.in | 1 -
- src/vbox/virtvboxd.service.in | 1 -
- src/vz/virtvzd.service.in | 1 -
- tools/Makefile.am | 13 ++-----------
- tools/libvirt-guests.service.in | 2 +-
- tools/libvirt-guests.sysconf | 6 ++++++
- 19 files changed, 14 insertions(+), 49 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 12dd6b80e1..10f1bb769d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
-@@ -522,23 +522,6 @@ EXTRA_DIST += \
+@@ -522,23 +522,6 @@
$(SYSCONF_FILES) \
$(OPENRC_CONF_FILES)
@@ -55,7 +24,7 @@ index 12dd6b80e1..10f1bb769d 100644
OPENRC_CONF_DIR = $(sysconfdir)/conf.d
install-openrc-conf:
-@@ -604,14 +587,14 @@ SYSTEMD_UNIT_DIR = $(prefix)/lib/systemd/system
+@@ -604,14 +587,14 @@
BUILT_SOURCES += $(SYSTEMD_UNIT_FILES)
DISTCLEANFILES += $(SYSTEMD_UNIT_FILES)
@@ -72,11 +41,9 @@ index 12dd6b80e1..10f1bb769d 100644
rm -f $(SYSTEMD_UNIT_FILES:%=$(DESTDIR)$(SYSTEMD_UNIT_DIR)/%)
rmdir $(DESTDIR)$(SYSTEMD_UNIT_DIR) || :
-diff --git a/src/interface/virtinterfaced.service.in b/src/interface/virtinterfaced.service.in
-index 73d409b81b..2d2c0138f5 100644
--- a/src/interface/virtinterfaced.service.in
+++ b/src/interface/virtinterfaced.service.in
-@@ -13,7 +13,6 @@ Documentation=https://libvirt.org
+@@ -13,7 +13,6 @@
[Service]
Type=notify
@@ -84,11 +51,9 @@ index 73d409b81b..2d2c0138f5 100644
ExecStart=@sbindir@/virtinterfaced $VIRTINTERFACED_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
-diff --git a/src/libxl/virtxend.service.in b/src/libxl/virtxend.service.in
-index a863917467..5b2d16f627 100644
--- a/src/libxl/virtxend.service.in
+++ b/src/libxl/virtxend.service.in
-@@ -17,7 +17,6 @@ ConditionPathExists=/proc/xen/capabilities
+@@ -17,7 +17,6 @@
[Service]
Type=notify
@@ -96,11 +61,9 @@ index a863917467..5b2d16f627 100644
ExecStart=@sbindir@/virtxend $VIRTXEND_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
-diff --git a/src/locking/virtlockd.service.in b/src/locking/virtlockd.service.in
-index e7f8057c06..2449b201d9 100644
--- a/src/locking/virtlockd.service.in
+++ b/src/locking/virtlockd.service.in
-@@ -7,8 +7,7 @@ Documentation=man:virtlockd(8)
+@@ -7,8 +7,7 @@
Documentation=https://libvirt.org
[Service]
@@ -110,11 +73,9 @@ index e7f8057c06..2449b201d9 100644
ExecReload=/bin/kill -USR1 $MAINPID
# Loosing the locks is a really bad thing that will
# cause the machine to be fenced (rebooted), so make
-diff --git a/src/logging/virtlogd.service.in b/src/logging/virtlogd.service.in
-index daff48e67d..43736191d5 100644
--- a/src/logging/virtlogd.service.in
+++ b/src/logging/virtlogd.service.in
-@@ -7,8 +7,7 @@ Documentation=man:virtlogd(8)
+@@ -7,8 +7,7 @@
Documentation=https://libvirt.org
[Service]
@@ -124,11 +85,9 @@ index daff48e67d..43736191d5 100644
ExecReload=/bin/kill -USR1 $MAINPID
# Loosing the logs is a really bad thing that will
# cause the machine to be fenced (rebooted), so make
-diff --git a/src/lxc/virtlxcd.service.in b/src/lxc/virtlxcd.service.in
-index 3af7c1a52d..cff421d988 100644
--- a/src/lxc/virtlxcd.service.in
+++ b/src/lxc/virtlxcd.service.in
-@@ -18,7 +18,6 @@ Documentation=https://libvirt.org
+@@ -18,7 +18,6 @@
[Service]
Type=notify
@@ -136,11 +95,9 @@ index 3af7c1a52d..cff421d988 100644
ExecStart=@sbindir@/virtlxcd $VIRTLXCD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
-diff --git a/src/network/virtnetworkd.service.in b/src/network/virtnetworkd.service.in
-index e7f1326945..49fb7b99ff 100644
--- a/src/network/virtnetworkd.service.in
+++ b/src/network/virtnetworkd.service.in
-@@ -13,7 +13,6 @@ Documentation=https://libvirt.org
+@@ -16,7 +16,6 @@
[Service]
Type=notify
@@ -148,11 +105,9 @@ index e7f1326945..49fb7b99ff 100644
ExecStart=@sbindir@/virtnetworkd $VIRTNETWORKD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
-diff --git a/src/node_device/virtnodedevd.service.in b/src/node_device/virtnodedevd.service.in
-index d2453dd620..847263e8b9 100644
--- a/src/node_device/virtnodedevd.service.in
+++ b/src/node_device/virtnodedevd.service.in
-@@ -13,7 +13,6 @@ Documentation=https://libvirt.org
+@@ -13,7 +13,6 @@
[Service]
Type=notify
@@ -160,11 +115,9 @@ index d2453dd620..847263e8b9 100644
ExecStart=@sbindir@/virtnodedevd $VIRTNODEDEVD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
-diff --git a/src/nwfilter/virtnwfilterd.service.in b/src/nwfilter/virtnwfilterd.service.in
-index dda7c01a3d..bb0bf0afa4 100644
--- a/src/nwfilter/virtnwfilterd.service.in
+++ b/src/nwfilter/virtnwfilterd.service.in
-@@ -13,7 +13,6 @@ Documentation=https://libvirt.org
+@@ -13,7 +13,6 @@
[Service]
Type=notify
@@ -172,11 +125,9 @@ index dda7c01a3d..bb0bf0afa4 100644
ExecStart=@sbindir@/virtnwfilterd $VIRTNWFILTERD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
-diff --git a/src/qemu/virtqemud.service.in b/src/qemu/virtqemud.service.in
-index 8abc9d3a7f..3539be3c0b 100644
--- a/src/qemu/virtqemud.service.in
+++ b/src/qemu/virtqemud.service.in
-@@ -18,7 +18,6 @@ Documentation=https://libvirt.org
+@@ -18,7 +18,6 @@
[Service]
Type=notify
@@ -184,11 +135,9 @@ index 8abc9d3a7f..3539be3c0b 100644
ExecStart=@sbindir@/virtqemud $VIRTQEMUD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
-diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in
-index 90b2cad5b0..d16b11ec8d 100644
--- a/src/remote/libvirtd.service.in
+++ b/src/remote/libvirtd.service.in
-@@ -25,8 +25,7 @@ Documentation=https://libvirt.org
+@@ -28,8 +28,7 @@
[Service]
Type=notify
@@ -198,11 +147,9 @@ index 90b2cad5b0..d16b11ec8d 100644
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure
-diff --git a/src/remote/virtproxyd.service.in b/src/remote/virtproxyd.service.in
-index f43ce9ee6e..9076e638a7 100644
--- a/src/remote/virtproxyd.service.in
+++ b/src/remote/virtproxyd.service.in
-@@ -13,7 +13,6 @@ Documentation=https://libvirt.org
+@@ -13,7 +13,6 @@
[Service]
Type=notify
@@ -210,11 +157,9 @@ index f43ce9ee6e..9076e638a7 100644
ExecStart=@sbindir@/virtproxyd $VIRTPROXYD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
-diff --git a/src/secret/virtsecretd.service.in b/src/secret/virtsecretd.service.in
-index 8444142a3a..57e74c2d38 100644
--- a/src/secret/virtsecretd.service.in
+++ b/src/secret/virtsecretd.service.in
-@@ -13,7 +13,6 @@ Documentation=https://libvirt.org
+@@ -13,7 +13,6 @@
[Service]
Type=notify
@@ -222,11 +167,9 @@ index 8444142a3a..57e74c2d38 100644
ExecStart=@sbindir@/virtsecretd $VIRTSECRETD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
-diff --git a/src/storage/virtstoraged.service.in b/src/storage/virtstoraged.service.in
-index fc3e9a1b69..a82319b214 100644
--- a/src/storage/virtstoraged.service.in
+++ b/src/storage/virtstoraged.service.in
-@@ -15,7 +15,6 @@ Documentation=https://libvirt.org
+@@ -15,7 +15,6 @@
[Service]
Type=notify
@@ -234,11 +177,9 @@ index fc3e9a1b69..a82319b214 100644
ExecStart=@sbindir@/virtstoraged $VIRTSTORAGED_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
-diff --git a/src/vbox/virtvboxd.service.in b/src/vbox/virtvboxd.service.in
-index ebb31dde07..21eec57bab 100644
--- a/src/vbox/virtvboxd.service.in
+++ b/src/vbox/virtvboxd.service.in
-@@ -14,7 +14,6 @@ Documentation=https://libvirt.org
+@@ -14,7 +14,6 @@
[Service]
Type=notify
@@ -246,23 +187,9 @@ index ebb31dde07..21eec57bab 100644
ExecStart=@sbindir@/virtvboxd $VIRTVBOXD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
-diff --git a/src/vz/virtvzd.service.in b/src/vz/virtvzd.service.in
-index f551cb8fbf..99b9b4f1bf 100644
---- a/src/vz/virtvzd.service.in
-+++ b/src/vz/virtvzd.service.in
-@@ -14,7 +14,6 @@ Documentation=https://libvirt.org
-
- [Service]
- Type=notify
--EnvironmentFile=-@sysconfdir@/sysconfig/virtvzd
- ExecStart=@sbindir@/virtvzd $VIRTVZD_ARGS
- ExecReload=/bin/kill -HUP $MAINPID
- Restart=on-failure
-diff --git a/tools/Makefile.am b/tools/Makefile.am
-index 53df930e0a..598a62ddef 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
-@@ -294,15 +294,6 @@ install-data-local: install-systemd install-nss \
+@@ -294,15 +294,6 @@
uninstall-local: uninstall-systemd uninstall-nss \
uninstall-bash-completion
@@ -278,7 +205,7 @@ index 53df930e0a..598a62ddef 100644
EXTRA_DIST += libvirt-guests.sh.in
libvirt-guests.sh: libvirt-guests.sh.in $(top_builddir)/config.status
-@@ -322,12 +313,12 @@ EXTRA_DIST += libvirt-guests.service.in
+@@ -322,12 +313,12 @@
SYSTEMD_UNIT_DIR = $(prefix)/lib/systemd/system
if LIBVIRT_INIT_SCRIPT_SYSTEMD
@@ -293,11 +220,9 @@ index 53df930e0a..598a62ddef 100644
rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirt-guests.service
rmdir $(DESTDIR)$(SYSTEMD_UNIT_DIR) ||:
-diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
-index 10c664016a..f0f417bffb 100644
--- a/tools/libvirt-guests.service.in
+++ b/tools/libvirt-guests.service.in
-@@ -10,7 +10,7 @@ Documentation=man:libvirtd(8)
+@@ -10,7 +10,7 @@
Documentation=https://libvirt.org
[Service]
@@ -306,8 +231,6 @@ index 10c664016a..f0f417bffb 100644
# Hack just call traditional service until we factor
# out the code
ExecStart=@libexecdir@/libvirt-guests.sh start
-diff --git a/tools/libvirt-guests.sysconf b/tools/libvirt-guests.sysconf
-index 0765efec21..a1a53d8a8d 100644
--- a/tools/libvirt-guests.sysconf
+++ b/tools/libvirt-guests.sysconf
@@ -1,3 +1,9 @@
@@ -320,6 +243,3 @@ index 0765efec21..a1a53d8a8d 100644
# Customizations for the libvirt-guests.service systemd unit
# URIs to check for running guests
---
-2.24.1
-