head	1.27;
access;
symbols
	RELENG_8_4:1.27.0.2
	RELENG_9_1_0_RELEASE:1.25.2.2.2.2
	RELENG_9_1:1.25.2.2.0.2
	RELENG_9_1_BP:1.25.2.2
	RELENG_8_3_0_RELEASE:1.24.22.2.2.1
	RELENG_8_3:1.24.22.2.0.2
	RELENG_8_3_BP:1.24.22.2
	RELENG_9_0_0_RELEASE:1.25.2.1.2.1
	RELENG_9_0:1.25.2.1.0.2
	RELENG_9_0_BP:1.25.2.1
	RELENG_9:1.25.0.2
	RELENG_9_BP:1.25
	RELENG_7_4_0_RELEASE:1.24.26.1
	RELENG_8_2_0_RELEASE:1.24.22.1.6.1
	RELENG_7_4:1.24.0.26
	RELENG_7_4_BP:1.24
	RELENG_8_2:1.24.22.1.0.6
	RELENG_8_2_BP:1.24.22.1
	RELENG_8_1_0_RELEASE:1.24.22.1.4.1
	RELENG_8_1:1.24.22.1.0.4
	RELENG_8_1_BP:1.24.22.1
	RELENG_7_3_0_RELEASE:1.24.24.1
	RELENG_7_3:1.24.0.24
	RELENG_7_3_BP:1.24
	RELENG_8_0_0_RELEASE:1.24.22.1.2.1
	RELENG_8_0:1.24.22.1.0.2
	RELENG_8_0_BP:1.24.22.1
	RELENG_8:1.24.0.22
	RELENG_8_BP:1.24
	RELENG_7_2_0_RELEASE:1.24.20.1
	RELENG_7_2:1.24.0.20
	RELENG_7_2_BP:1.24
	RELENG_7_1_0_RELEASE:1.24.18.1
	RELENG_6_4_0_RELEASE:1.24.16.1
	RELENG_7_1:1.24.0.18
	RELENG_7_1_BP:1.24
	RELENG_6_4:1.24.0.16
	RELENG_6_4_BP:1.24
	RELENG_7_0_0_RELEASE:1.24
	RELENG_6_3_0_RELEASE:1.24
	RELENG_7_0:1.24.0.14
	RELENG_7_0_BP:1.24
	RELENG_6_3:1.24.0.12
	RELENG_6_3_BP:1.24
	RELENG_7:1.24.0.10
	RELENG_7_BP:1.24
	RELENG_6_2_0_RELEASE:1.24
	RELENG_6_2:1.24.0.8
	RELENG_6_2_BP:1.24
	RELENG_5_5_0_RELEASE:1.20
	RELENG_5_5:1.20.0.10
	RELENG_5_5_BP:1.20
	RELENG_6_1_0_RELEASE:1.24
	RELENG_6_1:1.24.0.6
	RELENG_6_1_BP:1.24
	RELENG_6_0_0_RELEASE:1.24
	RELENG_6_0:1.24.0.4
	RELENG_6_0_BP:1.24
	RELENG_6:1.24.0.2
	RELENG_6_BP:1.24
	dhclient_openbsd_3_7:1.1.1.2
	OPENBSD:1.1.1
	RELENG_5_4_0_RELEASE:1.20
	RELENG_5_4:1.20.0.8
	RELENG_5_4_BP:1.20
	RELENG_4_11_0_RELEASE:1.6.2.7
	RELENG_4_11:1.6.2.7.0.12
	RELENG_4_11_BP:1.6.2.7
	RELENG_5_3_0_RELEASE:1.20
	RELENG_5_3:1.20.0.6
	RELENG_5_3_BP:1.20
	RELENG_5:1.20.0.4
	RELENG_5_BP:1.20
	RELENG_4_10_0_RELEASE:1.6.2.7
	RELENG_4_10:1.6.2.7.0.10
	RELENG_4_10_BP:1.6.2.7
	RELENG_5_2_1_RELEASE:1.20
	RELENG_5_2_0_RELEASE:1.20
	RELENG_5_2:1.20.0.2
	RELENG_5_2_BP:1.20
	RELENG_4_9_0_RELEASE:1.6.2.7
	RELENG_4_9:1.6.2.7.0.8
	RELENG_4_9_BP:1.6.2.7
	RELENG_5_1_0_RELEASE:1.19
	RELENG_5_1:1.19.0.2
	RELENG_5_1_BP:1.19
	RELENG_4_8_0_RELEASE:1.6.2.7
	RELENG_4_8:1.6.2.7.0.6
	RELENG_4_8_BP:1.6.2.7
	RELENG_5_0_0_RELEASE:1.17
	RELENG_5_0:1.17.0.2
	RELENG_5_0_BP:1.17
	RELENG_4_7_0_RELEASE:1.6.2.7
	RELENG_4_7:1.6.2.7.0.4
	RELENG_4_7_BP:1.6.2.7
	RELENG_4_6_2_RELEASE:1.6.2.7
	RELENG_4_6_1_RELEASE:1.6.2.7
	RELENG_4_6_0_RELEASE:1.6.2.7
	RELENG_4_6:1.6.2.7.0.2
	RELENG_4_6_BP:1.6.2.7
	RELENG_4_5_0_RELEASE:1.6.2.6
	RELENG_4_5:1.6.2.6.0.4
	RELENG_4_5_BP:1.6.2.6
	RELENG_4_4_0_RELEASE:1.6.2.6
	RELENG_4_4:1.6.2.6.0.2
	RELENG_4_4_BP:1.6.2.6
	RELENG_4_3_0_RELEASE:1.6.2.3
	RELENG_4_3:1.6.2.3.0.2
	RELENG_4_3_BP:1.6.2.3
	RELENG_4_2_0_RELEASE:1.6.2.3
	RELENG_4_1_1_RELEASE:1.6.2.3
	PRE_SMPNG:1.10
	RELENG_4_1_0_RELEASE:1.6.2.3
	RELENG_3_5_0_RELEASE:1.3.2.4
	RELENG_4_0_0_RELEASE:1.6
	RELENG_4:1.6.0.2
	RELENG_4_BP:1.6
	RELENG_3_4_0_RELEASE:1.3.2.4
	RELENG_3_3_0_RELEASE:1.3.2.4
	RELENG_3_2_PAO:1.3.2.2.0.2
	RELENG_3_2_PAO_BP:1.3.2.2
	RELENG_3_2_0_RELEASE:1.3.2.2
	RELENG_3:1.3.0.2
	dhclient_1_0:1.1.1.1
	OBRIEN:1.1.1;
