1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1999-02-10 20:51:22 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
DIST_DIR= ${.CURDIR}/../../contrib/isc-dhcp
|
1999-02-18 09:38:18 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
.PATH: ${DIST_DIR}/client ${DIST_DIR}/common
|
1999-02-10 20:51:22 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
PROG= dhclient
|
|
|
|
SRCS= clparse.c dhclient.c
|
1999-06-24 08:13:21 +00:00
|
|
|
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 \
|
1999-02-18 18:56:58 +00:00
|
|
|
parse.c print.c raw.c socket.c tables.c tree.c upf.c
|
1999-02-10 20:51:22 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
CFLAGS+= -I${DIST_DIR}/includes -I${DIST_DIR}
|
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
2000-09-06 18:16:48 +00:00
|
|
|
CFLAGS+= -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -Dwarn=dhcp_warn
|
1999-02-10 20:51:22 +00:00
|
|
|
|
2001-03-26 14:33:27 +00:00
|
|
|
MAN= dhclient.conf.5 dhclient.leases.5 dhcp-options.5
|
|
|
|
MAN+= dhclient.8 dhclient-script.8
|
1999-02-10 20:51:22 +00:00
|
|
|
|
1999-02-18 18:56:58 +00:00
|
|
|
beforeinstall:
|
1999-02-18 09:38:18 +00:00
|
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
1999-04-03 07:09:59 +00:00
|
|
|
${DIST_DIR}/client/scripts/freebsd \
|
|
|
|
${DESTDIR}${BINDIR}/dhclient-script
|
1999-02-10 20:51:22 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|