Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/, app-emulation/libvirt/files/
Date: Tue, 03 Jul 2018 15:31:02
Message-Id: 1530631847.f759fae5bc8549729bb3632af65be9f2ff256635.tamiko@gentoo
1 commit: f759fae5bc8549729bb3632af65be9f2ff256635
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 3 15:30:12 2018 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 3 15:30:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f759fae5
7
8 app-emulation/libvirt: fix typo in apparmor rule
9
10 Thanks to holgersson for pointing this out.
11
12 Package-Manager: Portage-2.3.41, Repoman-2.3.9
13
14 .../files/libvirt-4.5.0-fix_typo_in_apparmor_rule.patch | 13 +++++++++++++
15 .../{libvirt-4.5.0.ebuild => libvirt-4.5.0-r1.ebuild} | 1 +
16 2 files changed, 14 insertions(+)
17
18 diff --git a/app-emulation/libvirt/files/libvirt-4.5.0-fix_typo_in_apparmor_rule.patch b/app-emulation/libvirt/files/libvirt-4.5.0-fix_typo_in_apparmor_rule.patch
19 new file mode 100644
20 index 00000000000..4d1bfaf5e3b
21 --- /dev/null
22 +++ b/app-emulation/libvirt/files/libvirt-4.5.0-fix_typo_in_apparmor_rule.patch
23 @@ -0,0 +1,13 @@
24 +diff --git a/examples/apparmor/usr.libexec.virt-aa-helper b/examples/apparmor/usr.libexec.virt-aa-helper
25 +index d21723f..99ab4ea 100644
26 +--- a/examples/apparmor/usr.libexec.virt-aa-helper
27 ++++ b/examples/apparmor/usr.libexec.virt-aa-helper
28 +@@ -50,7 +50,7 @@ profile virt-aa-helper /usr/libexec/virt-aa-helper {
29 + @{HOME}/** r,
30 + /var/lib/libvirt/images/ r,
31 + /var/lib/libvirt/images/** r,
32 +- /var/lib/nova/instances/_base/* r
33 ++ /var/lib/nova/instances/_base/* r,
34 + /{media,mnt,opt,srv}/** r,
35 + # For virt-sandbox
36 + /{,var/}run/libvirt/**/[sv]d[a-z] r,
37
38 diff --git a/app-emulation/libvirt/libvirt-4.5.0.ebuild b/app-emulation/libvirt/libvirt-4.5.0-r1.ebuild
39 similarity index 99%
40 rename from app-emulation/libvirt/libvirt-4.5.0.ebuild
41 rename to app-emulation/libvirt/libvirt-4.5.0-r1.ebuild
42 index 968cefa79ea..b98d98cfe37 100644
43 --- a/app-emulation/libvirt/libvirt-4.5.0.ebuild
44 +++ b/app-emulation/libvirt/libvirt-4.5.0-r1.ebuild
45 @@ -125,6 +125,7 @@ PATCHES=(
46 "${FILESDIR}"/${PN}-4.5.0-do_not_use_sysconf.patch
47 "${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
48 "${FILESDIR}"/${PN}-3.10.0-r2-fix_paths_for_apparmor.patch
49 + "${FILESDIR}"/${PN}-4.5.0-fix_typo_in_apparmor_rule.patch
50 )
51
52 pkg_setup() {