app-emulation/libvirt: Remove avahi support
authorHan Han <hanhanzhiyeqianke@gmail.com>
Fri, 5 Jul 2019 15:48:54 +0000 (23:48 +0800)
committerMatthias Maier <tamiko@gentoo.org>
Tue, 9 Jul 2019 12:03:32 +0000 (07:03 -0500)
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>
app-emulation/libvirt/libvirt-9999.ebuild

index 4c2cd8eebffb95d3ee75ef3526434990720241e2..5e6500ec5d9b8046d676e5decbbfc22a4334a710 100644 (file)
@@ -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