summaryrefslogtreecommitdiff
path: root/net/wide-dhcp
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1997-04-04 02:37:13 +0000
committerBrian Somers <brian@FreeBSD.org>1997-04-04 02:37:13 +0000
commit38b745529bb55edc1154cedc130b013e75f34942 (patch)
treef00854d6a67aba2da905cd51baac4172412be180 /net/wide-dhcp
parentUpdate wide-dhcp so that it compiles with the new (diff)
Finish the update to wide-dhcp so that it compiles with the
new interface stuff and if_var.h Closes pr3161 Submitted by: MIHIRA Yoshiro <sanpei@yy.cs.keio.ac.jp> Obtained from: pr3161
Notes
Notes: svn path=/head/; revision=6129
Diffstat (limited to 'net/wide-dhcp')
-rw-r--r--net/wide-dhcp/files/patch-aw20
-rw-r--r--net/wide-dhcp/files/patch-az33
2 files changed, 53 insertions, 0 deletions
diff --git a/net/wide-dhcp/files/patch-aw b/net/wide-dhcp/files/patch-aw
new file mode 100644
index 000000000000..23a9473fa546
--- /dev/null
+++ b/net/wide-dhcp/files/patch-aw
@@ -0,0 +1,20 @@
+--- db_sample.bak/dhcpdb.pool Thu Jul 21 19:39:46 1994
++++ db_sample/dhcpdb.pool Sun Mar 23 00:07:21 1997
+@@ -2,12 +2,14 @@
+ global:!snmk=255.255.255.224:tmof=32400:
+
+ # define different master entries for each subnet. . .
++# `dnsv' is IP address of DNS server.
++# `dnsd' is domain name of your domain.
+ subnet30:tblc=global:rout=133.4.30.1:dht1=500:dht2=850:\
+- :brda=133.4.30.31:
++ :brda=133.4.30.31:dnsv=133.4.30.10:dnsd=you.domain.name:
+
+ # entries for manual allocation (DHCP, BOOTP)
+-3001: :ipad=133.4.30.1:tblc=subnet30:clid="1:0x0080c75fdc03":
+-3002: :ipad=133.4.30.2:tblc=subnet30:clid="1:0x08004600e5d5":
++3001: :ipad=133.4.30.1:hstn="yourclient1.host.name":tblc=subnet30:clid="1:0x0080c75fdc03":
++3002: :ipad=133.4.30.2:hstn="yourclient2.host.name":tblc=subnet30:clid="1:0x08004600e5d5":
+
+ # entries for dynamic allocation (DHCP)
+ 3003: :ipad=133.4.30.3:dfll=3600:maxl=7200:tblc=subnet30:
diff --git a/net/wide-dhcp/files/patch-az b/net/wide-dhcp/files/patch-az
new file mode 100644
index 000000000000..2783f5c2971f
--- /dev/null
+++ b/net/wide-dhcp/files/patch-az
@@ -0,0 +1,33 @@
+--- client/dhcpc.8.orig Tue Sep 12 13:54:16 1995
++++ client/dhcpc.8 Thu Mar 27 14:07:16 1997
+@@ -5,7 +5,7 @@
+ .SH SYNOPSIS
+ .B dhcpc
+ [
+-.B \-d
++.B \-drn
+ ]
+ .I interface
+ .SH DESCRIPTION
+@@ -36,6 +36,21 @@
+ option is specified,
+ .B dhcpc
+ runs in foreground and debugging mode.
++.LP
++If the
++.B \-r
++option is specified, and if your DHCP server supplies the DNS address,
++.B dhcpc
++overwrites "/etc/resolv.conf" with supplied address.
++.LP
++If the
++.B \-n
++option is specified, and if your DHCP server supplies the hostname of
++the client,
++.B dhcpc
++call
++.B sethostname(3)
++with supplied name.
+ .LP
+ The DHCP client can verify whether its assigned information is still
+ valid at any time.