locks; strict;
comment	@# @;


1.27
date	2012.11.17.01.50.19;	author svnexp;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2011.10.13.17.20.45;	author des;	state Exp;
branches;
next	1.25;

1.25
date	2009.10.19.16.00.24;	author ru;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2005.06.25.11.03.06;	author ru;	state Exp;
branches
	1.24.2.1
	1.24.10.1
	1.24.16.1
	1.24.18.1
	1.24.20.1
	1.24.22.1
	1.24.24.1
	1.24.26.1;
next	1.23;

1.23
date	2005.06.07.09.32.23;	author ru;	state Exp;
branches;
next	1.22;

1.22
date	2005.06.07.04.35.48;	author brooks;	state Exp;
branches;
next	1.21;

1.21
date	2005.06.07.04.08.50;	author brooks;	state Exp;
branches;
next	1.20;

1.20
date	2003.06.29.18.46.17;	author gordon;	state Exp;
branches;
next	1.19;

1.19
date	2003.03.25.03.16.52;	author mdodd;	state Exp;
branches;
next	1.18;

1.18
date	2003.03.25.03.13.57;	author mdodd;	state Exp;
branches;
next	1.17;

1.17
date	2002.02.28.16.17.18;	author matusita;	state Exp;
branches;
next	1.16;

1.16
date	2002.02.28.00.02.33;	author matusita;	state Exp;
branches;
next	1.15;

1.15
date	2002.02.26.15.12.54;	author murray;	state Exp;
branches;
next	1.14;

