Commit Graph

233 Commits

Author SHA1 Message Date
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
cjs 6831000ea5 Don't include bsd.obj.mk here; you can't include it without first
including bsd.own.mk.
1999-02-12 03:01:56 +00:00
thorpej bf316e0bb0 Make sure SIGTERM is blocked in the SIGHUP handler and vice versa. 1999-02-10 03:00:06 +00:00
thorpej be28226520 On second thought, don't use atexit(3). Instead, invoke cleanup() directly
from catch_sigterm() before calling exit().  This follows the style of
the rest of the code.
1999-02-05 18:17:27 +00:00
thorpej 3771908e3d Reinitialize leases on SIGHUP, and release leases and exit on SIGTERM. 1999-02-05 09:13:32 +00:00
thorpej 44e3c78cf9 Make sure the pidfile is gone upon exit. 1999-02-05 08:52:50 +00:00
tron 6f942f16fd Add RCS Id as suggested by Rob Windsor in PR bin/6931. 1999-02-03 00:19:00 +00:00
thorpej cd43b55bc4 Fix a typo in an ACTION_APPEND message. 1999-02-02 09:40:46 +00:00
thorpej 876f7929f4 Use ping -n; if we're running a local nameserver, it may try to
reverse-resolve the IP address we're given, which will take a while
to time out, since we're still scanning cached leases (i.e. the network
isn't up yet).
1999-01-28 23:09:07 +00:00
sommerfe 6df264a8da Fix pr6874: add way to specify last resort filename 1999-01-25 22:31:45 +00:00
cgd c014ce1d6e Don't use the RCS 'Name' keyword, it makes doing release builds more
annoying for no good reason.  Since a version seems to be desired,
define an OS_VERSION string in the Makefile and use it in the code.
1999-01-19 07:05:59 +00:00
frueauf 26adfcb85a Fix grammatical error, closes pr 6105 by Mason Loring Bliss. 1998-10-24 19:54:44 +00:00
jtk 46510bb5d4 make network-location-changed actually work 1998-10-08 14:13:25 +00:00
jtk 5372885234 fix synopsis, per pr #6194 1998-09-25 00:47:01 +00:00
marc 3386dbf8ac refer to dhclient-script(8) 1998-09-24 04:45:32 +00:00
marc d09fc7c471 include the appreviation in the synopsis so that man -k works
intelligently.
1998-09-24 04:33:45 +00:00
kleink c039c662a2 GMT -> UTC 1998-09-10 19:30:37 +00:00
mellon f0ee4a66e9 Oops, release the lease _before_ deconfiguring the interface. 1998-09-04 18:03:56 +00:00
mellon 2c64334bb9 Build sysconfd and statmsg 1998-09-04 18:01:59 +00:00
mellon 17cf92b7ae Reincorporate sysconfd support. Add support for releasing leases. 1998-09-04 18:01:14 +00:00
mellon f397d4ea4a Add prototype for client_reinit() 1998-09-04 18:00:17 +00:00
mellon 65a4f4bad8 Mention that statmsg depends on sysconfd. 1998-09-04 17:58:16 +00:00
mellon a8737b8da6 Documentation for sysconfd. 1998-09-04 17:57:33 +00:00
mellon 753854cd53 Add release-current-dhcp-leases message. 1998-09-04 17:51:36 +00:00
mellon d424c62366 Document statmsg command. 1998-09-04 17:50:23 +00:00
mellon b9680f85dc Add sysconf message to release DHCP-acquired leases. 1998-09-04 16:47:56 +00:00
enami b8d6676d67 add missing endif. 1998-08-26 02:11:58 +00:00
mycroft 6bbe486e22 If we get a weird vendor ID, just send it back. This is necessary to make at
least one type of system (old NeXTs) boot.
1998-08-09 16:47:52 +00:00
sommerfe ff9a2c8d5c oops, KNF that 1998-07-31 21:38:43 +00:00
sommerfe c13b52407e Fix long-standing bug which causes dhclient to clobber interface configs on uninvolved interfaces 1998-07-31 21:27:08 +00:00
mycroft 3c0eeb1ed3 const poisoning. 1998-07-26 15:34:18 +00:00
mellon e7910d8d32 Hard-code NetBSD-specific directory names 1998-07-11 00:04:23 +00:00
mellon dac2726066 Document NetBSD-specific system requirements. 1998-07-11 00:02:39 +00:00
mellon b13a0491e0 Hard-code NetBSD-specific directory names 1998-07-11 00:02:08 +00:00
mellon 53904df9e4 Document NetBSD-specific system requirements. 1998-07-10 23:58:27 +00:00
thorpej c7a84c77fa If the client requests a specific boot file, echo it back, per RFC951. 1998-05-31 00:37:38 +00:00
mellon 9f60f89a46 Version 2.0 Beta 1 Patchlevel 1 1998-05-18 06:53:52 +00:00
cgd 83202075dd allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-04 01:38:57 +00:00
cgd af8d9682ca NOLINT isn't necessary here, so don't define it. 1998-03-04 01:38:38 +00:00
mellon 0c2e0b74fe Build the dhclient.leases and dhclient-script man pages 1997-11-22 09:37:25 +00:00
mellon 911d9b399b Build the dhcpd.leases man page 1997-11-22 09:32:12 +00:00
mellon 5c92c77573 Build the dhcp-options man page 1997-11-22 09:31:00 +00:00
mellon eab517a1d1 ISC DHCP Snapshot on November 22, 1997 1997-11-22 09:13:21 +00:00
lukem 0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
mellon 0cbb4ea470 NetBSD-style Makefile for statmsg 1997-10-21 00:04:47 +00:00
mellon 112397fa9d NetBSD-style Makefile for sysconfd 1997-10-21 00:03:54 +00:00
mellon 75ed7158ea Add sysconf.c 1997-10-21 00:02:55 +00:00
mellon 8f105dcd01 NetBSD 1.3 Alpha snapshot of ISC dhcp 1997-10-20 23:28:10 +00:00
lukem f5bf267d90 enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00
mellon 2d333f8ed0 970607 snapshot 1997-06-08 04:53:30 +00:00
mellon 1a51a4cc68 ISC 970605 snapshot 1997-06-06 02:18:40 +00:00
mellon e888b2d22b Lose message on short icmp echoreplies 1997-06-04 21:04:10 +00:00
mellon 57eeaacdcc Add dns.c and resolv.c 1997-06-04 00:31:53 +00:00
mellon 185e701358 970602 snapshot 1997-06-03 02:49:04 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 83498d7e88 Remove empty libinstall target and add NOINSTALL=1. 1997-05-30 13:43:06 +00:00
mycroft 185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
mycroft 1b437a22e5 Use SCRIPTS to install this. 1997-05-07 16:17:40 +00:00
mycroft fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
pk 01c7186f85 Compute object subdirectories correctly. 1997-04-20 20:27:07 +00:00
mellon 56748ee1ef Build dhclient with -static and install in /sbin unless BINDIR is overridden 1997-04-01 00:52:37 +00:00
mellon a79541acb5 Must include bsd.obj.mk to get __objdir before testing it 1997-04-01 00:50:12 +00:00
mellon 012ad58baa use ${__objdir} instead of obj - pointed out by Matt Ragan 1997-03-31 23:50:17 +00:00
mellon a3962d667b Import a couple of NetBSD fixes from CGD 1997-03-31 23:45:45 +00:00
veego d21fe25380 Add missing .include "${.CURDIR}/../../Makefile.inc"
otherwise the binaries are installed into / instead of /usr/sbin
1997-03-30 12:00:33 +00:00
mellon 55622d465e Small but significant bug fix from ISC code 1997-03-29 23:57:54 +00:00
mellon 6d30ac6583 Move common declarations to single file 1997-03-29 23:20:52 +00:00
mellon 8814b58c39 Top-level BSD-style Makefile 1997-03-29 23:19:13 +00:00
mellon 1f376e9eef Not needed by NetBSD 1997-03-29 23:17:25 +00:00
mellon 33d15ff158 Move common declarations to single file 1997-03-29 23:09:00 +00:00
mellon 97241bca9e Not needed by NetBSD 1997-03-29 23:00:38 +00:00
mellon 0c5591b0e4 BSD needs makefile to install client script 1997-03-29 22:46:12 +00:00
mellon c835f908cb BSD-style Makefile 1997-03-29 22:45:09 +00:00
mellon 3658d198d1 Not needed by NetBSD 1997-03-29 22:44:52 +00:00
mellon 8b59da0ca0 BSD-style Makefile 1997-03-29 22:28:44 +00:00
mellon bbdaa0dea3 Not needed by NetBSD 1997-03-29 22:27:46 +00:00
mellon a2dbbb23a4 BSD-style Makefile 1997-03-29 22:25:08 +00:00
mellon 2b041c374a Not needed in NetBSD 1997-03-29 22:24:43 +00:00
mellon 5432e7db26 Don't need bogus non-BSD Makefile 1997-03-29 22:17:30 +00:00
mellon 1d8d24c579 BSD-style makefile for libdhcp.a 1997-03-29 22:17:08 +00:00
mellon 2a70b408dc Not needed in NetBSD 1997-03-29 22:08:11 +00:00
mellon 78832e06d1 Not needed by NetBSD 1997-03-29 22:06:45 +00:00
mellon f5aacd55fe March 29 snapshot 1997-03-29 21:52:15 +00:00