Skip to contentSkip to conversation

tpm-tools: bump to version 1.3.9.1

PATCH New Yair Ben Avraham 2 participants 2 messages Dec 19, 2017 – Jan 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 tpm-tools: bump to version 1.3.9.1

This patch contains the following changes:
- Remove all three patches, they are included in upstream version
- Add locally calculated sha256 hash
- Remove <pkg>_STRIP_COMPONENTS = 2, there is no leading directory
- Remove <pkg>_AUTORECONF and <pkg>_GETTEXTIZE since all the patches are being removed.

---
 ..._nvread-include-sys-stat.h-for-open-modes.patch |  33 -------
 ...-make-sure-libintl-is-in-LDFLAGS-when-nee.patch | 104 ---------------------
 .../0002-configure.in-remove-Werror.patch          |  27 ------
 package/tpm-tools/tpm-tools.hash                   |  10 +-
 package/tpm-tools/tpm-tools.mk                     |   6 +-
 5 files changed, 8 insertions(+), 172 deletions(-)
 delete mode 100644 package/tpm-tools/0001-tpm_nvread-include-sys-stat.h-for-open-modes.patch
 delete mode 100644 package/tpm-tools/0002-Makefile.am-make-sure-libintl-is-in-LDFLAGS-when-nee.patch
 delete mode 100644 package/tpm-tools/0002-configure.in-remove-Werror.patch
package/tpm-tools/0001-tpm_nvread-include-sys-stat.h-for-open-modes.patch deleted +0 -33
deleted file mode 100644
index 35fd763..0000000
@@ -1,33 +0,0 @@
-From 5fedfd32a226e3ac8a6022227ec2d8fc6df26901 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-Date: Thu, 24 Dec 2015 08:57:09 +0100
-Subject: [PATCH] tpm_nvread: include <sys/stat.h> for open() modes
-
-As the manual page of open(2) indicates, the <sys/stat.h> header
-should be included. Indeed, it is this header that provides the mode_t
-macros such as S_IRUSR and S_IWUSR.
-
-While the build happens to work with glibc without this included
-header, it fails with other C libraries such as uClibc, due to the
-missing inclusion.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- src/tpm_mgmt/tpm_nvread.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/tpm_mgmt/tpm_nvread.c b/src/tpm_mgmt/tpm_nvread.c
-index 35fe17c..92f047c 100644
---- a/src/tpm_mgmt/tpm_nvread.c
-+++ b/src/tpm_mgmt/tpm_nvread.c
-@@ -23,6 +23,7 @@
- #include <ctype.h>
- #include <fcntl.h>
- #include <unistd.h>
-+#include <sys/stat.h>
- 
- #include "tpm_nvcommon.h"
- #include "tpm_tspi.h"
--- 
-2.6.4
-
package/tpm-tools/0002-Makefile.am-make-sure-libintl-is-in-LDFLAGS-when-nee.patch deleted +0 -104

104 lines not on this page · raw message

