summaryrefslogtreecommitdiff
path: root/package/dhcp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/dhcp/Makefile')
-rw-r--r--package/dhcp/Makefile29
1 files changed, 12 insertions, 17 deletions
diff --git a/package/dhcp/Makefile b/package/dhcp/Makefile
index 38cce03ce..1b12e3a5c 100644
--- a/package/dhcp/Makefile
+++ b/package/dhcp/Makefile
@@ -4,37 +4,32 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= dhcp
-PKG_VERSION:= 4.1.0p1
-PKG_RELEASE:= 1
-PKG_MD5SUM:= 325ff8338c5a21f89d5304ac13ffebdf
+PKG_VERSION:= 4.1.1
+PKG_RELEASE:= 2
+PKG_MD5SUM:= 38a74c89d8913b9b5f33737047623c18
PKG_DESCR:= ISC DHCP server
PKG_SECTION:= net
PKG_URL:= https://www.isc.org/software/dhcp
PKG_SITES:= ftp://ftp.isc.org/isc/dhcp/
-PKG_DESCR_1:= ISC DHCP relay server
+PKG_DESCR_RELAY:= ISC DHCP relay server
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}))
+$(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_RELAY},${PKG_SECTION}))
-ifeq ($(ADK_IPV6),y)
-CONFIGURE_ARGS+= --enable-dhcpv6
-else
-CONFIGURE_ARGS+= --disable-dhcpv6
-endif
-
-TCFLAGS+= -D_GNU_SOURCE
-CONFIGURE_STYLE:= gnu
+#TCFLAGS+= -D_GNU_SOURCE
CONFIGURE_ENV+= ac_cv_file__dev_random=yes
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
post-install:
${INSTALL_DIR} ${IDIR_DHCP_RELAY}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcrelay ${IDIR_DHCP_RELAY}/usr/sbin/
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcrelay \
+ ${IDIR_DHCP_RELAY}/usr/sbin/
${INSTALL_DIR} ${IDIR_DHCP_SERVER}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcpd ${IDIR_DHCP_SERVER}/usr/sbin/
+ ${INSTALL_DIR} ${IDIR_DHCP_SERVER}/etc
+ ${INSTALL_DATA} ./files/dhcpd.conf ${IDIR_DHCP_SERVER}/etc
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcpd \
+ ${IDIR_DHCP_SERVER}/usr/sbin/
include ${TOPDIR}/mk/pkg-bottom.mk