dnsmasq/dnsmasq-2.52-use_var_lib_dnsmasq.patch

49 lines
1.9 KiB
Diff

diff -pur dnsmasq-2.52//dnsmasq.conf.example dnsmasq-2.52-fix//dnsmasq.conf.example
--- dnsmasq-2.52//dnsmasq.conf.example 2009-11-25 13:55:16.000000000 +0100
+++ dnsmasq-2.52-fix//dnsmasq.conf.example 2010-03-26 22:23:16.000000000 +0100
@@ -415,7 +415,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/dnsmasq/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 -pur dnsmasq-2.52//man/dnsmasq.8 dnsmasq-2.52-fix//man/dnsmasq.8
--- dnsmasq-2.52//man/dnsmasq.8 2010-01-14 18:00:48.000000000 +0100
+++ dnsmasq-2.52-fix//man/dnsmasq.8 2010-03-26 22:23:16.000000000 +0100
@@ -1288,7 +1288,7 @@ assume that it is the system default.
.IR /etc/ethers
-.IR /var/lib/misc/dnsmasq.leases
+.IR /var/lib/dnsmasq/dnsmasq.leases
.IR /var/db/dnsmasq.leases
diff -pur dnsmasq-2.52//man/es/dnsmasq.8 dnsmasq-2.52-fix//man/es/dnsmasq.8
--- dnsmasq-2.52//man/es/dnsmasq.8 2010-01-20 11:09:58.000000000 +0100
+++ dnsmasq-2.52-fix//man/es/dnsmasq.8 2010-03-26 22:23:16.000000000 +0100
@@ -1338,7 +1338,7 @@ del sistema.
.IR /etc/ethers
-.IR /var/lib/misc/dnsmasq.leases
+.IR /var/lib/dnsmasq/dnsmasq.leases
.IR /var/db/dnsmasq.leases
diff -pur dnsmasq-2.52//src/config.h dnsmasq-2.52-fix//src/config.h
--- dnsmasq-2.52//src/config.h 2010-01-21 15:22:06.000000000 +0100
+++ dnsmasq-2.52-fix//src/config.h 2010-03-26 22:23:16.000000000 +0100
@@ -47,7 +47,7 @@
# elif defined(__sun__) || defined (__sun)
# define LEASEFILE "/var/cache/dnsmasq.leases"
# else
-# define LEASEFILE "/var/lib/misc/dnsmasq.leases"
+# define LEASEFILE "/var/lib/dnsmasq/dnsmasq.leases"
# endif
#endif