diff options
author | adrianp <adrianp@pkgsrc.org> | 2009-01-04 00:56:32 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2009-01-04 00:56:32 +0000 |
commit | cd2190897b05ecdf10b6176445365a6800109b30 (patch) | |
tree | e52b96a701c6a79bb6cd6798c6f8fd6f449b3306 /net/isc-dhcpd4 | |
parent | e292299cfc6b000478ff8514f74235fbe827ae89 (diff) | |
download | pkgsrc-cd2190897b05ecdf10b6176445365a6800109b30.tar.gz |
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 support
Diffstat (limited to 'net/isc-dhcpd4')
-rw-r--r-- | net/isc-dhcpd4/Makefile | 5 | ||||
-rw-r--r-- | net/isc-dhcpd4/PLIST | 6 | ||||
-rw-r--r-- | net/isc-dhcpd4/distinfo | 8 | ||||
-rwxr-xr-x | net/isc-dhcpd4/files/isc_dhcpd.sh | 36 |
4 files changed, 41 insertions, 14 deletions
diff --git a/net/isc-dhcpd4/Makefile b/net/isc-dhcpd4/Makefile index 9459845b2f3..8bc91722ef6 100644 --- a/net/isc-dhcpd4/Makefile +++ b/net/isc-dhcpd4/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2008/12/21 21:24:08 adrianp Exp $ +# $NetBSD: Makefile,v 1.3 2009/01/04 00:58:41 adrianp Exp $ # +PKGNAME= isc-dhcpd-${DHVER} COMMENT= ISC Dynamic Host Configuration Protocol (DHCP) Server -COMPONENT= server -PKGREVISION= 1 SUBDIR= omapip dhcpctl server CONF_FILES+= ${EGDIR}/dhcpd.conf ${PKG_SYSCONFDIR}/dhcpd.conf diff --git a/net/isc-dhcpd4/PLIST b/net/isc-dhcpd4/PLIST index bb9d5861c7c..01954a0d57f 100644 --- a/net/isc-dhcpd4/PLIST +++ b/net/isc-dhcpd4/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/13 22:06:15 adrianp Exp $ +@comment $NetBSD: PLIST,v 1.2 2009/01/04 00:58:41 adrianp Exp $ bin/omshell lib/libdhcpctl.a lib/libomapi.a @@ -9,6 +9,6 @@ man/man5/dhcpd.conf.5 man/man5/dhcpd.leases.5 man/man8/dhcpd.8 sbin/dhcpd -share/examples/isc-dhcp-server/dhcpd.conf +share/examples/isc-dhcpd/dhcpd.conf share/examples/rc.d/isc_dhcpd -@dirrm share/examples/isc-dhcp-server +@dirrm share/examples/isc-dhcpd diff --git a/net/isc-dhcpd4/distinfo b/net/isc-dhcpd4/distinfo deleted file mode 100644 index 2f60323a443..00000000000 --- a/net/isc-dhcpd4/distinfo +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: distinfo,v 1.2 2008/12/21 21:24:08 adrianp Exp $ - -SHA1 (dhcp-4.0.0.tar.gz) = acb4ab7634ba002893b15baba1443ef4d6c92201 -RMD160 (dhcp-4.0.0.tar.gz) = 86963598124617bc7d1059262c75176db431f26d -Size (dhcp-4.0.0.tar.gz) = 1043725 bytes -SHA1 (patch-aa) = 162f8950cfcbb9647b81d8d1518867aaf8ec7905 -SHA1 (patch-ab) = cd38b5075d2f3a3121fb7dc9f870a6091c603ef1 -SHA1 (patch-ac) = 7079a37a7bbdf7ede805ecba61700ecf86fffaea diff --git a/net/isc-dhcpd4/files/isc_dhcpd.sh b/net/isc-dhcpd4/files/isc_dhcpd.sh new file mode 100755 index 00000000000..5fc6f711d83 --- /dev/null +++ b/net/isc-dhcpd4/files/isc_dhcpd.sh @@ -0,0 +1,36 @@ +#!@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" |