diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-10 00:01:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-10 00:01:14 +0100 |
commit | 17e5f1ea4a2e1c5664f96480ca46348d008e8711 (patch) | |
tree | 7166d1b58a582290a4ad23ff5882cca911b8035c /app-crypt/tpm2-tss/files | |
parent | a0ce545d52f231499bf9f3644493113d8af58ec9 (diff) |
gentoo auto-resync : 10:05:2024 - 00:01:13
Diffstat (limited to 'app-crypt/tpm2-tss/files')
-rw-r--r-- | app-crypt/tpm2-tss/files/tpm2-tss-4.1.1-Remove-bash-syntax.patch | 28 | ||||
-rw-r--r-- | app-crypt/tpm2-tss/files/tpm2-tss-4.1.1-int-log-compiler-common.sh-Remove-dependency-on-whic.patch | 32 |
2 files changed, 60 insertions, 0 deletions
diff --git a/app-crypt/tpm2-tss/files/tpm2-tss-4.1.1-Remove-bash-syntax.patch b/app-crypt/tpm2-tss/files/tpm2-tss-4.1.1-Remove-bash-syntax.patch new file mode 100644 index 000000000000..81673e55f4fa --- /dev/null +++ b/app-crypt/tpm2-tss/files/tpm2-tss-4.1.1-Remove-bash-syntax.patch @@ -0,0 +1,28 @@ +From 03726ba7684d672201dd773a49b7bec86ca877f5 Mon Sep 17 00:00:00 2001 +From: David Seifert <soap@gentoo.org> +Date: Tue, 7 May 2024 20:37:14 +0200 +Subject: [PATCH] Remove bash syntax + +* `==` is bash and not POSIX +Bug: https://bugs.gentoo.org/931239 +Signed-off-by: David Seifert <soap@gentoo.org> +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index a763b683..eb6051ea 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -652,7 +652,7 @@ AS_IF([test "x$enable_self_generated_certificate" = xyes], + [AC_DEFINE([SELF_GENERATED_CERTIFICATE], [1], [Allow usage of self generated root certificate])], + [AS_IF([test "x$integration_tcti" != "xdevice"], [AC_DEFINE([FAPI_TEST_EK_CERT_LESS], [1], [Perform integration tests without EK certificate verification])])]) + +-AM_CONDITIONAL([INIT_CA], [test "x$enable_self_generated_certificate" == xyes]) ++AM_CONDITIONAL([INIT_CA], [test "x$enable_self_generated_certificate" = xyes]) + + AS_IF([test "x$enable_integration" = "xyes" && test "x$enable_self_generated_certificate" != "xyes" && test "x$integration_tcti" != "xdevice"], + [AC_MSG_WARN([Running integration tests without EK certificate verification, use --enable-self-generated-certificate for full test coverage])]) +-- +2.43.2 + diff --git a/app-crypt/tpm2-tss/files/tpm2-tss-4.1.1-int-log-compiler-common.sh-Remove-dependency-on-whic.patch b/app-crypt/tpm2-tss/files/tpm2-tss-4.1.1-int-log-compiler-common.sh-Remove-dependency-on-whic.patch new file mode 100644 index 000000000000..1a3a203ae5b1 --- /dev/null +++ b/app-crypt/tpm2-tss/files/tpm2-tss-4.1.1-int-log-compiler-common.sh-Remove-dependency-on-whic.patch @@ -0,0 +1,32 @@ +From ce2ca92af5f215e9c3fa262ea40de0c1d2ff71a3 Mon Sep 17 00:00:00 2001 +From: Christopher Byrne <salah.coronya@gmail.com> +Date: Fri, 3 May 2024 10:30:34 -0500 +Subject: [PATCH] int-log-compiler-common.sh: Remove dependency on which + +Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> +--- + script/int-log-compiler-common.sh | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/script/int-log-compiler-common.sh b/script/int-log-compiler-common.sh +index 5d0b3b95..5dddd77a 100755 +--- a/script/int-log-compiler-common.sh ++++ b/script/int-log-compiler-common.sh +@@ -55,12 +55,12 @@ sanity_test () + exit 1 + fi + +- if [ -z "$(which ${sock_tool})" ]; then ++ if [ -z "$(command -v ${sock_tool})" ]; then + echo "ss not on PATH; exiting" + exit 1 + fi + +- if [[ ! -z ${simulator_bin} && -z "$(which ${simulator_bin})" ]]; then ++ if [[ ! -z ${simulator_bin} && -z "$(command -v ${simulator_bin})" ]]; then + echo "${simulator_bin} not on PATH; exiting" + exit 1 + fi +-- +2.43.2 + |