1 |
commit: 7a00afd1eeef23c21cb934e879c59e7978fc0ef7 |
2 |
Author: Han Han <hanhanzhiyeqianke <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jan 6 17:03:57 2019 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 2 23:46:24 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a00afd1 |
7 |
|
8 |
app-emulation/libvirt: Add use flag iscsi-direct |
9 |
|
10 |
Since libvirt-4.7, a new storage pool backend iscsi-direct that uses |
11 |
libiscsi instead of iscsiadm was added. The use flag iscsi-direct will |
12 |
enable it. |
13 |
|
14 |
Closes: https://github.com/gentoo/gentoo/pull/10750 |
15 |
Signed-off-by: Han Han <hanhanzhiyeqianke <AT> gmail.com> |
16 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
17 |
|
18 |
app-emulation/libvirt/libvirt-4.10.0.ebuild | 8 +++++--- |
19 |
app-emulation/libvirt/libvirt-4.9.0.ebuild | 8 +++++--- |
20 |
app-emulation/libvirt/libvirt-9999.ebuild | 8 +++++--- |
21 |
app-emulation/libvirt/metadata.xml | 3 +++ |
22 |
4 files changed, 18 insertions(+), 9 deletions(-) |
23 |
|
24 |
diff --git a/app-emulation/libvirt/libvirt-4.10.0.ebuild b/app-emulation/libvirt/libvirt-4.10.0.ebuild |
25 |
index 4ee860eb76c..72cf7a3a010 100644 |
26 |
--- a/app-emulation/libvirt/libvirt-4.10.0.ebuild |
27 |
+++ b/app-emulation/libvirt/libvirt-4.10.0.ebuild |
28 |
@@ -28,9 +28,9 @@ DESCRIPTION="C toolkit to manipulate virtual machines" |
29 |
HOMEPAGE="http://www.libvirt.org/" |
30 |
LICENSE="LGPL-2.1" |
31 |
IUSE=" |
32 |
- apparmor audit +caps +dbus firewalld fuse glusterfs iscsi +libvirtd lvm |
33 |
- libssh lxc +macvtap nfs nls numa openvz parted pcap phyp policykit |
34 |
- +qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network |
35 |
+ apparmor audit +caps +dbus firewalld fuse glusterfs iscsi iscsi-direct |
36 |
+ +libvirtd lvm libssh lxc +macvtap nfs nls numa openvz parted pcap phyp |
37 |
+ policykit +qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network |
38 |
wireshark-plugins xen zeroconf zfs |
39 |
" |
40 |
|
41 |
@@ -81,6 +81,7 @@ RDEPEND=" |
42 |
fuse? ( >=sys-fs/fuse-2.8.6:= ) |
43 |
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 ) |
44 |
iscsi? ( sys-block/open-iscsi ) |
45 |
+ iscsi-direct? ( >=net-libs/libiscsi-1.18.0 ) |
46 |
libssh? ( net-libs/libssh ) |
47 |
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] ) |
48 |
nfs? ( net-fs/nfs-utils ) |
49 |
@@ -257,6 +258,7 @@ src_configure() { |
50 |
$(use_with glusterfs) |
51 |
$(use_with glusterfs storage-gluster) |
52 |
$(use_with iscsi storage-iscsi) |
53 |
+ $(use_with iscsi-direct storage-iscsi-direct) |
54 |
$(use_with libvirtd) |
55 |
$(use_with libssh) |
56 |
$(use_with lvm storage-lvm) |
57 |
|
58 |
diff --git a/app-emulation/libvirt/libvirt-4.9.0.ebuild b/app-emulation/libvirt/libvirt-4.9.0.ebuild |
59 |
index fb60857d3dc..15e0499ef87 100644 |
60 |
--- a/app-emulation/libvirt/libvirt-4.9.0.ebuild |
61 |
+++ b/app-emulation/libvirt/libvirt-4.9.0.ebuild |
62 |
@@ -28,9 +28,9 @@ DESCRIPTION="C toolkit to manipulate virtual machines" |
63 |
HOMEPAGE="http://www.libvirt.org/" |
64 |
LICENSE="LGPL-2.1" |
65 |
IUSE=" |
66 |
- apparmor audit +caps +dbus firewalld fuse glusterfs iscsi +libvirtd lvm |
67 |
- libssh lxc +macvtap nfs nls numa openvz parted pcap phyp policykit |
68 |
- +qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network |
69 |
+ apparmor audit +caps +dbus firewalld fuse glusterfs iscsi iscsi-direct |
70 |
+ +libvirtd lvm libssh lxc +macvtap nfs nls numa openvz parted pcap phyp |
71 |
+ policykit +qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network |
72 |
wireshark-plugins xen zeroconf zfs |
73 |
" |
74 |
|
75 |
@@ -76,6 +76,7 @@ RDEPEND=" |
76 |
fuse? ( >=sys-fs/fuse-2.8.6:= ) |
77 |
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 ) |
78 |
iscsi? ( sys-block/open-iscsi ) |
79 |
+ iscsi-direct? ( >=net-libs/libiscsi-1.18.0 ) |
80 |
libssh? ( net-libs/libssh ) |
81 |
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] ) |
82 |
nfs? ( net-fs/nfs-utils ) |
83 |
@@ -252,6 +253,7 @@ src_configure() { |
84 |
$(use_with glusterfs) |
85 |
$(use_with glusterfs storage-gluster) |
86 |
$(use_with iscsi storage-iscsi) |
87 |
+ $(use_with iscsi-direct storage-iscsi-direct) |
88 |
$(use_with libvirtd) |
89 |
$(use_with libssh) |
90 |
$(use_with lvm storage-lvm) |
91 |
|
92 |
diff --git a/app-emulation/libvirt/libvirt-9999.ebuild b/app-emulation/libvirt/libvirt-9999.ebuild |
93 |
index 52082872960..18c56b58956 100644 |
94 |
--- a/app-emulation/libvirt/libvirt-9999.ebuild |
95 |
+++ b/app-emulation/libvirt/libvirt-9999.ebuild |
96 |
@@ -28,9 +28,9 @@ DESCRIPTION="C toolkit to manipulate virtual machines" |
97 |
HOMEPAGE="http://www.libvirt.org/" |
98 |
LICENSE="LGPL-2.1" |
99 |
IUSE=" |
100 |
- apparmor audit +caps +dbus firewalld fuse glusterfs iscsi +libvirtd lvm |
101 |
- libssh lxc +macvtap nfs nls numa openvz parted pcap phyp policykit |
102 |
- +qemu rbd sasl selinux +udev +vepa virtualbox virt-network |
103 |
+ apparmor audit +caps +dbus firewalld fuse glusterfs iscsi iscsi-direct |
104 |
+ +libvirtd lvm libssh lxc +macvtap nfs nls numa openvz parted pcap phyp |
105 |
+ policykit +qemu rbd sasl selinux +udev +vepa virtualbox virt-network |
106 |
wireshark-plugins xen zeroconf zfs |
107 |
" |
108 |
|
109 |
@@ -75,6 +75,7 @@ RDEPEND=" |
110 |
fuse? ( >=sys-fs/fuse-2.8.6:= ) |
111 |
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 ) |
112 |
iscsi? ( sys-block/open-iscsi ) |
113 |
+ iscsi-direct? ( >=net-libs/libiscsi-1.18.0 ) |
114 |
libssh? ( net-libs/libssh ) |
115 |
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] ) |
116 |
nfs? ( net-fs/nfs-utils ) |
117 |
@@ -253,6 +254,7 @@ src_configure() { |
118 |
$(use_with glusterfs) |
119 |
$(use_with glusterfs storage-gluster) |
120 |
$(use_with iscsi storage-iscsi) |
121 |
+ $(use_with iscsi-direct storage-iscsi-direct) |
122 |
$(use_with libvirtd) |
123 |
$(use_with libssh) |
124 |
$(use_with lvm storage-lvm) |
125 |
|
126 |
diff --git a/app-emulation/libvirt/metadata.xml b/app-emulation/libvirt/metadata.xml |
127 |
index 06697bca0c7..63d0a74b30b 100644 |
128 |
--- a/app-emulation/libvirt/metadata.xml |
129 |
+++ b/app-emulation/libvirt/metadata.xml |
130 |
@@ -11,6 +11,9 @@ |
131 |
</maintainer> |
132 |
<use> |
133 |
<!-- Pool backend flags --> |
134 |
+ <flag name="iscsi-direct"> |
135 |
+ Allow using libiscsi for iSCSI storage pool backend |
136 |
+ </flag> |
137 |
<flag name="iscsi"> |
138 |
Allow using an iSCSI remote storage server as pool for disk image storage |
139 |
</flag> |