summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 10:23:54 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-29 10:23:54 +0000
commitcff93989619df834c3d869f1038df54c186c026e (patch)
treeb4b70c164b8cd24ab5992c1ecc1d1d20aefeaa5a /package
parent8bdb7bd3aadff4b68ad59bb482411ad88a72af64 (diff)
- bump version. Fetch from old/ dir if the version is out-of-date.
Thanks to Pavel Roskin
Diffstat (limited to 'package')
-rw-r--r--package/dm/dm.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/dm/dm.mk b/package/dm/dm.mk
index b3fb5c9f7..832cd9318 100644
--- a/package/dm/dm.mk
+++ b/package/dm/dm.mk
@@ -24,10 +24,11 @@
# USA
DM_BASEVER=1.02
-DM_PATCH=12
+DM_PATCH=13
DM_VERSION=$(DM_BASEVER).$(DM_PATCH)
DM_SOURCE:=device-mapper.$(DM_VERSION).tgz
DM_SITE:=ftp://sources.redhat.com/pub/dm
+DM_SITE_OLD:=ftp://sources.redhat.com/pub/dm/old
DM_CAT:=$(ZCAT)
DM_DIR:=$(BUILD_DIR)/device-mapper.$(DM_VERSION)
DM_STAGING_BINARY:=$(STAGING_DIR)/sbin/dmsetup
@@ -36,7 +37,8 @@ DM_STAGING_LIBRARY:=$(STAGING_DIR)/lib/libdevmapper.so
DM_TARGET_LIBRARY:=$(TARGET_DIR)/usr/lib/libdevmapper.so
$(DL_DIR)/$(DM_SOURCE):
- $(WGET) -P $(DL_DIR) $(DM_SITE)/$(DM_SOURCE)
+ $(WGET) -P $(DL_DIR) $(DM_SITE)/$(DM_SOURCE) || \
+ $(WGET) -P $(DL_DIR) $(DM_SITE_OLD)/$(DM_SOURCE)
$(DM_DIR)/.unpacked: $(DL_DIR)/$(DM_SOURCE)
$(DM_CAT) $(DL_DIR)/$(DM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -