summaryrefslogtreecommitdiffstats
path: root/package/dhcp/dhcp.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-02-24 19:36:18 +0000
committerEric Andersen <andersen@codepoet.org>2005-02-24 19:36:18 +0000
commita6cfd2849093f5750282d70c05b03aa9ba0dfd28 (patch)
tree94dea52f802dae3182e5c62a93f8a321f5af4000 /package/dhcp/dhcp.mk
parent487f8c9d03a62f92b69c22afaa7f6c5082494c72 (diff)
downloadbuildroot-novena-a6cfd2849093f5750282d70c05b03aa9ba0dfd28.tar.gz
buildroot-novena-a6cfd2849093f5750282d70c05b03aa9ba0dfd28.zip
Update to ISC dhcp 3.0.2
Diffstat (limited to 'package/dhcp/dhcp.mk')
-rw-r--r--package/dhcp/dhcp.mk15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index de67f59e8..f0ce972dc 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -3,10 +3,11 @@
# dhcp
#
#############################################################
-DHCP:=dhcp-3.0.1.tar.gz
+DHCP_VER:=3.0.2
+DHCP_SOURCE:=dhcp-$(DHCP_VER).tar.gz
DHCP_SITE:=ftp://ftp.isc.org/isc/dhcp
DHCP_CAT:=zcat
-DHCP_DIR:=$(BUILD_DIR)/dhcp-3.0.1
+DHCP_DIR:=$(BUILD_DIR)/dhcp-$(DHCP_VER)
DHCP_RELAY_BINARY:=work.linux-2.2/relay/dhcrelay
DHCP_SERVER_TARGET_BINARY:=usr/sbin/dhcpd
DHCP_RELAY_TARGET_BINARY:=usr/sbin/dhcrelay
@@ -15,13 +16,13 @@ BVARS=PREDEFINES='-D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" \
-D_PATH_DHCLIENT_DB=\"/var/lib/dhcp/dhclient.leases\"' \
VARDB=/var/lib/dhcp
-$(DL_DIR)/$(DHCP):
- $(WGET) -P $(DL_DIR) $(DHCP_SITE)/$(DHCP)
+$(DL_DIR)/$(DHCP_SOURCE):
+ $(WGET) -P $(DL_DIR) $(DHCP_SITE)/$(DHCP_SOURCE)
-dhcp-source: $(DL_DIR)/$(DHCP)
+dhcp-source: $(DL_DIR)/$(DHCP_SOURCE)
-$(DHCP_DIR)/.unpacked: $(DL_DIR)/$(DHCP)
- $(DHCP_CAT) $(DL_DIR)/$(DHCP) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+$(DHCP_DIR)/.unpacked: $(DL_DIR)/$(DHCP_SOURCE)
+ $(DHCP_CAT) $(DL_DIR)/$(DHCP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(DHCP_DIR) package/dhcp/ dhcp*.patch
touch $(DHCP_DIR)/.unpacked