summaryrefslogtreecommitdiff
path: root/package/dhcp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/dhcp/Makefile')
-rw-r--r--package/dhcp/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/package/dhcp/Makefile b/package/dhcp/Makefile
index adaa35c..ae19e89 100644
--- a/package/dhcp/Makefile
+++ b/package/dhcp/Makefile
@@ -6,9 +6,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= dhcp
-PKG_VERSION:= 3.0.7
+PKG_VERSION:= 4.1.0
PKG_RELEASE:= 1
-PKG_MD5SUM:= 426bfa1712ababaff4be6dadee9c1982
+PKG_MD5SUM:= 1fffed2e8c3d67b111316d6a9b33db7a
PKG_DESCR:= ISC DHCP server
PKG_SECTION:= net
PKG_URL:= https://www.isc.org/software/dhcp
@@ -21,12 +21,14 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DHCP_SERVER,dhcp-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION}))
-do-configure:
- (cd ${WRKBUILD} ; \
- ./configure --copts "${TARGET_CFLAGS}" linux-2.2 \
- );
+ifeq ($(ADK_IPV6),y)
+CONFIGURE_ARGS+= --enable-dhcpv6
+else
+CONFIGURE_ARGS+= --disable-dhcpv6
+endif
-MAKE_FLAGS+= RANLIB=${TARGET_CROSS}ranlib
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= ac_cv_file__dev_random=yes
BUILD_STYLE= auto
INSTALL_STYLE= auto