Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] tpm2-tss: update to 3.2.0.
@ 2022-08-09 22:47 motorto
  2022-08-21  6:31 ` tranzystorek-io
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: motorto @ 2022-08-09 22:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

There is a new pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages tpm2-tss_update_autoconf
https://github.com/void-linux/void-packages/pull/38567

tpm2-tss: update to 3.2.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l
 
Because of the rebuild because of the autoconf update (#38412), the current version doesn't  compile with autoconf-2.7.1 so updating it so that it can be built with the new version. (easier than patching the software)

Someone could check if this package works properly ?

A patch file from https://github.com/void-linux/void-packages/pull/38567.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tpm2-tss_update_autoconf-38567.patch --]
[-- Type: text/x-diff, Size: 3160 bytes --]

From 03d313622eaddd5e5773aef4bd31e992d9cdfde7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:43:53 +0100
Subject: [PATCH] tpm2-tss: update to 3.2.0.

---
 .../patches/musl-32bit-stat-workaround.patch  | 33 +++++++++++++++++++
 srcpkgs/tpm2-tss/template                     |  8 +++--
 2 files changed, 38 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch

diff --git a/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
new file mode 100644
index 000000000000..44b5e4dee746
--- /dev/null
+++ b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
@@ -0,0 +1,33 @@
+From: https://git.alpinelinux.org/aports/tree/community/tpm2-tss/musl-32bit-stat-workaround.patch
+
+diff --git a/Makefile-test.am b/Makefile-test.am
+index 020b6680..135195ee 100644
+--- a/Makefile-test.am
++++ b/Makefile-test.am
+@@ -648,7 +648,8 @@ test_unit_fapi_io_LDFLAGS = $(TESTS_LDFLAGS) $(JSONC_LIBS) $(CURL_LIBS) \
+                             -Wl,--wrap=write \
+                             -Wl,--wrap=fileno \
+                             -Wl,--wrap=fclose \
+-                            -Wl,--wrap=stat
++                            -Wl,--wrap=stat \
++                            -Wl,--wrap=__stat_time64
+ test_unit_fapi_io_SOURCES = test/unit/fapi-io.c \
+                             src/tss2-fapi/ifapi_json_deserialize.c \
+                             src/tss2-fapi/ifapi_json_serialize.c \
+diff --git a/test/unit/fapi-io.c b/test/unit/fapi-io.c
+index 41600ca9..08936d7e 100644
+--- a/test/unit/fapi-io.c
++++ b/test/unit/fapi-io.c
+@@ -57,6 +57,12 @@ int
+     return 0;
+ }
+ 
++int
++ __wrap___stat_time64(const char *pathname, struct stat *statbuf, ...)
++{
++    return __wrap_stat(pathname, statbuf);
++}
++
+ FILE *
+ __real_fopen(const char *pathname, const char* mode, ...);
+ FILE *
diff --git a/srcpkgs/tpm2-tss/template b/srcpkgs/tpm2-tss/template
index b22b99847776..63b693162f1c 100644
--- a/srcpkgs/tpm2-tss/template
+++ b/srcpkgs/tpm2-tss/template
@@ -1,17 +1,17 @@
 # Template file for 'tpm2-tss'
 pkgname=tpm2-tss
-version=3.0.3
+version=3.2.0
 revision=1
 build_style=gnu-configure
 configure_args="--disable-weakcrypto --with-crypto=mbed --disable-fapi"
-hostmakedepends="autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
+hostmakedepends="shadow autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
 makedepends="libltdl-devel mbedtls-devel"
 short_desc="OSS implementation of the TCG TPM2 Software Stack"
 maintainer="Nathan Owens <ndowens@artixlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/tpm2-software/tpm2-tss"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=2242f2646fc13234dbeaf959d1fb1c23dc07b7786e7acfd98189cdeca1361efd
+checksum=521a8ee45285c1225573031e90b0f8b835166225646a1f66fad1c44858766943
 
 system_accounts="_tss"
 
@@ -24,6 +24,8 @@ pre_build() {
 }
 
 post_install() {
+	rm -rf ${DESTDIR}/etc/tmpfiles.d
+	rm -rf ${DESTDIR}/etc/sysusers.d
 	vlicense LICENSE
 }
 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
@ 2022-08-21  6:31 ` tranzystorek-io
  2022-08-21 10:51 ` motorto
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: tranzystorek-io @ 2022-08-21  6:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

New comment by tranzystorek-io on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#issuecomment-1221478582

Comment:
pkgconfig files in tpm2-tss-devel have a blank `Version` field, so `tpm2-totp` breaks

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
  2022-08-21  6:31 ` tranzystorek-io