1.14
date	2002.02.19.12.57.12;	author murray;	state Exp;
branches;
next	1.13;

1.13
date	2001.12.04.02.19.44;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	2001.04.07.11.21.20;	author ru;	state Exp;
branches;
next	1.11;

1.11
date	2001.03.26.14.32.59;	author ru;	state Exp;
branches;
next	1.10;

1.10
date	2000.09.06.18.16.44;	author nectar;	state Exp;
branches;
next	1.9;

1.9
date	2000.07.21.19.08.22;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	2000.07.20.10.29.52;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	2000.07.20.10.11.22;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	99.08.28.00.12.33;	author peter;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	99.06.24.08.13.21;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	99.04.03.07.09.59;	author bde;	state Exp;
branches;
next	1.3;

1.3
date	99.02.18.18.56.58;	author obrien;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	99.02.18.09.38.18;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	99.02.10.20.51.22;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.27.2.1
date	2012.11.17.01.50.19;	author svnexp;	state dead;
branches;
next	1.27.2.2;

1.27.2.2
date	2013.03.28.13.03.31;	author svnexp;	state Exp;
branches;
next	;

1.25.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.25.2.1.2.1;
next	1.25.2.2;

1.25.2.2
date	2012.02.09.14.16.00;	author bapt;	state Exp;
branches
	1.25.2.2.2.1;
next	1.25.2.3;

1.25.2.3
date	2012.11.17.11.36.31;	author svnexp;	state Exp;
branches;
next	;

1.25.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.25.2.1.2.2;

1.25.2.1.2.2
date	2012.11.17.08.36.30;	author svnexp;	state Exp;
branches;
next	;

1.25.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.25.2.2.2.2;

1.25.2.2.2.2
date	2012.11.17.08.47.20;	author svnexp;	state Exp;
branches;
next	;

1.24.2.1
date	2012.11.17.07.41.13;	author svnexp;	state Exp;
branches;
next	;

1.24.10.1
date	2012.11.17.08.03.32;	author svnexp;	state Exp;
branches;
next	;

1.24.16.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.24.18.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.24.20.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.24.22.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.24.22.1.2.1
	1.24.22.1.4.1
	1.24.22.1.6.1;
next	1.24.22.2;

1.24.22.2
date	2012.02.09.14.16.40;	author bapt;	state Exp;
branches
	1.24.22.2.2.1;
next	1.24.22.3;

1.24.22.3
date	2012.11.17.10.36.15;	author svnexp;	state Exp;
branches;
next	;

1.24.22.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.24.22.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.24.22.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.24.22.2.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.24.22.2.2.2;

1.24.22.2.2.2
date	2012.11.17.08.24.55;	author svnexp;	state Exp;
branches;
next	;

1.24.24.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.24.26.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.24.26.2;

1.24.26.2
date	2012.11.17.08.16.53;	author svnexp;	state Exp;
branches;
next	;

1.6.2.1
date	2000.07.20.10.27.40;	author obrien;	state Exp;
branches;
next	1.6.2.2;

1.6.2.2
date	2000.07.20.10.30.12;	author obrien;	state Exp;
branches;
next	1.6.2.3;

1.6.2.3
date	2000.07.22.20.10.52;	author obrien;	state Exp;
branches;
next	1.6.2.4;

1.6.2.4
date	2001.04.25.10.58.14;	author ru;	state Exp;
branches;
next	1.6.2.5;

1.6.2.5
date	2001.04.25.14.04.15;	author ru;	state Exp;
branches;
next	1.6.2.6;

1.6.2.6
date	2001.08.01.06.04.34;	author obrien;	state Exp;
branches;
next	1.6.2.7;

1.6.2.7
date	2002.04.11.10.21.20;	author murray;	state Exp;
branches;
next	1.6.2.8;

1.6.2.8
date	2012.11.17.07.24.27;	author svnexp;	state Exp;
branches;
next	;

1.3.2.1
date	99.02.19.10.32.57;	author obrien;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	99.04.09.14.17.37;	author eivind;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	99.08.05.15.06.23;	author obrien;	state Exp;
branches;
next	1.3.2.4;

