Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 48209C0015E for ; Sat, 15 Jul 2023 20:48:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id AA9EB4051B; Sat, 15 Jul 2023 20:48:16 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org AA9EB4051B X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LYcMFpAS3RGD; Sat, 15 Jul 2023 20:48:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id C382840191; Sat, 15 Jul 2023 20:48:14 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org C382840191 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8CA521BF33C for ; Sat, 15 Jul 2023 20:48:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 73A0581453 for ; Sat, 15 Jul 2023 20:48:12 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 73A0581453 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gn3GnintGBdo for ; Sat, 15 Jul 2023 20:48:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 7DA1B81446 Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp1.osuosl.org (Postfix) with ESMTPS id 7DA1B81446 for ; Sat, 15 Jul 2023 20:48:10 +0000 (UTC) Received: from fli4l.lan.fli4l (p5b3a0896.dip0.t-ipconnect.de [91.58.8.150]) by dd20012.kasserver.com (Postfix) with ESMTPSA id E1628A4C00F8; Sat, 15 Jul 2023 22:48:04 +0200 (CEST) Received: from bruckner.lan.fli4l ([192.168.1.1]:33556) by fli4l.lan.fli4l with esmtp (Exim 4.96) (envelope-from ) id 1qKmBQ-0003xb-1f; Sat, 15 Jul 2023 22:48:04 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 15 Jul 2023 22:48:04 +0200 Message-Id: <20230715204804.3340437-1-bernd@kuhls.net> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spamd-Bar: + X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202306131828; t=1689454084; bh=6ry1PSSX8VPNfvaywtB6+KgrADgdRyb+CPqraia0I/s=; h=From:To:Cc:Subject:Date:From; b=x5qIAJgHnqOKg15HEJ8BBNPDFTuO/AWOYEtuZwvpb1PNUCMFAXXXp4wJ0QnN+xZYx shmAG54SUnknNSAw9dtlmz+R80WLDE1f2WETq+Mh/KarOy8xp2Ak1iSbZDWW9QwyyD GtjEsrg2hH+vicOAD2Pd1mCfsKgVx6QMoVPdtsh1tT4YbSsDAvVIQ9hg0S4X/oLiYm hNErz15s9HLQdWR1+qcWOYfn9jfNZrjtpk1n6LsZmxI3/tHN/oxdXA7jxGYZCPBBk8 ndbTBR2nDC8lNnJE70v48mgyNxfc/wTjqGkkYp7p6lSIA0yRlpFX2UKLqS49o9GztU DBcNp5/pp732g== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202306131828 header.b=x5qIAJgH Subject: [Buildroot] [PATCH 1/1] package/ibm-sw-tpm2: bump version X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philippe Reynes Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Switch from tarball to git checkout, upstream does not provide tarballs anymore: https://sourceforge.net/projects/ibmswtpm2/files/ Rebased patch. This bump introduces compatibility with OpenSSL 3.x: https://sourceforge.net/p/ibmswtpm2/tpm2/ci/920ce656af833ce6fb2b76c34cf8f58a4b6a4175/ Signed-off-by: Bernd Kuhls --- .../0001-Use-LONG_BIT-to-define-RADIX_BITS.patch | 14 ++++++++++++-- package/ibm-sw-tpm2/ibm-sw-tpm2.hash | 5 +---- package/ibm-sw-tpm2/ibm-sw-tpm2.mk | 6 +++--- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch b/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch index 4d86534899..bb5d3a96ee 100644 --- a/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch +++ b/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch @@ -12,6 +12,8 @@ as we're now using >= POSIX.1-2001 definitions of fd_set and friends. Signed-off-by: Thomas Petazzoni Signed-off-by: Vincent Fazio +[Bernd: rebased for git rev 5452af422edeff70fcae8ea99dd28a0922051d7b] +Signed-off-by: Bernd Kuhls --- src/LibSupport.h | 21 +++------------------ src/TcpServerPosix.c | 1 + @@ -22,7 +24,7 @@ diff --git a/src/LibSupport.h b/src/LibSupport.h index 5055560..48b1e16 100644 --- a/src/LibSupport.h +++ b/src/LibSupport.h -@@ -64,24 +64,9 @@ +@@ -64,32 +64,9 @@ #ifndef _LIB_SUPPORT_H_ #define _LIB_SUPPORT_H_ @@ -40,6 +42,14 @@ index 5055560..48b1e16 100644 - || defined(_M_ARM) || defined(__arm__) || defined(__thumb__) \ - || defined(__powerpc__) || defined(__PPC__) -# define RADIX_BITS 32 +-# elif defined(__riscv) || defined(__riscv__) +-# if __riscv_xlen == 32 +-# define RADIX_BITS 32 +-# elif __riscv_xlen == 64 +-# define RADIX_BITS 64 +-# else +-# error Unsupported __riscv_xlen value +-# endif -# else -# error Unable to determine RADIX_BITS from compiler environment -# endif @@ -66,7 +76,7 @@ diff --git a/src/makefile b/src/makefile index f124e78..6ee128e 100644 --- a/src/makefile +++ b/src/makefile -@@ -46,6 +46,8 @@ CCFLAGS = -Wall \ +@@ -47,6 +47,8 @@ CCFLAGS = -Wall \ -c -ggdb -O0 \ -DTPM_POSIX \ -D_POSIX_ \ diff --git a/package/ibm-sw-tpm2/ibm-sw-tpm2.hash b/package/ibm-sw-tpm2/ibm-sw-tpm2.hash index bddcd57f21..e47aa6acbd 100644 --- a/package/ibm-sw-tpm2/ibm-sw-tpm2.hash +++ b/package/ibm-sw-tpm2/ibm-sw-tpm2.hash @@ -1,6 +1,3 @@ -# from https://sourceforge.net/projects/ibmswtpm2/files -sha1 a2a5335024a2edc1739f08b99e716fa355be627d ibmtpm1563.tar.gz -md5 13013612b3a13dc935fefe1a5684179c ibmtpm1563.tar.gz # Locally computed: -sha256 55145928ad2b24f34be6a0eacf9fb492e10e0ea919b8428c721fa970e85d6147 ibmtpm1661.tar.gz +sha256 d11203a73946ad14ca39f4b74742c0d81762dbe7e913a4685f92620f1d6fe295 ibm-sw-tpm2-5452af422edeff70fcae8ea99dd28a0922051d7b-br1.tar.gz sha256 dd2d31b560011ea673e197251e710e52669d911367d83cd3cfd018f8ed58bde9 LICENSE diff --git a/package/ibm-sw-tpm2/ibm-sw-tpm2.mk b/package/ibm-sw-tpm2/ibm-sw-tpm2.mk index 1e4dc949c1..4df61fe028 100644 --- a/package/ibm-sw-tpm2/ibm-sw-tpm2.mk +++ b/package/ibm-sw-tpm2/ibm-sw-tpm2.mk @@ -4,9 +4,9 @@ # ################################################################################ -IBM_SW_TPM2_VERSION = 1661 -IBM_SW_TPM2_SOURCE = ibmtpm$(IBM_SW_TPM2_VERSION).tar.gz -IBM_SW_TPM2_SITE = https://sourceforge.net/projects/ibmswtpm2/files +IBM_SW_TPM2_VERSION = 5452af422edeff70fcae8ea99dd28a0922051d7b +IBM_SW_TPM2_SITE = https://git.code.sf.net/p/ibmswtpm2/tpm2 +IBM_SW_TPM2_SITE_METHOD = git IBM_SW_TPM2_LICENSE = BSD-3-Clause IBM_SW_TPM2_LICENSE_FILES = LICENSE IBM_SW_TPM2_DEPENDENCIES = openssl -- 2.39.2 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot