summaryrefslogtreecommitdiff
path: root/dnsmasq/dnsmasq-config.patch
diff options
context:
space:
mode:
authorJuergen Daubert <juergen.daubert@t-online.de>2006-03-18 08:53:58 +0000
committerJuergen Daubert <juergen.daubert@t-online.de>2006-03-18 08:53:58 +0000
commitaae123233338155fd2fa749c872028aa7d8bbb5d (patch)
tree8e7df40a48f2f21ed1ede8332681c45fc70d1b3e /dnsmasq/dnsmasq-config.patch
parent3e351f7003d73a65530c3b1f1425a21a67a9247e (diff)
downloadopt-aae123233338155fd2fa749c872028aa7d8bbb5d.tar.gz
opt-aae123233338155fd2fa749c872028aa7d8bbb5d.tar.xz
dnsmasq: update to 2.27
Diffstat (limited to 'dnsmasq/dnsmasq-config.patch')
-rw-r--r--dnsmasq/dnsmasq-config.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/dnsmasq/dnsmasq-config.patch b/dnsmasq/dnsmasq-config.patch
new file mode 100644
index 000000000..4b68b8f33
--- /dev/null
+++ b/dnsmasq/dnsmasq-config.patch
@@ -0,0 +1,55 @@
+diff -Nru dnsmasq-2.27.orig/Makefile dnsmasq-2.27/Makefile
+--- dnsmasq-2.27.orig/Makefile 2006-03-17 10:29:17.000000000 +0100
++++ dnsmasq-2.27/Makefile 2006-03-17 10:29:33.000000000 +0100
+@@ -1,6 +1,6 @@
+ PREFIX?=/usr/local
+ BINDIR = ${PREFIX}/sbin
+-MANDIR = ${PREFIX}/share/man
++MANDIR = ${PREFIX}/man
+ LOCALEDIR = ${PREFIX}/share/locale
+
+ SRC = src
+diff -Nru dnsmasq-2.27.orig/dnsmasq.conf.example dnsmasq-2.27/dnsmasq.conf.example
+--- dnsmasq-2.27.orig/dnsmasq.conf.example 2006-03-17 10:29:17.000000000 +0100
++++ dnsmasq-2.27/dnsmasq.conf.example 2006-03-17 10:29:36.000000000 +0100
+@@ -59,8 +59,8 @@
+
+ # If you want dnsmasq to change uid and gid to something other
+ # than the default, edit the following lines.
+-#user=
+-#group=
++user=nobody
++group=nobody
+
+ # If you want dnsmasq to listen for DHCP and DNS requests only on
+ # specified interfaces (and the loopback) give the name of the
+@@ -273,7 +273,7 @@
+ # The DHCP server needs somewhere on disk to keep its lease database.
+ # This defaults to a sane location, but if you want to change it, use
+ # the line below.
+-#dhcp-leasefile=/var/lib/misc/dnsmasq.leases
++# dhcp-leasefile=/var/lib/dhcp/dnsmasq.leases
+
+ # Set the DHCP server to authoritative mode. In this mode it will barge in
+ # and take over the lease for any client which broadcasts on the network,
+diff -Nru dnsmasq-2.27.orig/src/config.h dnsmasq-2.27/src/config.h
+--- dnsmasq-2.27.orig/src/config.h 2006-03-17 10:29:17.000000000 +0100
++++ dnsmasq-2.27/src/config.h 2006-03-17 10:29:37.000000000 +0100
+@@ -36,7 +36,7 @@
+ #if defined(__FreeBSD__) || defined (__OpenBSD__)
+ # define LEASEFILE "/var/db/dnsmasq.leases"
+ #else
+-# define LEASEFILE "/var/lib/misc/dnsmasq.leases"
++# define LEASEFILE "/var/lib/dhcp/dnsmasq.leases"
+ #endif
+ #if defined(__FreeBSD__)
+ # define CONFFILE "/usr/local/etc/dnsmasq.conf"
+@@ -45,7 +45,7 @@
+ #endif
+ #define DEFLEASE 3600 /* default lease time, 1 hour */
+ #define CHUSER "nobody"
+-#define CHGRP "dip"
++#define CHGRP "nobody"
+ #define IP6INTERFACES "/proc/net/if_inet6"
+ #define UPTIME "/proc/uptime"
+ #define DHCP_SERVER_PORT 67

Generated by cgit