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.10
	ISC_V3P2PL24:1.1.1.10
	ISC_V3B2PL23:1.1.1.10
	ISC_V3B2PL9:1.1.1.9
	ISC_V3B2PL2:1.1.1.9
	ISC_20000719:1.1.1.9
	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.24.43;	author mellon;	state dead;
branches;
next	1.1;

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

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

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

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

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

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

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

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

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

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

1.1.1.10
date	2001.04.02.21.57.14;	author mellon;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Not needed in NetBSD
@
text
@# Makefile.dist
#
# Copyright (c) 1996 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 = dhcpd.cat8 dhcpd.conf.cat5
SRCS   = dhcpd.c dhcp.c bootp.c confpars.c db.c
OBJS   = dhcpd.o dhcp.o bootp.o confpars.o db.o
PROG   = dhcpd
MAN    = dhcpd.8 dhcpd.conf.5

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

all:	$(PROG) $(CATMANPAGES)

install: $(PROG) $(CATMANPAGES)
	$(INSTALL) dhcpd $(BINDIR); $(CHMOD) 755 $(BINDIR)/dhcpd
	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) dhcpd.cat8 $(MANTO) \
				$(ADMMANDIR)/dhcpd$(ADMMANEXT)
	$(MANINSTALL) $(MANFROM) dhcpd.conf.cat5 $(MANTO) \
				$(FFMANDIR)/dhcpd.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.

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

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

dhcpd:	$(OBJS) $(COBJ) $(DHCPLIB)
	$(CC) $(LFLAGS) -o dhcpd $(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
@d3 1
a3 2
# Copyright (c) 1996, 1997 The Internet Software Consortium.
# All rights reserved.
d32 1
a32 1
CATMANPAGES = dhcpd.cat8 dhcpd.conf.cat5 dhcpd.leases.cat5
d36 1
a36 1
MAN    = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
a62 2
	$(MANINSTALL) $(MANFROM) dhcpd.leases.cat5 $(MANTO) \
				$(FFMANDIR)/dhcpd.leases$(FFMANEXT)
d78 2
a79 2
	sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
		-e "s#RUNDIR#$(VARRUN)#g" < dhcpd.8 \
a83 5

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


1.1.1.3
log
@Patchlevel 14
@
text
@d3 1
a3 1
# Copyright (c) 1996, 1997, 1999 The Internet Software Consortium.
d47 13
a59 12
	for dir in $(BINDIR) $(ADMMANDIR) $(FFMANDIR) $(VARDB); 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) dhcpd $(DESTDIR)$(BINDIR)
	$(CHMOD) 755 $(DESTDIR)$(BINDIR)/dhcpd
d61 1
a61 1
			$(DESTDIR)$(ADMMANDIR)/dhcpd$(ADMMANEXT)
d63 1
a63 1
			$(DESTDIR)$(FFMANDIR)/dhcpd.conf$(FFMANEXT)
d65 1
a65 1
			$(DESTDIR)$(FFMANDIR)/dhcpd.leases$(FFMANEXT)
@


1.1.1.4
log
@V2 Beta 1 Patchlevel 15
@
text
@d46 1
a46 1
install: all
@


1.1.1.5
log
@Patchlevel 25
@
text
@d59 1
a59 1
	$(MANINSTALL) $(MANFROM) dhcpd.$(MANCAT)8 $(MANTO) \
d61 1
a61 1
	$(MANINSTALL) $(MANFROM) dhcpd.conf.$(MANCAT)5 $(MANTO) \
d63 1
a63 1
	$(MANINSTALL) $(MANFROM) dhcpd.leases.$(MANCAT)5 $(MANTO) \
@


1.1.1.6
log
@Patchlevel 27
@
text
@a33 1
SEDMANPAGES = dhcpd.man8 dhcpd.conf.man5 dhcpd.leases.man5
d70 1
a70 1
	-rm -f $(PROG) $(CATMANPAGES) $(SEDMANPAGES) *~ #*
d79 1
a79 11
dhcpd.cat8:	dhcpd.man8
	nroff -man dhcpd.man8 >dhcpd.cat8

dhcpd.man8:	dhcpd.8
	sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
		-e "s#RUNDIR#$(VARRUN)#g" < dhcpd.8 >dhcpd.man8

dhcpd.conf.cat5:	dhcpd.conf.man5
	nroff -man dhcpd.conf.man5 >dhcpd.conf.cat5

dhcpd.conf.man5:	dhcpd.conf.5
d81 2
a82 1
		-e "s#RUNDIR#$(VARRUN)#g" < dhcpd.conf.5 >dhcpd.conf.man5
d84 2
a85 2
dhcpd.leases.cat5:	dhcpd.leases.man5
	nroff -man dhcpd.leases.man5 >dhcpd.leases.cat5
d87 1
a87 1
dhcpd.leases.man5:	dhcpd.leases.5
d89 2
a90 1
		-e "s#RUNDIR#$(VARRUN)#g" < dhcpd.leases.5 >dhcpd.leases.man5
@


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.
d35 2
a36 4
SRCS   = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \
	 omapi.c mdb.c stables.c
OBJS   = dhcpd.o dhcp.o bootp.o confpars.o db.o class.o failover.o \
	 omapi.o mdb.o stables.o
d41 2
a42 2
INCLUDES = -I.. $(BINDINC) -I../includes
DHCPLIB = ../common/libdhcp.a ../omapip/libomapi.a $(BINDLIB)
a66 3
depend:
	makedepend $(INCLUDES) $(PREDEFINES) $(SRCS)

d69 1
a69 1

@


1.1.1.8
log
@Belated import of recent DHCP core dumps, etc.   Approved by releng.
@
text
@d23 1
a23 1
	 omapi.c mdb.c stables.c salloc.c
d25 1
a25 1
	 omapi.o mdb.o stables.o salloc.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
d57 1
a57 1
	$(MKDEP) $(INCLUDES) $(PREDEFINES) $(SRCS)
a66 8

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


1.1.1.10
log
@ISC DHCP 3.0b2pl23
@
text
@d23 1
a23 1
	 omapi.c mdb.c stables.c salloc.c ddns.c
d25 1
a25 1
	 omapi.o mdb.o stables.o salloc.o ddns.o
d29 1
d31 1
a31 1
DHCPLIB = ../common/libdhcp.a $(BINDLIB) ../omapip/libomapi.a ../dst/libdst.a
@


