add support for md5sum checks for mirrored tarballs of packages with version control source urls

SVN-Revision: 26260
This commit is contained in:
Felix Fietkau
2011-03-21 23:02:06 +00:00
parent 48c8a8ddb0
commit b568a64f8c
2 changed files with 3 additions and 1 deletions

View File

@@ -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