mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
app-emulation/libvirt: Remove avahi support
Libvirt has removed avahi support since 5.5. Remove avahi related flags, too. Signed-off-by: Han Han <hanhanzhiyeqianke@gmail.com> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
@@ -26,7 +26,7 @@ IUSE="
|
||||
apparmor audit +caps +dbus firewalld fuse glusterfs iscsi iscsi-direct
|
||||
+libvirtd lvm libssh lxc +macvtap nfs nls numa openvz parted pcap phyp
|
||||
policykit +qemu rbd sasl selinux +udev +vepa virtualbox virt-network
|
||||
wireshark-plugins xen zeroconf zfs
|
||||
wireshark-plugins xen zfs
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
@@ -108,7 +108,6 @@ RDEPEND="
|
||||
virtual/udev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zeroconf? ( >=net-dns/avahi-0.6[dbus] )
|
||||
zfs? ( sys-fs/zfs )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
@@ -237,7 +236,6 @@ src_prepare() {
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r16" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-e "s/USE_FLAG_AVAHI/$(usex zeroconf 'use avahi-daemon' '')/" \
|
||||
-e "s/USE_FLAG_ISCSI/$(usex iscsi 'use iscsid' '')/" \
|
||||
-e "s/USE_FLAG_RBD/$(usex rbd 'use ceph' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
@@ -282,7 +280,6 @@ src_configure() {
|
||||
$(use_with virt-network network)
|
||||
$(use_with wireshark-plugins wireshark-dissector)
|
||||
$(use_with xen libxl)
|
||||
$(use_with zeroconf avahi)
|
||||
$(use_with zfs storage-zfs)
|
||||
|
||||
--without-hal
|
||||
|
||||
Reference in New Issue
Block a user