* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
@ 2024-07-21 15:41 ` jhe2
2024-07-21 15:46 ` jhe2
` (55 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 15:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1216 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64
- aarch64-musl
- i686
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 4752 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/2] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From b5bd26920408ced79a27d96822ab0baa5ff40c52 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:23:56 +0200
Subject: [PATCH 2/2] New package: clevis-20
---
srcpkgs/clevis/template | 19 +++++++++++++++++++
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
5 files changed, 74 insertions(+)
create mode 100644 srcpkgs/clevis/template
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..d4b4f5947a0910
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,19 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup libpwquality"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+
+post_install() {
+ vlicense COPYING.openssl
+}
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..83158ef597ea40
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check="no" # fails on some architectures
+
+jose-devel_package() {
+ depends="jose ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..0e4dc09ef52ba0
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta/
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..30886f926f0bf5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="luksmeta ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
2024-07-21 15:41 ` [PR PATCH] [Updated] " jhe2
@ 2024-07-21 15:46 ` jhe2
2024-07-21 15:52 ` jhe2
` (54 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 15:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 4768 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/2] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From 5721dd312ac6fc52875d9cbae35d89ee4350e26c Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:23:56 +0200
Subject: [PATCH 2/2] New package: clevis-20
---
srcpkgs/clevis/template | 19 +++++++++++++++++++
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
5 files changed, 74 insertions(+)
create mode 100644 srcpkgs/clevis/template
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..6c1ce93ade3dd7
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,19 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+
+post_install() {
+ vlicense COPYING.openssl
+}
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..83158ef597ea40
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check="no" # fails on some architectures
+
+jose-devel_package() {
+ depends="jose ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..0e4dc09ef52ba0
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta/
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..30886f926f0bf5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="luksmeta ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
2024-07-21 15:41 ` [PR PATCH] [Updated] " jhe2
2024-07-21 15:46 ` jhe2
@ 2024-07-21 15:52 ` jhe2
2024-07-21 17:49 ` [PR REVIEW] " classabbyamp
` (53 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 15:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 4824 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/2] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From 1e90001ee51e9e40d9a85f7dc3342131f8c8ff26 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:23:56 +0200
Subject: [PATCH 2/2] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
5 files changed, 75 insertions(+)
create mode 100644 srcpkgs/clevis/template
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..17546b3beb2567
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..83158ef597ea40
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check="no" # fails on some architectures
+
+jose-devel_package() {
+ depends="jose ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..0e4dc09ef52ba0
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta/
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..30886f926f0bf5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="luksmeta ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (2 preceding siblings ...)
2024-07-21 15:52 ` jhe2
@ 2024-07-21 17:49 ` classabbyamp
2024-07-21 17:49 ` classabbyamp
` (52 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 17:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685784673
Comment:
fails how? on which architectures?
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (3 preceding siblings ...)
2024-07-21 17:49 ` [PR REVIEW] " classabbyamp
@ 2024-07-21 17:49 ` classabbyamp
2024-07-21 17:49 ` classabbyamp
` (51 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 17:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685784359
Comment:
fails how? on which architectures?
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (4 preceding siblings ...)
2024-07-21 17:49 ` classabbyamp
@ 2024-07-21 17:49 ` classabbyamp
2024-07-21 17:49 ` classabbyamp
` (50 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 17:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685784723
Comment:
```suggestion
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
```
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (5 preceding siblings ...)
2024-07-21 17:49 ` classabbyamp
@ 2024-07-21 17:49 ` classabbyamp
2024-07-21 17:49 ` classabbyamp
` (49 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 17:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685784512
Comment:
```suggestion
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
```
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (6 preceding siblings ...)
2024-07-21 17:49 ` classabbyamp
@ 2024-07-21 17:49 ` classabbyamp
2024-07-21 17:49 ` classabbyamp
` (48 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 17:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685785136
Comment:
why does it need curl during build?
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (7 preceding siblings ...)
2024-07-21 17:49 ` classabbyamp
@ 2024-07-21 17:49 ` classabbyamp
2024-07-21 17:49 ` classabbyamp
` (47 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 17:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685784891
Comment:
symlink has a slash in it, might want to remove the /
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (8 preceding siblings ...)
2024-07-21 17:49 ` classabbyamp
@ 2024-07-21 17:49 ` classabbyamp
2024-07-21 19:13 ` [PR PATCH] [Updated] " jhe2
` (46 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 17:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685784997
Comment:
openssl exception shouldn't be custom
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (9 preceding siblings ...)
2024-07-21 17:49 ` classabbyamp
@ 2024-07-21 19:13 ` jhe2
2024-07-21 19:18 ` [PR REVIEW] " jhe2
` (45 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 5354 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From ca4a10de4deb9b5b7602b1b31def859067016099 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:11:26 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..ad08399bee2aa6
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check="no" # fails on some architectures
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From e991d8712833d32eb0ddbad52816ade17f30820a Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:12:16 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..0e4dc09ef52ba0
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta/
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..0ff273f56e0ef5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 0b120f06b21bfa4f7e314d10152f5f56b80d425b Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:12:53 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..17546b3beb2567
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (10 preceding siblings ...)
2024-07-21 19:13 ` [PR PATCH] [Updated] " jhe2
@ 2024-07-21 19:18 ` jhe2
2024-07-21 19:20 ` jhe2
` (44 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685797751
Comment:
Is there an SPDX identifier for that? xlint complains about it and I couldn't find and identifier on the spdx.org website, which is why I declared it as custom and included the license file.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (11 preceding siblings ...)
2024-07-21 19:18 ` [PR REVIEW] " jhe2
@ 2024-07-21 19:20 ` jhe2
2024-07-21 19:21 ` jhe2
` (43 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 529 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685798102
Comment:
It doesn't actually use curl. So no network access or anything, but for one optional feature (tang server support), meson checks if curl is available and only then does it enable that feature. It was only able to find it, when curl was available on the build host. I guess it is not really designed for cross-compilation, but having it available at build time appears to do the trick.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (12 preceding siblings ...)
2024-07-21 19:20 ` jhe2
@ 2024-07-21 19:21 ` jhe2
2024-07-21 19:21 ` jhe2
` (42 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 150 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685798172
Comment:
Done.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (13 preceding siblings ...)
2024-07-21 19:21 ` jhe2
@ 2024-07-21 19:21 ` jhe2
2024-07-21 19:25 ` jhe2
` (41 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 150 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685798206
Comment:
Done.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (14 preceding siblings ...)
2024-07-21 19:21 ` jhe2
@ 2024-07-21 19:25 ` jhe2
2024-07-21 19:33 ` [PR PATCH] [Updated] " jhe2
` (40 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685798718
Comment:
Test 2 of 25 dies with a SIGSEGV on x86_64-glibc.
```
2/25 alg_comp FAIL 0.05s killed by signal 11 SIGSEGV
```
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (15 preceding siblings ...)
2024-07-21 19:25 ` jhe2
@ 2024-07-21 19:33 ` jhe2
2024-07-21 19:34 ` [PR REVIEW] " jhe2
` (39 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 5354 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From ca4a10de4deb9b5b7602b1b31def859067016099 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:11:26 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..ad08399bee2aa6
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check="no" # fails on some architectures
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 3042a48e9d602de8ee6dc90998a4ee926a44973a Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:33:29 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..321d6d0c8c3e50
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+#make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 48bc068374fd79a03ead4a6df4e0aa7927715dd3 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:33:40 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..17546b3beb2567
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (16 preceding siblings ...)
2024-07-21 19:33 ` [PR PATCH] [Updated] " jhe2
@ 2024-07-21 19:34 ` jhe2
2024-07-21 19:35 ` [PR PATCH] [Updated] " jhe2
` (38 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 150 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685799939
Comment:
Done.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (17 preceding siblings ...)
2024-07-21 19:34 ` [PR REVIEW] " jhe2
@ 2024-07-21 19:35 ` jhe2
2024-07-21 19:45 ` jhe2
` (37 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 5353 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From ca4a10de4deb9b5b7602b1b31def859067016099 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:11:26 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..ad08399bee2aa6
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check="no" # fails on some architectures
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From a1491cceb258f476ebc619930c1c38d97991fe2e Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:35:13 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..0ff273f56e0ef5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From fbf77fe3d4633b2af5aa3f7775c23f686989f5c8 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:35:21 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..17546b3beb2567
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (18 preceding siblings ...)
2024-07-21 19:35 ` [PR PATCH] [Updated] " jhe2
@ 2024-07-21 19:45 ` jhe2
2024-07-21 19:54 ` [PR REVIEW] " jhe2
` (36 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 5365 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From ca4a10de4deb9b5b7602b1b31def859067016099 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:11:26 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..ad08399bee2aa6
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check="no" # fails on some architectures
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From be95eeb0af3014e42844528038565a5c44ff41a6 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:44:59 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..84bf163b13d643
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+#make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 71a33c101b7dd9305f31ee1577617712a0c33c8a Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:45:10 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..17546b3beb2567
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (19 preceding siblings ...)
2024-07-21 19:45 ` jhe2
@ 2024-07-21 19:54 ` jhe2
2024-07-21 19:55 ` [PR PATCH] [Updated] " jhe2
` (35 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685802498
Comment:
One of the tests failing tries to create a LUKS container in a 4 MB file and doesn't succeed doing so because apparantly that's too small, again on x86_64-glibc. I don't know why it uses such a small size.
As for the other tests, I don't know what exactly they are trying to test.
```
Device /tmp/luksmeta.3yxzFZhvt7 is too small for activation, there is no remaining space for data.
```
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (20 preceding siblings ...)
2024-07-21 19:54 ` [PR REVIEW] " jhe2
@ 2024-07-21 19:55 ` jhe2
2024-07-21 21:59 ` [PR REVIEW] " classabbyamp
` (34 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-21 19:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 5364 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From ca4a10de4deb9b5b7602b1b31def859067016099 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:11:26 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..ad08399bee2aa6
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check="no" # fails on some architectures
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 88417103c77ab6c53f1ddb4fb2392de0c308fc90 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:55:17 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..31c5da5e5389b5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 49dc7c3a42aac279b343a2d15e670ea0be0b868a Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:55:23 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..17546b3beb2567
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (21 preceding siblings ...)
2024-07-21 19:55 ` [PR PATCH] [Updated] " jhe2
@ 2024-07-21 21:59 ` classabbyamp
2024-07-21 22:08 ` classabbyamp
` (33 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 21:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685819569
Comment:
ok i [misremembered](https://github.com/void-linux/void-packages/pull/38344#discussion_r932635161)
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (22 preceding siblings ...)
2024-07-21 21:59 ` [PR REVIEW] " classabbyamp
@ 2024-07-21 22:08 ` classabbyamp
2024-07-21 22:09 ` classabbyamp
` (32 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 22:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685820902
Comment:
ugh trying to be too automagic... might also want to include bash-completion so it does the completions
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (23 preceding siblings ...)
2024-07-21 22:08 ` classabbyamp
@ 2024-07-21 22:09 ` classabbyamp
2024-07-21 22:09 ` classabbyamp
` (31 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 22:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 193 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685820983
Comment:
would be good to ask upstream about this
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (24 preceding siblings ...)
2024-07-21 22:09 ` classabbyamp
@ 2024-07-21 22:09 ` classabbyamp
2024-07-22 8:16 ` [PR PATCH] [Updated] " jhe2
` (30 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-21 22:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 235 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1685821056
Comment:
there's probably a more detailed log in the build dir, but it would be good to fix
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (25 preceding siblings ...)
2024-07-21 22:09 ` classabbyamp
@ 2024-07-22 8:16 ` jhe2
2024-07-22 8:17 ` [PR REVIEW] " jhe2
` (29 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-22 8:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 5380 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From ca4a10de4deb9b5b7602b1b31def859067016099 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:11:26 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..ad08399bee2aa6
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check="no" # fails on some architectures
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 88417103c77ab6c53f1ddb4fb2392de0c308fc90 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 21:55:17 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..31c5da5e5389b5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From a55879b4684c92c87f8b37442c82c37c4002bd1d Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Mon, 22 Jul 2024 10:16:31 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..483320f63b96f1
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc bash-completion cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (26 preceding siblings ...)
2024-07-22 8:16 ` [PR PATCH] [Updated] " jhe2
@ 2024-07-22 8:17 ` jhe2
2024-07-22 8:17 ` jhe2
` (28 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-22 8:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1686156362
Comment:
Yes, I've now also included bash-completion.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (27 preceding siblings ...)
2024-07-22 8:17 ` [PR REVIEW] " jhe2
@ 2024-07-22 8:17 ` jhe2
2024-07-22 9:01 ` jhe2
` (27 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-22 8:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 158 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1686156811
Comment:
I'll do that.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (28 preceding siblings ...)
2024-07-22 8:17 ` jhe2
@ 2024-07-22 9:01 ` jhe2
2024-07-24 18:45 ` jhe2
` (26 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-22 9:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 234 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1686216343
Comment:
I've opened a [bug report](https://github.com/latchset/luksmeta/issues/15) with upstream.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (29 preceding siblings ...)
2024-07-22 9:01 ` jhe2
@ 2024-07-24 18:45 ` jhe2
2024-07-24 18:53 ` jhe2
` (25 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-24 18:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1690277201
Comment:
Agreed, fixing the issue with the failing test would be good. There is a log file under `masterdir/builddir/jose-14/build/meson-logs/testlog.txt` which contains a block of text for each of the tests, for the one failing test it looks like this:
```
==================================== 2/25 ====================================
test: alg_comp
start time: 18:26:04
duration: 0.05s
result: killed by signal 11 SIGSEGV
command: UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=92 LD_LIBRARY_PATH=/builddir/jose-14/build/lib ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /builddir/jose-14/build/tests/alg_comp
==============================================================================
```
Not really all that much helpful information as far as I can tell. In the same directory there is also a file called `testlog.junit.xml` which mentions the failing test, but the only thing it contains about that test is:
```
<testcase name="alg_comp" classname="jose" time="0.050262451171875"><failure /></testcase>
```
Looking at the source of the test (`masterdir/builddir/jose-14/tests/alg_comp.c`), it looks like this is supposed to do a couple of compression and decompression tests.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (30 preceding siblings ...)
2024-07-24 18:45 ` jhe2
@ 2024-07-24 18:53 ` jhe2
2024-07-24 18:54 ` classabbyamp
` (24 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-24 18:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 558 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1690286123
Comment:
Interestingly, if I manually build `jose` and then manually run the tests via `meson test` in my build directory, all tests pass, including the `alg_comp` test. So what I did was:
```
cd masterdir/builddir/jose-14
mkdir testbuild
cd testbuild
meson setup .. --prefix=/usr
ninja
meson test
```
So it appears that something in the build environment that `xbps-src` configures, causes that test to fail.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (31 preceding siblings ...)
2024-07-24 18:53 ` jhe2
@ 2024-07-24 18:54 ` classabbyamp
2024-07-24 19:32 ` jhe2
` (23 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-07-24 18:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1690287226
Comment:
hm, can you try doing `xbps-src chroot` and running the test manually?
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (32 preceding siblings ...)
2024-07-24 18:54 ` classabbyamp
@ 2024-07-24 19:32 ` jhe2
2024-08-05 16:46 ` [PR PATCH] [Updated] " jhe2
` (22 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-07-24 19:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1690326919
Comment:
I just did that with a clean new build directory and the tests all passed again.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (33 preceding siblings ...)
2024-07-24 19:32 ` jhe2
@ 2024-08-05 16:46 ` jhe2
2024-08-05 16:49 ` [PR REVIEW] " jhe2
` (21 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-05 16:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 7152 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From c76b7df8c8a5b4a6b62abe407a4e664d8c082675 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Mon, 5 Aug 2024 18:45:52 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 66 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..911e39ecb0e2c1
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,66 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+
+# The -Db_lto=true flag from the default meson do_configure causes a test to fail,
+# so we configure the project without it.
+do_configure() {
+ : ${meson_cmd:=meson}
+ : ${meson_builddir:=build}
+ : ${meson_crossfile:="${XBPS_WRAPPERDIR}/meson/xbps_meson.cross"}
+
+ if [ "$CROSS_BUILD" ]; then
+ configure_args+=" --cross-file=${meson_crossfile}"
+ fi
+
+ # binutils ar needs a plugin when LTO is used on static libraries, so we
+ # have to use the gcc-ar wrapper that calls the correct plugin.
+ # As seen in https://github.com/mesonbuild/meson/issues/1646 (and its
+ # solution, https://github.com/mesonbuild/meson/pull/1649), meson fixed
+ # issues with static libraries + LTO by defaulting to gcc-ar themselves.
+ # We also force gcc-ar usage in the crossfile above.
+ export AR="gcc-ar"
+
+ # unbuffered output for continuous logging
+ PYTHONUNBUFFERED=1 ${meson_cmd} setup \
+ --prefix=/usr \
+ --libdir=/usr/lib${XBPS_TARGET_WORDSIZE} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/bin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localedir=/usr/share/locale \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sharedstatedir=/var/lib \
+ --buildtype=plain \
+ --auto-features=auto \
+ --wrap-mode=nodownload \
+ -Db_lto=true \
+ -Db_staticpic=true \
+ ${configure_args} . ${meson_builddir}
+}
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 72546e6856cea042247582616a2d7beded6a1577 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Mon, 5 Aug 2024 18:46:11 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..31c5da5e5389b5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 89b59d71bb98629f9c3927ecda090933a5fbbdfe Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Mon, 5 Aug 2024 18:46:23 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..483320f63b96f1
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc bash-completion cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (34 preceding siblings ...)
2024-08-05 16:46 ` [PR PATCH] [Updated] " jhe2
@ 2024-08-05 16:49 ` jhe2
2024-08-05 16:50 ` jhe2
` (20 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-05 16:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1704394113
Comment:
Ok, so I figured it out. The default meson build-style template uses the `-Db_lto=true`, which appears to be the culprit here. Without it, the problematic test passes without issue.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (35 preceding siblings ...)
2024-08-05 16:49 ` [PR REVIEW] " jhe2
@ 2024-08-05 16:50 ` jhe2
2024-08-05 16:55 ` jhe2
` (19 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-05 16:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 331 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1704394113
Comment:
Ok, so I figured it out. The default meson build-style template uses the `-Db_lto=true` flag, which appears to be the culprit here. Without it, the problematic test passes without issue.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (36 preceding siblings ...)
2024-08-05 16:50 ` jhe2
@ 2024-08-05 16:55 ` jhe2
2024-08-05 16:58 ` [PR PATCH] [Updated] " jhe2
` (18 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-05 16:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 334 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1704394113
Comment:
Ok, so I figured it out. The default meson build-style template uses the `-Db_ndebug=true` flag, which appears to be the culprit here. Without it, the problematic test passes without issue.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (37 preceding siblings ...)
2024-08-05 16:55 ` jhe2
@ 2024-08-05 16:58 ` jhe2
2024-08-05 17:10 ` [PR REVIEW] " jhe2
` (17 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-05 16:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 7155 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From d05fbbadc1170664145ceed972809e792d251729 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Mon, 5 Aug 2024 18:57:34 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 66 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..4390d6f3772a9a
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,66 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+
+# The -Db_ndebug=true flag from the default meson do_configure causes a test to fail,
+# so we configure the project without it.
+do_configure() {
+ : ${meson_cmd:=meson}
+ : ${meson_builddir:=build}
+ : ${meson_crossfile:="${XBPS_WRAPPERDIR}/meson/xbps_meson.cross"}
+
+ if [ "$CROSS_BUILD" ]; then
+ configure_args+=" --cross-file=${meson_crossfile}"
+ fi
+
+ # binutils ar needs a plugin when LTO is used on static libraries, so we
+ # have to use the gcc-ar wrapper that calls the correct plugin.
+ # As seen in https://github.com/mesonbuild/meson/issues/1646 (and its
+ # solution, https://github.com/mesonbuild/meson/pull/1649), meson fixed
+ # issues with static libraries + LTO by defaulting to gcc-ar themselves.
+ # We also force gcc-ar usage in the crossfile above.
+ export AR="gcc-ar"
+
+ # unbuffered output for continuous logging
+ PYTHONUNBUFFERED=1 ${meson_cmd} setup \
+ --prefix=/usr \
+ --libdir=/usr/lib${XBPS_TARGET_WORDSIZE} \
+ --libexecdir=/usr/libexec \
+ --bindir=/usr/bin \
+ --sbindir=/usr/bin \
+ --includedir=/usr/include \
+ --datadir=/usr/share \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localedir=/usr/share/locale \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sharedstatedir=/var/lib \
+ --buildtype=plain \
+ --auto-features=auto \
+ --wrap-mode=nodownload \
+ -Db_lto=true \
+ -Db_staticpic=true \
+ ${configure_args} . ${meson_builddir}
+}
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 7c0f1f439b59b95f8c3d6146f474d329b01564c2 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Mon, 5 Aug 2024 18:57:49 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..31c5da5e5389b5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From b02dcc5599d794c87250d5d9e84da448046f182f Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Mon, 5 Aug 2024 18:57:57 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..483320f63b96f1
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc bash-completion cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (38 preceding siblings ...)
2024-08-05 16:58 ` [PR PATCH] [Updated] " jhe2
@ 2024-08-05 17:10 ` jhe2
2024-08-07 5:56 ` classabbyamp
` (16 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-05 17:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1704414385
Comment:
I was wondering, is there an easy way to have the tests run in a debug configuration, so assertions can be enabled when running tests, but disabled for the release build?
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (39 preceding siblings ...)
2024-08-05 17:10 ` [PR REVIEW] " jhe2
@ 2024-08-07 5:56 ` classabbyamp
2024-08-07 5:59 ` classabbyamp
` (15 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-08-07 5:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1706421354
Comment:
i don't think so
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (40 preceding siblings ...)
2024-08-07 5:56 ` classabbyamp
@ 2024-08-07 5:59 ` classabbyamp
2024-08-07 6:38 ` jhe2
` (14 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-08-07 5:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1706424496
Comment:
can you pass it in configure_args? i would think a flag passed twice would take the later value. if that doesn't work, i'd rather just `make_check=no # tests need -Db_ndebug=true` than copy a section of the build style
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR REVIEW] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (41 preceding siblings ...)
2024-08-07 5:59 ` classabbyamp
@ 2024-08-07 6:38 ` jhe2
2024-08-07 6:41 ` [PR PATCH] [Updated] " jhe2
` (13 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-07 6:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 256 bytes --]
New review comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#discussion_r1706460406
Comment:
Unfortunately, that doesn't work. I'll change it to just have `make_check=no # tests need -Db_ndebug=true`then.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (42 preceding siblings ...)
2024-08-07 6:38 ` jhe2
@ 2024-08-07 6:41 ` jhe2
2024-08-13 15:29 ` elivance
` (12 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-07 6:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 5374 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From ee89042adbf7da8cd4da959dc88c9cb9d7b9d6b2 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 7 Aug 2024 08:40:30 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..ae96cfed72ff81
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,25 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Dwerror=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+make_check=no # tests need -Db_ndebug=true
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From f308b5c79519cbd84d7d88297f757a1de377c51f Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 7 Aug 2024 08:40:43 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..31c5da5e5389b5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From e011ea20492dbebd99d4c4e48783df27c2438262 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 7 Aug 2024 08:40:52 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..483320f63b96f1
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc bash-completion cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (43 preceding siblings ...)
2024-08-07 6:41 ` [PR PATCH] [Updated] " jhe2
@ 2024-08-13 15:29 ` elivance
2024-08-13 17:04 ` jhe2
` (11 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: elivance @ 2024-08-13 15:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1187 bytes --]
New comment by elivance on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#issuecomment-2286536695
Comment:
`jose` builds fine on my machine with `configure_args="-Db_ndebug=false"`
<details>
<summary>
jose template diff
</summary>
```patch
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
index ae96cfed72f..2513893fd38 100644
--- a/srcpkgs/jose/template
+++ b/srcpkgs/jose/template
@@ -3,7 +3,7 @@ pkgname=jose
version=14
revision=1
build_style=meson
-configure_args="-Dwerror=false"
+configure_args="-Db_ndebug=false"
hostmakedepends="asciidoc pkg-config"
makedepends="jansson-devel openssl-devel zlib-devel"
short_desc="C-language implementation of Javascript Object Signing and Encryption"
@@ -12,7 +12,6 @@ license="Apache-2.0"
homepage="https://github.com/latchset/jose"
distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
-make_check=no # tests need -Db_ndebug=true
jose-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
```
</details>
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (44 preceding siblings ...)
2024-08-13 15:29 ` elivance
@ 2024-08-13 17:04 ` jhe2
2024-08-14 2:40 ` elivance
` (10 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-13 17:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
New comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#issuecomment-2286718398
Comment:
> `jose` builds fine on my machine with `configure_args="-Db_ndebug=false"`
> jose template diff
Building it is not the issue, but the tests fail. As I said earlier, `configure_args="-Db_ndebug=false"` wasn't working when I tried it that way. Do the tests really pass on your machine when trying to override the setting via `configure_args`?
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (45 preceding siblings ...)
2024-08-13 17:04 ` jhe2
@ 2024-08-14 2:40 ` elivance
2024-08-14 5:07 ` jhe2
` (9 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: elivance @ 2024-08-14 2:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 35430 bytes --]
New comment by elivance on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#issuecomment-2287725989
Comment:
The tests do indeed pass on my machine (logs below).
I have an x86_64-musl voidlinux machine, and that's also what I am using to build and test `jose`.
<details>
<summary>
Build set up
</summary>
- `git clone https://github.com/jhe2/void-packages`, checked out the clevis branch
- Applied the patch I posted above
- `./xbps-src binary-bootstrap`
</details>
<details>
<summary>
Output from ./xbps-src clean && ./xbps-src pkg jose
</summary>
```text
=> xbps-src: removing autodeps, please wait...
=> xbps-src: cleaning up masterdir...
=> xbps-src: updating repositories for host (x86_64-musl)...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/bootstrap/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/nonfree/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/debug/x86_64-musl-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> jose-14_1: removing autodeps, please wait...
=> jose-14_1: building with [meson] [meson] for x86_64-musl...
[host] asciidoc-10.2.0_2: found (https://repo-default.voidlinux.org/current/musl)
[host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current/musl)
[host] meson-1.4.0_2: found (https://repo-default.voidlinux.org/current/musl)
[target] jansson-devel-2.14_1: found (https://repo-default.voidlinux.org/current/musl)
[target] openssl-devel-3.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
[target] zlib-devel-1.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] jose-14_1: not found (self, ignored)
[runtime] jansson-devel-2.14_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] openssl-devel-3.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] zlib-devel-1.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
=> jose-14_1: installing host dependencies: asciidoc-10.2.0_2 pkg-config-0.29.2_3 meson-1.4.0_2 ...
=> jose-14_1: installing target dependencies: jansson-devel-2.14_1 openssl-devel-3.3.1_1 zlib-devel-1.3.1_1 ...
=> jose-14_1: running do-fetch hook: 00-distfiles ...
=> jose-14_1: fetching distfile 'jose-14.tar.xz' from 'https://github.com/latchset/jose/releases/download/v14/jose-14.tar.xz'...
jose-14.tar.xz: [747KB 0%] 20MB/s ETA: 00m00s
jose-14.tar.xz: 747KB [avg rate: 3760MB/s]
=> jose-14_1: verifying checksum for distfile 'jose-14.tar.xz'... OK.
=> jose-14_1: running do-extract hook: 00-distfiles ...
=> jose-14_1: extracting distfile(s), please wait...
=> jose-14_1: running do-patch hook: 00-patches ...
=> jose-14_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> jose-14_1: running pre-configure hook: 01-override-config ...
=> jose-14_1: running pre-configure hook: 02-script-wrapper ...
=> jose-14_1: running do_configure ...
The Meson build system
Version: 1.4.0
Source dir: /builddir/jose-14
Build dir: /builddir/jose-14/build
Build type: native build
Project name: jose
Project version: 14
C compiler for the host machine: cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency zlib found: YES 1.3.1
Run-time dependency threads found: YES
Run-time dependency jansson found: YES 2.14
Run-time dependency libcrypto found: YES 3.3.1
Program a2x found: YES (/usr/bin/a2x)
Program jq found: NO
Configuring jose.h using configuration
Checking if "-Wl,--version-script=..." : links: YES
Program ./jose-alg found: YES (/builddir/jose-14/tests/./jose-alg)
Program ./jose-fmt found: YES (/builddir/jose-14/tests/./jose-fmt)
Program ./jose-b64-enc found: YES (/builddir/jose-14/tests/./jose-b64-enc)
Program ./jose-b64-dec found: YES (/builddir/jose-14/tests/./jose-b64-dec)
Program ./jose-jwk-eql found: YES (/builddir/jose-14/tests/./jose-jwk-eql)
Program ./jose-jwk-exc found: YES (/builddir/jose-14/tests/./jose-jwk-exc)
Program ./jose-jwk-gen found: YES (/builddir/jose-14/tests/./jose-jwk-gen)
Program ./jose-jwk-pub found: YES (/builddir/jose-14/tests/./jose-jwk-pub)
Program ./jose-jwk-use found: YES (/builddir/jose-14/tests/./jose-jwk-use)
Program ./jose-jwk-thp found: YES (/builddir/jose-14/tests/./jose-jwk-thp)
Program ./jose-jws-fmt found: YES (/builddir/jose-14/tests/./jose-jws-fmt)
Program ./jose-jws-ver found: YES (/builddir/jose-14/tests/./jose-jws-ver)
Program ./jose-jws-sig found: YES (/builddir/jose-14/tests/./jose-jws-sig)
Program ./jose-jwe-fmt found: YES (/builddir/jose-14/tests/./jose-jwe-fmt)
Program ./jose-jwe-dec found: YES (/builddir/jose-14/tests/./jose-jwe-dec)
Program ./jose-jwe-enc found: YES (/builddir/jose-14/tests/./jose-jwe-enc)
Run-time dependency openssl found: YES 3.3.1
Message: jq not found (unrequired but recommended)
Build targets in project: 28
jose 14
User defined options
auto_features : auto
bindir : /usr/bin
buildtype : plain
datadir : /usr/share
includedir : /usr/include
infodir : /usr/share/info
libdir : /usr/lib64
libexecdir : /usr/libexec
localedir : /usr/share/locale
localstatedir : /var
mandir : /usr/share/man
prefix : /usr
sbindir : /usr/bin
sharedstatedir: /var/lib
sysconfdir : /etc
wrap_mode : nodownload
b_lto : true
b_ndebug : false
b_staticpic : true
Found ninja-1.11.1 at /usr/bin/ninja
=> jose-14_1: running pre-build hook: 02-script-wrapper ...
=> jose-14_1: running do_build ...
ninja: Entering directory `build'
[1/86] Compiling C object lib/libjose.so.0.0.0.p/cfg.c.o
[2/86] Compiling C object lib/libjose.so.0.0.0.p/misc.c.o
[3/86] Compiling C object lib/libjose.so.0.0.0.p/io.c.o
[4/86] Compiling C object lib/libjose.so.0.0.0.p/b64.c.o
[5/86] Compiling C object lib/libjose.so.0.0.0.p/hsh.c.o
[6/86] Compiling C object lib/libjose.so.0.0.0.p/hooks.c.o
[7/86] Compiling C object lib/libjose.so.0.0.0.p/zlib_deflate.c.o
[8/86] Compiling C object lib/libjose.so.0.0.0.p/jws.c.o
[9/86] Compiling C object lib/libjose.so.0.0.0.p/jwk.c.o
[10/86] Compiling C object lib/libjose.so.0.0.0.p/jwe.c.o
[11/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aesgcmkw.c.o
[12/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aescbch.c.o
[13/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aesgcm.c.o
[14/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aeskw.c.o
[15/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_compat.c.o
[16/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_dir.c.o
[17/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ec.c.o
[18/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdh.c.o
[19/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecmr.c.o
[20/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdhes.c.o
[21/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_hash.c.o
[22/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdsa.c.o
[23/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_lock.c.o
[24/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_hmac.c.o
[25/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_misc.c.o
[26/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_jwk.c.o
[27/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_oct.c.o
[28/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsa.c.o
[29/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsaes.c.o
[30/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_pbes2.c.o
[31/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsassa.c.o
[32/86] Compiling C object cmd/jose.p/b64_dec.c.o
[33/86] Compiling C object cmd/jose.p/b64_enc.c.o
[34/86] Compiling C object cmd/jose.p/jwk_eql.c.o
[35/86] Compiling C object cmd/jose.p/jwk_exc.c.o
[36/86] Compiling C object cmd/jose.p/jose.c.o
[37/86] Compiling C object cmd/jose.p/jwk_pub.c.o
[38/86] Compiling C object cmd/jose.p/jwk_gen.c.o
[39/86] Compiling C object cmd/jose.p/jwk_thp.c.o
[40/86] Compiling C object cmd/jose.p/jwk_use.c.o
[41/86] Compiling C object cmd/jose.p/jws_fmt.c.o
[42/86] Compiling C object cmd/jose.p/jws_sig.c.o
[43/86] Compiling C object cmd/jose.p/jws_ver.c.o
[44/86] Compiling C object cmd/jose.p/jwe_dec.c.o
[45/86] Compiling C object cmd/jose.p/jwe_fmt.c.o
[46/86] Compiling C object cmd/jose.p/alg.c.o
[47/86] Compiling C object cmd/jose.p/jwe_enc.c.o
[48/86] Compiling C object cmd/jose.p/fmt.c.o
[49/86] Compiling C object tests/alg_hash.p/alg_hash.c.o
[50/86] Compiling C object tests/alg_sign.p/alg_sign.c.o
[51/86] Compiling C object tests/alg_wrap.p/alg_wrap.c.o
[52/86] Compiling C object tests/alg_encr.p/alg_encr.c.o
[53/86] Compiling C object tests/alg_comp.p/alg_comp.c.o
[54/86] Compiling C object tests/api_b64.p/api_b64.c.o
[55/86] Compiling C object tests/api_jws.p/api_jws.c.o
[56/86] Compiling C object tests/api_jwe.p/api_jwe.c.o
[57/86] Compiling C object tests/issue-75/issue75.p/issue-75.c.o
[58/86] Generating jose-alg.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[59/86] Generating jose.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[60/86] Generating jose-b64-dec.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[61/86] Generating jose-b64-enc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[62/86] Generating jose-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[63/86] Generating jose-jwe-dec.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[64/86] Generating jose-jwe-enc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[65/86] Linking target lib/libjose.so.0.0.0
[66/86] Generating jose-jwe-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[67/86] Generating jose-jwk-eql.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[68/86] Generating symbol file lib/libjose.so.0.0.0.p/libjose.so.0.0.0.symbols
[69/86] Generating jose-jwk-exc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[70/86] Generating jose-jwk-gen.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[71/86] Generating jose-jwk-pub.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[72/86] Linking target tests/alg_hash
[73/86] Linking target tests/alg_sign
[74/86] Linking target tests/alg_encr
[75/86] Linking target tests/alg_wrap
[76/86] Linking target tests/api_b64
[77/86] Linking target tests/api_jws
[78/86] Linking target tests/alg_comp
[79/86] Linking target tests/issue-75/issue75
[80/86] Linking target tests/api_jwe
[81/86] Linking target cmd/jose
[82/86] Generating jose-jwk-thp.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[83/86] Generating jose-jwk-use.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[84/86] Generating jose-jws-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[85/86] Generating jose-jws-sig.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[86/86] Generating jose-jws-ver.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
=> jose-14_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> jose-14_1: running pre-install hook: 00-libdir ...
=> jose-14_1: running pre-install hook: 02-script-wrapper ...
=> jose-14_1: running pre-install hook: 98-fixup-gir-path ...
=> jose-14_1: running do_install ...
ninja: Entering directory `build'
[0/1] Installing files.
Installing lib/libjose.so.0.0.0 to /destdir/jose-14/usr/lib64
Installing cmd/jose to /destdir/jose-14/usr/bin
Installing jose.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-alg.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-b64-dec.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-b64-enc.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-fmt.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwe-dec.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwe-enc.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwe-fmt.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-eql.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-exc.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-gen.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-pub.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-thp.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-use.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jws-fmt.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jws-sig.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jws-ver.1 to /destdir/jose-14/usr/share/man/man1
Installing /builddir/jose-14/build/include/jose/jose.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/cfg.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/io.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/b64.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/jwk.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/jws.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/jwe.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/openssl.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_b64.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_jwk.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_jws.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_cfg.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_jwe.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_io_t.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_io.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/COPYING to /destdir/jose-14/usr/share/licenses/jose
Installing /builddir/jose-14/build/meson-private/jose.pc to /destdir/jose-14/usr/lib64/pkgconfig
Installing symlink pointing to libjose.so.0.0.0 to /destdir/jose-14/usr/lib64/libjose.so.0
Installing symlink pointing to libjose.so.0 to /destdir/jose-14/usr/lib64/libjose.so
=> jose-devel-14_1: running pre-install hook: 00-libdir ...
=> jose-devel-14_1: running pre-install hook: 02-script-wrapper ...
=> jose-devel-14_1: running pre-install hook: 98-fixup-gir-path ...
=> jose-devel-14_1: running pkg_install ...
=> jose-devel-14_1: running post-install hook: 00-compress-info-files ...
=> jose-devel-14_1: running post-install hook: 00-fixup-gir-path ...
=> jose-devel-14_1: running post-install hook: 00-libdir ...
=> jose-devel-14_1: running post-install hook: 00-uncompress-manpages ...
=> jose-devel-14_1: running post-install hook: 01-remove-misc ...
=> jose-devel-14_1: running post-install hook: 02-remove-libtool-archives ...
=> jose-devel-14_1: running post-install hook: 02-remove-perl-files ...
=> jose-devel-14_1: running post-install hook: 02-remove-python-bytecode-files ...
=> jose-devel-14_1: running post-install hook: 03-remove-empty-dirs ...
=> jose-devel-14_1: running post-install hook: 04-create-xbps-metadata-scripts ...
=> jose-devel-14_1: running post-install hook: 05-generate-gitrevs ...
=> jose-devel-14_1: running post-install hook: 06-strip-and-debug-pkgs ...
=> jose-devel-14_1: running post-install hook: 10-pkglint-devel-paths ...
=> jose-devel-14_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> jose-devel-14_1: running post-install hook: 12-rename-python3-c-bindings ...
=> jose-devel-14_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> jose-devel-14_1: running post-install hook: 14-fix-permissions ...
=> jose-devel-14_1: running post-install hook: 15-qt-private-api ...
=> jose-devel-14_1: running post-install hook: 80-prepare-32bit ...
=> jose-devel-14_1: running post-install hook: 98-shlib-provides ...
=> jose-devel-14_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> jose-14_1: running post-install hook: 00-compress-info-files ...
=> jose-14_1: running post-install hook: 00-fixup-gir-path ...
=> jose-14_1: running post-install hook: 00-libdir ...
=> jose-14_1: running post-install hook: 00-uncompress-manpages ...
=> jose-14_1: running post-install hook: 01-remove-misc ...
=> jose-14_1: running post-install hook: 02-remove-libtool-archives ...
=> jose-14_1: running post-install hook: 02-remove-perl-files ...
=> jose-14_1: running post-install hook: 02-remove-python-bytecode-files ...
=> jose-14_1: running post-install hook: 03-remove-empty-dirs ...
=> jose-14_1: running post-install hook: 04-create-xbps-metadata-scripts ...
=> jose-14_1: running post-install hook: 05-generate-gitrevs ...
=> jose-14_1: running post-install hook: 06-strip-and-debug-pkgs ...
Stripped position-independent executable: /usr/bin/jose
Stripped library: /usr/lib/libjose.so.0.0.0
=> jose-14_1: running post-install hook: 10-pkglint-devel-paths ...
=> WARNING: usr/share/man/man3 should be in -devel package
=> jose-14_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> jose-14_1: running post-install hook: 12-rename-python3-c-bindings ...
=> jose-14_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> jose-14_1: running post-install hook: 14-fix-permissions ...
=> jose-14_1: running post-install hook: 15-qt-private-api ...
=> jose-14_1: running post-install hook: 80-prepare-32bit ...
=> jose-14_1: running post-install hook: 98-shlib-provides ...
SONAME libjose.so.0 from /usr/lib/libjose.so.0.0.0
=> jose-14_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> jose-devel-14_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> jose-devel-14_1: running pre-pkg hook: 04-generate-runtime-deps ...
=> jose-devel-14_1: running pre-pkg hook: 05-generate-32bit-runtime-deps ...
=> jose-devel-14_1: running pre-pkg hook: 90-set-timestamps ...
=> jose-devel-14_1: setting mtimes to Wed Aug 7 06:40:52 UTC 2024
=> jose-devel-14_1: running pre-pkg hook: 99-pkglint-subpkgs ...
=> jose-devel-14_1: running pre-pkg hook: 99-pkglint ...
=> jose-devel-14_1: running pre-pkg hook: 999-collected-rdeps ...
jose>=14_1 jansson-devel>=0 openssl-devel>=0 zlib-devel>=0
=> jose-14_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> jose-14_1: running pre-pkg hook: 04-generate-runtime-deps ...
SONAME: libjose.so.0 <-> jose (ignored)
SONAME: libjansson.so.4 <-> jansson>=2.4_1
SONAME: libc.so <-> musl>=1.1.24_7
SONAME: libz.so.1 <-> zlib>=1.2.3_1
SONAME: libcrypto.so.3 <-> libcrypto3>=3.1.2_1
=> jose-14_1: running pre-pkg hook: 05-generate-32bit-runtime-deps ...
=> jose-14_1: running pre-pkg hook: 90-set-timestamps ...
=> jose-14_1: setting mtimes to Wed Aug 7 06:40:52 UTC 2024
=> jose-14_1: running pre-pkg hook: 99-pkglint-subpkgs ...
=> jose-14_1: running pre-pkg hook: 99-pkglint ...
=> jose-14_1: running pre-pkg hook: 999-collected-rdeps ...
jansson>=2.4_1 musl>=1.1.24_7 zlib>=1.2.3_1 libcrypto3>=3.1.2_1
=> jose-devel-14_1: running do-pkg hook: 00-gen-pkg ...
=> Creating jose-devel-14_1.x86_64-musl.xbps for repository /host/binpkgs/clevis ...
=> jose-devel-14_1: running post-pkg hook: 00-register-pkg ...
=> jose-14_1: running do-pkg hook: 00-gen-pkg ...
=> Creating jose-14_1.x86_64-musl.xbps for repository /host/binpkgs/clevis ...
=> jose-14_1: running post-pkg hook: 00-register-pkg ...
=> Registering new packages to /host/binpkgs/clevis
index: added `jose-14_1' (x86_64-musl).
index: added `jose-devel-14_1' (x86_64-musl).
index: 2 packages registered.
=> jose-14_1: removing autodeps, please wait...
=> jose-14_1: cleaning build directory...
=> jose: removing files from destdir...
=> jose-devel: removing files from destdir...
```
</details>
<details>
<summary>
Output from ./xbps-src clean && ./xbps-src check jose
</summary>
```text
=> xbps-src: removing autodeps, please wait...
=> xbps-src: cleaning up masterdir...
=> xbps-src: updating repositories for host (x86_64-musl)...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/bootstrap/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/nonfree/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/debug/x86_64-musl-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> jose-14_1: removing autodeps, please wait...
=> jose-14_1: building with [meson] [meson] for x86_64-musl...
[host] asciidoc-10.2.0_2: found (https://repo-default.voidlinux.org/current/musl)
[host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current/musl)
[host] meson-1.4.0_2: found (https://repo-default.voidlinux.org/current/musl)
[target] jansson-devel-2.14_1: found (https://repo-default.voidlinux.org/current/musl)
[target] openssl-devel-3.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
[target] zlib-devel-1.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] jose-14_1: found (/host/binpkgs/clevis)
[runtime] jansson-devel-2.14_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] openssl-devel-3.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] zlib-devel-1.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
=> jose-14_1: installing host dependencies: asciidoc-10.2.0_2 pkg-config-0.29.2_3 meson-1.4.0_2 ...
=> jose-14_1: installing target dependencies: jansson-devel-2.14_1 openssl-devel-3.3.1_1 zlib-devel-1.3.1_1 ...
=> jose-14_1: running do-fetch hook: 00-distfiles ...
=> jose-14_1: running do-extract hook: 00-distfiles ...
=> jose-14_1: extracting distfile(s), please wait...
=> jose-14_1: running do-patch hook: 00-patches ...
=> jose-14_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> jose-14_1: running pre-configure hook: 01-override-config ...
=> jose-14_1: running pre-configure hook: 02-script-wrapper ...
=> jose-14_1: running do_configure ...
The Meson build system
Version: 1.4.0
Source dir: /builddir/jose-14
Build dir: /builddir/jose-14/build
Build type: native build
Project name: jose
Project version: 14
C compiler for the host machine: cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency zlib found: YES 1.3.1
Run-time dependency threads found: YES
Run-time dependency jansson found: YES 2.14
Run-time dependency libcrypto found: YES 3.3.1
Program a2x found: YES (/usr/bin/a2x)
Program jq found: NO
Configuring jose.h using configuration
Checking if "-Wl,--version-script=..." : links: YES
Program ./jose-alg found: YES (/builddir/jose-14/tests/./jose-alg)
Program ./jose-fmt found: YES (/builddir/jose-14/tests/./jose-fmt)
Program ./jose-b64-enc found: YES (/builddir/jose-14/tests/./jose-b64-enc)
Program ./jose-b64-dec found: YES (/builddir/jose-14/tests/./jose-b64-dec)
Program ./jose-jwk-eql found: YES (/builddir/jose-14/tests/./jose-jwk-eql)
Program ./jose-jwk-exc found: YES (/builddir/jose-14/tests/./jose-jwk-exc)
Program ./jose-jwk-gen found: YES (/builddir/jose-14/tests/./jose-jwk-gen)
Program ./jose-jwk-pub found: YES (/builddir/jose-14/tests/./jose-jwk-pub)
Program ./jose-jwk-use found: YES (/builddir/jose-14/tests/./jose-jwk-use)
Program ./jose-jwk-thp found: YES (/builddir/jose-14/tests/./jose-jwk-thp)
Program ./jose-jws-fmt found: YES (/builddir/jose-14/tests/./jose-jws-fmt)
Program ./jose-jws-ver found: YES (/builddir/jose-14/tests/./jose-jws-ver)
Program ./jose-jws-sig found: YES (/builddir/jose-14/tests/./jose-jws-sig)
Program ./jose-jwe-fmt found: YES (/builddir/jose-14/tests/./jose-jwe-fmt)
Program ./jose-jwe-dec found: YES (/builddir/jose-14/tests/./jose-jwe-dec)
Program ./jose-jwe-enc found: YES (/builddir/jose-14/tests/./jose-jwe-enc)
Run-time dependency openssl found: YES 3.3.1
Message: jq not found (unrequired but recommended)
Build targets in project: 28
jose 14
User defined options
auto_features : auto
bindir : /usr/bin
buildtype : plain
datadir : /usr/share
includedir : /usr/include
infodir : /usr/share/info
libdir : /usr/lib64
libexecdir : /usr/libexec
localedir : /usr/share/locale
localstatedir : /var
mandir : /usr/share/man
prefix : /usr
sbindir : /usr/bin
sharedstatedir: /var/lib
sysconfdir : /etc
wrap_mode : nodownload
b_lto : true
b_ndebug : false
b_staticpic : true
Found ninja-1.11.1 at /usr/bin/ninja
=> jose-14_1: running pre-build hook: 02-script-wrapper ...
=> jose-14_1: running do_build ...
ninja: Entering directory `build'
[1/86] Compiling C object lib/libjose.so.0.0.0.p/cfg.c.o
[2/86] Compiling C object lib/libjose.so.0.0.0.p/misc.c.o
[3/86] Compiling C object lib/libjose.so.0.0.0.p/io.c.o
[4/86] Compiling C object lib/libjose.so.0.0.0.p/b64.c.o
[5/86] Compiling C object lib/libjose.so.0.0.0.p/hooks.c.o
[6/86] Compiling C object lib/libjose.so.0.0.0.p/hsh.c.o
[7/86] Compiling C object lib/libjose.so.0.0.0.p/zlib_deflate.c.o
[8/86] Compiling C object lib/libjose.so.0.0.0.p/jwk.c.o
[9/86] Compiling C object lib/libjose.so.0.0.0.p/jws.c.o
[10/86] Compiling C object lib/libjose.so.0.0.0.p/jwe.c.o
[11/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aesgcmkw.c.o
[12/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aescbch.c.o
[13/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aesgcm.c.o
[14/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aeskw.c.o
[15/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_compat.c.o
[16/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_dir.c.o
[17/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ec.c.o
[18/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdh.c.o
[19/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecmr.c.o
[20/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdhes.c.o
[21/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdsa.c.o
[22/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_hash.c.o
[23/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_lock.c.o
[24/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_hmac.c.o
[25/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_jwk.c.o
[26/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_misc.c.o
[27/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_oct.c.o
[28/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsa.c.o
[29/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_pbes2.c.o
[30/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsaes.c.o
[31/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsassa.c.o
[32/86] Compiling C object cmd/jose.p/b64_dec.c.o
[33/86] Compiling C object cmd/jose.p/b64_enc.c.o
[34/86] Compiling C object cmd/jose.p/jwk_eql.c.o
[35/86] Compiling C object cmd/jose.p/jose.c.o
[36/86] Compiling C object cmd/jose.p/jwk_exc.c.o
[37/86] Compiling C object cmd/jose.p/jwk_gen.c.o
[38/86] Compiling C object cmd/jose.p/jwk_pub.c.o
[39/86] Compiling C object cmd/jose.p/jwk_thp.c.o
[40/86] Compiling C object cmd/jose.p/jwk_use.c.o
[41/86] Compiling C object cmd/jose.p/jws_fmt.c.o
[42/86] Compiling C object cmd/jose.p/jws_sig.c.o
[43/86] Compiling C object cmd/jose.p/jws_ver.c.o
[44/86] Compiling C object cmd/jose.p/jwe_fmt.c.o
[45/86] Compiling C object cmd/jose.p/jwe_dec.c.o
[46/86] Compiling C object cmd/jose.p/alg.c.o
[47/86] Compiling C object tests/alg_hash.p/alg_hash.c.o
[48/86] Compiling C object cmd/jose.p/fmt.c.o
[49/86] Compiling C object cmd/jose.p/jwe_enc.c.o
[50/86] Compiling C object tests/alg_sign.p/alg_sign.c.o
[51/86] Compiling C object tests/alg_encr.p/alg_encr.c.o
[52/86] Compiling C object tests/alg_wrap.p/alg_wrap.c.o
[53/86] Compiling C object tests/api_b64.p/api_b64.c.o
[54/86] Compiling C object tests/alg_comp.p/alg_comp.c.o
[55/86] Compiling C object tests/api_jws.p/api_jws.c.o
[56/86] Compiling C object tests/api_jwe.p/api_jwe.c.o
[57/86] Compiling C object tests/issue-75/issue75.p/issue-75.c.o
[58/86] Generating jose-alg.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[59/86] Generating jose.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[60/86] Generating jose-b64-dec.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[61/86] Generating jose-b64-enc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[62/86] Generating jose-jwe-dec.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[63/86] Generating jose-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[64/86] Generating jose-jwe-enc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[65/86] Generating jose-jwe-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[66/86] Generating jose-jwk-eql.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[67/86] Linking target lib/libjose.so.0.0.0
[68/86] Generating symbol file lib/libjose.so.0.0.0.p/libjose.so.0.0.0.symbols
[69/86] Generating jose-jwk-exc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[70/86] Generating jose-jwk-gen.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[71/86] Generating jose-jwk-pub.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[72/86] Linking target tests/alg_hash
[73/86] Linking target tests/alg_sign
[74/86] Linking target tests/alg_encr
[75/86] Linking target tests/alg_wrap
[76/86] Linking target tests/api_b64
[77/86] Linking target tests/alg_comp
[78/86] Linking target tests/api_jws
[79/86] Linking target tests/issue-75/issue75
[80/86] Linking target tests/api_jwe
[81/86] Linking target cmd/jose
[82/86] Generating jose-jwk-thp.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[83/86] Generating jose-jwk-use.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[84/86] Generating jose-jws-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[85/86] Generating jose-jws-ver.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[86/86] Generating jose-jws-sig.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
=> jose-14_1: running do_check ...
ninja: Entering directory `build'
[0/1] Running all tests.
1/25 alg_hash OK 0.01s
2/25 alg_encr OK 0.01s
3/25 alg_comp OK 0.73s
4/25 alg_sign OK 0.86s
5/25 api_jws OK 0.25s
6/25 jose-alg OK 0.09s
7/25 api_b64 OK 1.25s
8/25 jose-b64-enc OK 0.04s
9/25 jose-b64-dec OK 0.04s
10/25 jose-jwk-eql OK 0.11s
11/25 jose-fmt OK 0.55s
12/25 jose-jwk-exc OK 0.30s
13/25 jose-jwk-pub OK 0.03s
14/25 jose-jwk-use OK 0.14s
15/25 jose-jwk-thp OK 0.05s
16/25 alg_wrap OK 2.14s
17/25 jose-jws-fmt OK 0.28s
18/25 api_jwe OK 1.52s
19/25 jose-jws-ver OK 0.27s
20/25 jose-jwe-fmt OK 0.36s
21/25 jose-jwe-dec OK 0.40s
22/25 issue75 OK 0.01s
23/25 jose-jwk-gen OK 2.60s
24/25 jose-jws-sig OK 4.49s
25/25 jose-jwe-enc OK 7.14s
Ok: 25
Expected Fail: 0
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /builddir/jose-14/build/meson-logs/testlog.txt
```
</details>
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (46 preceding siblings ...)
2024-08-14 2:40 ` elivance
@ 2024-08-14 5:07 ` jhe2
2024-08-14 5:54 ` jhe2
` (8 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-14 5:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
New comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#issuecomment-2287865361
Comment:
Thanks for testing this! I'll test it again on x86_64-glibc a little later. Maybe I made some stupid mistake while testing? I'm pretty sure I did `clean` the package build before running the tests.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (47 preceding siblings ...)
2024-08-14 5:07 ` jhe2
@ 2024-08-14 5:54 ` jhe2
2024-08-14 5:56 ` [PR PATCH] [Updated] " jhe2
` (7 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-14 5:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
New comment by jhe2 on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#issuecomment-2287910748
Comment:
You were correct, elivance. I didn't forget to `clean` the build, instead I passed `-Db_ndebug=true` via the `configure_args` when I tried to test overriding the flag. Unsurprisingly, this didn't help.
`-Db_ndebug=false` enables assertions. Seems somewhat inverted, but this is of course what we need here.
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (48 preceding siblings ...)
2024-08-14 5:54 ` jhe2
@ 2024-08-14 5:56 ` jhe2
2024-09-21 22:27 ` classabbyamp
` (6 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-08-14 5:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 5334 bytes --]
From 786f2c2583f85fbc8236b8557af2e9f6a9c95372 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index 8a716ff962395e..a59e105bb1c85f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4518,3 +4518,5 @@ libKPim6MimeTreeParserWidgets.so.6 mimetreeparser-24.02.0_1
libopenrazer.so.0 libopenrazer-0.2.0_1
libstaroffice-0.0.so.0 libstaroffice-0.0.7_1
libbox2d.so.2 box2d-2.4.1_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From b26c81f971dd9558037966abb162490860a2c2ec Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:20 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..2513893fd38e38
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,24 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Db_ndebug=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 6fa6d0c5c73137b161951f495b07b434e34b3d61 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:38 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..31c5da5e5389b5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From dcde2f6cc2595db25ec39f1e89141c21509cb102 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:46 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..483320f63b96f1
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc bash-completion cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (49 preceding siblings ...)
2024-08-14 5:56 ` [PR PATCH] [Updated] " jhe2
@ 2024-09-21 22:27 ` classabbyamp
2024-09-22 5:32 ` [PR PATCH] [Updated] " jhe2
` (5 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-09-21 22:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#issuecomment-2365341179
Comment:
please rebase and resolve conflicts
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (50 preceding siblings ...)
2024-09-21 22:27 ` classabbyamp
@ 2024-09-22 5:32 ` jhe2
2024-09-22 6:26 ` classabbyamp
` (4 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: jhe2 @ 2024-09-22 5:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
There is an updated pull request by jhe2 against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 5279 bytes --]
From 0e937e971a8854523dcf28e5da55690781a62926 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Sun, 21 Jul 2024 17:20:37 +0200
Subject: [PATCH 1/4] common/shlibs: add libjose.so.0 and libluksmeta.so.0
---
common/shlibs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/shlibs b/common/shlibs
index d9b1cf082b760c..b7499e35e52ec0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4528,3 +4528,5 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libjose.so.0 jose-14_1
+libluksmeta.so.0 luksmeta-9_1
From 0d320c9a63063f8466a2cdeba7e26b0e401569cf Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:20 +0200
Subject: [PATCH 2/4] New package: jose-14
---
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..2513893fd38e38
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,24 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Db_ndebug=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="C-language implementation of Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+
+jose-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 6af1f05239ce22ff670d56acd7267973fb1f036d Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:38 +0200
Subject: [PATCH 3/4] New package: luksmeta-9
---
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..31c5da5e5389b5
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,28 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Library for storing metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+luksmeta-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From b9cdeb8fc43db125b347ffdf38d8b00665418ee8 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:46 +0200
Subject: [PATCH 4/4] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..483320f63b96f1
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc bash-completion cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (51 preceding siblings ...)
2024-09-22 5:32 ` [PR PATCH] [Updated] " jhe2
@ 2024-09-22 6:26 ` classabbyamp
2024-09-22 6:27 ` classabbyamp
` (3 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-09-22 6:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 6168 bytes --]
From a04b318f4653353426e9095ca2951ff9b5e0976a Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:20 +0200
Subject: [PATCH 1/3] New package: jose-14
---
common/shlibs | 3 +++
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 32 ++++++++++++++++++++++++++++++++
srcpkgs/libjose | 1 +
4 files changed, 37 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
create mode 120000 srcpkgs/libjose
diff --git a/common/shlibs b/common/shlibs
index d9b1cf082b760c..ba2b41e13b7a85 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4528,3 +4528,6 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libjose.so.0 jose-14_1
+libjose.so.0 libjose-14_1
+libluksmeta.so.0 luksmeta-9_1
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..e954f8928980f1
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,32 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Db_ndebug=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+
+libjose_package() {
+ short_desc+=" - library"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+jose-devel_package() {
+ depends="lib${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ vmove usr/share/man/man3
+ }
+}
diff --git a/srcpkgs/libjose b/srcpkgs/libjose
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/libjose
@@ -0,0 +1 @@
+jose
\ No newline at end of file
From 5ef782a33bbc407234b08b8fca55caf04ffe94a8 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:38 +0200
Subject: [PATCH 2/3] New package: luksmeta-9
---
common/shlibs | 2 +-
srcpkgs/libluksmeta | 1 +
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 35 +++++++++++++++++++++++++++++++++++
4 files changed, 38 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/libluksmeta
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/common/shlibs b/common/shlibs
index ba2b41e13b7a85..3b68c1d8839ee8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4530,4 +4530,4 @@ libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
libjose.so.0 jose-14_1
libjose.so.0 libjose-14_1
-libluksmeta.so.0 luksmeta-9_1
+libluksmeta.so.0 libluksmeta-9_1
diff --git a/srcpkgs/libluksmeta b/srcpkgs/libluksmeta
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/libluksmeta
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..923f2c1849aaad
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,35 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Store metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libluksmeta_package() {
+ short_desc+=" - library"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+luksmeta-devel_package() {
+ depends="lib${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From d760220da00573c90e310d6eb75d1e5757bbcaef Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:46 +0200
Subject: [PATCH 3/3] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..483320f63b96f1
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc bash-completion cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Updated] New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (52 preceding siblings ...)
2024-09-22 6:26 ` classabbyamp
@ 2024-09-22 6:27 ` classabbyamp
2024-09-22 6:27 ` classabbyamp
` (2 subsequent siblings)
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-09-22 6:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/jhe2/void-packages clevis
https://github.com/void-linux/void-packages/pull/51359
New package: clevis-20
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
A patch file from https://github.com/void-linux/void-packages/pull/51359.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-clevis-51359.patch --]
[-- Type: text/x-diff, Size: 6150 bytes --]
From cb8215010042b26d50b9416c58b01693b5187b82 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:20 +0200
Subject: [PATCH 1/3] New package: jose-14
---
common/shlibs | 2 ++
srcpkgs/jose-devel | 1 +
srcpkgs/jose/template | 32 ++++++++++++++++++++++++++++++++
srcpkgs/libjose | 1 +
4 files changed, 36 insertions(+)
create mode 120000 srcpkgs/jose-devel
create mode 100644 srcpkgs/jose/template
create mode 120000 srcpkgs/libjose
diff --git a/common/shlibs b/common/shlibs
index d9b1cf082b760c..c946d243a4ce8c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4528,3 +4528,5 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libjose.so.0 libjose-14_1
+libluksmeta.so.0 luksmeta-9_1
diff --git a/srcpkgs/jose-devel b/srcpkgs/jose-devel
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/jose-devel
@@ -0,0 +1 @@
+jose
\ No newline at end of file
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
new file mode 100644
index 00000000000000..e954f8928980f1
--- /dev/null
+++ b/srcpkgs/jose/template
@@ -0,0 +1,32 @@
+# Template file for 'jose'
+pkgname=jose
+version=14
+revision=1
+build_style=meson
+configure_args="-Db_ndebug=false"
+hostmakedepends="asciidoc pkg-config"
+makedepends="jansson-devel openssl-devel zlib-devel"
+short_desc="Javascript Object Signing and Encryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="Apache-2.0"
+homepage="https://github.com/latchset/jose"
+distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
+checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
+
+libjose_package() {
+ short_desc+=" - library"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+jose-devel_package() {
+ depends="lib${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ vmove usr/share/man/man3
+ }
+}
diff --git a/srcpkgs/libjose b/srcpkgs/libjose
new file mode 120000
index 00000000000000..a6611ea027c865
--- /dev/null
+++ b/srcpkgs/libjose
@@ -0,0 +1 @@
+jose
\ No newline at end of file
From 3e7d644cf214d4b432a77a8895a738bd846997f8 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:38 +0200
Subject: [PATCH 2/3] New package: luksmeta-9
---
common/shlibs | 2 +-
srcpkgs/libluksmeta | 1 +
srcpkgs/luksmeta-devel | 1 +
srcpkgs/luksmeta/template | 35 +++++++++++++++++++++++++++++++++++
4 files changed, 38 insertions(+), 1 deletion(-)
create mode 120000 srcpkgs/libluksmeta
create mode 120000 srcpkgs/luksmeta-devel
create mode 100644 srcpkgs/luksmeta/template
diff --git a/common/shlibs b/common/shlibs
index c946d243a4ce8c..87795d02967f36 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4529,4 +4529,4 @@ libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
libjose.so.0 libjose-14_1
-libluksmeta.so.0 luksmeta-9_1
+libluksmeta.so.0 libluksmeta-9_1
diff --git a/srcpkgs/libluksmeta b/srcpkgs/libluksmeta
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/libluksmeta
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta-devel b/srcpkgs/luksmeta-devel
new file mode 120000
index 00000000000000..7022d555a5bd01
--- /dev/null
+++ b/srcpkgs/luksmeta-devel
@@ -0,0 +1 @@
+luksmeta
\ No newline at end of file
diff --git a/srcpkgs/luksmeta/template b/srcpkgs/luksmeta/template
new file mode 100644
index 00000000000000..923f2c1849aaad
--- /dev/null
+++ b/srcpkgs/luksmeta/template
@@ -0,0 +1,35 @@
+# Template file for 'luksmeta'
+pkgname=luksmeta
+version=9
+revision=1
+build_style=gnu-configure
+hostmakedepends="asciidoc automake cryptsetup libtool pkg-config"
+makedepends="cryptsetup-devel"
+short_desc="Store metadata in the LUKSv1 header"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="LGPL-2.0-or-later"
+homepage="https://github.com/latchset/luksmeta"
+distfiles="https://github.com/latchset/luksmeta/archive/v$version/luksmeta-$version.tar.gz"
+checksum=0eea7d50a0411e0c1e383fd47073806ed7d435b27410504e33bfbc792a1688fc
+make_check="no" # fails on some architectures
+
+pre_configure() {
+ autoreconf -fi
+}
+
+libluksmeta_package() {
+ short_desc+=" - library"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ }
+}
+
+luksmeta-devel_package() {
+ depends="lib${sourcepkg}>=${version}_${revision} ${makedepends}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
From 0d5fdcaafb98f1ddeafe8a88d6fcc0c66330a0e0 Mon Sep 17 00:00:00 2001
From: Johannes Heimansberg <git@jhe.dedyn.io>
Date: Wed, 14 Aug 2024 07:55:46 +0200
Subject: [PATCH 3/3] New package: clevis-20
---
srcpkgs/clevis/template | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 srcpkgs/clevis/template
diff --git a/srcpkgs/clevis/template b/srcpkgs/clevis/template
new file mode 100644
index 00000000000000..483320f63b96f1
--- /dev/null
+++ b/srcpkgs/clevis/template
@@ -0,0 +1,20 @@
+# Template file for 'clevis'
+pkgname=clevis
+version=20
+revision=1
+build_style=meson
+hostmakedepends="asciidoc bash-completion cryptsetup curl jq keyutils pkg-config tpm2-tools"
+makedepends="bash-completion cryptsetup-devel dracut jansson-devel
+ jose-devel libaudit-devel luksmeta-devel udisks2-devel"
+depends="bash cryptsetup curl libpwquality tpm2-tools"
+short_desc="Pluggable framework for automated decryption"
+maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
+license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
+homepage="https://github.com/latchset/clevis"
+distfiles="https://github.com/latchset/clevis/archive/v$version/clevis-$version.tar.gz"
+checksum=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
+make_check="ci-skip" # LUKS tests fail in CI pipeline
+
+post_install() {
+ vlicense COPYING.openssl
+}
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (53 preceding siblings ...)
2024-09-22 6:27 ` classabbyamp
@ 2024-09-22 6:27 ` classabbyamp
2024-09-22 6:28 ` classabbyamp
2024-09-22 6:32 ` [PR PATCH] [Merged]: " classabbyamp
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-09-22 6:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#issuecomment-2365500659
Comment:
split libraries of `jose` and `luksmeta` into `libjose` and `libluksmeta`, you may want to reinstall them
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (54 preceding siblings ...)
2024-09-22 6:27 ` classabbyamp
@ 2024-09-22 6:28 ` classabbyamp
2024-09-22 6:32 ` [PR PATCH] [Merged]: " classabbyamp
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-09-22 6:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51359#issuecomment-2365500659
Comment:
split libraries of `jose` and `luksmeta` into `libjose` and `libluksmeta`, you may want to rebuild/reinstall them
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [PR PATCH] [Merged]: New package: clevis-20
2024-07-21 15:26 [PR PATCH] New package: clevis-20 jhe2
` (55 preceding siblings ...)
2024-09-22 6:28 ` classabbyamp
@ 2024-09-22 6:32 ` classabbyamp
56 siblings, 0 replies; 58+ messages in thread
From: classabbyamp @ 2024-09-22 6:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
There's a merged pull request on the void-packages repository
New package: clevis-20
https://github.com/void-linux/void-packages/pull/51359
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### 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):
- aarch64-glibc
- aarch64-musl
- i686-glibc
- x86_64-musl
^ permalink raw reply [flat|nested] 58+ messages in thread