diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-21 23:02:06 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-21 23:02:06 +0000 |
commit | 17057a805e54103d740d3499c013d5a0b0b4c1ea (patch) | |
tree | f17e010692719e02dbb74e33b3b71e12285cec25 /include/download.mk | |
parent | e29c4698e94365bc47981ccc057076425f74ab8d (diff) | |
download | upstream-17057a805e54103d740d3499c013d5a0b0b4c1ea.tar.gz upstream-17057a805e54103d740d3499c013d5a0b0b4c1ea.tar.bz2 upstream-17057a805e54103d740d3499c013d5a0b0b4c1ea.zip |
add support for md5sum checks for mirrored tarballs of packages with version control source urls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26260 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/download.mk')
-rw-r--r-- | include/download.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/download.mk b/include/download.mk index fd197ea216..7009bfcd44 100644 --- a/include/download.mk +++ b/include/download.mk @@ -45,7 +45,7 @@ define DownloadMethod/default endef define wrap_mirror - $(if $(MIRROR),@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ( $(1) ),$(1)) + $(if $(MIRROR),@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "$(MIRROR_MD5SUM)" || ( $(1) ),$(1)) endef define DownloadMethod/cvs @@ -158,6 +158,7 @@ define Download/Defaults MD5SUM:= SUBDIR:= MIRROR:=1 + MIRROR_MD5SUM:=x VERSION:= endef |