@ 2022-08-21 10:51 ` motorto
  2022-08-21 10:53 ` tranzystorek-io
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-08-21 10:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#issuecomment-1221521285

Comment:
> pkgconfig files in tpm2-tss-devel have a blank `Version` field, so `tpm2-totp` breaks

Thanks for the testing could you please tell me what you did to test the package (especially to encounter te error) 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
  2022-08-21  6:31 ` tranzystorek-io
  2022-08-21 10:51 ` motorto
@ 2022-08-21 10:53 ` tranzystorek-io
  2022-08-21 11:25 ` [PR PATCH] [Updated] " motorto
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: tranzystorek-io @ 2022-08-21 10:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by tranzystorek-io on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#issuecomment-1221521608

Comment:
@motorto I temporarily rebased https://github.com/void-linux/void-packages/pull/38515 onto this change and tried to build it

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (2 preceding siblings ...)
  2022-08-21 10:53 ` tranzystorek-io
@ 2022-08-21 11:25 ` motorto
  2022-08-21 11:25 ` motorto
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-08-21 11:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

There is an updated pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages tpm2-tss_update_autoconf
https://github.com/void-linux/void-packages/pull/38567

tpm2-tss: update to 3.2.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l
 
Because of the rebuild because of the autoconf update (#38412), the current version doesn't  compile with autoconf-2.7.1 so updating it so that it can be built with the new version. (easier than patching the software)

Someone could check if this package works properly ?

@ndowens You being the package maintainer does it look okay to you

A patch file from https://github.com/void-linux/void-packages/pull/38567.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tpm2-tss_update_autoconf-38567.patch --]
[-- Type: text/x-diff, Size: 3319 bytes --]

From f2b4b4f5c632aebd79d42192a050fa5b9be2ea93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:43:53 +0100
Subject: [PATCH] tpm2-tss: update to 3.2.0.

---
 .../patches/musl-32bit-stat-workaround.patch  | 33 +++++++++++++++++++
 srcpkgs/tpm2-tss/template                     | 11 +++++--
 2 files changed, 41 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch

diff --git a/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
new file mode 100644
index 000000000000..44b5e4dee746
--- /dev/null
+++ b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
@@ -0,0 +1,33 @@
+From: https://git.alpinelinux.org/aports/tree/community/tpm2-tss/musl-32bit-stat-workaround.patch
+
+diff --git a/Makefile-test.am b/Makefile-test.am
+index 020b6680..135195ee 100644
+--- a/Makefile-test.am
++++ b/Makefile-test.am
+@@ -648,7 +648,8 @@ test_unit_fapi_io_LDFLAGS = $(TESTS_LDFLAGS) $(JSONC_LIBS) $(CURL_LIBS) \
+                             -Wl,--wrap=write \
+                             -Wl,--wrap=fileno \
+                             -Wl,--wrap=fclose \
+-                            -Wl,--wrap=stat
++                            -Wl,--wrap=stat \
++                            -Wl,--wrap=__stat_time64
+ test_unit_fapi_io_SOURCES = test/unit/fapi-io.c \
+                             src/tss2-fapi/ifapi_json_deserialize.c \
+                             src/tss2-fapi/ifapi_json_serialize.c \
+diff --git a/test/unit/fapi-io.c b/test/unit/fapi-io.c
+index 41600ca9..08936d7e 100644
+--- a/test/unit/fapi-io.c
++++ b/test/unit/fapi-io.c
+@@ -57,6 +57,12 @@ int
+     return 0;
+ }
+ 
++int
++ __wrap___stat_time64(const char *pathname, struct stat *statbuf, ...)
++{
++    return __wrap_stat(pathname, statbuf);
++}
++
+ FILE *
+ __real_fopen(const char *pathname, const char* mode, ...);
+ FILE *
diff --git a/srcpkgs/tpm2-tss/template b/srcpkgs/tpm2-tss/template
index b22b99847776..8ca4146e2493 100644
--- a/srcpkgs/tpm2-tss/template
+++ b/srcpkgs/tpm2-tss/template
@@ -1,21 +1,24 @@
 # Template file for 'tpm2-tss'
 pkgname=tpm2-tss
-version=3.0.3
+version=3.2.0
 revision=1
 build_style=gnu-configure
 configure_args="--disable-weakcrypto --with-crypto=mbed --disable-fapi"
-hostmakedepends="autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
+hostmakedepends="shadow autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
 makedepends="libltdl-devel mbedtls-devel"
 short_desc="OSS implementation of the TCG TPM2 Software Stack"
 maintainer="Nathan Owens <ndowens@artixlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/tpm2-software/tpm2-tss"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=2242f2646fc13234dbeaf959d1fb1c23dc07b7786e7acfd98189cdeca1361efd
+checksum=521a8ee45285c1225573031e90b0f8b835166225646a1f66fad1c44858766943
 
 system_accounts="_tss"
 
 pre_configure() {
+	vsed -i \
+	"s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${version}/" \
+		"configure.ac" # fix version
 	./bootstrap
 }
 
@@ -24,6 +27,8 @@ pre_build() {
 }
 
 post_install() {
+	rm -rf ${DESTDIR}/etc/tmpfiles.d
+	rm -rf ${DESTDIR}/etc/sysusers.d
 	vlicense LICENSE
 }
 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (3 preceding siblings ...)
  2022-08-21 11:25 ` [PR PATCH] [Updated] " motorto
