summaryrefslogtreecommitdiff
path: root/net-mgmt/wide-dhcp/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/wide-dhcp/files')
-rw-r--r--net-mgmt/wide-dhcp/files/patch-aa22
-rw-r--r--net-mgmt/wide-dhcp/files/patch-ac53
-rw-r--r--net-mgmt/wide-dhcp/files/patch-ae18
-rw-r--r--net-mgmt/wide-dhcp/files/patch-ag18
-rw-r--r--net-mgmt/wide-dhcp/files/patch-aq19
-rw-r--r--net-mgmt/wide-dhcp/files/patch-as319
-rw-r--r--net-mgmt/wide-dhcp/files/patch-aw20
-rw-r--r--net-mgmt/wide-dhcp/files/patch-az53
-rw-r--r--net-mgmt/wide-dhcp/files/patch-ba11
-rw-r--r--net-mgmt/wide-dhcp/files/wide-dhcps.sh.sample30
10 files changed, 0 insertions, 563 deletions
diff --git a/net-mgmt/wide-dhcp/files/patch-aa b/net-mgmt/wide-dhcp/files/patch-aa
deleted file mode 100644
index d76aca16f6d9..000000000000
--- a/net-mgmt/wide-dhcp/files/patch-aa
+++ /dev/null
@@ -1,22 +0,0 @@
---- client/Makefile.FreeBSD.orig Fri Jan 1 06:21:32 1999
-+++ client/Makefile.FreeBSD Sun Feb 7 10:38:40 1999
-@@ -2,16 +2,16 @@
- OBJ = dhcpc_subr.o flushroute.o getmac.o common_subr.o dhcpc.o
-
- CC = cc
--CFLAGS = -O2 -I. -I../server -DRETRY_FOREVER #-DMOBILE_IP -DDEBUG
-+CFLAGS += -O2 -I. -I../server -DRETRY_FOREVER #-DMOBILE_IP -DDEBUG
- LDFLAGS =
-
--PREFIX = /usr/local
-+#PREFIX = /usr/local
- SBIN = $(PREFIX)/sbin
- LIBEXEC = $(PREFIX)/libexec
- MAN = $(PREFIX)/man
- CP = /bin/cp
- RM = /bin/rm
--GZIP = /usr/bin/gzip
-+GZIP = /usr/bin/touch # don't `gzip' anything for FreeBSD
-
- dhcpc: ${OBJ}
- ${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS}
diff --git a/net-mgmt/wide-dhcp/files/patch-ac b/net-mgmt/wide-dhcp/files/patch-ac
deleted file mode 100644
index 36fcc36aa7d7..000000000000
--- a/net-mgmt/wide-dhcp/files/patch-ac
+++ /dev/null
@@ -1,53 +0,0 @@
---- client/dhcpc_subr.c.orig Fri Jan 1 06:21:08 1999
-+++ client/dhcpc_subr.c Sun Feb 7 10:46:25 1999
-@@ -170,6 +170,8 @@
-
- int config_if();
- void set_route();
-+void set_resolv();
-+void set_hostname();
- void make_decline();
- void make_release();
- Long generate_xid();
-@@ -3221,4 +3223,41 @@
-
- buf += OPTLEN(buf) + 1;
- return(0);
-+}
-+
-+void
-+set_resolv(param)
-+struct dhcp_param *param;
-+{
-+ FILE *fp;
-+ int i;
-+
-+ /*
-+ * set resolv.conf
-+ */
-+ if (param && param->dns_server != NULL) {
-+ if (param->dns_server->num && param->dns_server->addr != NULL) {
-+ unlink(_PATH_RESCONF);
-+ if ((fp = fopen(_PATH_RESCONF, "w")) == NULL) {
-+ return;
-+ }
-+ if (param->dns_domain != NULL)
-+ fprintf(fp, "domain %s\n", param->dns_domain);
-+ if (param->dns_server->addr)
-+ for (i = 0; i < param->dns_server->num; i++) {
-+ fprintf(fp,"nameserver %s\n",inet_ntoa(param->dns_server->addr[i]));
-+ }
-+ fclose(fp);
-+ }
-+ }
-+}
-+
-+void
-+set_hostname(param)
-+struct dhcp_param *param;
-+{
-+ if (param && param->hostname != NULL) {
-+ sethostname(param->hostname,strlen(param->hostname));
-+ }
-+ return;
- }
diff --git a/net-mgmt/wide-dhcp/files/patch-ae b/net-mgmt/wide-dhcp/files/patch-ae
deleted file mode 100644
index 2b565f37a4e9..000000000000
--- a/net-mgmt/wide-dhcp/files/patch-ae
+++ /dev/null
@@ -1,18 +0,0 @@
---- server/Makefile.FreeBSD.orig Tue Jan 26 02:13:13 1999
-+++ server/Makefile.FreeBSD Sun Feb 7 10:54:41 1999
-@@ -5,13 +5,13 @@
- CFLAGS = -O2 -I. #-DMAC_FILTER #-DCOMPAT_RFC1541 #-DNOICMPCHK
- LDFLAGS =
-
--PREFIX = /usr/local
-+#PREFIX = /usr/local
- SBIN = ${PREFIX}/sbin
- LIBEXEC = ${PREFIX}/libexec
- MAN = ${PREFIX}/man
- CP = /bin/cp
- RM = /bin/rm
--GZIP = /usr/bin/gzip
-+GZIP = /usr/bin/touch # don't `gzip' anything for FreeBSD
-
- dhcps: ${OBJ}
- ${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS}
diff --git a/net-mgmt/wide-dhcp/files/patch-ag b/net-mgmt/wide-dhcp/files/patch-ag
deleted file mode 100644
index 403705393395..000000000000
--- a/net-mgmt/wide-dhcp/files/patch-ag
+++ /dev/null
@@ -1,18 +0,0 @@
---- relay/Makefile.FreeBSD.orig Fri Jan 1 02:25:43 1999
-+++ relay/Makefile.FreeBSD Sun Feb 7 10:56:47 1999
-@@ -4,13 +4,13 @@
- CFLAGS = -O2 -I. -I../server
- LDFLAGS =
-
--PREFIX = /usr/local
-+#PREFIX = /usr/local
- SBIN = ${PREFIX}/sbin
- LIBEXEC = ${PREFIX}/libexec
- MAN = ${PREFIX}/man
- CP = /bin/cp
- RM = /bin/rm
--GZIP = /usr/bin/gzip
-+GZIP = /usr/bin/touch # don't `gzip' anything for FreeBSD
-
- relay: ${OBJ}
- ${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS}
diff --git a/net-mgmt/wide-dhcp/files/patch-aq b/net-mgmt/wide-dhcp/files/patch-aq
deleted file mode 100644
index c2b9b0000741..000000000000
--- a/net-mgmt/wide-dhcp/files/patch-aq
+++ /dev/null
@@ -1,19 +0,0 @@
---- tools/Makefile.FreeBSD.orig Fri Jan 1 02:31:45 1999
-+++ tools/Makefile.FreeBSD Sun Feb 7 11:00:20 1999
-@@ -1,14 +1,14 @@
- CC = cc
- CFLAGS = -O2 -I. -I../server
-
--PREFIX = /usr/local
-+#PREFIX = /usr/local
- SBIN = ${PREFIX}/sbin
- LIBEXEC = ${PREFIX}/libexec
- MAN = ${PREFIX}/man
-
- CP = /bin/cp
- RM = /bin/rm
--GZIP = /usr/bin/gzip
-+GZIP = /usr/bin/touch # don't `gzip' anything for FreeBSD
-
- dhcpm: dhcpm.c ../server/dhcp.h
- $(CC) $(CFLAGS) dhcpm.c -o dhcpm
diff --git a/net-mgmt/wide-dhcp/files/patch-as b/net-mgmt/wide-dhcp/files/patch-as
deleted file mode 100644
index a977a72eb2ba..000000000000
--- a/net-mgmt/wide-dhcp/files/patch-as
+++ /dev/null
@@ -1,319 +0,0 @@
---- client/dhcpc.c.orig Fri Jan 1 05:20:08 1999
-+++ client/dhcpc.c Thu Jan 20 13:21:05 2000
-@@ -88,6 +88,7 @@
- struct dhcp_reqspec reqspec;
- struct if_info intface;
- struct dhcp_param *param_list;
-+int f_resolv, f_hostname;
- char pid_filename[MAXPATHLEN];
- char cache_filename[MAXPATHLEN];
-
-@@ -256,6 +257,14 @@
- if (config_if(&intface, &addr, &mask, &brdaddr) == 0) {
- set_route(paramp);
- }
-+#ifdef __FreeBSD__
-+ if (f_resolv) {
-+ set_resolv(param_list);
-+ }
-+ if (f_hostname) {
-+ set_hostname(param_list);
-+ }
-+#endif
- #endif
-
- return;
-@@ -293,7 +302,7 @@
- /*
- * split conditions into pieces for debugging
- */
--#ifndef sun
-+#if !defined(sun) && !defined(__FreeBSD__)
- if (ntohs(rcv.ip->ip_len) < MINDHCPLEN + UDPHL + IPHL)
- return(0);
- if (ntohs(rcv.udp->uh_ulen) < MINDHCPLEN + UDPHL)
-@@ -350,7 +359,7 @@
- /*
- * split conditions into pieces for debugging
- */
--#ifndef sun
-+#if !defined(sun) && !defined(__FreeBSD__)
- if (ntohs(rcv.ip->ip_len) < MINDHCPLEN + UDPHL + IPHL)
- return(0);
- if (ntohs(rcv.udp->uh_ulen) < MINDHCPLEN + UDPHL)
-@@ -398,11 +407,14 @@
-
- bzero(&tmp_reqspec, sizeof(tmp_reqspec));
- bzero(errmsg, sizeof(errmsg));
-- bzero(&newsigmask, sizeof(newsigmask));
-- bzero(&oldsigmask, sizeof(oldsigmask));
-
-- newsigmask = sigmask(SIGUSR1) | sigmask(SIGALRM);
-- oldsigmask = sigblock(newsigmask); /* begin critical */
-+ sigemptyset(&newsigmask);
-+
-+ sigprocmask(0, NULL, &oldsigmask);
-+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t));
-+ sigaddset(&newsigmask, SIGUSR1);
-+ sigaddset(&newsigmask, SIGALRM);
-+ sigprocmask(SIG_SETMASK, &newsigmask, NULL);
-
- switch (curr_state) {
- case BOUND:
-@@ -423,7 +435,7 @@
- default:
- break;
- }
-- sigsetmask(oldsigmask); /* end critical */
-+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */
-
- unlink(pid_filename);
-
-@@ -1157,8 +1169,8 @@
- struct dhcp_param tmpparam;
-
- bzero(errmsg, sizeof(errmsg));
-- bzero(&newsigmask, sizeof(newsigmask));
-- bzero(&oldsigmask, sizeof(oldsigmask));
-+ sigemptyset(&newsigmask);
-+ sigemptyset(&oldsigmask);
- bzero(&tmpparam, sizeof(tmpparam));
-
- if (prev_state != RENEWING) {
-@@ -1247,12 +1259,15 @@
- errmsg);
- }
-
-- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2);
-- oldsigmask = sigblock(newsigmask); /* begin critical */
-+ sigprocmask(0, NULL, &oldsigmask); /* begin critical */
-+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t));
-+ sigaddset(&newsigmask, SIGUSR1);
-+ sigaddset(&newsigmask, SIGUSR2);
-+ sigprocmask(SIG_SETMASK, &newsigmask, NULL);
- clean_param(param_list);
- free(param_list);
- param_list = NULL;
-- sigsetmask(oldsigmask); /* end critical */
-+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */
-
- return(INIT); /* Next state is INIT */
- }
-@@ -1260,13 +1275,16 @@
- dhcp_msgtoparam(rcv.dhcp, DHCPLEN(rcv.udp),
- &tmpparam) == OK) {
-
-- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2);
-- oldsigmask = sigblock(newsigmask); /* begin critical */
-+ sigprocmask(0, NULL, &oldsigmask);
-+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t));
-+ sigaddset(&newsigmask, SIGUSR1);
-+ sigaddset(&newsigmask, SIGUSR2);
-+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */
- merge_param(param_list, &tmpparam);
- *param_list = tmpparam;
- param_list->lease_origin = send_epoch;
- param_list->next = NULL;
-- sigsetmask(oldsigmask); /* end critical */
-+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */
-
- syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)",
- inet_ntoa(param_list->yiaddr), param_list->lease_duration);
-@@ -1316,8 +1334,8 @@
- struct dhcp_param tmpparam;
-
- bzero(errmsg, sizeof(errmsg));
-- bzero(&newsigmask, sizeof(newsigmask));
-- bzero(&oldsigmask, sizeof(oldsigmask));
-+ sigemptyset(&newsigmask);
-+ sigemptyset(&oldsigmask);
- bzero(&tmpparam, sizeof(tmpparam));
-
- if (time(&curr_epoch) == -1) {
-@@ -1386,12 +1404,15 @@
- errmsg);
- }
-
-- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2);
-- oldsigmask = sigblock(newsigmask); /* begin critical */
-+ sigprocmask(0, NULL, &oldsigmask);
-+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t));
-+ sigaddset(&newsigmask, SIGUSR1);
-+ sigaddset(&newsigmask, SIGUSR2);
-+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */
- clean_param(param_list);
- free(param_list);
- param_list = NULL;
-- sigsetmask(oldsigmask); /* end critical */
-+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */
-
- return(INIT); /* Next state is INIT */
- }
-@@ -1399,13 +1420,16 @@
- dhcp_msgtoparam(rcv.dhcp, DHCPLEN(rcv.udp),
- &tmpparam) == OK) {
-
-- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2);
-- oldsigmask = sigblock(newsigmask); /* begin critical */
-+ sigprocmask(0, NULL, &oldsigmask);
-+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t));
-+ sigaddset(&newsigmask, SIGUSR1);
-+ sigaddset(&newsigmask, SIGUSR2);
-+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */
- merge_param(param_list, &tmpparam);
- *param_list = tmpparam;
- param_list->lease_origin = send_epoch;
- param_list->next = NULL;
-- sigsetmask(oldsigmask); /* end critical */
-+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */
-
- syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)",
- inet_ntoa(param_list->yiaddr), param_list->lease_duration);
-@@ -1577,8 +1601,8 @@
- struct dhcp_reqspec tmp_reqspec;
-
- bzero(errmsg, sizeof(errmsg));
-- bzero(&newsigmask, sizeof(newsigmask));
-- bzero(&oldsigmask, sizeof(oldsigmask));
-+ sigemptyset(&newsigmask);
-+ sigemptyset(&oldsigmask);
- bzero(&tmpparam, sizeof(tmpparam));
- bzero(&tmp_reqspec, sizeof(tmp_reqspec));
-
-@@ -1666,12 +1690,15 @@
- errmsg);
- }
-
-- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2);
-- oldsigmask = sigblock(newsigmask); /* begin critical */
-+ sigprocmask(0, NULL, &oldsigmask);
-+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t));
-+ sigaddset(&newsigmask, SIGUSR1);
-+ sigaddset(&newsigmask, SIGUSR2);
-+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */
- clean_param(param_list);
- free(param_list);
- param_list = NULL;
-- sigsetmask(oldsigmask); /* end critical */
-+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */
-
- return(INIT); /* Next state is INIT */
- }
-@@ -1679,13 +1706,16 @@
- dhcp_msgtoparam(rcv.dhcp, DHCPLEN(rcv.udp),
- &tmpparam) == OK) {
- if ((arpans = arp_check(&tmpparam.yiaddr, &arpif)) == OK) {
-- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2);
-- oldsigmask = sigblock(newsigmask); /* begin critical */
-+ sigprocmask(0, NULL, &oldsigmask);
-+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t));
-+ sigaddset(&newsigmask, SIGUSR1);
-+ sigaddset(&newsigmask, SIGUSR2);
-+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */
- merge_param(param_list, &tmpparam);
- *param_list = tmpparam;
- param_list->lease_origin = init_epoch;
- param_list->next = NULL;
-- sigsetmask(oldsigmask); /* end critical */
-+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */
-
- syslog(LOG_INFO, "Got DHCPACK (IP = %s, duration = %d secs)",
- inet_ntoa(param_list->yiaddr), param_list->lease_duration);
-@@ -1697,12 +1727,15 @@
- set_declinfo(&tmp_reqspec, param_list, errmsg, arpans);
- dhcp_decline(&tmp_reqspec);
-
-- newsigmask = sigmask(SIGUSR1) | sigmask(SIGUSR2);
-- oldsigmask = sigblock(newsigmask); /* begin critical */
-+ sigprocmask(0, NULL, &oldsigmask);
-+ memcpy(&newsigmask, &oldsigmask, sizeof(sigset_t));
-+ sigaddset(&newsigmask, SIGUSR1);
-+ sigaddset(&newsigmask, SIGUSR2);
-+ sigprocmask(SIG_SETMASK, &newsigmask, NULL); /* begin critical */
- clean_param(param_list);
- free(param_list);
- param_list = NULL;
-- sigsetmask(oldsigmask); /* end critical */
-+ sigprocmask(SIG_SETMASK, &oldsigmask, NULL); /* end critical */
-
- syslog(LOG_NOTICE,
- "Got non-preferable DHCPACK, so go into INIT state");
-@@ -1789,7 +1822,11 @@
- void
- usage()
- {
-- fprintf(stderr, "Usage: dhcpc [-d] if_name\n");
-+#ifdef __FreeBSD__
-+ fprintf(stderr, "Usage: dhcpc [-v] [-drn] if_name\n");
-+#else
-+ fprintf(stderr, "Usage: dhcpc [-v] [-d] if_name\n");
-+#endif
- exit(1);
- }
-
-@@ -1809,26 +1846,39 @@
- {
- int debug = 0;
- int n = 0;
-+ int count;
- struct if_info ifinfo;
-
- bzero(&reqspec, sizeof(reqspec));
- bzero(&ifinfo, sizeof(ifinfo));
-
-- while (*++argv && argv[0][0] == '-') {
-- switch (argv[0][1]) {
-- case 'v':
-- version();
-- break;
-- case 'd':
-- debug = 1;
-- break;
-- default:
-- usage();
-- break;
-- }
-- }
-- if (argv[0] == NULL) usage();
-+#ifdef __FreeBSD__
-+#define COM_OPTS "vdrn"
-+#else
-+#define COM_OPTS "vd"
-+#endif
-
-+ while ((count = getopt(argc, argv, COM_OPTS)) != EOF) {
-+ switch (count) {
-+ case 'v':
-+ version();
-+ case 'd':
-+ debug = 1;
-+ break;
-+#ifdef __FreeBSD__
-+ case 'r':
-+ f_resolv = 1;
-+ break;
-+ case 'n':
-+ f_hostname = 1;
-+ break;
-+#endif
-+ }
-+ }
-+ argc -= optind;
-+ argv += optind;
-+
-+ if (argc < 1) usage();
- strcpy(ifinfo.name, argv[0]);
-
- /*
-@@ -1859,6 +1909,11 @@
- reqspec.reqlist.list[reqspec.reqlist.len++] = SUBNET_MASK;
- reqspec.reqlist.list[reqspec.reqlist.len++] = ROUTER;
- reqspec.reqlist.list[reqspec.reqlist.len++] = BRDCAST_ADDR;
-+#ifdef __FreeBSD__
-+ reqspec.reqlist.list[reqspec.reqlist.len++] = DNS_DOMAIN;
-+ reqspec.reqlist.list[reqspec.reqlist.len++] = DNS_SERVER;
-+ reqspec.reqlist.list[reqspec.reqlist.len++] = HOSTNAME;
-+#endif
-
- n = dhcp_client(&ifinfo);
- unlink(pid_filename);
diff --git a/net-mgmt/wide-dhcp/files/patch-aw b/net-mgmt/wide-dhcp/files/patch-aw
deleted file mode 100644
index 23a9473fa546..000000000000
--- a/net-mgmt/wide-dhcp/files/patch-aw
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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
deleted file mode 100644
index ab04b6ed492f..000000000000
--- a/net-mgmt/wide-dhcp/files/patch-az
+++ /dev/null
@@ -1,53 +0,0 @@
---- client/dhcpc.8.orig Sat Jan 9 20:54:01 1999
-+++ client/dhcpc.8 Sun Feb 7 11:27:29 1999
-@@ -5,7 +5,7 @@
- .SH SYNOPSIS
- .B dhcpc
- [
--.B \-d
-+.B \-drn
- ]
- .I interface
- .SH DESCRIPTION
-@@ -26,7 +26,7 @@
- requests server to assign the same address as before.
- To get the same address,
- .B dhcpc
--creates file named /etc/dhcpc_cache.interface
-+creates file named /var/db/dhcpc_cache.interface
- (or /var/db/dhcpc_cache.interface for BSD/OS and FreeBSD). This
- file name could be configured when it is compiled. But it is required
- that the file must remains after the host reboot. For example, the
-@@ -38,6 +38,21 @@
- .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.
- .B dhcpc
-@@ -70,6 +85,10 @@
- .TP
- .B /etc/dhcpc_cache.interface
- The file to record previously assigned informations (for others)
-+.TP
-+.B /var/run/dhcpc.[interface name].pid
-+File which includes process ID
-+.PD
- .PD
- .SH SEE ALSO
- R. Droms,
diff --git a/net-mgmt/wide-dhcp/files/patch-ba b/net-mgmt/wide-dhcp/files/patch-ba
deleted file mode 100644
index c98ed7d460fe..000000000000
--- a/net-mgmt/wide-dhcp/files/patch-ba
+++ /dev/null
@@ -1,11 +0,0 @@
---- server/dhcps.8.orig Fri Jan 1 05:28:25 1999
-+++ server/dhcps.8 Sun Feb 7 11:30:56 1999
-@@ -37,7 +37,7 @@
- .B dhcps
- manages these with files, /etc/dhcpdb.pool and /etc/dhcpdb.bind
- (/var/db/dhcpdb.bind for BSD/OS and FreeBSD). It is possible to change
--these path with command line option.
-+this path with command line options.
- .LP
- Also
- .B dhcps
diff --git a/net-mgmt/wide-dhcp/files/wide-dhcps.sh.sample b/net-mgmt/wide-dhcp/files/wide-dhcps.sh.sample
deleted file mode 100644
index 6cab4e824a0f..000000000000
--- a/net-mgmt/wide-dhcp/files/wide-dhcps.sh.sample
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-
-DB_POOL=/etc/dhcpdb.pool
-DB_RELAY=/etc/dhcpdb.relay
-DB_BIND=/var/db/dhcpdb.bind
-
-case "$1" in
-start)
- if [ -f ${DB_POOL} -a -f ${DB_RELAY} -a -x ${PREFIX}/sbin/dhcps ]; then
- if [ -f ${DB_BIND} ]; then
- find ${DB_POOL} -newer ${DB_BIND} -exec rm ${DB_BIND} \;
- fi
- ${PREFIX}/sbin/dhcps [Interface Name]
- echo -n ' dhcps'
- fi
- ;;
-stop)
- killall dhcps && echo -n ' dhcps'
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- ;;
-esac
-
-exit 0