summaryrefslogtreecommitdiff
path: root/payloads/external/tint/Makefile
diff options
context:
space:
mode:
authorMike Banon <mikebdp2@gmail.com>2018-02-23 19:14:06 +0300
committerPatrick Georgi <pgeorgi@google.com>2018-06-07 06:41:17 +0000
commita16cffe480f0e4ce8da28e2893d27f012963ab5a (patch)
tree338bc3bad9a1704bc3ff3704182db54ee6ee59aa /payloads/external/tint/Makefile
parentf6d14773b24ef918bdafb1108ccbd87aa742fada (diff)
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 <mikebdp2@gmail.com> Reviewed-on: https://review.coreboot.org/23852 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/external/tint/Makefile')
-rw-r--r--payloads/external/tint/Makefile12
1 files changed, 8 insertions, 4 deletions
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