From 81b182acf649fc6d7bfe2cf7ffa9c6449097fffe Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Sat, 23 Sep 2017 09:15:12 -0400 Subject: app-emulation/lxd: Make dnsmasq dependency optional Gentoo-Bug: 624096 Package-Manager: Portage-2.3.8, Repoman-2.3.1 --- app-emulation/lxd/lxd-2.18.ebuild | 6 ++++-- app-emulation/lxd/metadata.xml | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app-emulation/lxd/lxd-2.18.ebuild b/app-emulation/lxd/lxd-2.18.ebuild index c18c43f6dae4..cfc21bd24259 100644 --- a/app-emulation/lxd/lxd-2.18.ebuild +++ b/app-emulation/lxd/lxd-2.18.ebuild @@ -45,7 +45,7 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" -IUSE="+daemon +ipv6 nls test" +IUSE="+daemon +ipv6 +dnsmasq nls test" inherit bash-completion-r1 linux-info systemd user golang-vcs-snapshot @@ -68,7 +68,9 @@ RDEPEND=" daemon? ( app-arch/xz-utils >=app-emulation/lxc-2.0.7[seccomp] - net-dns/dnsmasq[dhcp,ipv6?] + dnsmasq? ( + net-dns/dnsmasq[dhcp,ipv6?] + ) net-misc/rsync[xattr] sys-apps/iproute2[ipv6?] sys-fs/squashfs-tools diff --git a/app-emulation/lxd/metadata.xml b/app-emulation/lxd/metadata.xml index 15e487b88b1c..d4ab64b98a18 100644 --- a/app-emulation/lxd/metadata.xml +++ b/app-emulation/lxd/metadata.xml @@ -26,5 +26,8 @@ Build the system daemon, not just the client tool + + Depend on dnsmasq to provide DHCP and DNS. + -- cgit v1.2.3-65-gdbad