package/tpm-tools/0002-configure.in-remove-Werror.patch deleted +0 -27
deleted file mode 100644
index c101a95..0000000
@@ -1,27 +0,0 @@
-From b060873f444d79f3f5aa388427cb1ede6665834a Mon Sep 17 00:00:00 2001
-From: Kent Yoder <[email protected]>
-Date: Mon, 5 Nov 2012 14:58:31 -0600
-Subject: [PATCH] configure.in: remove -Werror
-
-Signed-off-by: Kent Yoder <[email protected]>
-Signed-off-by: Noe Rubinstein <[email protected]>
----
- configure.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.in b/configure.in
-index da170d0..0f175be 100644
---- a/configure.in
-+++ b/configure.in
-@@ -138,7 +138,7 @@ AC_TYPE_SIZE_T
- AC_TYPE_SIGNAL
- AC_TYPE_UID_T
- 
--CFLAGS="$CFLAGS -Wall -Werror -Wreturn-type -Wsign-compare"
-+CFLAGS="$CFLAGS -Wall -Wreturn-type -Wsign-compare"
- 
- AC_CONFIG_FILES(./Makefile		\
- 		po/Makefile.in		\
--- 
-2.1.4
-
package/tpm-tools/tpm-tools.hash +7 -3
index 8c1ff89..a2da230 100644
@@ -1,3 +1,7 @@
-# http://sourceforge.net/projects/trousers/files/tpm-tools/1.3.8/
-sha1 f2c799ac8dc78f3537e1dbe4ae7c6e93f37e868c tpm-tools-1.3.8.tar.gz
-md5  85a978c4e03fefd4b73cbeadde7c4d0b         tpm-tools-1.3.8.tar.gz
+# http://sourceforge.net/projects/trousers/files/tpm-tools/1.3.9.1/
+sha1 c35cb031c6b5220dd1c8a03995654fdd12aa3031 tpm-tools-1.3.9.1.tar.gz
+md5  1532293aa632a0eaa7e60df87c779855         tpm-tools-1.3.9.1.tar.gz
+
+# Locally calculated
+sha256 9cb714e2650826e2e932f65bc0ba9d61b927dc5fea47f2c2a2b64f0fdfcbfa68 tpm-tools-1.3.9.1.tar.gz
+sha256 7b47225a5b77cb7825efc6a4d7e0ac57864c790542cf92f5080ec2bf310c00e5 LICENSE
package/tpm-tools/tpm-tools.mk +1 -5
index 4dbf50a..b673825 100644
@@ -4,15 +4,11 @@
 #
 ################################################################################
 
-TPM_TOOLS_VERSION = 1.3.8
+TPM_TOOLS_VERSION = 1.3.9.1
 TPM_TOOLS_SITE = http://downloads.sourceforge.net/project/trousers/tpm-tools/$(TPM_TOOLS_VERSION)
-TPM_TOOLS_STRIP_COMPONENTS = 2
 TPM_TOOLS_LICENSE = Common Public License Version 1.0
 TPM_TOOLS_LICENSE_FILES = LICENSE
 TPM_TOOLS_DEPENDENCIES = trousers openssl $(TARGET_NLS_DEPENDENCIES)
-# configure.in and lib/Makefile.am is patched
-TPM_TOOLS_AUTORECONF = YES
-TPM_TOOLS_GETTEXTIZE = YES
 
 TPM_TOOLS_CONF_OPTS = --disable-pkcs11-support
 
Signature · 4 lines
Yair Ben-Avraham
Tk Open Systems Ltd.
052-343-2297
yairba at tkos.co.il
#1 lore raw

PATCH v3 1/1 tpm-tools: bump to version 1.3.9.1

Hello,

Quoted 8 lines · Yair Ben Avraham

This patch contains the following changes:
- Remove all three patches, they are included in upstream version
- Add locally calculated sha256 hash
- Remove <pkg>_STRIP_COMPONENTS = 2, there is no leading directory
- Remove <pkg>_AUTORECONF and <pkg>_GETTEXTIZE since all the patches are being removed.

Quoted 10 lines
---
 ..._nvread-include-sys-stat.h-for-open-modes.patch |  33 -------
 ...-make-sure-libintl-is-in-LDFLAGS-when-nee.patch | 104 ---------------------
 .../0002-configure.in-remove-Werror.patch          |  27 ------
 package/tpm-tools/tpm-tools.hash                   |  10 +-
 package/tpm-tools/tpm-tools.mk                     |   6 +-
 5 files changed, 8 insertions(+), 172 deletions(-)
 delete mode 100644 package/tpm-tools/0001-tpm_nvread-include-sys-stat.h-for-open-modes.patch
 delete mode 100644 package/tpm-tools/0002-Makefile.am-make-sure-libintl-is-in-LDFLAGS-when-nee.patch
 delete mode 100644 package/tpm-tools/0002-configure.in-remove-Werror.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com