From 8c11ca8b3bd467809a43f47c80bc3f7e4eb0ceb13cd240f023e5409ef8c2c6e6 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 28 Jul 2014 12:14:44 +0000 Subject: [PATCH] - updated to 1.8.2/20140728 Security Fix: TBOOT Argument Measurement Vulnerability for GRUB2 + ELF Kernels fix werror in 32 bit build environment OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=39 --- tboot-1.8.1.tar.gz | 3 --- tboot-1.8.2.tar.gz | 3 +++ tboot-fix.patch | 25 ------------------------- tboot.changes | 7 +++++++ tboot.spec | 5 ++--- 5 files changed, 12 insertions(+), 31 deletions(-) delete mode 100644 tboot-1.8.1.tar.gz create mode 100644 tboot-1.8.2.tar.gz delete mode 100644 tboot-fix.patch diff --git a/tboot-1.8.1.tar.gz b/tboot-1.8.1.tar.gz deleted file mode 100644 index ceaf827..0000000 --- a/tboot-1.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8007c868c33ac4764d6477febcff5f829c6598b3cf8c8cf97aa3b06c7802a3aa -size 547222 diff --git a/tboot-1.8.2.tar.gz b/tboot-1.8.2.tar.gz new file mode 100644 index 0000000..91a0f19 --- /dev/null +++ b/tboot-1.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:358c7b22412087927d6d04b130c1268e5d00252b4caef0fe3cdaa5194f652cd1 +size 566048 diff --git a/tboot-fix.patch b/tboot-fix.patch deleted file mode 100644 index 9c9271e..0000000 --- a/tboot-fix.patch +++ /dev/null @@ -1,25 +0,0 @@ -Index: tboot-1.7.2/tb_polgen/param.c -=================================================================== ---- tboot-1.7.2.orig/tb_polgen/param.c -+++ tboot-1.7.2/tb_polgen/param.c -@@ -184,7 +184,7 @@ void print_params(param_data_t *params) - info_msg("\t pcr = %d\n", params->pcr); - info_msg("\t hash_type = %d\n", params->hash_type); - info_msg("\t pos = %d\n", params->pos); -- info_msg("\t cmdline length = %lu\n", strlen(params->cmdline)); -+ info_msg("\t cmdline length = %u\n", (unsigned int)strlen(params->cmdline)); - info_msg("\t cmdline = %s\n", params->cmdline); - info_msg("\t image_file = %s\n", params->image_file); - info_msg("\t elt_file = %s\n", params->elt_file); -@@ -409,9 +409,9 @@ bool parse_input_params(int argc, char * - return false; - } - if (strlen(optarg) > sizeof(params->cmdline) - 1) { -- error_msg("Command line length of %lu exceeds %d " -+ error_msg("Command line length of %u exceeds %d " - "character maximum\n", -- strlen(optarg), TBOOT_KERNEL_CMDLINE_SIZE-1); -+ (int)strlen(optarg), TBOOT_KERNEL_CMDLINE_SIZE-1); - return false; - } - diff --git a/tboot.changes b/tboot.changes index 2d35e75..f6d170f 100644 --- a/tboot.changes +++ b/tboot.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jul 28 12:14:12 UTC 2014 - meissner@suse.com + +- updated to 1.8.2/20140728 + Security Fix: TBOOT Argument Measurement Vulnerability for GRUB2 + ELF Kernels + fix werror in 32 bit build environment + ------------------------------------------------------------------- Mon May 19 11:11:10 UTC 2014 - meissner@suse.com diff --git a/tboot.spec b/tboot.spec index fc1bfce..a4506d0 100644 --- a/tboot.spec +++ b/tboot.spec @@ -17,15 +17,14 @@ Name: tboot -%define ver 1.8.1 -Version: 20130705_1.8.0 +%define ver 1.8.2 +Version: 20140728_1.8.2 Release: 0 Summary: Performs a verified launch using Intel(R) TXT License: BSD-3-Clause Group: Productivity/Security Url: http://sourceforge.net/projects/tboot/ Source0: http://downloads.sourceforge.net/project/tboot/tboot/tboot-%{ver}.tar.gz -Patch0: tboot-fix.patch Patch1: tboot-grub2-suse.patch Patch3: tboot-grub2-fix-menu-in-xen-host-server.patch Patch4: tboot-grub2-fix-xen-submenu-name.patch