pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net isc-dhcp: update ISC DHCP to 4.4.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe91ac1f341a
branches:  trunk
changeset: 410476:fe91ac1f341a
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jan 23 08:11:27 2020 +0000

description:
isc-dhcp: update ISC DHCP to 4.4.2

Update isc-dhcp4, isc-dhclient4, isc-dhcpd4 and isc-dhcrelay4 to 4.4.2.
pkgsrc change: change LICENSE to mpl-2.0.

Here is quote of RELNOTES:

                Internet Systems Consortium DHCP Distribution
                            Version 4.4.2
                            22 January 2020
                             Release Notes

                              NEW FEATURES

Please note that that ISC DHCP is now licensed under the Mozilla Public License,
MPL 2.0. Please see https://www.mozilla.org/en-US/MPL/2.0/ to read the MPL 2.0
license terms.

While release 4.4.2 is primarily a maintenance release that addresses a number
of defects, it does introduce a few new features:

- Keama - Keama is a migration utility that assists in converting ISC DHCP
  server configuration files to Kea configuration files.  It is found in the
  keama subdirectory and includes a README.md file with instructions on how
  to build it as well as a manpage on its usage.

- Two new server parameters related to ping checking were added:

1. ping-cltt-secs which allows the user to specify the number of seconds
   that must elapse since CLTT before a ping check is conducted.

2. ping-timeout-ms which allows the user to specify the amount of time the
   server waits for a ping-check response in milliseconds rather than in
   seconds.

In general, the areas of focus for ISC DHCP 4.4 were:

1. Dynamic DNS additions
2. dhclient improvements
3. Support for dynamic shared libraries

Dynamic DNS Improvements:

- We added three new server configuration parameters which influence DDNS
  conflict resolution:

    1. ddns-dual-stack-mixed-mode - alters DNS conflict resolution behavior
    to mitigate issues with non-compliant clients in dual stack environments.

    2. ddns-guard-id-must-match - relaxes the DHCID RR client id matching
    requirement of DNS conflict resolution.

    3. ddns-other-guard-is-dynamic - alters dual-stack-mixed-mode behavior to
    allow unguarded DNS entries to be overwritten in certain cases

- The server now honors update-static-leases parameter for static DHCPv6
  hosts.

dhclient Improvements:

  - We've added three command line parameters to dhclient:

    1. --prefix-len-hint - directs dhclient to use the given length as
    the prefix length hint when requesting prefixes

    2. --decline-wait-time - instructs the client to wait the given number
    of seconds after declining an IPv4 address before issuing a discover

    3. --address-prefix-len - specifies the prefix length passed by dhclient
    into the client script (via the environment variable ip6_prefixlen) with
    each IPv6 address.  We added this parameter because we have changed the
    default value from 64 to 128 in order to be compliant with RFC3315bis
    draft (-09, page 64) and RFC5942, Section 4, point 1.
    **WARNING**: The new default value of 128 may not be backwardly compatible
    with your environment. If you are operating without a router, such as
    between VMs on a host, you may find they cannot see each other with prefix
    length of 128. In such cases, you'll need to either provide routing or use
    the command line parameter to set the value to 64. Alternatively you may
    change the default at compile time by setting DHCLIENT_DEFAULT_PREFIX_LEN
    in includes/site.h.

  - dhclient will now generate a DHCPv6 DECLINE message when the client script
    indicates a DAD failure

Dynamic shared library support:

  Configure script, configure.ac+lt, which supports libtool is now provided
  with the source tar ball.  This script can be used to configure ISC DHCP
  to build with libtool and thus use dynamic shared libraries.

Other Highlights:

 - The server now supports dhcp-cache-threshold for DHCPv6 operations
 - The server now supports DHPv6 address allocation based on EUI-64 DUIDs
 - Experimental support for alternate relay port in the both the server
   and relay for IPv4, IPv6 and 4o6 (see: draft-ietf-dhc-relay-port-10.txt)

