From 64a2447d03f47c9020b2b6461f96ea8f7d8bc423 Mon Sep 17 00:00:00 2001 From: Stephan Mueller Date: Sun, 26 May 2013 09:17:16 +0200 Subject: [PATCH] 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 --- ports/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ports/Makefile b/ports/Makefile index 12262963b..869f56384 100644 --- a/ports/Makefile +++ b/ports/Makefile @@ -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 '.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