History log of /freebsd-current/sbin/dhclient/Makefile
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# ab4bd667 22-Jul-2022 Emmanuel Vadot <manu@FreeBSD.org>

pkgbase: Put dhclient in its own package

It doesn't really make sense to have it in runtime and let's not
bloat utilities more.

Reviewed by: emaste, imp
Differential Revision: https://reviews.freebsd.org/D36222


# 62e23a47 17-Sep-2018 Brad Davis <brd@FreeBSD.org>

Move dhclient.conf to sbin/dhclient/.

This also leverages CONFS for handling config files.

Approved by: re (gjb), will (mentor)
Differential Revision: https://reviews.freebsd.org/D17160


# 2c208ed8 09-Sep-2018 Ed Maste <emaste@FreeBSD.org>

Allow dhclient and ping to build WITHOUT_DYNAMICROOT

dhclient and ping normally use libcasper services. These are not
available in statically-linked binaries, so when WITHOUT_DYNAMICROOT is
set disable libcasper use, as with rescue builds. Also emit a warning
as it's undesirable to build this way.

Reported by: Michael Dexter
Reviewed by: rgrimes
Tested by: Michael Dexter
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17074


# 71c6c44d 24-Jun-2018 Eitan Adler <eadler@FreeBSD.org>

dhclient: build with WARNS=6

- add static in a number of places
- initialize __progname rather than rely on magical extern values
- use nitems() instead of manually spelling it out
- unshadow 'idi'
- teach 'error' that it is '__dead2'
- add missing 'break'


# 79a1d195 21-Feb-2018 Alan Somers <asomers@FreeBSD.org>

dhclient: raise WARNS to 4

Mostly const-correctness fixes. There were also some variable-shadowing,
unused variable, and a couple of sockaddr type-correctness changes. I also had
trouble with cast-align warnings. I was able to prove that one of them was a
false positive. But ultimately I had to disable the warning program-wide to
deal with the others.

Reviewed by: cem
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D14460


# afe6f835 14-Dec-2017 Alan Somers <asomers@FreeBSD.org>

dhclient(8): raise WARNS to 3

Mostly had to fix a lot of signed/unsigned comparison warnings

MFC after: 3 weeks
Sponsored by: Spectra Logic Corp


# cb003dd9 12-Nov-2017 Mariusz Zaborski <oshogbo@FreeBSD.org>

Use syslog service in dhclient(8).

dhclient(8) is failing during boot to connect to the syslog service, because
syslog daemon is started after dhclient(8). This can be reproduced by stooping
syslog daemon and ktrace the dhclient or use kern.trap_enotcap sysctl and boot
the machine. Using the Casper syslog service fix the problem.

Reviewed by: bapt@
Differential Revision: https://reviews.freebsd.org/D12825


# d511b20a 02-Aug-2017 Enji Cooper <ngie@FreeBSD.org>

Add HAS_TESTS to all Makefiles that are currently using the
`SUBDIR.${MK_TESTS}+= tests` idiom.

This is a follow up to r321912.


# 4b330699 02-Aug-2017 Enji Cooper <ngie@FreeBSD.org>

Convert traditional ${MK_TESTS} conditional idiom for including test
directories to SUBDIR.${MK_TESTS} idiom

This is being done to pave the way for future work (and homogenity) in
^/projects/make-check-sandbox .

No functional change intended.

MFC after: 1 weeks


# 406d87b1 09-Feb-2016 Glen Barber <gjb@FreeBSD.org>

Explicitly add more files to the 'runtime' package.

Sponsored by: The FreeBSD Foundation


# 13eb765f 25-Nov-2014 Baptiste Daroussin <bapt@FreeBSD.org>

Convert sbin/ to LIBADD
Reduce overlinking


# c6063d0d 05-May-2014 Warner Losh <imp@FreeBSD.org>

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


# c68de748 15-Mar-2014 Julio Merino <jmmv@FreeBSD.org>

Migrate tools/regression/sbin/ to the new tests layout.

Pretty much all that this change does is shuffles the code around and hooks
it into the regular build. The code of the old tests has not changed.


# 23f39c90 13-Oct-2011 Dag-Erling Smørgrav <des@FreeBSD.org>

Make dhclient use a pid file. Modify the rc script accordingly; while
there, clean it up and add some error checks.

Glanced at by: brooks@
MFC after: 3 weeks


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 106d8391 19-Oct-2009 Ruslan Ermilov <ru@FreeBSD.org>

Switch the default WARNS level for sbin/ to 6.

Submitted by: Ulrich Spörlein


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# f9ba39e9 25-Jun-2005 Ruslan Ermilov <ru@FreeBSD.org>

Install the dhcp-options.5 manpage.

Timeout from: brooks
Approved by: re (blanket manpages)


# c55cd909 07-Jun-2005 Ruslan Ermilov <ru@FreeBSD.org>

- Remove OpenBSD'ism (bsd.own.mk).
- Remove redundant and harmful -Wall from CFLAGS.


# 43c56a9b 06-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

Use SCRIPTS to install dhclient-script instead of rolling our own.


# 955cf67b 06-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

Take the OpenBSD version of the Makefile to resolve conflicts as the old
one is irrelevent. Add $FreeBSD.


