aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2014-04-15 17:40:46 +0000
committerMatthias Andree <mandree@FreeBSD.org>2014-04-15 17:40:46 +0000
commit17f98171f74b476a40a3f7e87268434abeef2a14 (patch)
treebcd9e28bf3bc398966faed2b0c725bf25d386ca1
parentc07d97431585ca0b7ed371e92cdd389eabc68ac6 (diff)
downloadports-17f98171f74b476a40a3f7e87268434abeef2a14.tar.gz
ports-17f98171f74b476a40a3f7e87268434abeef2a14.zip
Notes
-rw-r--r--dns/dnsmasq/Makefile1
-rw-r--r--dns/dnsmasq/files/patch-dnsmasq.conf.example15
2 files changed, 16 insertions, 0 deletions
diff --git a/dns/dnsmasq/Makefile b/dns/dnsmasq/Makefile
index 56229523ea21..46988a70c3cb 100644
--- a/dns/dnsmasq/Makefile
+++ b/dns/dnsmasq/Makefile
@@ -4,6 +4,7 @@
PORTNAME= dnsmasq
DISTVERSION= 2.69
PORTEPOCH= 1
+PORTREVISION= 1
CATEGORIES= dns ipv6
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/ \
LOCAL/mandree/
diff --git a/dns/dnsmasq/files/patch-dnsmasq.conf.example b/dns/dnsmasq/files/patch-dnsmasq.conf.example
new file mode 100644
index 000000000000..8fa2d32845e6
--- /dev/null
+++ b/dns/dnsmasq/files/patch-dnsmasq.conf.example
@@ -0,0 +1,15 @@
+--- ./dnsmasq.conf.example.orig 2014-04-09 21:36:53.000000000 +0200
++++ ./dnsmasq.conf.example 2014-04-15 19:32:54.000000000 +0200
+@@ -123,6 +123,12 @@
+ # running another nameserver on the same machine.
+ #bind-interfaces
+
++# Accept DNS queries only from hosts whose address is on a local
++# subnet, ie a subnet for which an interface exists on the server.
++# This option only has effect if there are no --interface
++# --except-interface, --listen-address or --auth-server options.
++local-service
++
+ # If you don't want dnsmasq to read /etc/hosts, uncomment the
+ # following line.
+ #no-hosts