--- a/gentoo/net-misc/connman/connman-1.42.ebuild +++ b/connman-1.42.ebuild @@ -19,7 +19,7 @@ LICENSE="GPL-2" SLOT="0" IUSE="bluetooth debug doc +ethernet examples iptables iwd l2tp networkmanager -+nftables ofono openconnect openvpn policykit pptp tools vpnc +wifi wireguard ++nftables ofono openconnect openvpn policykit pptp systemd-resolved tools vpnc +wifi wireguard wispr" REQUIRED_USE="^^ ( iptables nftables )" @@ -43,6 +43,7 @@ RDEPEND="${COMMON_DEPEND} l2tp? ( net-dialup/xl2tpd ) ofono? ( net-misc/ofono ) policykit? ( sys-auth/polkit ) + systemd-resolved? ( sys-apps/systemd ) wifi? ( !iwd? ( >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] ) iwd? ( net-wireless/iwd ) @@ -92,6 +93,7 @@ src_configure() { $(use_enable openvpn openvpn builtin) \ $(use_enable policykit polkit builtin) \ $(use_enable pptp pptp builtin) \ + --with-dns-backend=$(usex systemd-resolved "systemd-resolved" "internal" ) \ $(use_enable tools) \ $(use_enable vpnc vpnc builtin) \ $(use_enable wireguard) \