From a140f134c765f8a6cdad99406090af08b760fc00 Mon Sep 17 00:00:00 2001 From: Stephan Mueller Date: Sat, 25 May 2013 14:49:42 +0200 Subject: [PATCH] libports: Global variables for integrity check Add global variables to the signature and hash verification tool for use in the individual make templates. Issue #748 --- libports/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libports/Makefile b/libports/Makefile index cc5aa7f50..2913b4afe 100644 --- a/libports/Makefile +++ b/libports/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