Update to 4.1.0 ISC DHCP 4.1.x will have several new DHCPv6 features that were not in DHCP 4.0.x. These new features include: * Support for the rapid-commit option on the client side * Prefix Delegation support * IA_TA address support * A basic DHCPv6 relay agent * basic DHCPv6 Leasequery supportdiff -r1.2 -r1.3 pkgsrc/net/isc-dhcpd4/Makefile
(adrianp)
@@ -1,19 +1,18 @@ | @@ -1,19 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2008/12/21 21:24:08 adrianp Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2009/01/04 00:58:41 adrianp Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | PKGNAME= isc-dhcpd-${DHVER} | |||
4 | COMMENT= ISC Dynamic Host Configuration Protocol (DHCP) Server | 5 | COMMENT= ISC Dynamic Host Configuration Protocol (DHCP) Server | |
5 | COMPONENT= server | |||
6 | PKGREVISION= 1 | |||
7 | SUBDIR= omapip dhcpctl server | 6 | SUBDIR= omapip dhcpctl server | |
8 | 7 | |||
9 | CONF_FILES+= ${EGDIR}/dhcpd.conf ${PKG_SYSCONFDIR}/dhcpd.conf | 8 | CONF_FILES+= ${EGDIR}/dhcpd.conf ${PKG_SYSCONFDIR}/dhcpd.conf | |
10 | RCD_SCRIPTS= isc_dhcpd | 9 | RCD_SCRIPTS= isc_dhcpd | |
11 | FILES_SUBST+= DHCP_HOME=${DHCP_HOME} | 10 | FILES_SUBST+= DHCP_HOME=${DHCP_HOME} | |
12 | 11 | |||
13 | .include "${.CURDIR}/../isc-dhcp4/options.mk" | 12 | .include "${.CURDIR}/../isc-dhcp4/options.mk" | |
14 | 13 | |||
15 | post-install: | 14 | post-install: | |
16 | ${INSTALL_DATA_DIR} ${EGDIR} | 15 | ${INSTALL_DATA_DIR} ${EGDIR} | |
17 | ${INSTALL_DATA} ${WRKSRC}/server/dhcpd.conf ${EGDIR} | 16 | ${INSTALL_DATA} ${WRKSRC}/server/dhcpd.conf ${EGDIR} | |
18 | 17 | |||
19 | .include "../../net/isc-dhcp4/Makefile.common" | 18 | .include "../../net/isc-dhcp4/Makefile.common" |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2008/02/13 22:06:15 adrianp Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2009/01/04 00:58:41 adrianp Exp $ | |
2 | bin/omshell | 2 | bin/omshell | |
3 | lib/libdhcpctl.a | 3 | lib/libdhcpctl.a | |
4 | lib/libomapi.a | 4 | lib/libomapi.a | |
5 | man/man1/omshell.1 | 5 | man/man1/omshell.1 | |
6 | man/man3/dhcpctl.3 | 6 | man/man3/dhcpctl.3 | |
7 | man/man3/omapi.3 | 7 | man/man3/omapi.3 | |
8 | man/man5/dhcpd.conf.5 | 8 | man/man5/dhcpd.conf.5 | |
9 | man/man5/dhcpd.leases.5 | 9 | man/man5/dhcpd.leases.5 | |
10 | man/man8/dhcpd.8 | 10 | man/man8/dhcpd.8 | |
11 | sbin/dhcpd | 11 | sbin/dhcpd | |
12 | share/examples/isc-dhcp-server/dhcpd.conf | 12 | share/examples/isc-dhcpd/dhcpd.conf | |
13 | share/examples/rc.d/isc_dhcpd | 13 | share/examples/rc.d/isc_dhcpd | |
14 | @dirrm share/examples/isc-dhcp-server | 14 | @dirrm share/examples/isc-dhcpd |
#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: isc_dhcpd.sh,v 1.1 2009/01/04 00:58:42 adrianp Exp $
#
# PROVIDE: dhcpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="isc_dhcpd"
rcvar="${name}"
command="@PREFIX@/sbin/dhcpd"
pidfile="@VARBASE@/run/isc-dhcp/isc-dhcpd.pid"
required_files="@PKG_SYSCONFDIR@/dhcpd.conf"
start_precmd="isc_dhcpd_precmd"
isc_dhcpd_precmd()
{
if [ ! -d @VARBASE@/run/isc-dhcp ]; then
@MKDIR@ @VARBASE@/run/isc-dhcp
@CHMOD@ 0770 @VARBASE@/run/isc-dhcp
fi
if [ ! -f @DHCP_HOME@/dhcpd.leases ]; then
@MKDIR@ @DHCP_HOME@
@TOUCH@ @DHCP_HOME@/dhcpd.leases
@CHMOD@ 0640 @DHCP_HOME@/dhcpd.leases
fi
}
load_rc_config $rcvar
run_rc_command "$1"