@ 2022-08-21 11:25 ` motorto
  2022-08-21 11:27 ` [PR PATCH] [Updated] " motorto
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-08-21 11:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#issuecomment-1221526292

Comment:
Found the issue, could you check if it works now.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (4 preceding siblings ...)
  2022-08-21 11:25 ` motorto
@ 2022-08-21 11:27 ` motorto
  2022-09-10 13:46 ` [PR REVIEW] " paper42
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-08-21 11:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

There is an updated pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages tpm2-tss_update_autoconf
https://github.com/void-linux/void-packages/pull/38567

tpm2-tss: update to 3.2.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l
 
Because of the rebuild because of the autoconf update (#38412), the current version doesn't  compile with autoconf-2.7.1 so updating it so that it can be built with the new version. (easier than patching the software)

Someone could check if this package works properly ?

@ndowens You being the package maintainer does it look okay to you

A patch file from https://github.com/void-linux/void-packages/pull/38567.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tpm2-tss_update_autoconf-38567.patch --]
[-- Type: text/x-diff, Size: 3319 bytes --]

From 100c8ec919c66c2d65456af2a7c7d935d64a7998 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:43:53 +0100
Subject: [PATCH] tpm2-tss: update to 3.2.0.

---
 .../patches/musl-32bit-stat-workaround.patch  | 33 +++++++++++++++++++
 srcpkgs/tpm2-tss/template                     | 11 +++++--
 2 files changed, 41 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch

diff --git a/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
new file mode 100644
index 000000000000..44b5e4dee746
--- /dev/null
+++ b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
@@ -0,0 +1,33 @@
+From: https://git.alpinelinux.org/aports/tree/community/tpm2-tss/musl-32bit-stat-workaround.patch
+
+diff --git a/Makefile-test.am b/Makefile-test.am
+index 020b6680..135195ee 100644
+--- a/Makefile-test.am
++++ b/Makefile-test.am
+@@ -648,7 +648,8 @@ test_unit_fapi_io_LDFLAGS = $(TESTS_LDFLAGS) $(JSONC_LIBS) $(CURL_LIBS) \
+                             -Wl,--wrap=write \
+                             -Wl,--wrap=fileno \
+                             -Wl,--wrap=fclose \
+-                            -Wl,--wrap=stat
++                            -Wl,--wrap=stat \
++                            -Wl,--wrap=__stat_time64
+ test_unit_fapi_io_SOURCES = test/unit/fapi-io.c \
+                             src/tss2-fapi/ifapi_json_deserialize.c \
+                             src/tss2-fapi/ifapi_json_serialize.c \
+diff --git a/test/unit/fapi-io.c b/test/unit/fapi-io.c
+index 41600ca9..08936d7e 100644
+--- a/test/unit/fapi-io.c
++++ b/test/unit/fapi-io.c
+@@ -57,6 +57,12 @@ int
+     return 0;
+ }
+ 
++int
++ __wrap___stat_time64(const char *pathname, struct stat *statbuf, ...)
++{
++    return __wrap_stat(pathname, statbuf);
++}
++
+ FILE *
+ __real_fopen(const char *pathname, const char* mode, ...);
+ FILE *
diff --git a/srcpkgs/tpm2-tss/template b/srcpkgs/tpm2-tss/template
index b22b99847776..8ca4146e2493 100644
--- a/srcpkgs/tpm2-tss/template
+++ b/srcpkgs/tpm2-tss/template
@@ -1,21 +1,24 @@
 # Template file for 'tpm2-tss'
 pkgname=tpm2-tss
-version=3.0.3
+version=3.2.0
 revision=1
 build_style=gnu-configure
 configure_args="--disable-weakcrypto --with-crypto=mbed --disable-fapi"
-hostmakedepends="autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
+hostmakedepends="shadow autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
 makedepends="libltdl-devel mbedtls-devel"
 short_desc="OSS implementation of the TCG TPM2 Software Stack"
 maintainer="Nathan Owens <ndowens@artixlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/tpm2-software/tpm2-tss"
 distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=2242f2646fc13234dbeaf959d1fb1c23dc07b7786e7acfd98189cdeca1361efd
+checksum=521a8ee45285c1225573031e90b0f8b835166225646a1f66fad1c44858766943
 
 system_accounts="_tss"
 
 pre_configure() {
+	vsed -i \
+	"s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${version}/" \
+		"configure.ac" # fix version
 	./bootstrap
 }
 
@@ -24,6 +27,8 @@ pre_build() {
 }
 
 post_install() {
+	rm -rf ${DESTDIR}/etc/tmpfiles.d
+	rm -rf ${DESTDIR}/etc/sysusers.d
 	vlicense LICENSE
 }
 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (5 preceding siblings ...)
  2022-08-21 11:27 ` [PR PATCH] [Updated] " motorto
