aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-04-04 10:37:13 +0800
committerbrian <brian@FreeBSD.org>1997-04-04 10:37:13 +0800
commit1c57dd6bb2e5a43950a157b23ea7600bf0ebe0f7 (patch)
treeea60499973b613c3b095d2cca26925a3ef517da3 /net-mgmt
parentec35931ed5ea82627933a8e276494e65d1d9a08f (diff)
downloadfreebsd-ports-gnome-1c57dd6bb2e5a43950a157b23ea7600bf0ebe0f7.tar.gz
freebsd-ports-gnome-1c57dd6bb2e5a43950a157b23ea7600bf0ebe0f7.tar.zst
freebsd-ports-gnome-1c57dd6bb2e5a43950a157b23ea7600bf0ebe0f7.zip
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
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/wide-dhcp/files/patch-aw20
-rw-r--r--net-mgmt/wide-dhcp/files/patch-az33
2 files changed, 53 insertions, 0 deletions
diff --git a/net-mgmt/wide-dhcp/files/patch-aw b/net-mgmt/wide-dhcp/files/patch-aw
new file mode 100644
index 000000000000..23a9473fa546
--- /dev/null
+++ b/net-mgmt/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-mgmt/wide-dhcp/files/patch-az b/net-mgmt/wide-dhcp/files/patch-az
new file mode 100644
index 000000000000..2783f5c2971f
--- /dev/null
+++ b/net-mgmt/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.