From a16cffe480f0e4ce8da28e2893d27f012963ab5a Mon Sep 17 00:00:00 2001 From: Mike Banon Date: Fri, 23 Feb 2018 19:14:06 +0300 Subject: tint: upgrade the outdated tint payload from 0.03b to 0.04+nmu1 Fixes two buffer overflows and opens a road to further improvements. All the previous adjustments to libpayload_tint.patch (including the latest "use the current time as random seed") have been preserved. Change-Id: I22e65d18a0b1551f7049c4afe7f95868f584cf9b Signed-off-by: Mike Banon Reviewed-on: https://review.coreboot.org/23852 Reviewed-by: Paul Menzel Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- payloads/external/tint/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'payloads/external/tint/Makefile') diff --git a/payloads/external/tint/Makefile b/payloads/external/tint/Makefile index 0fba6e71eb..5ab89741dd 100644 --- a/payloads/external/tint/Makefile +++ b/payloads/external/tint/Makefile @@ -1,5 +1,5 @@ -project_url=http://snapshot.debian.org/archive/debian-archive/20110127T084257Z/debian/pool/main/t/tint/tint_0.03b.tar.gz -archive_name=tint_0.03b.tar.gz +project_url=http://http.debian.net/debian/pool/main/t/tint/tint_0.04+nmu1.tar.gz +archive_name=tint_0.04+nmu1.tar.gz unexport KCONFIG_AUTOHEADER unexport KCONFIG_AUTOCONFIG @@ -16,13 +16,17 @@ tint: patch patch: download cd tint; \ - if [ -e debian ]; then patch -l -p1 < ../libpayload_tint.patch; fi + if [ -e debian ]; then \ + rm -rf debian typedefs.h Makefile; \ + touch Makefile; \ + patch -l -p1 < ../libpayload_tint.patch; \ + fi download: test -d tint || { wget $(project_url); \ tar -xvf $(archive_name); \ rm $(archive_name); \ - mv tint-0.03b tint; } + mv tint-0.04+nmu1 tint; } clean: test -d tint && $(MAKE) -C tint clean || exit 0 -- cgit v1.2.3