@ 2022-09-10 13:46 ` paper42
  2022-09-10 13:46 ` paper42
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paper42 @ 2022-09-10 13:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#discussion_r967655362

Comment:
install can only run once, otherwise there will be conflicts, so we should use `rm -r` to make sure this errors out when it's no longer required

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (6 preceding siblings ...)
  2022-09-10 13:46 ` [PR REVIEW] " paper42
@ 2022-09-10 13:46 ` paper42
  2022-09-10 13:46 ` paper42
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paper42 @ 2022-09-10 13:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#discussion_r967655377

Comment:
indent

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (7 preceding siblings ...)
  2022-09-10 13:46 ` paper42
@ 2022-09-10 13:46 ` paper42
  2022-09-10 19:37 ` [PR PATCH] [Updated] " motorto
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paper42 @ 2022-09-10 13:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 163 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#discussion_r967655410

Comment:
expand $homepage

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (8 preceding siblings ...)
  2022-09-10 13:46 ` paper42
@ 2022-09-10 19:37 ` motorto
  2022-09-10 19:37 ` motorto
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-09-10 19:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

There is an updated pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages tpm2-tss_update_autoconf
https://github.com/void-linux/void-packages/pull/38567

tpm2-tss: update to 3.2.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l
 
Because of the rebuild because of the autoconf update (#38412), the current version doesn't  compile with autoconf-2.7.1 so updating it so that it can be built with the new version. (easier than patching the software)

Someone could check if this package works properly ?

@ndowens You being the package maintainer does it look okay to you

A patch file from https://github.com/void-linux/void-packages/pull/38567.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tpm2-tss_update_autoconf-38567.patch --]
[-- Type: text/x-diff, Size: 3400 bytes --]

From 8eb88e3b45f937ed4e4492c71d4b090f19bbf667 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:43:53 +0100
Subject: [PATCH] tpm2-tss: update to 3.2.0.

---
 .../patches/musl-32bit-stat-workaround.patch  | 33 +++++++++++++++++++
 srcpkgs/tpm2-tss/template                     | 13 +++++---
 2 files changed, 42 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch

diff --git a/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
new file mode 100644
index 000000000000..44b5e4dee746
--- /dev/null
+++ b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
@@ -0,0 +1,33 @@
+From: https://git.alpinelinux.org/aports/tree/community/tpm2-tss/musl-32bit-stat-workaround.patch
+
+diff --git a/Makefile-test.am b/Makefile-test.am
+index 020b6680..135195ee 100644
+--- a/Makefile-test.am
++++ b/Makefile-test.am
+@@ -648,7 +648,8 @@ test_unit_fapi_io_LDFLAGS = $(TESTS_LDFLAGS) $(JSONC_LIBS) $(CURL_LIBS) \
+                             -Wl,--wrap=write \
+                             -Wl,--wrap=fileno \
+                             -Wl,--wrap=fclose \
+-                            -Wl,--wrap=stat
++                            -Wl,--wrap=stat \
++                            -Wl,--wrap=__stat_time64
+ test_unit_fapi_io_SOURCES = test/unit/fapi-io.c \
+                             src/tss2-fapi/ifapi_json_deserialize.c \
+                             src/tss2-fapi/ifapi_json_serialize.c \
+diff --git a/test/unit/fapi-io.c b/test/unit/fapi-io.c
+index 41600ca9..08936d7e 100644
+--- a/test/unit/fapi-io.c
++++ b/test/unit/fapi-io.c
+@@ -57,6 +57,12 @@ int
+     return 0;
+ }
+ 
++int
++ __wrap___stat_time64(const char *pathname, struct stat *statbuf, ...)
++{
++    return __wrap_stat(pathname, statbuf);
++}
++
+ FILE *
+ __real_fopen(const char *pathname, const char* mode, ...);
+ FILE *
diff --git a/srcpkgs/tpm2-tss/template b/srcpkgs/tpm2-tss/template
index b22b99847776..e6a1c3adc09e 100644
--- a/srcpkgs/tpm2-tss/template
+++ b/srcpkgs/tpm2-tss/template
@@ -1,21 +1,24 @@
 # Template file for 'tpm2-tss'
 pkgname=tpm2-tss
-version=3.0.3
+version=3.2.0
 revision=1
 build_style=gnu-configure
 configure_args="--disable-weakcrypto --with-crypto=mbed --disable-fapi"
-hostmakedepends="autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
+hostmakedepends="shadow autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
 makedepends="libltdl-devel mbedtls-devel"
 short_desc="OSS implementation of the TCG TPM2 Software Stack"
 maintainer="Nathan Owens <ndowens@artixlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/tpm2-software/tpm2-tss"
-distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=2242f2646fc13234dbeaf959d1fb1c23dc07b7786e7acfd98189cdeca1361efd
+distfiles="https://github.com/tpm2-software/tpm2-tss/archive/${version}.tar.gz"
+checksum=521a8ee45285c1225573031e90b0f8b835166225646a1f66fad1c44858766943
 
 system_accounts="_tss"
 
 pre_configure() {
+	vsed -i \
+		"s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${version}/" \
+		"configure.ac" # fix version
 	./bootstrap
 }
 
@@ -24,6 +27,8 @@ pre_build() {
 }
 
 post_install() {
+	rm -r ${DESTDIR}/etc/tmpfiles.d
+	rm -r ${DESTDIR}/etc/sysusers.d
 	vlicense LICENSE
 }
 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (9 preceding siblings ...)
  2022-09-10 19:37 ` [PR PATCH] [Updated] " motorto
