head	1.2;
access;
symbols
	perseant-exfatfs-base-20250801:1.2
	perseant-exfatfs-base-20240630:1.2
	perseant-exfatfs:1.2.0.46
	perseant-exfatfs-base:1.2
	cjep_sun2x:1.2.0.44
	cjep_sun2x-base:1.2
	cjep_staticlib_x-base1:1.2
	cjep_staticlib_x:1.2.0.42
	cjep_staticlib_x-base:1.2
	phil-wifi-20200421:1.2
	phil-wifi-20200411:1.2
	phil-wifi-20200406:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	pgoyette-compat-0728:1.2
	pgoyette-compat-0625:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	pgoyette-compat:1.2.0.40
	pgoyette-compat-base:1.2
	perseant-stdc-iso10646:1.2.0.38
	perseant-stdc-iso10646-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.36
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	bouyer-socketcan:1.2.0.34
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	pgoyette-localcount-20161104:1.2
	localcount-20160914:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.32
	pgoyette-localcount-base:1.2
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	tls-earlyentropy:1.2.0.28
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	agc-symver:1.2.0.30
	agc-symver-base:1.2
	tls-maxphys-base:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.2.0.26
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	yamt-pagecache-base6:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.24
	yamt-pagecache-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.22
	bouyer-quota2-base:1.2
	matt-nb5-pq3:1.2.0.20
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.18
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	netbsd-5-0-1-RELEASE:1.2
	jym-xensuspend-nbase:1.2
	netbsd-5-0:1.2.0.16
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.14
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.12
	netbsd-5-base:1.2
	mjf-devfs2:1.2.0.10
	mjf-devfs2-base:1.2
	yamt-pf42-base4:1.2
	yamt-pf42-base3:1.2
	hpcarm-cleanup-nbase:1.2
	yamt-pf42-base2:1.2
	yamt-pf42:1.2.0.8
	yamt-pf42-base:1.2
	keiichi-mipv6-nbase:1.2
	keiichi-mipv6:1.2.0.6
	keiichi-mipv6-base:1.2
	cube-autoconf:1.2.0.4
	cube-autoconf-base:1.2
	hpcarm-cleanup:1.2.0.2
	hpcarm-cleanup-base:1.2
	ISC_V3RC8:1.1.1.12
	ISC_V3P2PL24:1.1.1.12
	ISC_V3B2PL23:1.1.1.12
	ISC_V3B2PL9:1.1.1.11
	ISC_V3B2PL2:1.1.1.10
	ISC_20000719:1.1.1.10
	ISC_20000708:1.1.1.9
	ISC_20000623:1.1.1.9
	ISC_200006101802:1.1.1.8
	DHCP_20000422:1.1.1.7
	V2-BETA-1-PATCH-27:1.1.1.6
	V2-BETA-1-PATCH-25:1.1.1.5
	V2-BETA-1-PATCH-22:1.1.1.4
	V2-BETA-1-PATCH-21:1.1.1.4
	V2-BETA-1-PATCH-20A:1.1.1.4
	V2-BETA-1-PATCH-20:1.1.1.4
	V2-BETA-1-PATCH-19:1.1.1.4
	V2-BETA-1-PATCH-18:1.1.1.4
	V2-BETA-1-PATCH-15:1.1.1.4
	V2-BETA-1-PATCH-14:1.1.1.3
	V2-BETA-1-PATCH-13:1.1.1.2
	V2-BETA-2:1.1.1.2
	DHCP-971122:1.1.1.2
	DHCP-970607:1.1.1.1
	DHCP-970605:1.1.1.1
	DHCP-970602:1.1.1.1
	DHCP-970331:1.1.1.1
	DHCP-970329A:1.1.1.1
	DHCP-970329:1.1.1.1
	ISC:1.1.1;
locks; strict;
comment	@# @;


1.2
date	97.03.29.22.27.46;	author mellon;	state dead;
branches;
next	1.1;

1.1
date	97.03.29.21.52.16;	author mellon;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.03.29.21.52.16;	author mellon;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.11.22.09.13.33;	author mellon;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	99.02.19.21.58.12;	author mellon;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	99.02.24.04.10.59;	author mellon;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	99.04.09.17.52.03;	author mellon;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	99.04.26.15.43.04;	author mellon;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	2000.04.22.07.11.29;	author mellon;	state Exp;
branches;
next	1.1.1.8;

