summaryrefslogtreecommitdiff
path: root/net/dnsmasq/options.mk
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-06-02 08:37:49 +0000
committeradam <adam@pkgsrc.org>2017-06-02 08:37:49 +0000
commit1b667a41ee7132ebbf78d4cc5be896fb891d243c (patch)
treed0102df6ae961e22d51014d49ddacf658c95bd1c /net/dnsmasq/options.mk
parentab17a93f5c56c16e9d52f4a570ae678c73cbe3ed (diff)
downloadpkgsrc-1b667a41ee7132ebbf78d4cc5be896fb891d243c.tar.gz
version 2.77
Generate an error when configured with a CNAME loop, rather than a crash. Thanks to George Metz for spotting this problem. Calculate the length of TFTP error reply packet correctly. This fixes a problem when the error message in a TFTP packet exceeds the arbitrary limit of 500 characters. The message was correctly truncated, but not the packet length, so extra data was appended. This is a possible security risk, since the extra data comes from a buffer which is also used for DNS, so that previous DNS queries or replies may be leaked. Fix logic error in Linux netlink code. This could cause dnsmasq to enter a tight loop on systems with a very large number of network interfaces. Fix problem with --dnssec-timestamp whereby receipt of SIGHUP would erroneously engage timestamp checking. Bump zone serial on reloading /etc/hosts and friends when providing authoritative DNS. Handle v4-mapped IPv6 addresses sanely in --synth-domain. These have standard representation like ::ffff:1.2.3.4 and are now converted to names like <prefix>--ffff-1-2-3-4.<domain> Handle binding upstream servers to an interface (--server=1.2.3.4@eth0) when the named interface is destroyed and recreated in the kernel. Allow wildcard CNAME records in authoritative zones. For example --cname=*.example.com,default.example.com more...
Diffstat (limited to 'net/dnsmasq/options.mk')
-rw-r--r--net/dnsmasq/options.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/dnsmasq/options.mk b/net/dnsmasq/options.mk
new file mode 100644
index 00000000000..02fad09dcc6
--- /dev/null
+++ b/net/dnsmasq/options.mk
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.4 2017/06/02 08:37:49 adam Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.dnsmasq
+PKG_SUPPORTED_OPTIONS= dbus inet6
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+= dbus
+
+.if !empty(PKG_OPTIONS:Mdbus)
+USE_TOOLS+= pkg-config
+CFLAGS+= -DHAVE_DBUS
+CONF_FILES+= ${EGDIR}/dnsmasq-dbus.conf \
+ ${PKG_SYSCONFDIR}/dbus-1/system.d/dnsmasq-dbus.conf
+PLIST.dbus= yes
+.include "../../sysutils/dbus/buildlink3.mk"
+.endif
+
+.if empty(PKG_OPTIONS:Minet6)
+CFLAGS+= -DNO_IPV6
+.endif