@ 2022-09-10 19:37 ` motorto
  2022-09-10 19:42 ` [PR PATCH] [Updated] " motorto
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-09-10 19:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 156 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#issuecomment-1242794078

Comment:
@paper42 done!

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (10 preceding siblings ...)
  2022-09-10 19:37 ` motorto
@ 2022-09-10 19:42 ` motorto
  2022-09-10 19:43 ` motorto
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-09-10 19:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

There is an updated pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages tpm2-tss_update_autoconf
https://github.com/void-linux/void-packages/pull/38567

tpm2-tss: update to 3.2.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l
 
Because of the rebuild because of the autoconf update (#38412), the current version doesn't  compile with autoconf-2.7.1 so updating it so that it can be built with the new version. (easier than patching the software)

Someone could check if this package works properly ?

@ndowens You being the package maintainer does it look okay to you

A patch file from https://github.com/void-linux/void-packages/pull/38567.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tpm2-tss_update_autoconf-38567.patch --]
[-- Type: text/x-diff, Size: 3252 bytes --]

From 726d6c1d87d7825cca53ccaccba4fb0b4c6d5026 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:43:53 +0100
Subject: [PATCH] tpm2-tss: update to 3.2.0.

---
 .../patches/musl-32bit-stat-workaround.patch  | 33 +++++++++++++++++++
 srcpkgs/tpm2-tss/template                     | 11 ++++---
 2 files changed, 40 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch

diff --git a/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
new file mode 100644
index 000000000000..44b5e4dee746
--- /dev/null
+++ b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
@@ -0,0 +1,33 @@
+From: https://git.alpinelinux.org/aports/tree/community/tpm2-tss/musl-32bit-stat-workaround.patch
+
+diff --git a/Makefile-test.am b/Makefile-test.am
+index 020b6680..135195ee 100644
+--- a/Makefile-test.am
++++ b/Makefile-test.am
+@@ -648,7 +648,8 @@ test_unit_fapi_io_LDFLAGS = $(TESTS_LDFLAGS) $(JSONC_LIBS) $(CURL_LIBS) \
+                             -Wl,--wrap=write \
+                             -Wl,--wrap=fileno \
+                             -Wl,--wrap=fclose \
+-                            -Wl,--wrap=stat
++                            -Wl,--wrap=stat \
++                            -Wl,--wrap=__stat_time64
+ test_unit_fapi_io_SOURCES = test/unit/fapi-io.c \
+                             src/tss2-fapi/ifapi_json_deserialize.c \
+                             src/tss2-fapi/ifapi_json_serialize.c \
+diff --git a/test/unit/fapi-io.c b/test/unit/fapi-io.c
+index 41600ca9..08936d7e 100644
+--- a/test/unit/fapi-io.c
++++ b/test/unit/fapi-io.c
+@@ -57,6 +57,12 @@ int
+     return 0;
+ }
+ 
++int
++ __wrap___stat_time64(const char *pathname, struct stat *statbuf, ...)
++{
++    return __wrap_stat(pathname, statbuf);
++}
++
+ FILE *
+ __real_fopen(const char *pathname, const char* mode, ...);
+ FILE *
diff --git a/srcpkgs/tpm2-tss/template b/srcpkgs/tpm2-tss/template
index b22b99847776..418900c7867b 100644
--- a/srcpkgs/tpm2-tss/template
+++ b/srcpkgs/tpm2-tss/template
@@ -1,21 +1,24 @@
 # Template file for 'tpm2-tss'
 pkgname=tpm2-tss
-version=3.0.3
+version=3.2.0
 revision=1
 build_style=gnu-configure
 configure_args="--disable-weakcrypto --with-crypto=mbed --disable-fapi"
-hostmakedepends="autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
+hostmakedepends="shadow autoconf-archive automake libtool pkg-config doxygen libltdl-devel"
 makedepends="libltdl-devel mbedtls-devel"
 short_desc="OSS implementation of the TCG TPM2 Software Stack"
 maintainer="Nathan Owens <ndowens@artixlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/tpm2-software/tpm2-tss"
-distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=2242f2646fc13234dbeaf959d1fb1c23dc07b7786e7acfd98189cdeca1361efd
+distfiles="https://github.com/tpm2-software/tpm2-tss/archive/${version}.tar.gz"
+checksum=521a8ee45285c1225573031e90b0f8b835166225646a1f66fad1c44858766943
 
 system_accounts="_tss"
 
 pre_configure() {
+	vsed -i \
+		"s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${version}/" \
+		"configure.ac" # fix version
 	./bootstrap
 }
 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (11 preceding siblings ...)
  2022-09-10 19:42 ` [PR PATCH] [Updated] " motorto
