Changeset 26260


Ignore:
Timestamp:
2011-03-22T00:02:06+01:00 (6 years ago)
Author:
nbd
Message:

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

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/download.mk

    r26129 r26260  
    4646 
    4747define wrap_mirror 
    48         $(if $(MIRROR),@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "x" || ( $(1) ),$(1)) 
     48        $(if $(MIRROR),@$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "$(MIRROR_MD5SUM)" || ( $(1) ),$(1)) 
    4949endef 
    5050 
     
    159159  SUBDIR:= 
    160160  MIRROR:=1 
     161  MIRROR_MD5SUM:=x 
    161162  VERSION:= 
    162163endef 
  • trunk/include/package.mk

    r26181 r26260  
    8080  PROTO:=$(PKG_SOURCE_PROTO) 
    8181  $(if $(PKG_SOURCE_MIRROR),MIRROR:=$(filter 1,$(PKG_MIRROR))) 
     82  $(if $(PKG_MIRROR_MD5SUM),MIRROR_MD5SUM:=$(PKG_MIRROR_MD5SUM)) 
    8283  VERSION:=$(PKG_SOURCE_VERSION) 
    8384  MD5SUM:=$(PKG_MD5SUM) 
Note: See TracChangeset for help on using the changeset viewer.