ports: Global variables for integrity check

Add global variables to the signature and hash verification tool to
ports/Makefile for use in the individual make templates.

Issue #748
This commit is contained in:
Stephan Mueller 2013-05-26 09:17:16 +02:00 committed by Norman Feske
parent 056e0792e5
commit 64a2447d03

View File

@ -15,6 +15,8 @@ DOWNLOAD_DIR = download
CONTRIB_DIR = contrib
GNU_FIND = find
SHELL = bash
SIGVERIFIER = $(PWD)/../tool/download_sigver
HASHVERIFIER = $(PWD)/../tool/download_hashver
#
# Create download and contrib directory so that '<port>.mk' files
@ -29,6 +31,10 @@ check_tool = $(if $(shell which $(1)),,$(error Need to have '$(1)' installed.))
$(call check_tool,wget)
$(call check_tool,patch)
$(call check_tool,gpg)
$(call check_tool,md5sum)
$(call check_tool,sha1sum)
$(call check_tool,sha256sum)
#
# Include information about available ports