summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>