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-dhcp4/Makefile
(adrianp)
@@ -1,22 +1,21 @@ | @@ -1,22 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2008/12/21 21:24:08 adrianp Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2009/01/04 00:56:32 adrianp Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | PKGNAME= isc-dhcp-${DHVER} | |||
4 | COMMENT= ISC Dynamic Host Configuration Protocol (DHCP) Base | 5 | COMMENT= ISC Dynamic Host Configuration Protocol (DHCP) Base | |
5 | COMPONENT= base | |||
6 | PKGREVISION= 1 | |||
7 | SUBDIR= includes common minires dst | 6 | SUBDIR= includes common minires dst | |
8 | 7 | |||
9 | .include "options.mk" | 8 | .include "options.mk" | |
10 | 9 | |||
11 | post-install: | 10 | post-install: | |
12 | ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/isc-dhcp-${COMPONENT} | 11 | ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE} | |
13 | 12 | |||
14 | ${INSTALL_DATA} ${WRKSRC}/README \ | 13 | ${INSTALL_DATA} ${WRKSRC}/README \ | |
15 | ${PREFIX}/share/doc/isc-dhcp-${COMPONENT} | 14 | ${PREFIX}/share/doc/${PKGBASE} | |
16 | ${INSTALL_DATA} ${WRKSRC}/RELNOTES \ | 15 | ${INSTALL_DATA} ${WRKSRC}/RELNOTES \ | |
17 | ${PREFIX}/share/doc/isc-dhcp-${COMPONENT} | 16 | ${PREFIX}/share/doc/${PKGBASE} | |
18 | ${INSTALL_DATA} ${WRKSRC}/doc/References.txt \ | 17 | ${INSTALL_DATA} ${WRKSRC}/doc/References.txt \ | |
19 | ${PREFIX}/share/doc/isc-dhcp-${COMPONENT} | 18 | ${PREFIX}/share/doc/${PKGBASE} | |
20 | 19 | |||
21 | .include "../../net/isc-dhcp4/Makefile.common" | 20 | .include "../../net/isc-dhcp4/Makefile.common" | |
22 | .include "../../mk/bsd.pkg.mk" | 21 | .include "../../mk/bsd.pkg.mk" |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2008/12/21 21:24:08 adrianp Exp $ | 1 | $NetBSD: distinfo,v 1.3 2009/01/04 00:56:32 adrianp Exp $ | |
2 | 2 | |||
3 | SHA1 (dhcp-4.0.0.tar.gz) = acb4ab7634ba002893b15baba1443ef4d6c92201 | 3 | SHA1 (dhcp-4.1.0.tar.gz) = 46e161892140a3b60cd56e62b442f48f51bc605f | |
4 | RMD160 (dhcp-4.0.0.tar.gz) = 86963598124617bc7d1059262c75176db431f26d | 4 | RMD160 (dhcp-4.1.0.tar.gz) = bf96fa9d135a65b4d9b27f8caf4f3744f0636c80 | |
5 | Size (dhcp-4.0.0.tar.gz) = 1043725 bytes | 5 | Size (dhcp-4.1.0.tar.gz) = 1086815 bytes | |
6 | SHA1 (patch-aa) = 162f8950cfcbb9647b81d8d1518867aaf8ec7905 | 6 | SHA1 (patch-aa) = 4090c4198ee16bd596d16a06856cfb5bb83dab81 | |
7 | SHA1 (patch-ab) = cd38b5075d2f3a3121fb7dc9f870a6091c603ef1 | 7 | SHA1 (patch-ab) = 049a3a5037c91a83c0f3eb22e76d861d8c3aa801 | |
8 | SHA1 (patch-ac) = 7079a37a7bbdf7ede805ecba61700ecf86fffaea | 8 | SHA1 (patch-ac) = 7079a37a7bbdf7ede805ecba61700ecf86fffaea |
@@ -1,40 +1,40 @@ | @@ -1,40 +1,40 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.3 2008/12/21 21:24:08 adrianp Exp $ | 1 | # $NetBSD: Makefile.common,v 1.4 2009/01/04 00:56:32 adrianp Exp $ | |
2 | # | 2 | # | |
3 | # used by net/isc-dhcp4/Makefile | 3 | # used by net/isc-dhcp4/Makefile | |
4 | # used by net/isc-dhcpd4/Makefile | 4 | # used by net/isc-dhcpd4/Makefile | |
5 | # used by net/isc-dhclient4/Makefile | 5 | # used by net/isc-dhclient4/Makefile | |
6 | # used by net/isc-dhcrelay4/Makefile | 6 | # used by net/isc-dhcrelay4/Makefile | |
7 | 7 | |||
8 | DISTNAME= dhcp-4.0.0 | 8 | DISTNAME= dhcp-4.1.0 | |
9 | PKGNAME= ${DISTNAME:S/dhcp/isc-dhcp-${COMPONENT}/} | 9 | DHVER= ${DISTNAME:S/dhcp-//} | |
10 | CATEGORIES= net | 10 | CATEGORIES= net | |
11 | MASTER_SITES= http://ftp.isc.org/isc/dhcp/ | 11 | MASTER_SITES= http://ftp.isc.org/isc/dhcp/ | |
12 | 12 | |||
13 | MAINTAINER= adrianp@NetBSD.org | 13 | MAINTAINER= adrianp@NetBSD.org | |
14 | HOMEPAGE= http://www.isc.org/sw/dhcp/dhcp4_0.php | 14 | HOMEPAGE= https://www.isc.org/sw/dhcp | |
15 | 15 | |||
16 | CONFLICTS+= isc-dhcp-base-3.*{,nb*} | 16 | CONFLICTS+= isc-dhcp-base-3.*{,nb*} | |
17 | 17 | |||
18 | .include "../../mk/bsd.prefs.mk" | 18 | .include "../../mk/bsd.prefs.mk" | |
19 | 19 | |||
20 | GNU_CONFIGURE= yes | 20 | GNU_CONFIGURE= yes | |
21 | DHCP_HOME?= ${VARBASE}/db/isc-dhcp | 21 | DHCP_HOME?= ${VARBASE}/db/isc-dhcp | |
22 | DHCP_PID?= ${VARBASE}/run/isc-dhcp | 22 | DHCP_PID?= ${VARBASE}/run/isc-dhcp | |
23 | PKG_SYSCONFSUBDIR= dhcp | 23 | PKG_SYSCONFSUBDIR= dhcp | |
24 | 24 | |||
25 | FILESDIR= ${.CURDIR}/../isc-dhcp4/files | |||
26 | PATCHDIR= ${.CURDIR}/../isc-dhcp4/patches | 25 | PATCHDIR= ${.CURDIR}/../isc-dhcp4/patches | |
27 | EGDIR= ${PREFIX}/share/examples/isc-dhcp-${COMPONENT} | 26 | DISTINFO_FILE= ${.CURDIR}/../isc-dhcp4/distinfo | |
27 | EGDIR= ${PREFIX}/share/examples/${PKGBASE} | |||
28 | BUILD_DEFS+= VARBASE DHCP_HOME DHCP_PID | 28 | BUILD_DEFS+= VARBASE DHCP_HOME DHCP_PID | |
29 | 29 | |||
30 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | 30 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | |
31 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | 31 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | |
32 | CONFIGURE_ARGS+= --with-srv-lease-file=${DHCP_HOME}/dhcpd.leases | 32 | CONFIGURE_ARGS+= --with-srv-lease-file=${DHCP_HOME}/dhcpd.leases | |
33 | CONFIGURE_ARGS+= --with-cli-lease-file=${DHCP_HOME}/dhclient.leases | 33 | CONFIGURE_ARGS+= --with-cli-lease-file=${DHCP_HOME}/dhclient.leases | |
34 | CONFIGURE_ARGS+= --with-srv-pid-file=${DHCP_PID}/isc-dhcpd.pid | 34 | CONFIGURE_ARGS+= --with-srv-pid-file=${DHCP_PID}/isc-dhcpd.pid | |
35 | CONFIGURE_ARGS+= --with-cli-pid-file=${DHCP_PID}/isc-dhclient.pid | 35 | CONFIGURE_ARGS+= --with-cli-pid-file=${DHCP_PID}/isc-dhclient.pid | |
36 | CONFIGURE_ARGS+= --with-relay-pid-file=${DHCP_PID}/isc-dhcrelay.pid | 36 | CONFIGURE_ARGS+= --with-relay-pid-file=${DHCP_PID}/isc-dhcrelay.pid | |
37 | 37 | |||
38 | SUBST_CLASSES+= config | 38 | SUBST_CLASSES+= config | |
39 | SUBST_STAGE.config= post-patch | 39 | SUBST_STAGE.config= post-patch | |
40 | SUBST_FILES.config= includes/dhcpd.h | 40 | SUBST_FILES.config= includes/dhcpd.h |
@@ -1,29 +1,29 @@ | @@ -1,29 +1,29 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2008/02/13 22:03:58 adrianp Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2009/01/04 00:56:32 adrianp Exp $ | |
2 | include/isc-dhcp/boolean.h | 2 | include/isc-dhcp/boolean.h | |
3 | include/isc-dhcp/commandline.h | 3 | include/isc-dhcp/commandline.h | |
4 | include/isc-dhcp/dst.h | 4 | include/isc-dhcp/dst.h | |
5 | include/isc-dhcp/formatcheck.h | 5 | include/isc-dhcp/formatcheck.h | |
6 | include/isc-dhcp/int.h | 6 | include/isc-dhcp/int.h | |
7 | include/isc-dhcp/lang.h | 7 | include/isc-dhcp/lang.h | |
8 | include/isc-dhcp/list.h | 8 | include/isc-dhcp/list.h | |
9 | include/isc-dhcp/mem.h | 9 | include/isc-dhcp/mem.h | |
10 | include/isc-dhcp/print.h | 10 | include/isc-dhcp/print.h | |
11 | include/isc-dhcp/result.h | 11 | include/isc-dhcp/result.h | |
12 | include/isc-dhcp/string.h | 12 | include/isc-dhcp/string.h | |
13 | include/isc-dhcp/types.h | 13 | include/isc-dhcp/types.h | |
14 | include/omapip/alloc.h | 14 | include/omapip/alloc.h | |
15 | include/omapip/buffer.h | 15 | include/omapip/buffer.h | |
16 | include/omapip/convert.h | 16 | include/omapip/convert.h | |
17 | include/omapip/hash.h | 17 | include/omapip/hash.h | |
18 | include/omapip/omapip.h | 18 | include/omapip/omapip.h | |
19 | include/omapip/omapip_p.h | 19 | include/omapip/omapip_p.h | |
20 | include/omapip/trace.h | 20 | include/omapip/trace.h | |
21 | lib/libdst.a | 21 | lib/libdst.a | |
22 | man/man5/dhcp-eval.5 | 22 | man/man5/dhcp-eval.5 | |
23 | man/man5/dhcp-options.5 | 23 | man/man5/dhcp-options.5 | |
24 | share/doc/isc-dhcp-base/README | 24 | share/doc/isc-dhcp/README | |
25 | share/doc/isc-dhcp-base/RELNOTES | 25 | share/doc/isc-dhcp/RELNOTES | |
26 | share/doc/isc-dhcp-base/References.txt | 26 | share/doc/isc-dhcp/References.txt | |
27 | @dirrm share/doc/isc-dhcp-base | 27 | @dirrm share/doc/isc-dhcp | |
28 | @dirrm include/isc-dhcp | 28 | @dirrm include/isc-dhcp | |
29 | @dirrm include/omapip | 29 | @dirrm include/omapip |
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: buildlink3.mk,v 1.1.1.1 2008/02/13 22:03:58 adrianp Exp $ | 1 | # $NetBSD: buildlink3.mk,v 1.2 2009/01/04 00:56:32 adrianp Exp $ | |
2 | 2 | |||
3 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ | 3 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ | |
4 | ISC_DHCP_BASE_BUILDLINK3_MK:= ${ISC_DHCP_BASE_BUILDLINK3_MK}+ | 4 | ISC_DHCP_BUILDLINK3_MK:= ${ISC_DHCP_BUILDLINK3_MK}+ | |
5 | 5 | |||
6 | .if ${BUILDLINK_DEPTH} == "+" | 6 | .if ${BUILDLINK_DEPTH} == "+" | |
7 | BUILDLINK_DEPENDS+= isc-dhcp-base | 7 | BUILDLINK_DEPENDS+= isc-dhcp | |
8 | .endif | 8 | .endif | |
9 | 9 | |||
10 | BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nisc-dhcp-base} | 10 | BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nisc-dhcp} | |
11 | BUILDLINK_PACKAGES+= isc-dhcp-base | 11 | BUILDLINK_PACKAGES+= isc-dhcp | |
12 | BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}isc-dhcp-base | 12 | BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}isc-dhcp | |
13 | 13 | |||
14 | .if ${ISC_DHCP_BASE_BUILDLINK3_MK} == "+" | 14 | .if ${ISC_DHCP_BUILDLINK3_MK} == "+" | |
15 | BUILDLINK_API_DEPENDS.isc-dhcp-base+= isc-dhcp-base>=4.0.0 | 15 | BUILDLINK_API_DEPENDS.isc-dhcp+= isc-dhcp>=4.1.0 | |
16 | BUILDLINK_PKGSRCDIR.isc-dhcp-base?= ../../net/isc-dhcp4 | 16 | BUILDLINK_PKGSRCDIR.isc-dhcp?= ../../net/isc-dhcp4 | |
17 | .endif # ISC_DHCP_BASE_BUILDLINK3_MK | 17 | .endif # ISC_DHCP_BUILDLINK3_MK | |
18 | 18 | |||
19 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} | 19 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | $NetBSD: patch-aa,v 1.1.1.1 2008/02/13 22:03:58 adrianp Exp $ | 1 | $NetBSD: patch-aa,v 1.2 2009/01/04 00:56:32 adrianp Exp $ | |
2 | 2 | |||
3 | --- server/Makefile.in.orig 2007-12-14 18:26:36.000000000 +0000 | 3 | --- server/Makefile.in.orig 2008-12-05 20:14:57.000000000 +0000 | |
4 | +++ server/Makefile.in | 4 | +++ server/Makefile.in | |
5 | @@ -367,13 +367,6 @@ uninstall-man8: | 5 | @@ -360,13 +360,6 @@ uninstall-man8: | |
6 | done | 6 | done | |
7 | install-dist_sysconfDATA: $(dist_sysconf_DATA) | 7 | install-dist_sysconfDATA: $(dist_sysconf_DATA) | |
8 | @$(NORMAL_INSTALL) | 8 | @$(NORMAL_INSTALL) | |
9 | - test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" | 9 | - test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)" | |
10 | - @list='$(dist_sysconf_DATA)'; for p in $$list; do \ | 10 | - @list='$(dist_sysconf_DATA)'; for p in $$list; do \ | |
11 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 11 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
12 | - f=$(am__strip_dir) \ | 12 | - f=$(am__strip_dir) \ | |
13 | - echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ | 13 | - echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ | |
14 | - $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ | 14 | - $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ | |
15 | - done | 15 | - done | |
16 | 16 | |||
17 | uninstall-dist_sysconfDATA: | 17 | uninstall-dist_sysconfDATA: | |
18 | @$(NORMAL_UNINSTALL) | 18 | @$(NORMAL_UNINSTALL) |
@@ -1,18 +1,18 @@ | @@ -1,18 +1,18 @@ | |||
1 | $NetBSD: patch-ab,v 1.1.1.1 2008/02/13 22:03:58 adrianp Exp $ | 1 | $NetBSD: patch-ab,v 1.2 2009/01/04 00:56:32 adrianp Exp $ | |
2 | 2 | |||
3 | --- client/Makefile.in.orig 2007-12-14 18:26:07.000000000 +0000 | 3 | --- client/Makefile.in.orig 2008-12-05 20:14:48.000000000 +0000 | |
4 | +++ client/Makefile.in | 4 | +++ client/Makefile.in | |
5 | @@ -347,13 +347,6 @@ uninstall-man8: | 5 | @@ -341,13 +341,6 @@ uninstall-man8: | |
6 | done | 6 | done | |
7 | install-dist_sysconfDATA: $(dist_sysconf_DATA) | 7 | install-dist_sysconfDATA: $(dist_sysconf_DATA) | |
8 | @$(NORMAL_INSTALL) | 8 | @$(NORMAL_INSTALL) | |
9 | - test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" | 9 | - test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)" | |
10 | - @list='$(dist_sysconf_DATA)'; for p in $$list; do \ | 10 | - @list='$(dist_sysconf_DATA)'; for p in $$list; do \ | |
11 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | 11 | - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
12 | - f=$(am__strip_dir) \ | 12 | - f=$(am__strip_dir) \ | |
13 | - echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ | 13 | - echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \ | |
14 | - $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ | 14 | - $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \ | |
15 | - done | 15 | - done | |
16 | 16 | |||
17 | uninstall-dist_sysconfDATA: | 17 | uninstall-dist_sysconfDATA: | |
18 | @$(NORMAL_UNINSTALL) | 18 | @$(NORMAL_UNINSTALL) |