dnsmasq: fix dependency problems of the dnsmasq-full variant.
authorFelix Fietkau <nbd@openwrt.org>
Mon, 5 Jan 2015 13:03:48 +0000 (13:03 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 5 Jan 2015 13:03:48 +0000 (13:03 +0000)
commit6493328c8f64cf82c1ff34b182bcdd6e7f878438
treec144770dc8f12e26836c0ae15aebbea0ca918ac4
parentfe35a1cb8bff1e7bfcf05ba7c59b196127725b2a
dnsmasq: fix dependency problems of the dnsmasq-full variant.

This patch tries to

 - Let the DHCPv6 feature depend on CONFIG_IPV6.
 - Conditionally select libnettle, kmod-ipv6, kmod-ipt-ipset only if the
   corresponding features are enabled.
 - Install `trust-anchors.conf` only if DNSSEC is selected.
 - Add PKG_CONFIG_DEPENDS for the configurable options.
 - Add a patch to let the Makefile of dnsmasq be aware of changes in
   COPTS variable.

Big thanks goes to Frank Schäfer <fschaefer.oss@googlemail.com> for
providing necessary information on connections and dependency relations
between these CONFIGs and packages.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 43851
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/patches/200-let-makefile-be-aware-of-config-changes.patch [new file with mode: 0644]