1.3.2.4
date	99.08.29.15.12.43;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	99.02.10.20.51.22;	author obrien;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2005.06.07.04.05.04;	author brooks;	state Exp;
branches;
next	;


desc
@@


1.27
log
@Switching exporter and resync
@
text
@# $OpenBSD: Makefile,v 1.9 2004/05/04 12:52:05 henning Exp $
# $FreeBSD: head/sbin/dhclient/Makefile 226345 2011-10-13 17:20:45Z des $
#
# Copyright (c) 1996, 1997 The Internet Software Consortium.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
#

SRCS=	dhclient.c clparse.c alloc.c dispatch.c hash.c bpf.c options.c \
	tree.c conflex.c errwarn.c inet.c packet.c convert.c tables.c \
	parse.c privsep.c

PROG=	dhclient
SCRIPTS=dhclient-script
MAN=	dhclient.8 dhclient.conf.5 dhclient.leases.5 dhcp-options.5 \
	dhclient-script.8
DPADD=	${LIBUTIL}
LDADD=	-lutil

WARNS?=	2

.include <bsd.prog.mk>
@


1.27.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:31 +0000
@
text
@d1 47
@


1.27.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 45
# $OpenBSD: Makefile,v 1.9 2004/05/04 12:52:05 henning Exp $
# $FreeBSD: releng/8.4/sbin/dhclient/Makefile 231278 2012-02-09 14:16:40Z bapt $
#
# Copyright (c) 1996, 1997 The Internet Software Consortium.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
#

SRCS=	dhclient.c clparse.c alloc.c dispatch.c hash.c bpf.c options.c \
	tree.c conflex.c errwarn.c inet.c packet.c convert.c tables.c \
	parse.c privsep.c

PROG=	dhclient
SCRIPTS=dhclient-script
MAN=	dhclient.8 dhclient.conf.5 dhclient.leases.5 dhcp-options.5 \
	dhclient-script.8
DPADD=	${LIBUTIL}
LDADD=	-lutil

.include <bsd.prog.mk>
@


1.26
log
@SVN rev 226345 on 2011-10-13 17:20:45Z by des

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
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.25
log
@SVN rev 198236 on 2009-10-19 16:00:24Z by ru

Switch the default WARNS level for sbin/ to 6.

Submitted by:	Ulrich Spörlein
@
text
@d42 2
@


1.25.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.25.2.2
log
@SVN rev 231277 on 2012-02-09 14:16:00Z by bapt

MFH r226345, r226464, r226879:
Make dhclient use a pid file. Modify the rc script accordingly, fix some bugs

Approved by:	des (mentor)
@
text
@a41 2
DPADD=	${LIBUTIL}
LDADD=	-lutil
@


1.25.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/sbin/dhclient/Makefile 231277 2012-02-09 14:16:00Z bapt $
@


1.25.2.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.25.2.2.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/sbin/dhclient/Makefile 231277 2012-02-09 14:16:00Z bapt $
@


1.25.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.25.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/sbin/dhclient/Makefile 198236 2009-10-19 16:00:24Z ru $
@


1.24
log
@Install the dhcp-options.5 manpage.

Timeout from:	brooks
Approved by:	re (blanket manpages)
@
text
@d43 2
@


1.24.10.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/sbin/dhclient/Makefile 147596 2005-06-25 11:03:06Z ru $
@


1.24.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/sbin/dhclient/Makefile 147906 2005-07-11 04:14:43Z cvs2svn $
@


1.24.26.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.24.26.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/sbin/dhclient/Makefile 147596 2005-06-25 11:03:06Z ru $
@


1.24.24.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.24.22.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.24.22.2
log
@SVN rev 231278 on 2012-02-09 14:16:40Z by bapt

MFH r226345, r226464, r226879:
Make dhclient use a pid file. Modify the rc script accordingly, fix some bugs

Approved by:	des (mentor)
@
text
@a41 2
DPADD=	${LIBUTIL}
LDADD=	-lutil
@


1.24.22.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/8/sbin/dhclient/Makefile 231278 2012-02-09 14:16:40Z bapt $
@


