update to dnsmasq 2.63, from Brad.

This commit is contained in:
sthen 2012-08-18 21:34:33 +00:00
parent 809c36e89f
commit d34149590b
7 changed files with 16 additions and 61 deletions

View File

@ -1,13 +1,13 @@
# $OpenBSD: Makefile,v 1.26 2012/06/14 13:39:44 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.27 2012/08/18 21:34:33 sthen Exp $
NOT_FOR_ARCHS= ${GCC2_ARCHS}
COMMENT= lightweight caching DNS forwarder, DHCP and TFTP server
DISTNAME= dnsmasq-2.62
REVISION= 0
DISTNAME= dnsmasq-2.63
CATEGORIES= net
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
EXTRACT_SUFX= .tar.xz
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html

View File

@ -1,5 +1,2 @@
MD5 (dnsmasq-2.62.tar.gz) = 9H5cuPW6xjQ/JLLb4xerQA==
RMD160 (dnsmasq-2.62.tar.gz) = i3zYkKhr+x7KUE+g5DakQSfqSV8=
SHA1 (dnsmasq-2.62.tar.gz) = wBFTGoqSs17eOHUlKTv9+TsgEDk=
SHA256 (dnsmasq-2.62.tar.gz) = LytOQGLzvsNan9ZjYpXyL+BCskOLIwXhpXAxTyQ/8hA=
SIZE (dnsmasq-2.62.tar.gz) = 531616
SHA256 (dnsmasq-2.63.tar.xz) = 9escLf1HosdbDUCmD4Xc4uhMavbRzVMY++jNaYRe0tg=
SIZE (dnsmasq-2.63.tar.xz) = 378148

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-man_dnsmasq_8,v 1.12 2012/06/08 14:26:22 ajacoutot Exp $
--- man/dnsmasq.8.orig Tue May 29 12:06:02 2012
+++ man/dnsmasq.8 Thu May 31 00:12:54 2012
$OpenBSD: patch-man_dnsmasq_8,v 1.13 2012/08/18 21:34:33 sthen Exp $
--- man/dnsmasq.8.orig Fri Aug 10 12:10:54 2012
+++ man/dnsmasq.8 Sat Aug 11 12:08:45 2012
@@ -113,13 +113,12 @@ Specify an alternate path for dnsmasq to record its pr
.TP
.B \-u, --user=<username>
@ -17,7 +17,7 @@ $OpenBSD: patch-man_dnsmasq_8,v 1.12 2012/06/08 14:26:22 ajacoutot Exp $
.TP
.B \-v, --version
Print the version number.
@@ -1436,7 +1435,7 @@ with # are always skipped. This flag may be given on t
@@ -1448,7 +1447,7 @@ with # are always skipped. This flag may be given on t
line or in a configuration file.
.SH CONFIG FILE
At startup, dnsmasq reads
@ -26,7 +26,7 @@ $OpenBSD: patch-man_dnsmasq_8,v 1.12 2012/06/08 14:26:22 ajacoutot Exp $
if it exists. (On
FreeBSD, the file is
.I /usr/local/etc/dnsmasq.conf
@@ -1754,7 +1753,7 @@ dnsmasq has no direct way of determining the charset i
@@ -1720,7 +1719,7 @@ dnsmasq has no direct way of determining the charset i
assume that it is the system default.
.SH FILES

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-src_bpf_c,v 1.3 2012/06/25 14:06:26 naddy Exp $
--- src/bpf.c.orig Mon Jun 25 07:44:01 2012
+++ src/bpf.c Mon Jun 25 07:45:08 2012
@@ -20,6 +20,7 @@
#include <ifaddrs.h>
#if defined(HAVE_BSD_NETWORK) && !defined(__APPLE__)
+#include <sys/param.h>
#include <sys/sysctl.h>
#include <net/route.h>
#include <net/if_dl.h>

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-src_config_h,v 1.9 2012/04/30 06:02:51 ajacoutot Exp $
--- src/config.h.orig Sun Apr 29 11:01:28 2012
+++ src/config.h Sun Apr 29 14:09:15 2012
@@ -35,8 +35,8 @@
$OpenBSD: patch-src_config_h,v 1.10 2012/08/18 21:34:33 sthen Exp $
--- src/config.h.orig Mon Aug 6 15:12:04 2012
+++ src/config.h Tue Aug 7 13:53:00 2012
@@ -34,8 +34,8 @@
#define HOSTSFILE "/etc/hosts"
#define ETHERSFILE "/etc/ethers"
#define RUNFILE "/var/run/dnsmasq.pid"
#define DEFLEASE 3600 /* default lease time, 1 hour */
-#define CHUSER "nobody"
-#define CHGRP "dip"
@ -12,7 +12,7 @@ $OpenBSD: patch-src_config_h,v 1.9 2012/04/30 06:02:51 ajacoutot Exp $
#define TFTP_MAX_CONNECTIONS 50 /* max simultaneous connections */
#define LOG_MAX 5 /* log-queue length */
#define RANDFILE "/dev/urandom"
@@ -146,7 +146,7 @@ RESOLVFILE
@@ -145,7 +145,7 @@ RESOLVFILE
# if defined(__FreeBSD__)
# define CONFFILE "/usr/local/etc/dnsmasq.conf"
# else

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-src_network_c,v 1.1 2012/06/14 13:39:44 ajacoutot Exp $
Correct listener logic when no TFTP and no-interface listen address.
--- src/network.c.orig Thu Jun 14 01:03:06 2012
+++ src/network.c Thu Jun 14 01:03:29 2012
@@ -546,7 +546,7 @@ void create_bound_listeners(int dienow)
for (if_tmp = daemon->if_addrs; if_tmp; if_tmp = if_tmp->next)
if (!if_tmp->used &&
- (new = create_listeners(&if_tmp->addr, 1, dienow)))
+ (new = create_listeners(&if_tmp->addr, daemon->tftp_unlimited, dienow)))
{
new->iface = NULL;
new->next = daemon->listeners;

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-src_option_c,v 1.1 2012/06/14 13:39:44 ajacoutot Exp $
Do duplicate dhcp-host address check in --test mode.
--- src/option.c.orig Thu Jun 14 01:06:04 2012
+++ src/option.c Thu Jun 14 01:06:37 2012
@@ -3762,6 +3762,9 @@ void read_opts(int argc, char **argv, char *compile_op
if (testmode)
{
+ /* Can cause a call to die() */
+ check_dhcp_hosts(1);
+
fprintf(stderr, "dnsmasq: %s.\n", _("syntax check OK"));
exit(0);
}