@ 2022-09-10 19:43 ` motorto
  2022-09-10 21:35 ` [PR REVIEW] " paper42
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-09-10 19:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 465 bytes --]

New comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#issuecomment-1242794078

Comment:
@paper42 done!

Removed the `rm -rf` command since all the jobs were failing with: 

```
=> tpm2-tss-3.2.0_1: running post_install ...
rm: cannot remove '/destdir//tpm2-tss-3.2.0/etc/tmpfiles.d': No such file or directory
=> ERROR: tpm2-tss-3.2.0_1: post_install: 'rm -r ${DESTDIR}/etc/tmpfiles.d' exited with 1
```

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (12 preceding siblings ...)
  2022-09-10 19:43 ` motorto
@ 2022-09-10 21:35 ` paper42
  2022-09-10 21:59 ` [PR PATCH] [Updated] " motorto
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paper42 @ 2022-09-10 21:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#discussion_r967705594

Comment:
shadow is here for adding a tss user to the chroot, I don't think we want that, is it possible to patch this out?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Updated] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (13 preceding siblings ...)
  2022-09-10 21:35 ` [PR REVIEW] " paper42
@ 2022-09-10 21:59 ` motorto
  2022-09-10 22:00 ` [PR REVIEW] " motorto
  2022-09-13 20:11 ` [PR PATCH] [Merged]: " paper42
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-09-10 21:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

There is an updated pull request by motorto against master on the void-packages repository

https://github.com/motorto/void-packages tpm2-tss_update_autoconf
https://github.com/void-linux/void-packages/pull/38567

tpm2-tss: update to 3.2.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l
 
Because of the rebuild because of the autoconf update (#38412), the current version doesn't  compile with autoconf-2.7.1 so updating it so that it can be built with the new version. (easier than patching the software)

Someone could check if this package works properly ?

@ndowens You being the package maintainer does it look okay to you

A patch file from https://github.com/void-linux/void-packages/pull/38567.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tpm2-tss_update_autoconf-38567.patch --]
[-- Type: text/x-diff, Size: 6092 bytes --]

From 7c654a02f0ad71e2dd656de3711671815271398f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Tue, 9 Aug 2022 23:43:53 +0100
Subject: [PATCH] tpm2-tss: update to 3.2.0.

---
 .../dont-run-sysusers-in-Makefile.patch       | 58 +++++++++++++++++++
 .../patches/musl-32bit-stat-workaround.patch  | 33 +++++++++++
 srcpkgs/tpm2-tss/template                     |  9 ++-
 3 files changed, 97 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/tpm2-tss/patches/dont-run-sysusers-in-Makefile.patch
 create mode 100644 srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch

diff --git a/srcpkgs/tpm2-tss/patches/dont-run-sysusers-in-Makefile.patch b/srcpkgs/tpm2-tss/patches/dont-run-sysusers-in-Makefile.patch
new file mode 100644
index 000000000000..0ba1f836abb2
--- /dev/null
+++ b/srcpkgs/tpm2-tss/patches/dont-run-sysusers-in-Makefile.patch
@@ -0,0 +1,58 @@
+diff --git a/Makefile.am b/Makefile.am
+index ce19aac3..22a8c075 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -498,10 +498,9 @@ fapi-config.json: dist/fapi-config.json.in
+ 		-e 's|[@]userstatedir@|$(userstatedir)|g' \
+ 		< "$<" > "$@"
+ 
+-sysusers_DATA = dist/sysusers.d/tpm2-tss.conf
+ tmpfiles_DATA = tpm2-tss-fapi.conf
+ 
+-EXTRA_DIST += dist/sysusers.d/tpm2-tss.conf dist/tmpfiles.d/tpm2-tss-fapi.conf.in
++EXTRA_DIST += dist/tmpfiles.d/tpm2-tss-fapi.conf.in
+ CLEANFILES += tpm2-tss-fapi.conf
+ 
+ # We have to do this ourselves, in order to get absolute paths
+@@ -726,13 +725,6 @@ EXTRA_DIST += dist/tpm-udev.rules
+ 
+ install-dirs:
+ if HOSTOS_LINUX
+-if SYSD_SYSUSERS
+-	@echo "systemd-sysusers $(DESTDIR)$(sysconfdir)/sysusers.d/tpm2-tss.conf"
+-	@systemd-sysusers $(DESTDIR)$(sysconfdir)/sysusers.d/tpm2-tss.conf || echo "WARNING Failed to create the tss user and group"
+-else
+-	@echo "call make_tss_user_and_group"
+-	@$(call make_tss_user_and_group) || echo "WARNING Failed to create the tss user and group"
+-endif
+ if SYSD_TMPFILES
+ 	@echo "systemd-tmpfiles --create $(DESTDIR)$(sysconfdir)/tmpfiles.d/tpm2-tss-fapi.conf"
+ 	@systemd-tmpfiles --create $(DESTDIR)$(sysconfdir)/tmpfiles.d/tpm2-tss-fapi.conf|| echo "WARNING Failed to create the FAPI directories with the correct permissions"
+diff --git a/configure.ac b/configure.ac
+index 6482944f..44c0e383 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -483,22 +483,9 @@ AS_IF([test "x$enable_integration" = "xyes" && test "x$enable_self_generated_cer
+       [AC_MSG_WARN([Running integration tests without EK certificate verification, use --enable-self-generated-certificate for full test coverage])])
+ 
+ # Check for systemd helper tools used by make install
+-AC_CHECK_PROG(systemd_sysusers, systemd-sysusers, yes)
+-AM_CONDITIONAL(SYSD_SYSUSERS, test "x$systemd_sysusers" = "xyes")
+ AC_CHECK_PROG(systemd_tmpfiles, systemd-tmpfiles, yes)
+ AM_CONDITIONAL(SYSD_TMPFILES, test "x$systemd_tmpfiles" = "xyes")
+ 
+-# Check all tools used by make install
+-AS_IF([test "$HOSTOS" = "Linux"],
+-    [ AC_CHECK_PROG(useradd, useradd, yes)
+-      AC_CHECK_PROG(groupadd, groupadd, yes)
+-      AC_CHECK_PROG(adduser, adduser, yes)
+-      AC_CHECK_PROG(addgroup, addgroup, yes)
+-      AS_IF([test "x$addgroup" != "xyes" && test "x$groupadd" != "xyes" ],
+-         [AC_MSG_ERROR([addgroup or groupadd are needed.])])
+-      AS_IF([test "x$adduser" != "xyes" && test "x$useradd" != "xyes" ],
+-         [AC_MSG_ERROR([adduser or useradd are needed.])])])
+-
+ AC_SUBST([PATH])
+ 
+ dnl --------- Doxy Gen -----------------------
+
diff --git a/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
new file mode 100644
index 000000000000..44b5e4dee746
--- /dev/null
+++ b/srcpkgs/tpm2-tss/patches/musl-32bit-stat-workaround.patch
@@ -0,0 +1,33 @@
+From: https://git.alpinelinux.org/aports/tree/community/tpm2-tss/musl-32bit-stat-workaround.patch
+
+diff --git a/Makefile-test.am b/Makefile-test.am
+index 020b6680..135195ee 100644
+--- a/Makefile-test.am
++++ b/Makefile-test.am
+@@ -648,7 +648,8 @@ test_unit_fapi_io_LDFLAGS = $(TESTS_LDFLAGS) $(JSONC_LIBS) $(CURL_LIBS) \
+                             -Wl,--wrap=write \
+                             -Wl,--wrap=fileno \
+                             -Wl,--wrap=fclose \
+-                            -Wl,--wrap=stat
++                            -Wl,--wrap=stat \
++                            -Wl,--wrap=__stat_time64
+ test_unit_fapi_io_SOURCES = test/unit/fapi-io.c \
+                             src/tss2-fapi/ifapi_json_deserialize.c \
+                             src/tss2-fapi/ifapi_json_serialize.c \
+diff --git a/test/unit/fapi-io.c b/test/unit/fapi-io.c
+index 41600ca9..08936d7e 100644
+--- a/test/unit/fapi-io.c
++++ b/test/unit/fapi-io.c
+@@ -57,6 +57,12 @@ int
+     return 0;
+ }
+ 
++int
++ __wrap___stat_time64(const char *pathname, struct stat *statbuf, ...)
++{
++    return __wrap_stat(pathname, statbuf);
++}
++
+ FILE *
+ __real_fopen(const char *pathname, const char* mode, ...);
+ FILE *
diff --git a/srcpkgs/tpm2-tss/template b/srcpkgs/tpm2-tss/template
index b22b99847776..c487b682d192 100644
--- a/srcpkgs/tpm2-tss/template
+++ b/srcpkgs/tpm2-tss/template
@@ -1,6 +1,6 @@
 # Template file for 'tpm2-tss'
 pkgname=tpm2-tss
-version=3.0.3
+version=3.2.0
 revision=1
 build_style=gnu-configure
 configure_args="--disable-weakcrypto --with-crypto=mbed --disable-fapi"
@@ -10,12 +10,15 @@ short_desc="OSS implementation of the TCG TPM2 Software Stack"
 maintainer="Nathan Owens <ndowens@artixlinux.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/tpm2-software/tpm2-tss"
-distfiles="${homepage}/archive/${version}.tar.gz"
-checksum=2242f2646fc13234dbeaf959d1fb1c23dc07b7786e7acfd98189cdeca1361efd
+distfiles="https://github.com/tpm2-software/tpm2-tss/archive/${version}.tar.gz"
+checksum=521a8ee45285c1225573031e90b0f8b835166225646a1f66fad1c44858766943
 
 system_accounts="_tss"
 
 pre_configure() {
+	vsed -i \
+		"s/m4_esyscmd_s(\[git describe --tags --always --dirty\])/${version}/" \
+		"configure.ac" # fix version
 	./bootstrap
 }
 

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR REVIEW] tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (14 preceding siblings ...)
  2022-09-10 21:59 ` [PR PATCH] [Updated] " motorto