1.1.1.8
date	2000.06.10.18.04.31;	author mellon;	state Exp;
branches;
next	1.1.1.9;

1.1.1.9
date	2000.06.24.06.38.24;	author mellon;	state Exp;
branches;
next	1.1.1.10;

1.1.1.10
date	2000.07.20.05.49.08;	author mellon;	state Exp;
branches;
next	1.1.1.11;

1.1.1.11
date	2000.10.17.15.07.27;	author taca;	state Exp;
branches;
next	1.1.1.12;

1.1.1.12
date	2001.04.02.21.56.48;	author mellon;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Not needed by NetBSD
@
text
@# Makefile.dist
#
# 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.
#

CATMANPAGES = dhclient.cat8 dhclient.conf.cat5
SRCS   = dhclient.c clparse.c
OBJS   = dhclient.o clparse.o
PROG   = dhclient
MAN    = dhclient.8 dhclient.conf.5

DEBUG  = -g
INCLUDES = -I.. -I../includes
DHCPLIB = ../common/libdhcp.a
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)

all:	$(PROG) $(CATMANPAGES)

install: $(PROG) $(CATMANPAGES)
	$(INSTALL) dhclient $(BINDIR); $(CHMOD) 755 $(BINDIR)/dhclient
	if [ x$(SCRIPT) = xnone ]; then \
	  echo "No client script available."; \
	else \
	  $(INSTALL) scripts/$(SCRIPT) $(ETC)/dhclient-script; \
	  $(CHMOD) 700 $(ETC)/dhclient-script; \
	fi
	if [ ! -d $(ADMMANDIR) ]; then \
	  mkdir $(ADMMANDIR); \
	  chmod 755 $(ADMMANDIR); \
        fi
	if [ ! -d $(FFMANDIR) ]; then \
	  mkdir $(FFMANDIR); \
	  chmod 755 $(FFMANDIR); \
        fi
	if [ ! -d $(VARDB) ]; then \
	  mkdir $(VARDB); \
	  chmod 755 $(VARDB); \
	fi
	$(MANINSTALL) $(MANFROM) dhclient.cat8 $(MANTO) \
				$(ADMMANDIR)/dhclient$(ADMMANEXT)
	$(MANINSTALL) $(MANFROM) dhclient.conf.cat5 $(MANTO) \
				$(FFMANDIR)/dhclient.conf$(FFMANEXT)

clean:
	-rm -f $(OBJS)
	
realclean: clean
	-rm -f $(PROG) $(CATMANPAGES) *~ #*

distclean: realclean
	-rm -f Makefile

# These should only be done on 4.4 BSD-based systems, since the mandoc
# macros aren't available on older unices.   Catted man pages are
# provided in the distribution so that this doesn't become a problem.

dhclient.cat8:	dhclient.8
	sed -e "s#ETCDIR#$(ETC)#" -e "s#DBDIR#$(VARDB)#" \
		-e "s#RUNDIR#$(VARRUN)#" < dhclient.8 \
			| nroff -man >dhclient.cat8

dhclient.conf.cat5:	dhclient.conf.5
	nroff -man dhclient.conf.5 >dhclient.conf.cat5

dhclient:	$(OBJS) $(DHCPLIB)
	$(CC) $(LFLAGS) -o $(PROG) $(OBJS) $(DHCPLIB) $(LIBS)

# Dependencies (semi-automatically-generated)
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@March 29 snapshot
@
text
@@


1.1.1.2
log
@ISC DHCP Snapshot on November 22, 1997
@
text
@d33 1
a33 2
CATMANPAGES = dhclient.cat8 dhclient.conf.cat5 dhclient-script.cat8 \
	      dhclient.leases.cat5
d37 1
a37 1
MAN    = dhclient.8 dhclient.conf.5 dhclient-script.8 dhclient.leases.5
d47 1
a47 2
	$(INSTALL) dhclient $(CLIENTBINDIR)
	$(CHMOD) 755 $(CLIENTBINDIR)/dhclient
