summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <hsoft@hardcoded.net>2017-09-23 09:15:12 -0400
committerAgostino Sarubbo <ago@gentoo.org>2017-09-24 13:17:57 +0200
commit81b182acf649fc6d7bfe2cf7ffa9c6449097fffe (patch)
tree01e2cf8fef55d4d37b9622c1accc8adecb72f32e
parentapp-emulation/lxd: remove old (diff)
downloadgentoo-81b182acf649fc6d7bfe2cf7ffa9c6449097fffe.tar.gz
gentoo-81b182acf649fc6d7bfe2cf7ffa9c6449097fffe.tar.bz2
gentoo-81b182acf649fc6d7bfe2cf7ffa9c6449097fffe.zip
app-emulation/lxd: Make dnsmasq dependency optional
Gentoo-Bug: 624096 Package-Manager: Portage-2.3.8, Repoman-2.3.1
-rw-r--r--app-emulation/lxd/lxd-2.18.ebuild6
-rw-r--r--app-emulation/lxd/metadata.xml3
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 @@
<flag name="daemon">
Build the system daemon, not just the client tool
</flag>
+ <flag name="dnsmasq">
+ Depend on dnsmasq to provide DHCP and DNS.
+ </flag>
</use>
</pkgmetadata>