1.24.22.2.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.24.22.2.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/sbin/dhclient/Makefile 231278 2012-02-09 14:16:40Z bapt $
@


1.24.22.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.24.22.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.24.22.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.24.20.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.24.18.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.24.16.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.23
log
@- Remove OpenBSD'ism (bsd.own.mk).
- Remove redundant and harmful -Wall from CFLAGS.
@
text
@d40 2
a41 1
MAN=	dhclient.8 dhclient.conf.5 dhclient.leases.5 dhclient-script.8
@


1.22
log
@Use SCRIPTS to install dhclient-script instead of rolling our own.
@
text
@a33 2
.include <bsd.own.mk>

a41 2
CFLAGS+=-Wall

@


1.21
log
@Take the OpenBSD version of the Makefile to resolve conflicts as the old
one is irrelevent.  Add $FreeBSD.
@
text
@d41 1
a45 4
beforeinstall:
	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${.CURDIR}/dhclient-script ${DESTDIR}/sbin/dhclient-script

@


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

Submitted by:	Tim Kientzle <kientzle@@acm.org>
@
text
@d1 1
a1 1
# Makefile for ISC DHCP client.
d3 45
d49 1
a49 57
SUBDIR= common dst minires omapip dhcpctl client omshell


# Our directory structure confuses crunchgen, so we must explicitly
# list the requisite object files when building crunched binaries for
# release floppies.

.ifdef(RELEASE_CRUNCH)

CFLAGS+=-I../../contrib/isc-dhcp/includes

# client
OBJS=  client/clparse.o client/dhclient.o

# common
OBJS+=	common/alloc.o common/bpf.o common/comapi.o common/conflex.o \
	common/ctrace.o common/discover.o common/dispatch.o common/dlpi.o \
	common/dns.o common/ethernet.o common/execute.o common/fddi.o \
	common/icmp.o common/inet.o common/lpf.o common/memory.o \
	common/nit.o common/options.o common/packet.o common/parse.o \
	common/print.o common/raw.o common/resolv.o common/socket.o \
	common/tables.o common/tr.o common/tree.o common/upf.o

# dst
OBJS+=	dst/base64.o dst/dst_api.o dst/dst_support.o dst/hmac_link.o \
	dst/md5_dgst.o dst/prandom.o

# minires
OBJS+=	minires/ns_date.o minires/ns_name.o minires/ns_parse%FIXED.o \
	minires/ns_samedomain.o minires/ns_sign.o minires/ns_verify.o \
	minires/res_comp.o minires/res_findzonecut.o minires/res_init.o	\
	minires/res_mkquery.o minires/res_mkupdate.o minires/res_query%FIXED.o \
	minires/res_send.o minires/res_sendsigned.o minires/res_update.o

# omapi
OBJS+=	omapip/alloc.o omapip/array.o omapip/auth.o omapip/buffer.o \
	omapip/connection.o omapip/convert.o omapip/dispatch.o \
	omapip/errwarn.o omapip/generic.o omapip/handle.o omapip/hash.o \
	omapip/inet_addr.o omapip/listener.o omapip/message.o \
	omapip/mrtrace.o omapip/protocol.o omapip/result.o \
	omapip/support.o omapip/toisc.o omapip/trace.o

# dhcpctl
OBJS+=	dhcpctl/dhcpctl.o dhcpctl/callback.o dhcpctl/remote.o

# src/release/Makefile (release.4) tries to invokes this makefile with
# the target set to the list of all objects defined above.  This
# top-level Makefile doesn't actually know how to build those objects
# though, so we must run ``make all'' instead when we are asked to
# generate an individual object file.

# Note: Must have some commands here to override the default build action
${OBJS}: all
	@@true
.endif

.include <bsd.subdir.mk>
@


1.19
log
@Hook omshell(1) up to the build.
@
text
@d55 1
d57 1
a57 1

@


1.18
log
@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.
@
text
@d4 1
a4 1
SUBDIR= common dst minires omapip client
d45 3
@


1.17
log
@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)
@
text
@d13 2
@


1.16
log
@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
@
text
@d33 1
a33 1
	minires/res_mkquery.o minires/res_mkupdate.o minires/res_query.o \
