1
0
forked from ports/opt

dnsmasq: update to 2.24

This commit is contained in:
Juergen Daubert 2005-11-27 09:51:42 +00:00
parent 87fc4b0871
commit f2c31ce63d
3 changed files with 25 additions and 13 deletions

View File

@ -1,3 +1,3 @@
90efed52fc4fab31022bd8e1f8d69eb5 dnsmasq
c8220e404c4e4eb6b5c5243909a4a49c dnsmasq-2.23.patch
7be1f5bd6446cbb743feaf26bf74db53 dnsmasq-2.23.tar.gz
e74cbc3246aa814d923c2583112324a2 dnsmasq-2.24.patch
d269531be1f130ab642c71c593138d31 dnsmasq-2.24.tar.gz

View File

@ -1,9 +1,10 @@
# $Id: Pkgfile,v 1.14 2005/11/27 09:44:10 jue Exp $
# Description: Caching DNS forwarder and DHCP server
# URL: http://www.thekelleys.org.uk/dnsmasq/doc.html
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
name=dnsmasq
version=2.23
version=2.24
release=1
source=(http://www.thekelleys.org.uk/$name/$name-$version.tar.gz \
$name-$version.patch dnsmasq)

View File

@ -1,6 +1,17 @@
diff -Nru dnsmasq-2.23.orig/dnsmasq.conf.example dnsmasq-2.23/dnsmasq.conf.example
--- dnsmasq-2.23.orig/dnsmasq.conf.example 2005-08-30 18:33:04.000000000 +0200
+++ dnsmasq-2.23/dnsmasq.conf.example 2005-08-30 18:33:20.000000000 +0200
diff -Nru dnsmasq-2.24.orig/Makefile dnsmasq-2.24/Makefile
--- dnsmasq-2.24.orig/Makefile 2005-11-27 09:54:12.000000000 +0100
+++ dnsmasq-2.24/Makefile 2005-11-27 09:55:51.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.24.orig/dnsmasq.conf.example dnsmasq-2.24/dnsmasq.conf.example
--- dnsmasq-2.24.orig/dnsmasq.conf.example 2005-11-27 09:54:12.000000000 +0100
+++ dnsmasq-2.24/dnsmasq.conf.example 2005-11-27 09:55:08.000000000 +0100
@@ -59,8 +59,8 @@
# If you want dnsmasq to change uid and gid to something other
@ -10,8 +21,8 @@ diff -Nru dnsmasq-2.23.orig/dnsmasq.conf.example dnsmasq-2.23/dnsmasq.conf.examp
+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
# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
@@ -262,7 +262,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
@ -19,11 +30,11 @@ diff -Nru dnsmasq-2.23.orig/dnsmasq.conf.example dnsmasq-2.23/dnsmasq.conf.examp
-#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.23.orig/src/config.h dnsmasq-2.23/src/config.h
--- dnsmasq-2.23.orig/src/config.h 2005-08-30 18:33:04.000000000 +0200
+++ dnsmasq-2.23/src/config.h 2005-08-30 18:33:20.000000000 +0200
# 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.24.orig/src/config.h dnsmasq-2.24/src/config.h
--- dnsmasq-2.24.orig/src/config.h 2005-11-27 09:54:12.000000000 +0100
+++ dnsmasq-2.24/src/config.h 2005-11-27 09:55:08.000000000 +0100
@@ -35,7 +35,7 @@
#if defined(__FreeBSD__) || defined (__OpenBSD__)
# define LEASEFILE "/var/db/dnsmasq.leases"