From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/files/
Date: Tue, 6 Oct 2020 18:07:19 +0000 (UTC) [thread overview]
Message-ID: <1602007630.adcefe5c40a45576ec0999c39f34b9c9ab85708d.sam@gentoo> (raw)
commit: adcefe5c40a45576ec0999c39f34b9c9ab85708d
Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Tue Oct 6 17:03:44 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 6 18:07:10 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adcefe5c
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 <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17823
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../libvirt-6.7.0-fix-paths-for-apparmor.patch | 31 +++++++++++++++++++---
1 file 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 1ca70030062..fcd15191eca 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
next reply other threads:[~2020-10-06 18:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-06 18:07 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-10-02 14:43 [gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/files/ Conrad Kostecki
2022-04-04 7:49 David Seifert
2022-03-15 5:52 Joonas Niilola
2022-03-08 13:18 Sam James
2021-02-11 18:02 Matthias Maier
2020-10-06 20:45 Sam James
2020-04-05 17:19 Matthias Maier
2019-10-15 16:09 Matthias Maier
2019-07-28 18:21 Matthias Maier
2019-07-09 18:54 Matthias Maier
2019-07-03 8:09 Matthias Maier
2019-06-18 0:35 Aaron Bauman
2019-05-19 23:42 Matthias Maier
2019-03-26 16:45 Patrice Clement
2018-06-29 4:50 Matthias Maier
2015-09-11 14:25 Doug Goldstein
2015-09-02 16:03 Doug Goldstein
2015-08-28 13:48 Doug Goldstein
2015-08-20 1:13 Matthias Maier
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=1602007630.adcefe5c40a45576ec0999c39f34b9c9ab85708d.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