@


1.15
log
@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.
@
text
@d17 7
a23 7
OBJS+=	client/alloc.o client/bpf.o client/comapi.o client/conflex.o \
	client/ctrace.o client/discover.o client/dispatch.o client/dlpi.o \
	client/dns.o client/ethernet.o client/execute.o client/fddi.o \
	client/icmp.o client/inet.o client/lpf.o client/memory.o \
	client/nit.o client/options.o client/packet.o client/parse.o \
	client/print.o client/raw.o client/resolv.o client/socket.o \
	client/tables.o client/tr.o client/tree.o client/upf.o
@


1.14
log
@Makefile glue for DHCP v3 import.
@
text
@d6 48
@


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

Reviewed by:	mike
@
text
@d1 1
d4 1
a4 1
DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
d6 1
a6 19
.PATH: ${DIST_DIR}/client ${DIST_DIR}/common

PROG=	dhclient
SRCS=	clparse.c dhclient.c
SRCS+=	alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c ethernet.c \
	hash.c icmp.c inet.c inet_addr.c memory.c nit.c options.c packet.c \
	parse.c print.c raw.c socket.c tables.c tree.c upf.c

CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn
WARNS=	0

SCRIPTS=	scripts/freebsd
SCRIPTSNAME=	dhclient-script

MAN=	dhclient.conf.5 dhclient.leases.5 dhcp-options.5
MAN+=	dhclient.8 dhclient-script.8

.include <bsd.prog.mk>
@


1.12
log
@beforeinstall -> SCRIPTS.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.11 2001/03/26 14:32:59 ru Exp $
d15 1
@


1.11
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.10 2000/09/06 18:16:44 nectar Exp $
d16 3
a20 5

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
	    ${DIST_DIR}/client/scripts/freebsd \
	    ${DESTDIR}${BINDIR}/dhclient-script
@


1.10
log
@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
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.9 2000/07/21 19:08:22 obrien Exp $
d16 2
a17 2
MAN5=	dhclient.conf.5 dhclient.leases.5 dhcp-options.5
MAN8=	dhclient.8 dhclient-script.8
@


1.9
log
@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.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.8 2000/07/20 10:29:52 obrien Exp $
d14 1
a14 1
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"'
@


1.8
log
@Need /usr/sbin for arp(8).
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.7 2000/07/20 10:11:22 obrien Exp $
d14 1
a14 1
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/usr/sbin:/bin"'
@


1.7
log
@Patchlevel 3 of the ISC 2.0 dhcp client now requires us to give it the
shell script's PATH setting in the environment.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.6 1999/08/28 00:12:33 peter Exp $
d14 1
a14 1
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin"'
@


1.6
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d14 1
@