a67 2
	$(MANINSTALL) $(MANFROM) dhclient-script.cat8 $(MANTO) \
				$(ADMMANDIR)/dhclient-script$(ADMMANEXT)
a69 2
	$(MANINSTALL) $(MANFROM) dhclient.leases.cat5 $(MANTO) \
				$(FFMANDIR)/dhclient.leases$(FFMANEXT)
d85 2
a86 2
	sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
		-e "s#RUNDIR#$(VARRUN)#g" < dhclient.8 \
a88 5
dhclient-script.cat8:	dhclient-script.8
	sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
		-e "s#RUNDIR#$(VARRUN)#g" < dhclient-script.8 \
			| nroff -man >dhclient-script.cat8

a90 6

dhclient.leases.cat5:	dhclient.leases.5
	sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
		-e "s#RUNDIR#$(VARRUN)#g" < dhclient.leases.5 \
			| nroff -man >dhclient.leases.cat5

@


1.1.1.3
log
@Patchlevel 14
@
text
@d3 1
a3 1
# Copyright (c) 1996, 1997, 1999 The Internet Software Consortium.
d48 2
a49 12
	for dir in $(CLIENTBINDIR) $(ETC) $(FFMANDIR) $(ADMMANDIR); do \
	  foo=""; \
	  for bar in `echo $(DESTDIR)$${dir} |tr / ' '`; do \
	    foo=$${foo}/$$bar; \
	    if [ ! -d $$foo ]; then \
	      mkdir $$foo; \
	      chmod 755 $$foo; \
	    fi; \
	  done; \
	done
	$(INSTALL) dhclient $(DESTDIR)$(CLIENTBINDIR)
	$(CHMOD) 755 $(DESTDIR)$(CLIENTBINDIR)/dhclient
d53 14
a66 2
	  $(INSTALL) scripts/$(SCRIPT) $(DESTDIR)$(ETC)/dhclient-script; \
	  $(CHMOD) 700 $(DESTDIR)$(ETC)/dhclient-script; \
d69 1
a69 1
			$(DESTDIR)$(ADMMANDIR)/dhclient$(ADMMANEXT)
d71 1
a71 1
			$(DESTDIR)$(ADMMANDIR)/dhclient-script$(ADMMANEXT)
d73 1
a73 1
			$(DESTDIR)$(FFMANDIR)/dhclient.conf$(FFMANEXT)
d75 1
a75 1
			$(DESTDIR)$(FFMANDIR)/dhclient.leases$(FFMANEXT)
@


1.1.1.4
log
@V2 Beta 1 Patchlevel 15
@
text
@d47 2
a48 3
install: all
	for dir in $(CLIENTBINDIR) $(ETC) $(FFMANDIR) $(ADMMANDIR) $(VARDB); \
	do \
@


1.1.1.5
log
@Patchlevel 25
@
text
@d67 1
a67 1
	$(MANINSTALL) $(MANFROM) dhclient.$(MANCAT)8 $(MANTO) \
d69 1
a69 1
	$(MANINSTALL) $(MANFROM) dhclient-script.$(MANCAT)8 $(MANTO) \
d71 1
a71 1
	$(MANINSTALL) $(MANFROM) dhclient.conf.$(MANCAT)5 $(MANTO) \
d73 1
a73 1
	$(MANINSTALL) $(MANFROM) dhclient.leases.$(MANCAT)5 $(MANTO) \
@


1.1.1.6
log
@Patchlevel 27
@
text
@a34 2
SEDMANPAGES = dhclient.man8 dhclient.conf.man5 dhclient-script.man8 \
	      dhclient.leases.man5
d80 1
a80 1
	-rm -f $(PROG) $(CATMANPAGES) $(SEDMANPAGES) *~ #*
d89 1
a89 4
dhclient.cat8:	dhclient.man8
	nroff -man dhclient.man8 >dhclient.man8

dhclient.man8: dhclient.8
d91 2
a92 4
		-e "s#RUNDIR#$(VARRUN)#g" < dhclient.8 >dhclient.man8

dhclient-script.cat8:	dhclient-script.man8
	nroff -man dhclient-script.man8 >dhclient-script.cat8
