dnsmasq: update to 2.57
This commit is contained in:
parent
566f324d0f
commit
8c61af3282
@ -1,3 +1,3 @@
|
|||||||
d1b2a1f31cea2c529358d7e73bcda6bd dnsmasq
|
d1b2a1f31cea2c529358d7e73bcda6bd dnsmasq
|
||||||
12ba38c462b32278fe3793bd54a46b75 dnsmasq-2.56.tar.lzma
|
0cc6105467959799fbec13e8e645af23 dnsmasq-2.57.tar.lzma
|
||||||
3810b9df4f93a02546027dc21edc18db dnsmasq-config.patch
|
f10c16d85203a7c38a1feb391e3c5e6a dnsmasq-config.patch
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||||
|
|
||||||
name=dnsmasq
|
name=dnsmasq
|
||||||
version=2.56
|
version=2.57
|
||||||
release=1
|
release=1
|
||||||
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.lzma \
|
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.lzma \
|
||||||
$name-config.patch dnsmasq)
|
$name-config.patch dnsmasq)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
diff -Nru dnsmasq-2.53.orig/Makefile dnsmasq-2.53/Makefile
|
diff -Nru dnsmasq-2.57.orig/Makefile dnsmasq-2.57/Makefile
|
||||||
--- dnsmasq-2.53.orig/Makefile 2010-06-04 07:00:56.695385709 +0200
|
--- dnsmasq-2.57.orig/Makefile 2011-02-18 19:40:32.338780931 +0100
|
||||||
+++ dnsmasq-2.53/Makefile 2010-06-04 07:02:52.285384778 +0200
|
+++ dnsmasq-2.57/Makefile 2011-02-18 19:41:05.227367036 +0100
|
||||||
@@ -15,7 +15,7 @@
|
@@ -15,7 +15,7 @@
|
||||||
|
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
@ -19,9 +19,9 @@ diff -Nru dnsmasq-2.53.orig/Makefile dnsmasq-2.53/Makefile
|
|||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
|
|
||||||
diff -Nru dnsmasq-2.53.orig/dnsmasq.conf.example dnsmasq-2.53/dnsmasq.conf.example
|
diff -Nru dnsmasq-2.57.orig/dnsmasq.conf.example dnsmasq-2.57/dnsmasq.conf.example
|
||||||
--- dnsmasq-2.53.orig/dnsmasq.conf.example 2010-06-04 07:00:56.705377927 +0200
|
--- dnsmasq-2.57.orig/dnsmasq.conf.example 2011-02-18 19:40:32.342114459 +0100
|
||||||
+++ dnsmasq-2.53/dnsmasq.conf.example 2010-06-04 07:02:52.285384778 +0200
|
+++ dnsmasq-2.57/dnsmasq.conf.example 2011-02-18 19:41:05.227367036 +0100
|
||||||
@@ -75,8 +75,8 @@
|
@@ -75,8 +75,8 @@
|
||||||
|
|
||||||
# If you want dnsmasq to change uid and gid to something other
|
# If you want dnsmasq to change uid and gid to something other
|
||||||
@ -33,7 +33,7 @@ diff -Nru dnsmasq-2.53.orig/dnsmasq.conf.example dnsmasq-2.53/dnsmasq.conf.examp
|
|||||||
|
|
||||||
# If you want dnsmasq to listen for DHCP and DNS requests only on
|
# If you want dnsmasq to listen for DHCP and DNS requests only on
|
||||||
# specified interfaces (and the loopback) give the name of the
|
# specified interfaces (and the loopback) give the name of the
|
||||||
@@ -427,7 +427,7 @@
|
@@ -428,7 +428,7 @@
|
||||||
# The DHCP server needs somewhere on disk to keep its lease database.
|
# 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
|
# This defaults to a sane location, but if you want to change it, use
|
||||||
# the line below.
|
# the line below.
|
||||||
@ -42,24 +42,24 @@ diff -Nru dnsmasq-2.53.orig/dnsmasq.conf.example dnsmasq-2.53/dnsmasq.conf.examp
|
|||||||
|
|
||||||
# Set the DHCP server to authoritative mode. In this mode it will barge in
|
# 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,
|
# and take over the lease for any client which broadcasts on the network,
|
||||||
diff -Nru dnsmasq-2.53.orig/src/config.h dnsmasq-2.53/src/config.h
|
diff -Nru dnsmasq-2.57.orig/src/config.h dnsmasq-2.57/src/config.h
|
||||||
--- dnsmasq-2.53.orig/src/config.h 2010-06-04 07:00:56.725386449 +0200
|
--- dnsmasq-2.57.orig/src/config.h 2011-02-18 19:40:32.342114459 +0100
|
||||||
+++ dnsmasq-2.53/src/config.h 2010-06-04 07:02:52.285384778 +0200
|
+++ dnsmasq-2.57/src/config.h 2011-02-18 19:41:55.626975423 +0100
|
||||||
@@ -47,7 +47,7 @@
|
@@ -49,7 +49,7 @@
|
||||||
# elif defined(__sun__) || defined (__sun)
|
# elif defined(__ANDROID__)
|
||||||
# define LEASEFILE "/var/cache/dnsmasq.leases"
|
# define LEASEFILE "/data/misc/dhcp/dnsmasq.leases"
|
||||||
# else
|
# else
|
||||||
-# define LEASEFILE "/var/lib/misc/dnsmasq.leases"
|
-# define LEASEFILE "/var/lib/misc/dnsmasq.leases"
|
||||||
+# define LEASEFILE "/var/lib/dhcp/dnsmasq.leases"
|
+# define LEASEFILE "/var/lib/dhcp/dnsmasq.leases"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@
|
@@ -63,7 +63,7 @@
|
||||||
|
|
||||||
#define DEFLEASE 3600 /* default lease time, 1 hour */
|
#define DEFLEASE 3600 /* default lease time, 1 hour */
|
||||||
#define CHUSER "nobody"
|
#define CHUSER "nobody"
|
||||||
-#define CHGRP "dip"
|
-#define CHGRP "dip"
|
||||||
+#define CHGRP "nobody"
|
+#define CHGRP "nobody"
|
||||||
|
#define NAMESERVER_PORT 53
|
||||||
#define DHCP_SERVER_PORT 67
|
#define DHCP_SERVER_PORT 67
|
||||||
#define DHCP_CLIENT_PORT 68
|
#define DHCP_CLIENT_PORT 68
|
||||||
#define DHCP_SERVER_ALTPORT 1067
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user