1.6.2.1
log
@MFC: upgrade to Patchlevel 3 of the ISC 2.0 dhcp client.
     (need to set the shell script's PATH setting in the environment)
@
text
@a13 1
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin"'
@


1.6.2.2
log
@MFC: rev 1.8 (need /usr/sbin/for arp(8))
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.6.2.1 2000/07/20 10:27:40 obrien Exp $
d14 1
a14 1
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/usr/sbin:/bin"'
@


1.6.2.3
log
@MFC: rev 1.9 (enhanced PATH)

Approved by:	JKH
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.6.2.2 2000/07/20 10:30:12 obrien Exp $
d14 1
a14 1
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"'
@


1.6.2.4
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.6.2.3 2000/07/22 20:10:52 obrien Exp $
d16 2
a17 2
MAN=	dhclient.conf.5 dhclient.leases.5 dhcp-options.5
MAN+=	dhclient.8 dhclient-script.8
@


1.6.2.5
log
@MFC: Introduce and use SCRIPTS knob.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.6.2.4 2001/04/25 10:58:14 ru Exp $
a15 3
SCRIPTS=	scripts/freebsd
SCRIPTSNAME=	dhclient-script

d18 5
@


1.6.2.6
log
@MFC: change name of internal `warn' function as it masks warn() from libc.
@
text
@d1 1
a1 1
# $FreeBSD: src/sbin/dhclient/Makefile,v 1.6.2.5 2001/04/25 14:04:15 ru Exp $
d14 1
a14 1
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn
@


1.6.2.7
log
@MFC: bmake glue for DHCP 3.0.1 RC8
@
text
@d1 1
a1 2
# Makefile for ISC DHCP client.
# $FreeBSD$
d3 1
a3 1
SUBDIR= common dst minires omapip client
d5 1
d7 5
a11 42
# Our directory structure confuses crunchgen, so we must explicitly
# list the requisite object files when building crunched binaries for
# release floppies.

.ifdef(RELEASE_CRUNCH)

# client
OBJS=  client/clparse.o client/dhclient.o

# common
OBJS+=	common/alloc.o common/bpf.o common/comapi.o common/conflex.o \
	common/ctrace.o common/discover.o common/dispatch.o common/dlpi.o \
	common/dns.o common/ethernet.o common/execute.o common/fddi.o \
	common/icmp.o common/inet.o common/lpf.o common/memory.o \
	common/nit.o common/options.o common/packet.o common/parse.o \
	common/print.o common/raw.o common/resolv.o common/socket.o \
	common/tables.o common/tr.o common/tree.o common/upf.o

# dst
OBJS+=	dst/base64.o dst/dst_api.o dst/dst_support.o dst/hmac_link.o \
	dst/md5_dgst.o dst/prandom.o

# minires
OBJS+=	minires/ns_date.o minires/ns_name.o minires/ns_parse%FIXED.o \
	minires/ns_samedomain.o minires/ns_sign.o minires/ns_verify.o \
	minires/res_comp.o minires/res_findzonecut.o minires/res_init.o	\
	minires/res_mkquery.o minires/res_mkupdate.o minires/res_query%FIXED.o \
	minires/res_send.o minires/res_sendsigned.o minires/res_update.o

# omapi
OBJS+=	omapip/alloc.o omapip/array.o omapip/auth.o omapip/buffer.o \
	omapip/connection.o omapip/convert.o omapip/dispatch.o \
	omapip/errwarn.o omapip/generic.o omapip/handle.o omapip/hash.o \
	omapip/inet_addr.o omapip/listener.o omapip/message.o \
	omapip/mrtrace.o omapip/protocol.o omapip/result.o \
	omapip/support.o omapip/toisc.o omapip/trace.o

# src/release/Makefile (release.4) tries to invokes this makefile with
# the target set to the list of all objects defined above.  This
# top-level Makefile doesn't actually know how to build those objects
# though, so we must run ``make all'' instead when we are asked to
# generate an individual object file.
d13 2
a14 1
${OBJS}: all
d16 2
a17 1
.endif
d19 4
a22 1
.include <bsd.subdir.mk>
@


1.6.2.8
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/sbin/dhclient/Makefile 94421 2002-04-11 10:21:21Z murray $
@


1.5
log
@Add new file that needs compiling.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1999/04/03 07:09:59 bde Exp $
@


1.4
log
@Install dhclient-script under ${DESTDIR}.

PR:		10615, 10891
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1999/02/18 18:56:58 obrien Exp $
d9 2
a10 2
SRCS+=	alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c hash.c \
	icmp.c inet.c inet_addr.c memory.c nit.c options.c packet.c \
@


1.3
log
@More style fixes to bring this almost to bde's suggested version.
@
text
@d1 1
a1 1
#	$Id$
d20 2
a21 1
	    ${DIST_DIR}/client/scripts/freebsd ${BINDIR}/dhclient-script
@


1.3.2.1
log
@Mr. 3.1-STABLE, meet Ms. DHCP client
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1999/02/18 18:56:58 obrien Exp $
@


1.3.2.2
log
@MFC: Respect DESTDIR
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3.2.1 1999/02/19 10:32:57 obrien Exp $
d20 1
a20 2
	    ${DIST_DIR}/client/scripts/freebsd \
	    ${DESTDIR}${BINDIR}/dhclient-script
@


1.3.2.3
log
@MFC: ISC DHCP version 2.0
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1999/06/24 08:13:21 obrien Exp $
d9 2
a10 2
SRCS+=	alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c ethernet.c \
	hash.c icmp.c inet.c inet_addr.c memory.c nit.c options.c packet.c \
@


1.3.2.4
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.2
log
@bde suggests not to trust ${COPY} to always be defined.
also fix style bugs submitted by Bruce
@
text
@d1 1
a1 3
#
# $Id: Makefile,v 1.1.1.1 1999/02/10 20:51:22 obrien Exp $
#
d3 1
a3 1
DIST_DIR=	${.CURDIR}/../../contrib/isc-dhcp
d5 1
a5 1
.PATH:		${DIST_DIR}/client ${DIST_DIR}/common
d7 5
a11 1
PROG=		dhclient
d13 1
a13 4
SRCS=		clparse.c dhclient.c
SRCS+=		alloc.c bpf.c conflex.c convert.c dispatch.c errwarn.c hash.c \
		icmp.c inet.c inet_addr.c memory.c nit.c options.c packet.c \
		parse.c print.c raw.c socket.c tables.c tree.c upf.c
d15 2
a16 2
CFLAGS+= 	-I${.CURDIR}/../../contrib/isc-dhcp/includes \
		-I${.CURDIR}/../../contrib/isc-dhcp
d18 1
a18 4
MAN5=		dhclient.conf.5 dhclient.leases.5 dhcp-options.5
MAN8=		dhclient.8 dhclient-script.8

afterinstall:
d20 1
a20 1
		${DIST_DIR}/client/scripts/freebsd ${BINDIR}/dhclient-script
@


1.1
log
@Initial revision
@
text
@a0 1
# ex:ts=8
d2 1
a2 6
# @@(#)Makefile	1.0 (obrien) 2/6/99
# $Id$
#
# Copyright (c) 1999 by David O'Brien
# This file is under a "FreeBSD" copyright.  See /usr/src/sys/sys/copyright.h
# for the terms of the copyright.
d5 3
a7 1
.PATH:		${.CURDIR}/../../contrib/isc-dhcp/client ${.CURDIR}/../../contrib/isc-dhcp/common
a9 2
MAN5=		dhclient.conf.5 dhclient.leases.5 dhcp-options.5
MAN8=		dhclient.8 dhclient-script.8
d11 4
a14 4
SRCS=		dhclient.c clparse.c
SRCS+=		raw.c parse.c nit.c icmp.c dispatch.c conflex.c upf.c bpf.c \
		socket.c packet.c memory.c print.c options.c inet.c convert.c \
		tree.c tables.c hash.c alloc.c errwarn.c inet_addr.c
d19 3
d23 2
a24 3
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${.CURDIR}/../../contrib/isc-dhcp/client/scripts/freebsd \
		${BINDIR}/dhclient-script
@


1.1.1.1
log
@bmake framework for ISC-DHCP client
@
text
@@


1.1.1.2
log
@Import the OpenBSD dhclient as shipped with OpenBSD-3.7 (the tag
OPENBSD_3_7).
@
text
@d1 1
a1 1
# $OpenBSD: Makefile,v 1.9 2004/05/04 12:52:05 henning Exp $
d3 2
a4 2
# Copyright (c) 1996, 1997 The Internet Software Consortium.
# All rights reserved.
d6 3
a8 3
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
a9 31
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. Neither the name of The Internet Software Consortium nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE INTERNET SOFTWARE CONSORTIUM AND
# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
# THE INTERNET SOFTWARE CONSORTIUM OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
#

.include <bsd.own.mk>

SRCS=	dhclient.c clparse.c alloc.c dispatch.c hash.c bpf.c options.c \
	tree.c conflex.c errwarn.c inet.c packet.c convert.c tables.c \
	parse.c privsep.c

PROG=	dhclient
MAN=	dhclient.8 dhclient.conf.5 dhclient.leases.5 dhclient-script.8
d11 1
a11 1
CFLAGS+=-Wall
d13 16
a28 3
beforeinstall:
	${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${.CURDIR}/dhclient-script ${DESTDIR}/sbin/dhclient-script
@