# 47c08596 06-Jun-2005 Brooks Davis <brooks@FreeBSD.org>

Import the OpenBSD dhclient as shipped with OpenBSD-3.7 (the tag
OPENBSD_3_7).


# 6d1b4a47 29-Jun-2003 Gordon Tetlow <gordon@FreeBSD.org>

Tweak a couple of utilities so they compile cleanly for /rescue. Mostly
path fixes.

Submitted by: Tim Kientzle <kientzle@acm.org>


# 7ff910a9 24-Mar-2003 Matthew N. Dodd <mdodd@FreeBSD.org>

Hook omshell(1) up to the build.


# a47e7971 24-Mar-2003 Matthew N. Dodd <mdodd@FreeBSD.org>

Building crunched things by hand (regenerating boot floppies for example)
without a full make release cycle fails as the correct include path
isn't setup.


# 0ed8a30f 28-Feb-2002 Makoto Matsushita <matusita@FreeBSD.org>

Fix "make release.4" breakage.

src/contrib/isc-dhcp/includes/minires/resolv.h has a 'extern' definition
but it makes an error when linking crunched binary just like this:

dhclient.lo: In function `MRres_nquery':
dhclient.lo(.text+0x2dcce): undefined reference to `__h_errno_set'
dhclient.lo(.text+0x2dd5b): undefined reference to `__h_errno_set'
dhclient.lo: In function `MRres_nquerydomain':
dhclient.lo(.text+0x2de53): undefined reference to `__h_errno_set'

The author understands this will be a problem (see comments in resolv.h).
Murray said that the author will fix this, but as a temporary solution,
modifying the source code and not to use __h_errno_set.

BTW, I'm sorry that previous commitlog in src/sbin/dhclient/Makefile should
read "Found by:" instead of "Confirmed by"; I just found that rev 1.15
has a typo so fixed.

Tested on: ushi.jp.FreeBSD.org with today's 5-current source code.
(belive me, "make release.4" works fine now)


# 226e3b6e 27-Feb-2002 Makoto Matsushita <matusita@FreeBSD.org>

For unbraking "make release": s/client/common/g
(these files are sitting in src/contrib/isc-dhcp/common, not .../client.)

Confirmed by: 5.0-CURRENT-20020228-JPSNAP at snapshots.jp.FreeBSD.org


# d52ccfe3 26-Feb-2002 Murray Stokely <murray@FreeBSD.org>

Add some ifdef(RELEASE_CRUNCH) goo to explicitly list the requisite
object files for crunchgen. Without this patch, release.4 will fail
to build the crunched binaries for the release floppies.


# 0829ba2c 18-Feb-2002 Murray Stokely <murray@FreeBSD.org>

Makefile glue for DHCP v3 import.


# 2d68bf45 03-Dec-2001 David E. O'Brien <obrien@FreeBSD.org>

Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike


# b9ad8c86 07-Apr-2001 Ruslan Ermilov <ru@FreeBSD.org>

beforeinstall -> SCRIPTS.


# 0a5779d4 26-Mar-2001 Ruslan Ermilov <ru@FreeBSD.org>

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


# 248aee62 06-Sep-2000 Jacques Vidrine <nectar@FreeBSD.org>

Add nsswitch support. By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
. getgrent, getgrnam, getgrgid
. getpwent, getpwnam, getpwuid
. getusershell
. getaddrinfo
. gethostbyname, gethostbyname2, gethostbyaddr
. getnetbyname, getnetbyaddr
. getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc. rc.network has been modified
to warn that host.conf is no longer used at boot time. In addition, if
there is a host.conf but no nsswitch.conf, the latter is created at boot
time from the former.

Obtained from: NetBSD


# f0638455 21-Jul-2000 David E. O'Brien <obrien@FreeBSD.org>

Blah, need to add /usr/bin to the path also.
Of course this is a bug in that the dhclient script will not work properly
if one has a local / and an NFS mounted /usr and needs to obtain its IP
address via DHCP before being able to mount /usr.


# fbb0d229 20-Jul-2000 David E. O'Brien <obrien@FreeBSD.org>

Need /usr/sbin for arp(8).


# a3b867b6 20-Jul-2000 David E. O'Brien <obrien@FreeBSD.org>

Patchlevel 3 of the ISC 2.0 dhcp client now requires us to give it the
shell script's PATH setting in the environment.


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# d7f6c914 24-Jun-1999 David E. O'Brien <obrien@FreeBSD.org>

Add new file that needs compiling.


# 3e3aea17 03-Apr-1999 Bruce Evans <bde@FreeBSD.org>

Install dhclient-script under ${DESTDIR}.

PR: 10615, 10891


# 2a3a31d8 18-Feb-1999 David E. O'Brien <obrien@FreeBSD.org>

More style fixes to bring this almost to bde's suggested version.


# a20d7fd0 18-Feb-1999 David E. O'Brien <obrien@FreeBSD.org>

bde suggests not to trust ${COPY} to always be defined.
also fix style bugs submitted by Bruce


# 914345e3 10-Feb-1999 David E. O'Brien <obrien@FreeBSD.org>

bmake framework for ISC-DHCP client