diffstat:

 net/isc-dhclient4/Makefile                                                       |   3 +-
 net/isc-dhcp4/Makefile                                                           |   3 +-
 net/isc-dhcp4/Makefile.common                                                    |   9 +++--
 net/isc-dhcp4/distinfo                                                           |  11 ++++---
 net/isc-dhcp4/patches/patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh |  15 ++++++++++
 net/isc-dhcpd4/Makefile                                                          |   3 +-
 net/isc-dhcrelay4/Makefile                                                       |   3 +-
 7 files changed, 30 insertions(+), 17 deletions(-)

diffs (121 lines):

diff -r 285843a5f24b -r fe91ac1f341a net/isc-dhclient4/Makefile
--- a/net/isc-dhclient4/Makefile        Thu Jan 23 08:01:24 2020 +0000
+++ b/net/isc-dhclient4/Makefile        Thu Jan 23 08:11:27 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2020/01/18 21:50:15 jperkin Exp $
+# $NetBSD: Makefile,v 1.14 2020/01/23 08:11:27 taca Exp $
 
 PKGNAME=       isc-dhclient-${DHVER}
-PKGREVISION=   1
 COMMENT=       ISC Dynamic Host Configuration Protocol (DHCP) Client
 BUILD_SUBDIR=  bind includes tests common omapip client
 SUBDIR=                client
diff -r 285843a5f24b -r fe91ac1f341a net/isc-dhcp4/Makefile
--- a/net/isc-dhcp4/Makefile    Thu Jan 23 08:01:24 2020 +0000
+++ b/net/isc-dhcp4/Makefile    Thu Jan 23 08:11:27 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2020/01/18 21:50:15 jperkin Exp $
+# $NetBSD: Makefile,v 1.17 2020/01/23 08:11:27 taca Exp $
 
 PKGNAME=       isc-dhcp-${DHVER}
-PKGREVISION=   1
 COMMENT=       ISC Dynamic Host Configuration Protocol (DHCP) Base
 BUILD_SUBDIR=  bind includes tests common # dst
 SUBDIR=                includes common # dst
diff -r 285843a5f24b -r fe91ac1f341a net/isc-dhcp4/Makefile.common
--- a/net/isc-dhcp4/Makefile.common     Thu Jan 23 08:01:24 2020 +0000
+++ b/net/isc-dhcp4/Makefile.common     Thu Jan 23 08:11:27 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.39 2019/08/27 08:12:01 adam Exp $
+# $NetBSD: Makefile.common,v 1.40 2020/01/23 08:11:27 taca Exp $
 #
 # used by net/isc-dhcp4/Makefile
 # used by net/isc-dhcpd4/Makefile
@@ -13,11 +13,11 @@
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              https://www.isc.org/dhcp/
-LICENSE=               isc
+LICENSE=               mpl-2.0
 
 CONFLICTS+=            isc-dhcp-base-3.*
 
-VERSION=               4.4.1
+VERSION=               4.4.2
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -83,8 +83,9 @@
 BIND_CONFIGURE_ARGS+=  --with-export-includedir=${WRKSRC}/bind/include
 BIND_CONFIGURE_ARGS+=  --with-export-libdir=${WRKSRC}/bind/lib
 BIND_CONFIGURE_ARGS+=  --with-gssapi=no
+BIND_CONFIGURE_ARGS+=  --with-python=no
 
-BIND_WRKSRC=           ${WRKSRC}/bind/bind-9.11.2-P1
+BIND_WRKSRC=           ${WRKSRC}/bind/bind-9.11.14
 
 post-configure:
        ${RUN}${_ULIMIT_CMD}                                    \
diff -r 285843a5f24b -r fe91ac1f341a net/isc-dhcp4/distinfo
--- a/net/isc-dhcp4/distinfo    Thu Jan 23 08:01:24 2020 +0000
+++ b/net/isc-dhcp4/distinfo    Thu Jan 23 08:11:27 2020 +0000
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.28 2018/03/21 15:05:05 taca Exp $
+$NetBSD: distinfo,v 1.29 2020/01/23 08:11:27 taca Exp $
 
