forked from pool/tboot
- spec file adjustments
- tboot-fix.patch: fixed printf type mismatch OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=21
This commit is contained in:
parent
2144898384
commit
2a956fdf9c
16
tboot-fix.patch
Normal file
16
tboot-fix.patch
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
||||
@@ -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;
|
||||
}
|
||||
|
@ -17,8 +17,9 @@ Wed Oct 10 15:31:57 UTC 2012 - meissner@suse.com
|
||||
Add description for option min_ram in README.
|
||||
new tboot cmdline option "min_ram=0xXXXXXX"
|
||||
Update test-patches/tpm-test.patch to fit in latest code.
|
||||
|
||||
- zlib patch upstreamed.
|
||||
- spec file adjustments
|
||||
- tboot-fix.patch: fixed printf type mismatch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 13:20:57 CEST 2012 - meissner@suse.de
|
||||
|
@ -25,6 +25,7 @@ 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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: trousers-devel
|
||||
@ -38,6 +39,7 @@ and verified launch of an OS kernel/VMM.
|
||||
|
||||
%prep
|
||||
%setup -q -n %name-%ver
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
Loading…
x
Reference in New Issue
Block a user