@ 2022-09-10 22:00 ` motorto
  2022-09-13 20:11 ` [PR PATCH] [Merged]: " paper42
  16 siblings, 0 replies; 18+ messages in thread
From: motorto @ 2022-09-10 22:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

New review comment by motorto on void-packages repository

https://github.com/void-linux/void-packages/pull/38567#discussion_r967707485

Comment:
Gentoo seems do to that :) Could you have a look ?

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PR PATCH] [Merged]: tpm2-tss: update to 3.2.0.
  2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
                   ` (15 preceding siblings ...)
  2022-09-10 22:00 ` [PR REVIEW] " motorto
@ 2022-09-13 20:11 ` paper42
  16 siblings, 0 replies; 18+ messages in thread
From: paper42 @ 2022-09-13 20:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 857 bytes --]

There's a merged pull request on the void-packages repository

tpm2-tss: update to 3.2.0.
https://github.com/void-linux/void-packages/pull/38567

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l
 
Because of the rebuild because of the autoconf update (#38412), the current version doesn't  compile with autoconf-2.7.1 so updating it so that it can be built with the new version. (easier than patching the software)

Someone could check if this package works properly ?

@ndowens You being the package maintainer does it look okay to you

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2022-09-13 20:11 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 22:47 [PR PATCH] tpm2-tss: update to 3.2.0 motorto
2022-08-21  6:31 ` tranzystorek-io
2022-08-21 10:51 ` motorto
2022-08-21 10:53 ` tranzystorek-io
2022-08-21 11:25 ` [PR PATCH] [Updated] " motorto
2022-08-21 11:25 ` motorto
2022-08-21 11:27 ` [PR PATCH] [Updated] " motorto
2022-09-10 13:46 ` [PR REVIEW] " paper42
2022-09-10 13:46 ` paper42
2022-09-10 13:46 ` paper42
2022-09-10 19:37 ` [PR PATCH] [Updated] " motorto
2022-09-10 19:37 ` motorto
2022-09-10 19:42 ` [PR PATCH] [Updated] " motorto
2022-09-10 19:43 ` motorto
2022-09-10 21:35 ` [PR REVIEW] " paper42
2022-09-10 21:59 ` [PR PATCH] [Updated] " motorto
2022-09-10 22:00 ` [PR REVIEW] " motorto
2022-09-13 20:11 ` [PR PATCH] [Merged]: " paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).