summaryrefslogtreecommitdiff
path: root/package/dhcp
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2016-10-11 12:20:17 +0100
committerPeter Korsgaard <peter@korsgaard.com>2016-10-13 08:02:27 +0200
commit091a2e9ef687e338040b58ba508b27edc556dd7c (patch)
tree8a3ea5764ab976d38ae46e4f9c08a4f33c6d4b87 /package/dhcp
parent917bf769db061995667abfc7a4ae36e79cc2a546 (diff)
dhcp: bump version to 4.3.5
- 0001-dhcp-cross-compile.patch is now upstream: https://source.isc.org/cgi-bin/gitweb.cgi?p=dhcp.git;a=commit;h=e2f36ff16f7de5fb6e028354a2cc04a181e887b4 - 0003-bind-host-cc.patch is now upstream: https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=commit;h=118394ef2ec7cef253c55359a3d70d202ddc2fa0 - --with-randomdev configure option can now be used normally. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/dhcp')
-rw-r--r--package/dhcp/0001-dhcp-cross-compile.patch34
-rw-r--r--package/dhcp/0003-bind-host-cc.patch40
-rw-r--r--package/dhcp/dhcp.hash4
-rw-r--r--package/dhcp/dhcp.mk7
4 files changed, 5 insertions, 80 deletions
diff --git a/package/dhcp/0001-dhcp-cross-compile.patch b/package/dhcp/0001-dhcp-cross-compile.patch
deleted file mode 100644
index 95b468915..000000000
--- a/package/dhcp/0001-dhcp-cross-compile.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-dhcp cross compile support integration
-
-Allow BINDCONFIG to be initialized in environment passed to configure.
-
-Allow archiver to be determined during configure.
-
-This patch is submitted upstream as part of a cross compiling enhancement
-suggestion to dhcp-suggest@isc.org. Reference ISC-Bugs #41502.
-
-Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
-
-Index: dhcp-4.3.3-P1/configure.ac
-===================================================================
---- dhcp-4.3.3-P1.orig/configure.ac
-+++ dhcp-4.3.3-P1/configure.ac
-@@ -33,7 +33,7 @@ if test "$GCC" = "yes"; then
- fi
-
- # We can have some flags to pass to bind configure
--BINDCONFIG=
-+BINDCONFIG="$BINDCONFIG"
- AC_SUBST(BINDCONFIG)
-
- # POSIX doesn't include the IPv6 Advanced Socket API and glibc hides
-@@ -43,6 +43,9 @@ AC_SUBST(BINDCONFIG)
- # Use this to define _GNU_SOURCE to pull in the IPv6 Advanced Socket API.
- AC_USE_SYSTEM_EXTENSIONS
-
-+AC_CHECK_TOOL(AR,ar)
-+AC_SUBST(AR)
-+
- AC_PROG_RANLIB
- AC_CONFIG_HEADERS([includes/config.h])
-
diff --git a/package/dhcp/0003-bind-host-cc.patch b/package/dhcp/0003-bind-host-cc.patch
deleted file mode 100644
index 96c144fff..000000000
--- a/package/dhcp/0003-bind-host-cc.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-ensure host compiler is used
-
-dns/Makefile.in patch is derived from:
-http://wiki.beyondlogic.org/patches/dhcp-4.3.0b1.bind_arm-linux-gnueabi.patch
-
-This patch is already accepted upstream and will be included in the next
-release:
---[snip]--
-From Francis Dupont via RT <dhcp-suggest@isc.org>
-To rdkehn@yahoo.com
-
-Message body
-It was fixed on the master branch sometimes ago.
-Quoting master RELNOTES:
-
-- Made the embedded bind libraries able to be cross compiled
- (please refer to the bind9 documentation to learn how to cross
- compile DHCP and its bind library dependency).
- [ISC-Bugs #38836]
-
-This is in the Changes since 4.3.3 so for the next release.
---[snip]--
-
-Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
-
-Index: dhcp-4.3.3-P1/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in
-===================================================================
---- dhcp-4.3.3-P1.orig/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in
-+++ dhcp-4.3.3-P1/bind/bind-9.9.7-P3/lib/export/dns/Makefile.in
-@@ -168,7 +168,9 @@ code.h: gen
- ./gen -s ${srcdir} > code.h
-
- gen: ${srcdir}/gen.c
-- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
-+ ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
-+ ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c \
-+ ${BUILD_LIBS}
-
- #We don't need rbtdb64 for this library
- #rbtdb64.@O@: rbtdb.c
diff --git a/package/dhcp/dhcp.hash b/package/dhcp/dhcp.hash
index fd9b24ad6..7898aa45d 100644
--- a/package/dhcp/dhcp.hash
+++ b/package/dhcp/dhcp.hash
@@ -1,2 +1,2 @@
-# Verified from https://ftp.isc.org/isc/dhcp/4.3.3-P1/dhcp-4.3.3-P1.tar.gz.sha256.asc
-sha256 c11e896dffa1bfbc49462965d3f6dec45534e34068603546d9a236f2aa669921 dhcp-4.3.3-P1.tar.gz
+# Verified from https://ftp.isc.org/isc/dhcp/4.3.5/dhcp-4.3.5.tar.gz.sha256.asc
+sha256 eb95936bf15d2393c55dd505bc527d1d4408289cec5a9fa8abb99f7577e7f954 dhcp-4.3.5.tar.gz
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index 5cb6043e7..4d2cb0635 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -4,17 +4,16 @@
#
################################################################################
-DHCP_VERSION = 4.3.3-P1
+DHCP_VERSION = 4.3.5
DHCP_SITE = http://ftp.isc.org/isc/dhcp/$(DHCP_VERSION)
DHCP_INSTALL_STAGING = YES
DHCP_LICENSE = ISC
DHCP_LICENSE_FILES = LICENSE
DHCP_CONF_ENV = \
CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \
- -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \
- ac_cv_file__dev_random=yes \
- BINDCONFIG='--with-randomdev=/dev/random'
+ -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"'
DHCP_CONF_OPTS = \
+ --with-randomdev=/dev/random \
--with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \
--with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \
--with-cli-lease-file=/var/lib/dhcp/dhclient.leases \