aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2004-08-15 23:33:13 +0000
committerMartin Blapp <mbr@FreeBSD.org>2004-08-15 23:33:13 +0000
commit41893d899746ac236d8e675ebd54d1c6d7d2d6cb (patch)
treea83296ecf40420d232cc8884ef3cf19e9595552f
parenta838a2f0bb98e3688c176887d3eff90d1e3c6354 (diff)
downloadsrc-41893d899746ac236d8e675ebd54d1c6d7d2d6cb.tar.gz
src-41893d899746ac236d8e675ebd54d1c6d7d2d6cb.zip
Import ISC DHCP 3.0.1 client.vendor/isc-dhcp
Notes
Notes: svn path=/vendor/isc-dhcp/dist/; revision=133783
-rw-r--r--contrib/isc-dhcp/README15
-rw-r--r--contrib/isc-dhcp/RELNOTES23
-rw-r--r--contrib/isc-dhcp/client/dhclient.c3
-rw-r--r--contrib/isc-dhcp/includes/version.h2
-rw-r--r--contrib/isc-dhcp/omapip/dispatch.c2
-rw-r--r--contrib/isc-dhcp/omapip/mrtrace.c2
-rw-r--r--contrib/isc-dhcp/omapip/test.c1
7 files changed, 33 insertions, 15 deletions
diff --git a/contrib/isc-dhcp/README b/contrib/isc-dhcp/README
index b4ef281bd834..682bd19a1f69 100644
--- a/contrib/isc-dhcp/README
+++ b/contrib/isc-dhcp/README
@@ -1,6 +1,6 @@
Internet Systems Consortium DHCP Distribution
- Version 3.0.1rc14
- June 09, 2004
+ Version 3.0.1
+ July 14, 2004
README FILE
@@ -96,8 +96,7 @@ system.
RELEASE STATUS
-This is fourteenth release candidate of version 3.0.1 of the ISC DHCP
-Distribution.
+This is release version 3.0.1 of the ISC DHCP Distribution.
In this release, the server and relay agent are currently fully
functional on NetBSD, Linux systems with kernel version 2.2 or later,
@@ -140,17 +139,17 @@ information. On Digital Unix, type ``man pfilt''.
To build the DHCP Distribution, unpack the compressed tar file using
the tar utility and the gzip command - type something like:
- zcat dhcp-3.0.1rc14.tar.gz |tar xvf -
+ zcat dhcp-3.0.1.tar.gz |tar xvf -
On BSD/OS, you have to type gzcat, not zcat, and you may run into
similar problems on other operating systems.
CONFIGURING IT
-Now, cd to the dhcp-3.0.1rc14 subdirectory that you've just
-created and configure the source tree by typing:
+Now, cd to the dhcp-3.0.1 subdirectory that you've just created and
+configure the source tree by typing:
- ./configure
+ ./configure
If the configure utility can figure out what sort of system you're
running on, it will create a custom Makefile for you for that
diff --git a/contrib/isc-dhcp/RELNOTES b/contrib/isc-dhcp/RELNOTES
index c483f8f342cc..9a2b3516b0d1 100644
--- a/contrib/isc-dhcp/RELNOTES
+++ b/contrib/isc-dhcp/RELNOTES
@@ -1,6 +1,6 @@
Internet Systems Consortium DHCP Distribution
- Version 3.0.1rc14
- June 09, 2004
+ Version 3.0.1
+ July 14, 2004
Release Notes
@@ -43,6 +43,25 @@ Murrell at BC Tel Advanced Communications. I'd like to express my
thanks to all of these good people here, both for working on the code
and for prodding me into improving it.
+ Changes since 3.0.1rc14
+
+- The global variable 'cur_time' was centralized and is now uniformly of a
+ type #defined in system-dependent headers. It had previously been defined
+ in one of many places as a 32-bit value, and this causes mayhem on 64-bit
+ big endian systems. It probably wasn't too healthy on little endian
+ systems either.
+
+- A printf format string error introduced in rc14 was repaired.
+
+- AIX system-dependent header file was altered to only define NO_SNPRINTF
+ if the condition used to #ifdef in vsnprintf in AIX' header files
+ is false.
+
+- The Alpha/OSF system-dependent header file was altered to define
+ NO_SNPRINTF on OS revisions older than 4.0G.
+
+- omapip/test.c had string.h added to its includes.
+
Changes since 3.0.1rc13
! CAN-2004-0460 - CERT VU#317350: Five stack overflow exploits were closed
diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c
index c4136cbed81e..c24adbfb42b4 100644
--- a/contrib/isc-dhcp/client/dhclient.c
+++ b/contrib/isc-dhcp/client/dhclient.c
@@ -32,13 +32,12 @@
#ifndef lint
static char ocopyright[] =
-"$Id: dhclient.c,v 1.129.2.18 2004/06/10 17:59:12 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n";
+"$Id: dhclient.c,v 1.129.2.19 2004/07/10 00:11:16 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
#include "version.h"
-TIME cur_time;
TIME default_lease_time = 43200; /* 12 hours... */
TIME max_lease_time = 86400; /* 24 hours... */
diff --git a/contrib/isc-dhcp/includes/version.h b/contrib/isc-dhcp/includes/version.h
index 01089c6bedeb..ad359abc2aa5 100644
--- a/contrib/isc-dhcp/includes/version.h
+++ b/contrib/isc-dhcp/includes/version.h
@@ -1,3 +1,3 @@
/* Current version of ISC DHCP Distribution. */
-#define DHCP_VERSION "V3.0.1rc14"
+#define DHCP_VERSION "V3.0.1"
diff --git a/contrib/isc-dhcp/omapip/dispatch.c b/contrib/isc-dhcp/omapip/dispatch.c
index fab14be80aa0..b90adda3d891 100644
--- a/contrib/isc-dhcp/omapip/dispatch.c
+++ b/contrib/isc-dhcp/omapip/dispatch.c
@@ -35,7 +35,7 @@
#include <omapip/omapip_p.h>
static omapi_io_object_t omapi_io_states;
-u_int32_t cur_time;
+TIME cur_time;
OMAPI_OBJECT_ALLOC (omapi_io,
omapi_io_object_t, omapi_type_io_object)
diff --git a/contrib/isc-dhcp/omapip/mrtrace.c b/contrib/isc-dhcp/omapip/mrtrace.c
index dfc24ff1c592..ede75d085c4a 100644
--- a/contrib/isc-dhcp/omapip/mrtrace.c
+++ b/contrib/isc-dhcp/omapip/mrtrace.c
@@ -61,7 +61,7 @@ time_t trace_mr_time (time_t *);
int trace_mr_select (int, fd_set *, fd_set *, fd_set *, struct timeval *);
unsigned int trace_mr_res_randomid (unsigned int);
-extern time_t cur_time;
+extern TIME cur_time;
#if defined (TRACING)
void trace_mr_init ()
diff --git a/contrib/isc-dhcp/omapip/test.c b/contrib/isc-dhcp/omapip/test.c
index 2432c02f7930..fbcaf7b76f3b 100644
--- a/contrib/isc-dhcp/omapip/test.c
+++ b/contrib/isc-dhcp/omapip/test.c
@@ -36,6 +36,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
+#include <string.h>
#include <isc-dhcp/result.h>
#include <sys/time.h>
#include <omapip/omapip.h>