dnsmasq: update to 2.51

This commit is contained in:
Juergen Daubert 2009-10-16 17:09:36 +02:00
parent 9ee5325da5
commit 28c3bfbafd
3 changed files with 19 additions and 19 deletions

View File

@ -1,3 +1,3 @@
d1b2a1f31cea2c529358d7e73bcda6bd dnsmasq
f7b1e17c590e493039537434c57c9de7 dnsmasq-2.50.tar.gz
aeb39ec4e102459cea48e0984b9406b3 dnsmasq-config.patch
0f048f3fd1f3888876867809d162cd89 dnsmasq-2.51.tar.lzma
940ad9c3f952082e74c5a140b5e879f4 dnsmasq-config.patch

View File

@ -3,9 +3,9 @@
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
name=dnsmasq
version=2.50
version=2.51
release=1
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.gz \
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.lzma \
$name-config.patch dnsmasq)
build () {

View File

@ -1,6 +1,6 @@
diff -Nru dnsmasq-2.48.orig/Makefile dnsmasq-2.48/Makefile
--- dnsmasq-2.48.orig/Makefile 2009-06-05 09:56:02.000000000 +0200
+++ dnsmasq-2.48/Makefile 2009-06-05 09:56:38.000000000 +0200
diff -Nru dnsmasq-2.51.orig/Makefile dnsmasq-2.51/Makefile
--- dnsmasq-2.51.orig/Makefile 2009-10-15 13:58:55.000000000 +0200
+++ dnsmasq-2.51/Makefile 2009-10-15 13:59:12.000000000 +0200
@@ -15,7 +15,7 @@
PREFIX = /usr/local
@ -10,18 +10,18 @@ diff -Nru dnsmasq-2.48.orig/Makefile dnsmasq-2.48/Makefile
LOCALEDIR = ${PREFIX}/share/locale
SRC = src
diff -Nru dnsmasq-2.48.orig/bld/Makefile dnsmasq-2.48/bld/Makefile
--- dnsmasq-2.48.orig/bld/Makefile 2009-06-05 09:56:02.000000000 +0200
+++ dnsmasq-2.48/bld/Makefile 2009-06-05 09:56:38.000000000 +0200
diff -Nru dnsmasq-2.51.orig/bld/Makefile dnsmasq-2.51/bld/Makefile
--- dnsmasq-2.51.orig/bld/Makefile 2009-10-15 13:58:55.000000000 +0200
+++ dnsmasq-2.51/bld/Makefile 2009-10-15 13:59:12.000000000 +0200
@@ -1,4 +1,4 @@
-CFLAGS = -Wall -W -O2
+CFLAGS += -Wall -W
OBJS = cache.o rfc1035.o util.o option.o forward.o network.o \
dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o \
diff -Nru dnsmasq-2.48.orig/dnsmasq.conf.example dnsmasq-2.48/dnsmasq.conf.example
--- dnsmasq-2.48.orig/dnsmasq.conf.example 2009-06-05 09:56:02.000000000 +0200
+++ dnsmasq-2.48/dnsmasq.conf.example 2009-06-05 09:56:38.000000000 +0200
diff -Nru dnsmasq-2.51.orig/dnsmasq.conf.example dnsmasq-2.51/dnsmasq.conf.example
--- dnsmasq-2.51.orig/dnsmasq.conf.example 2009-10-15 13:58:55.000000000 +0200
+++ dnsmasq-2.51/dnsmasq.conf.example 2009-10-15 13:59:12.000000000 +0200
@@ -75,8 +75,8 @@
# If you want dnsmasq to change uid and gid to something other
@ -33,7 +33,7 @@ diff -Nru dnsmasq-2.48.orig/dnsmasq.conf.example dnsmasq-2.48/dnsmasq.conf.examp
# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
@@ -410,7 +410,7 @@
@@ -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.
@ -42,10 +42,10 @@ diff -Nru dnsmasq-2.48.orig/dnsmasq.conf.example dnsmasq-2.48/dnsmasq.conf.examp
# 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.48.orig/src/config.h dnsmasq-2.48/src/config.h
--- dnsmasq-2.48.orig/src/config.h 2009-06-05 09:56:02.000000000 +0200
+++ dnsmasq-2.48/src/config.h 2009-06-05 09:56:38.000000000 +0200
@@ -45,7 +45,7 @@
diff -Nru dnsmasq-2.51.orig/src/config.h dnsmasq-2.51/src/config.h
--- dnsmasq-2.51.orig/src/config.h 2009-10-15 13:58:55.000000000 +0200
+++ dnsmasq-2.51/src/config.h 2009-10-15 13:59:12.000000000 +0200
@@ -47,7 +47,7 @@
# elif defined(__sun__) || defined (__sun)
# define LEASEFILE "/var/cache/dnsmasq.leases"
# else
@ -54,7 +54,7 @@ diff -Nru dnsmasq-2.48.orig/src/config.h dnsmasq-2.48/src/config.h
# endif
#endif
@@ -59,7 +59,7 @@
@@ -61,7 +61,7 @@
#define DEFLEASE 3600 /* default lease time, 1 hour */
#define CHUSER "nobody"