d94 1
a94 1
dhclient-script.man8:	dhclient-script.8
d97 1
a97 6
						>dhclient-script.man8

dhclient.conf.man5:	dhclient.conf.5
	sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
		-e "s#RUNDIR#$(VARRUN)#g" < dhclient.conf.5 \
						>dhclient.conf.man5
d99 2
a100 2
dhclient.conf.cat5:	dhclient.conf.man5
	nroff -man dhclient.conf.man5 >dhclient.conf.cat5
d102 1
a102 1
dhclient.leases.man5:	dhclient.leases.5
d105 1
a105 1
						>dhclient.leases.man5
a106 2
dhclient.leases.cat5:	dhclient.leases.man5
	nroff -man dhclient.leases.man5 >dhclient.leases.cat5
@


1.1.1.7
log
@Initial import of version 3 of the ISC DHCP distribution.
@
text
@d3 2
a4 6
# Copyright (c) 1996-1999 Internet Software Consortium.
# Use is subject to license terms which appear in the file named
# ISC-LICENSE that should have accompanied this file when you
# received it.   If a file named ISC-LICENSE did not accompany this
# file, or you are not sure the one you have is correct, you may
# obtain an applicable copy of the license at:
d6 3
a8 1
#             http://www.isc.org/isc-license-1.0.html. 
d10 8
a17 3
# This file is part of the ISC DHCP distribution.   The documentation
# associated with this file is listed in the file DOCUMENTATION,
# included in the top-level directory of this release.
d19 12
a30 2
# Support and other services are available for ISC products - see
# http://www.isc.org for more information.
d37 2
a38 2
SRCS   = dhclient.c clparse.c omapi.c
OBJS   = dhclient.o clparse.o omapi.o
d43 2
a44 2
INCLUDES = -I.. $(BINDINC) -I../includes
DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a $(BINDLIB)
d75 1
a75 1
	$(MANINSTALL) $(MANFROM) dhclient.leases.cat5 $(MANTO) \
a77 3
depend:
	makedepend $(INCLUDES) $(PREDEFINES) $(SRCS)

d80 1
a80 1

d92 1
a92 1
	nroff -man dhclient.man8 >dhclient.cat8
a120 1

@


1.1.1.8
log
@Belated import of recent DHCP core dumps, etc.   Approved by releng.
@
text
@d24 2
a25 2
SRCS   = dhclient.c clparse.c
OBJS   = dhclient.o clparse.o
@


1.1.1.9
log
@3.0b2 as of June 23 - fixes two important glitches.
@
text
@d30 1
a30 1
INCLUDES = -I$(TOP) $(BINDINC) -I$(TOP)/includes
d53 1
a53 2
	  $(INSTALL) $(TOP)/client/scripts/$(SCRIPT)\
					$(DESTDIR)$(ETC)/dhclient-script; \
d66 1
a66 1
	$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS)
a75 8

links:
	@@for foo in $(SRCS) $(MAN); do \
	  if [ ! -b $$foo ]; then \
	    rm -f $$foo; \
	  fi; \
	  ln -s $(TOP)/client/$$foo $$foo; \
	done
@


1.1.1.10
log
@Final (I hope) DHCP client security fix.
@
text
@d32 1
a32 2
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) \
		-DCLIENT_PATH=${CLIENT_PATH}
@


1.1.1.11
log
@DHCP 3.0 Beta 2 Patchlevel 9
@
text
@d64 1
a64 1
	$(MANINSTALL) $(MANFROM) dhclient.leases.$(MANCAT)5 $(MANTO) \
@


1.1.1.12
log
@ISC DHCP 3.0b2pl23
@
text
@d29 1
d31 1
a31 1
DHCPLIB = ../common/libdhcp.a $(BINDLIB) ../omapip/libomapi.a ../dst/libdst.a
d55 2
a56 2
				$(DESTDIR)$(CLIENTBINDIR)/dhclient-script; \
	  $(CHMOD) 700 $(DESTDIR)$(CLIENTBINDIR)/dhclient-script; \
a95 1
		-e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
a102 1
		-e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
a107 1
		-e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
a115 1
		-e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
@