-SHA1 (dhcp-4.4.1.tar.gz) = 7be2c4911107f613c2d4b0a943261603c6b8507a
-RMD160 (dhcp-4.4.1.tar.gz) = e3fd6af7b95ba2734f1c987fb485a18565147017
-SHA512 (dhcp-4.4.1.tar.gz) = 684ae349f224918c9f8cec7bd6c55cd0b83ad2b5827375b2876ca088eb05b7ff1364e50f6dc24f2485c610d9be94d4ba3020f60a0fa0ef63962349d191b887e7
-Size (dhcp-4.4.1.tar.gz) = 11164378 bytes
+SHA1 (dhcp-4.4.2.tar.gz) = cb4ba6617e1bc2e3cbf770be5c0443b1ad276db5
+RMD160 (dhcp-4.4.2.tar.gz) = 4313051060f14c0d742ea70475d6cd506cbd45f1
+SHA512 (dhcp-4.4.2.tar.gz) = c3dee2cf6e4b43d519d4bc89e9b8b12a6e3747d8c4edc0f83d4a88355a483b91a5f7d2353a3c0a2f37f88704fd2f64478ac5161ca72b10c42cebcb92907afa40
+Size (dhcp-4.4.2.tar.gz) = 9906235 bytes
 SHA1 (patch-aa) = da090b3b824f5d437f8d05ce00e2ac4dfc65d6af
 SHA1 (patch-ab) = 0683dd2259e48184713559aa0356ee352aa52c39
 SHA1 (patch-ac) = a7e6808a6e1e93c520eb085f31259f6c142750f4
+SHA1 (patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh) = d6d0baf70de0b5349ac164a4affb55dea9fcca51
 SHA1 (patch-common_dlpi.c) = 14cb1c1aed610b1d6952b26a7775caa06b6a8792
diff -r 285843a5f24b -r fe91ac1f341a net/isc-dhcp4/patches/patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/isc-dhcp4/patches/patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh  Thu Jan 23 08:11:27 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-bind_bind-9.11.14_bin_tests_system_metadata_tests.sh,v 1.1 2020/01/23 08:11:27 taca Exp $
+
+Fix shell portability.
+
+--- bind/bind-9.11.14/bin/tests/system/metadata/tests.sh.orig  2019-12-12 11:36:39.000000000 +0000
++++ bind/bind-9.11.14/bin/tests/system/metadata/tests.sh
+@@ -137,7 +137,7 @@ status=`expr $status + $ret`
+ 
+ echo_i "checking warning about permissions change on key with dnssec-settime ($n)"
+ uname=`uname -o 2> /dev/null`
+-if [ Cygwin == "$uname"  ]; then
++if [ Cygwin = "$uname"  ]; then
+       echo_i "Cygwin detected, skipping"
+ else
+       ret=0
diff -r 285843a5f24b -r fe91ac1f341a net/isc-dhcpd4/Makefile
--- a/net/isc-dhcpd4/Makefile   Thu Jan 23 08:01:24 2020 +0000
+++ b/net/isc-dhcpd4/Makefile   Thu Jan 23 08:11:27 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2020/01/18 21:50:16 jperkin Exp $
+# $NetBSD: Makefile,v 1.16 2020/01/23 08:11:27 taca Exp $
 
 PKGNAME=       isc-dhcpd-${DHVER}
-PKGREVISION=   1
 COMMENT=       ISC Dynamic Host Configuration Protocol (DHCP) Server
 BUILD_SUBDIR=  bind includes tests common omapip dhcpctl server
 SUBDIR=                omapip dhcpctl server
diff -r 285843a5f24b -r fe91ac1f341a net/isc-dhcrelay4/Makefile
--- a/net/isc-dhcrelay4/Makefile        Thu Jan 23 08:01:24 2020 +0000
+++ b/net/isc-dhcrelay4/Makefile        Thu Jan 23 08:11:27 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2020/01/18 21:50:16 jperkin Exp $
+# $NetBSD: Makefile,v 1.13 2020/01/23 08:11:27 taca Exp $
 
 PKGNAME=       isc-dhcrelay-${DHVER}
-PKGREVISION=   1
 COMMENT=       ISC Dynamic Host Configuration Protocol (DHCP) Relay
 BUILD_SUBDIR=  bind includes tests common omapip relay
 SUBDIR=                relay



Home | Main Index | Thread Index | Old Index