forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emulation/libvirt: Version updated to 6.7.0.
Signed-off-by: Jonathan Davies <[email protected]> Signed-off-by: Matthias Maier <[email protected]>
- Loading branch information
Showing
5 changed files
with
548 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST libvirt-6.2.0.tar.xz 8307248 BLAKE2B 9d449e041fc548a688f974d0801e625cf023ef0df49c40028e486e88fcf14181869e0dfd87f0eabcdd184df67dda5b5fbdc0c2375832f1534faff531779255dd SHA512 96bef701fd73aef93d1490f0bc331901a0ff6250a4f36a3e4844f76cc262dc0ae4cce8686a603c2a9c575ce489d8d5ed1521ebd22b92aff8301efdb74dee91e4 | ||
DIST libvirt-6.5.0.tar.xz 9407160 BLAKE2B 592aace555a3b72311cb430784587180fa7dbf74f75509cd8373a046339b9c4c0707bf530dd2d06146d78a85f8af3dba5d0b146ecec180d3cc4d3bf78c19da61 SHA512 30a032270304b97945ff2c5087c72c2f5510634186f2eaf7c3d834a72cddcaec97bbe5ccc86802728a59f4c80b5bb54757400683df5f20175757cfe07ce67453 | ||
DIST libvirt-6.7.0.tar.xz 8362140 BLAKE2B d0afe33fcdaab3cc0f2ea8c552e7550bcece018b049a3b58e5c05ee85b39e2b3ebf42fa1b70ddb1d2a541d1114b6b49734f23a889b3589397a30a672f27a3a56 SHA512 cabfb6aa65a3a1412b0111654ad3a7d0a6dfc63399a892c540ca39ab4e56f87626a067037e4480bb55418a371d2b5e9ac74862c92a3cdea69822ec3d158d769f |
169 changes: 169 additions & 0 deletions
169
app-emulation/libvirt/files/libvirt-6.7.0-do-not-use-sysconfig.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
--- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- a/meson.build 2020-09-26 21:25:08.557345415 +0000 | ||
+++ b/meson.build 2020-09-26 21:25:59.507348156 +0000 | ||
@@ -84,7 +84,7 @@ sbindir = prefix / get_option('sbindir') | ||
sharedstatedir = prefix / get_option('sharedstatedir') | ||
|
||
confdir = sysconfdir / meson.project_name() | ||
-docdir = datadir / 'doc' / meson.project_name() | ||
+docdir = datadir / 'doc' / '@0@-@1@'.format(meson.project_name(), meson.project_version()) | ||
pkgdatadir = datadir / meson.project_name() |
26 changes: 26 additions & 0 deletions
26
app-emulation/libvirt/files/libvirt-6.7.0-fix-paths-for-apparmor.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
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, | ||
diff --git a/src/security/apparmor/usr.lib.libvirt.virt-aa-helper.in b/src/security/apparmor/usr.libexec.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.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.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.virt-aa-helper> | ||
} |
Oops, something went wrong.