diff options
author | Jonathan Davies <jpds@protonmail.com> | 2020-10-06 18:03:44 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-10-06 18:07:10 +0000 |
commit | adcefe5c40a45576ec0999c39f34b9c9ab85708d (patch) | |
tree | 94d4d23d3f77339201919cf702e196abf83752fe /app-emulation/libvirt | |
parent | lxde-base/lxdm: remove consolekit support (diff) | |
download | gentoo-adcefe5c40a45576ec0999c39f34b9c9ab85708d.tar.gz gentoo-adcefe5c40a45576ec0999c39f34b9c9ab85708d.tar.bz2 gentoo-adcefe5c40a45576ec0999c39f34b9c9ab85708d.zip |
app-emulation/libvirt: fix libvirt-6.7.0-fix-paths-for-apparmor.patch
* File renames are handled by meson.build.
* Restored libvirt in front of virt-aa-helper.in.
* Renamed local helper to also be under libexec.
Closes: https://bugs.gentoo.org/746182
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17823
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation/libvirt')
-rw-r--r-- | app-emulation/libvirt/files/libvirt-6.7.0-fix-paths-for-apparmor.patch | 31 |
1 files changed, 28 insertions, 3 deletions
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 index 1ca700300626..fcd15191eca8 100644 --- 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 @@ -10,10 +10,31 @@ index 80986ae..d550d8c 100644 # 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 + +--- 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.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.virt-aa-helper.in @@ -22,5 +43,9 @@ index dd18c8a..d06f9cb 100644 /**/disk{,.*} r, - #include <local/usr.lib.libvirt.virt-aa-helper> -+ #include <local/usr.libexec.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 |