Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New Packages: sequoia cli utilities
@ 2021-08-13 14:11 jcgruenhage
  2021-08-13 16:13 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (34 more replies)
  0 siblings, 35 replies; 36+ messages in thread
From: jcgruenhage @ 2021-08-13 14:11 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

### TODO
- [ ] add sqv
- [ ] package man pages
- [ ] package shell completions

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

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

From f1f0e1d568aac71d220c2e8e23a4fe4b0ee95735 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/2] New package: sequoia-sop-0.24.0

---
 srcpkgs/sequoia-sop/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..18ca407b581e
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,15 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.24.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config"
+makedepends="nettle-devel clang"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=8658135a5e776db7219be7d6a0a5ef70b34df0f0101e2c75674d1932b904cc35

From aa08ead75139c82538bc6bc0397698530fbfdee0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/2] New package: sequoia-sq-0.25.0

---
 srcpkgs/sequoia-sq/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..05872c3f7379
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,15 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config"
+makedepends="openssl-devel nettle-devel clang"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e6c8647076326695a55a23373d32aba532e67536e7bfbccc8c4c0223d26b32f8

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
@ 2021-08-13 16:13 ` jcgruenhage
  2021-08-13 16:16 ` jcgruenhage
                   ` (33 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2021-08-13 16:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [ ] sqv
- [ ] add man pages
- [ ] add shell completions

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

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

From 5105396ca978cd7bd229de838a3f169e73059636 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/3] New package: sequoia-sop-0.24.0

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..d058643f52a1
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.24.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config"
+makedepends="nettle-devel clang"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=8658135a5e776db7219be7d6a0a5ef70b34df0f0101e2c75674d1932b904cc35
+
+post_install() {
+	for page in `ls man-sqop`; do
+		vman man-sqop/${page}
+	done
+}

From c6e6cb3f228a54e4bd4230dc80f8d0425576b910 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/3] New package: sequoia-sq-0.25.0

---
 srcpkgs/sequoia-sq/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..ebf6f9f1d03f
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm12"
+makedepends="openssl-devel nettle-devel clang"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e6c8647076326695a55a23373d32aba532e67536e7bfbccc8c4c0223d26b32f8
+
+post_install() {
+	for page in `ls man-sq-net-autocrypt`; do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From c37abb4c2cd8ff986fa3b99c4234d5968d1c015d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/3] New package: sequoia-sqv-1.0.0

---
 srcpkgs/sequoia-sqv/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..152a3d6ea7ca
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,15 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.0.0
+revision=1
+wrksrc="sequoia-v${version}"
+build_wrksrc="sqv"
+build_style=cargo
+hostmakedepends="pkg-config llvm"
+makedepends="nettle-devel clang"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/v${version}/sequoia-v${version}.tar.gz"
+checksum=d1d60c5d18d1dcf744a9843176b872978e08470a75cac1c53c8e18a921ec818e

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
  2021-08-13 16:13 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-08-13 16:16 ` jcgruenhage
  2021-08-13 16:55 ` jcgruenhage
                   ` (32 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2021-08-13 16:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [ ] add shell completions

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

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

From ce9d5d7f8eeea83fa5243026b202350d33aeda0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/3] New package: sequoia-sop-0.24.0

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..7c1ca326bb9e
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.24.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config"
+makedepends="nettle-devel clang"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=8658135a5e776db7219be7d6a0a5ef70b34df0f0101e2c75674d1932b904cc35
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 71e4a7f6da0476fc02a94eafb75d31c87271dc1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/3] New package: sequoia-sq-0.25.0

---
 srcpkgs/sequoia-sq/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..2ada72a9e6a8
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm12"
+makedepends="openssl-devel nettle-devel clang"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e6c8647076326695a55a23373d32aba532e67536e7bfbccc8c4c0223d26b32f8
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From 77cc28657704608c7afeea7966809cf7849a5a74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/3] New package: sequoia-sqv-1.0.0

---
 srcpkgs/sequoia-sqv/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..152a3d6ea7ca
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,15 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.0.0
+revision=1
+wrksrc="sequoia-v${version}"
+build_wrksrc="sqv"
+build_style=cargo
+hostmakedepends="pkg-config llvm"
+makedepends="nettle-devel clang"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/v${version}/sequoia-v${version}.tar.gz"
+checksum=d1d60c5d18d1dcf744a9843176b872978e08470a75cac1c53c8e18a921ec818e

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
  2021-08-13 16:13 ` [PR PATCH] [Updated] " jcgruenhage
  2021-08-13 16:16 ` jcgruenhage
@ 2021-08-13 16:55 ` jcgruenhage
  2022-01-15 15:32 ` jcgruenhage
                   ` (31 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2021-08-13 16:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [ ] add shell completions

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

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

From bec22a5a3f06809272b89889d6788230c5d12069 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/3] New package: sequoia-sop-0.24.0

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..2454d03aef9c
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.24.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=8658135a5e776db7219be7d6a0a5ef70b34df0f0101e2c75674d1932b904cc35
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From be4bc23341048e3271bfc38a9f7884e1e0e1c465 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/3] New package: sequoia-sq-0.25.0

---
 srcpkgs/sequoia-sq/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..e1f16e47d556
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config clang"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e6c8647076326695a55a23373d32aba532e67536e7bfbccc8c4c0223d26b32f8
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From e54529c9b8948b46813937ffc3de096529e2f0d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/3] New package: sequoia-sqv-1.0.0

---
 srcpkgs/sequoia-sqv/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..052dba7e27a5
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,15 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.0.0
+revision=1
+wrksrc="sequoia-v${version}"
+build_wrksrc="sqv"
+build_style=cargo
+hostmakedepends="pkg-config clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/v${version}/sequoia-v${version}.tar.gz"
+checksum=d1d60c5d18d1dcf744a9843176b872978e08470a75cac1c53c8e18a921ec818e

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (2 preceding siblings ...)
  2021-08-13 16:55 ` jcgruenhage
@ 2022-01-15 15:32 ` jcgruenhage
  2022-02-08 14:42 ` jcgruenhage
                   ` (30 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-01-15 15:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.

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

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

From 25326b17673529a7c088e8e9c53a318b089a4dfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/3] New package: sequoia-sop-0.24.0

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..b949dac3b815
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.24.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=8658135a5e776db7219be7d6a0a5ef70b34df0f0101e2c75674d1932b904cc35
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 276233758c6deb0093682c48d7f1c51f5d777299 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/3] New package: sequoia-sq-0.25.0

---
 srcpkgs/sequoia-sq/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..b155912a137b
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e6c8647076326695a55a23373d32aba532e67536e7bfbccc8c4c0223d26b32f8
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From 3c73162826ed30a1fc3de56c46b6ed05c531cdfb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/3] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (3 preceding siblings ...)
  2022-01-15 15:32 ` jcgruenhage
@ 2022-02-08 14:42 ` jcgruenhage
  2022-02-08 22:14 ` jcgruenhage
                   ` (29 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-02-08 14:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.

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

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

From 4a9ea7df82704c903d3c2e7e57701806d5a334e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.25.0

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..fe900847182a
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=691d5b6a057fcdfcc71031149e47409c2542dbffcecef2f0af66179457197c19
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 6870005722c14aaf3a32f05dce73738142ca9a48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.25.0

---
 srcpkgs/sequoia-sq/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..b155912a137b
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e6c8647076326695a55a23373d32aba532e67536e7bfbccc8c4c0223d26b32f8
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From b84d3eba4f46535c49c0dc66fb5d843d8be44117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From a663f4a7bf4b0be0205a3d88affcdbaea16c6c49 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.2

---
 srcpkgs/openpgp-card-tools/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..285cd44e20c8
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.2
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://crates.io/crates/openpgp-card-tools"
+distfiles="https://static.crates.io/crates/${pkgname}/${pkgname}-${version}.crate"
+checksum=6045fd9c0af9e7304d5b3851a81607c6739cc75b46c50e41b62f5cb5f7d240e1
+
+post_install() {
+	# Upstream doesn't include those files in the crate tarballs,
+	# and doesn't have git tags right now
+	vlicense "${FILESDIR}/Apache-2.0.txt"
+	vlicense "${FILESDIR}/MIT.txt"
+}

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (4 preceding siblings ...)
  2022-02-08 14:42 ` jcgruenhage
@ 2022-02-08 22:14 ` jcgruenhage
  2022-02-21  5:00 ` jcgruenhage
                   ` (28 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-02-08 22:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.

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

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

From 4a9ea7df82704c903d3c2e7e57701806d5a334e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.25.0

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..fe900847182a
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=691d5b6a057fcdfcc71031149e47409c2542dbffcecef2f0af66179457197c19
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 6870005722c14aaf3a32f05dce73738142ca9a48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.25.0

---
 srcpkgs/sequoia-sq/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..b155912a137b
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e6c8647076326695a55a23373d32aba532e67536e7bfbccc8c4c0223d26b32f8
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From b84d3eba4f46535c49c0dc66fb5d843d8be44117 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From 06fae06b4aae5787a2a8a180a8775cac483e3e5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.2

---
 .../openpgp-card-tools/files/Apache-2.0.txt   | 191 ++++++++++++++++++
 srcpkgs/openpgp-card-tools/files/MIT.txt      |  19 ++
 srcpkgs/openpgp-card-tools/template           |  20 ++
 3 files changed, 230 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
 create mode 100644 srcpkgs/openpgp-card-tools/files/MIT.txt
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
new file mode 100644
index 000000000000..b13cd1cdbe8b
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
@@ -0,0 +1,191 @@
+                              Apache License
+                        Version 2.0, January 2004
+                     http://www.apache.org/licenses/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+   "License" shall mean the terms and conditions for use, reproduction,
+   and distribution as defined by Sections 1 through 9 of this document.
+
+   "Licensor" shall mean the copyright owner or entity authorized by
+   the copyright owner that is granting the License.
+
+   "Legal Entity" shall mean the union of the acting entity and all
+   other entities that control, are controlled by, or are under common
+   control with that entity. For the purposes of this definition,
+   "control" means (i) the power, direct or indirect, to cause the
+   direction or management of such entity, whether by contract or
+   otherwise, or (ii) ownership of fifty percent (50%) or more of the
+   outstanding shares, or (iii) beneficial ownership of such entity.
+
+   "You" (or "Your") shall mean an individual or Legal Entity
+   exercising permissions granted by this License.
+
+   "Source" form shall mean the preferred form for making modifications,
+   including but not limited to software source code, documentation
+   source, and configuration files.
+
+   "Object" form shall mean any form resulting from mechanical
+   transformation or translation of a Source form, including but
+   not limited to compiled object code, generated documentation,
+   and conversions to other media types.
+
+   "Work" shall mean the work of authorship, whether in Source or
+   Object form, made available under the License, as indicated by a
+   copyright notice that is included in or attached to the work
+   (an example is provided in the Appendix below).
+
+   "Derivative Works" shall mean any work, whether in Source or Object
+   form, that is based on (or derived from) the Work and for which the
+   editorial revisions, annotations, elaborations, or other modifications
+   represent, as a whole, an original work of authorship. For the purposes
+   of this License, Derivative Works shall not include works that remain
+   separable from, or merely link (or bind by name) to the interfaces of,
+   the Work and Derivative Works thereof.
+
+   "Contribution" shall mean any work of authorship, including
+   the original version of the Work and any modifications or additions
+   to that Work or Derivative Works thereof, that is intentionally
+   submitted to Licensor for inclusion in the Work by the copyright owner
+   or by an individual or Legal Entity authorized to submit on behalf of
+   the copyright owner. For the purposes of this definition, "submitted"
+   means any form of electronic, verbal, or written communication sent
+   to the Licensor or its representatives, including but not limited to
+   communication on electronic mailing lists, source code control systems,
+   and issue tracking systems that are managed by, or on behalf of, the
+   Licensor for the purpose of discussing and improving the Work, but
+   excluding communication that is conspicuously marked or otherwise
+   designated in writing by the copyright owner as "Not a Contribution."
+
+   "Contributor" shall mean Licensor and any individual or Legal Entity
+   on behalf of whom a Contribution has been received by Licensor and
+   subsequently incorporated within the Work.
+
+2. Grant of Copyright License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   copyright license to reproduce, prepare Derivative Works of,
+   publicly display, publicly perform, sublicense, and distribute the
+   Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   (except as stated in this section) patent license to make, have made,
+   use, offer to sell, sell, import, and otherwise transfer the Work,
+   where such license applies only to those patent claims licensable
+   by such Contributor that are necessarily infringed by their
+   Contribution(s) alone or by combination of their Contribution(s)
+   with the Work to which such Contribution(s) was submitted. If You
+   institute patent litigation against any entity (including a
+   cross-claim or counterclaim in a lawsuit) alleging that the Work
+   or a Contribution incorporated within the Work constitutes direct
+   or contributory patent infringement, then any patent licenses
+   granted to You under this License for that Work shall terminate
+   as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the
+   Work or Derivative Works thereof in any medium, with or without
+   modifications, and in Source or Object form, provided that You
+   meet the following conditions:
+
+   (a) You must give any other recipients of the Work or
+       Derivative Works a copy of this License; and
+
+   (b) You must cause any modified files to carry prominent notices
+       stating that You changed the files; and
+
+   (c) You must retain, in the Source form of any Derivative Works
+       that You distribute, all copyright, patent, trademark, and
+       attribution notices from the Source form of the Work,
+       excluding those notices that do not pertain to any part of
+       the Derivative Works; and
+
+   (d) If the Work includes a "NOTICE" text file as part of its
+       distribution, then any Derivative Works that You distribute must
+       include a readable copy of the attribution notices contained
+       within such NOTICE file, excluding those notices that do not
+       pertain to any part of the Derivative Works, in at least one
+       of the following places: within a NOTICE text file distributed
+       as part of the Derivative Works; within the Source form or
+       documentation, if provided along with the Derivative Works; or,
+       within a display generated by the Derivative Works, if and
+       wherever such third-party notices normally appear. The contents
+       of the NOTICE file are for informational purposes only and
+       do not modify the License. You may add Your own attribution
+       notices within Derivative Works that You distribute, alongside
+       or as an addendum to the NOTICE text from the Work, provided
+       that such additional attribution notices cannot be construed
+       as modifying the License.
+
+   You may add Your own copyright statement to Your modifications and
+   may provide additional or different license terms and conditions
+   for use, reproduction, or distribution of Your modifications, or
+   for any such Derivative Works as a whole, provided Your use,
+   reproduction, and distribution of the Work otherwise complies with
+   the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise,
+   any Contribution intentionally submitted for inclusion in the Work
+   by You to the Licensor shall be under the terms and conditions of
+   this License, without any additional terms or conditions.
+   Notwithstanding the above, nothing herein shall supersede or modify
+   the terms of any separate license agreement you may have executed
+   with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade
+   names, trademarks, service marks, or product names of the Licensor,
+   except as required for reasonable and customary use in describing the
+   origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or
+   agreed to in writing, Licensor provides the Work (and each
+   Contributor provides its Contributions) on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied, including, without limitation, any warranties or conditions
+   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+   PARTICULAR PURPOSE. You are solely responsible for determining the
+   appropriateness of using or redistributing the Work and assume any
+   risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory,
+   whether in tort (including negligence), contract, or otherwise,
+   unless required by applicable law (such as deliberate and grossly
+   negligent acts) or agreed to in writing, shall any Contributor be
+   liable to You for damages, including any direct, indirect, special,
+   incidental, or consequential damages of any character arising as a
+   result of this License or out of the use or inability to use the
+   Work (including but not limited to damages for loss of goodwill,
+   work stoppage, computer failure or malfunction, or any and all
+   other commercial damages or losses), even if such Contributor
+   has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing
+   the Work or Derivative Works thereof, You may choose to offer,
+   and charge a fee for, acceptance of support, warranty, indemnity,
+   or other liability obligations and/or rights consistent with this
+   License. However, in accepting such obligations, You may act only
+   on Your own behalf and on Your sole responsibility, not on behalf
+   of any other Contributor, and only if You agree to indemnify,
+   defend, and hold each Contributor harmless for any liability
+   incurred by, or claims asserted against, such Contributor by reason
+   of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+
+Copyright 2021 Heiko Schäfer
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+	http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/srcpkgs/openpgp-card-tools/files/MIT.txt b/srcpkgs/openpgp-card-tools/files/MIT.txt
new file mode 100644
index 000000000000..97f25c819608
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/MIT.txt
@@ -0,0 +1,19 @@
+The MIT License (MIT)
+Copyright (c) 2021 Heiko Schäfer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..285cd44e20c8
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.2
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://crates.io/crates/openpgp-card-tools"
+distfiles="https://static.crates.io/crates/${pkgname}/${pkgname}-${version}.crate"
+checksum=6045fd9c0af9e7304d5b3851a81607c6739cc75b46c50e41b62f5cb5f7d240e1
+
+post_install() {
+	# Upstream doesn't include those files in the crate tarballs,
+	# and doesn't have git tags right now
+	vlicense "${FILESDIR}/Apache-2.0.txt"
+	vlicense "${FILESDIR}/MIT.txt"
+}

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (5 preceding siblings ...)
  2022-02-08 22:14 ` jcgruenhage
@ 2022-02-21  5:00 ` jcgruenhage
  2022-02-26 18:30 ` jcgruenhage
                   ` (27 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-02-21  5:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.

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

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

From d6bd1a976d0337461cde5e697d2561ba2a799916 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.26.1.

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..92e2da004ee2
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.26.1
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=152b12c028a4f6a6231e0a58c5fe2fa3f30ca050efa4e420dd995bc858080873
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 8333a05fd5a114a12bae2703d1f44ebbcaf8c824 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.25.0

---
 srcpkgs/sequoia-sq/template | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..a5b4d9222928
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,25 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e6c8647076326695a55a23373d32aba532e67536e7bfbccc8c4c0223d26b32f8
+
+post_patch() {
+	cargo update --package autocfg:1.0.1 --precise 1.1.0
+}
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From 590a3c65a2a7f373f2194ca9add872a91de32e15 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From 55d4ad149bea17375416cae49b2c0b0b19edaaaf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.2

---
 .../openpgp-card-tools/files/Apache-2.0.txt   | 191 ++++++++++++++++++
 srcpkgs/openpgp-card-tools/files/MIT.txt      |  19 ++
 srcpkgs/openpgp-card-tools/template           |  20 ++
 3 files changed, 230 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
 create mode 100644 srcpkgs/openpgp-card-tools/files/MIT.txt
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
new file mode 100644
index 000000000000..b13cd1cdbe8b
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
@@ -0,0 +1,191 @@
+                              Apache License
+                        Version 2.0, January 2004
+                     http://www.apache.org/licenses/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+   "License" shall mean the terms and conditions for use, reproduction,
+   and distribution as defined by Sections 1 through 9 of this document.
+
+   "Licensor" shall mean the copyright owner or entity authorized by
+   the copyright owner that is granting the License.
+
+   "Legal Entity" shall mean the union of the acting entity and all
+   other entities that control, are controlled by, or are under common
+   control with that entity. For the purposes of this definition,
+   "control" means (i) the power, direct or indirect, to cause the
+   direction or management of such entity, whether by contract or
+   otherwise, or (ii) ownership of fifty percent (50%) or more of the
+   outstanding shares, or (iii) beneficial ownership of such entity.
+
+   "You" (or "Your") shall mean an individual or Legal Entity
+   exercising permissions granted by this License.
+
+   "Source" form shall mean the preferred form for making modifications,
+   including but not limited to software source code, documentation
+   source, and configuration files.
+
+   "Object" form shall mean any form resulting from mechanical
+   transformation or translation of a Source form, including but
+   not limited to compiled object code, generated documentation,
+   and conversions to other media types.
+
+   "Work" shall mean the work of authorship, whether in Source or
+   Object form, made available under the License, as indicated by a
+   copyright notice that is included in or attached to the work
+   (an example is provided in the Appendix below).
+
+   "Derivative Works" shall mean any work, whether in Source or Object
+   form, that is based on (or derived from) the Work and for which the
+   editorial revisions, annotations, elaborations, or other modifications
+   represent, as a whole, an original work of authorship. For the purposes
+   of this License, Derivative Works shall not include works that remain
+   separable from, or merely link (or bind by name) to the interfaces of,
+   the Work and Derivative Works thereof.
+
+   "Contribution" shall mean any work of authorship, including
+   the original version of the Work and any modifications or additions
+   to that Work or Derivative Works thereof, that is intentionally
+   submitted to Licensor for inclusion in the Work by the copyright owner
+   or by an individual or Legal Entity authorized to submit on behalf of
+   the copyright owner. For the purposes of this definition, "submitted"
+   means any form of electronic, verbal, or written communication sent
+   to the Licensor or its representatives, including but not limited to
+   communication on electronic mailing lists, source code control systems,
+   and issue tracking systems that are managed by, or on behalf of, the
+   Licensor for the purpose of discussing and improving the Work, but
+   excluding communication that is conspicuously marked or otherwise
+   designated in writing by the copyright owner as "Not a Contribution."
+
+   "Contributor" shall mean Licensor and any individual or Legal Entity
+   on behalf of whom a Contribution has been received by Licensor and
+   subsequently incorporated within the Work.
+
+2. Grant of Copyright License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   copyright license to reproduce, prepare Derivative Works of,
+   publicly display, publicly perform, sublicense, and distribute the
+   Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   (except as stated in this section) patent license to make, have made,
+   use, offer to sell, sell, import, and otherwise transfer the Work,
+   where such license applies only to those patent claims licensable
+   by such Contributor that are necessarily infringed by their
+   Contribution(s) alone or by combination of their Contribution(s)
+   with the Work to which such Contribution(s) was submitted. If You
+   institute patent litigation against any entity (including a
+   cross-claim or counterclaim in a lawsuit) alleging that the Work
+   or a Contribution incorporated within the Work constitutes direct
+   or contributory patent infringement, then any patent licenses
+   granted to You under this License for that Work shall terminate
+   as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the
+   Work or Derivative Works thereof in any medium, with or without
+   modifications, and in Source or Object form, provided that You
+   meet the following conditions:
+
+   (a) You must give any other recipients of the Work or
+       Derivative Works a copy of this License; and
+
+   (b) You must cause any modified files to carry prominent notices
+       stating that You changed the files; and
+
+   (c) You must retain, in the Source form of any Derivative Works
+       that You distribute, all copyright, patent, trademark, and
+       attribution notices from the Source form of the Work,
+       excluding those notices that do not pertain to any part of
+       the Derivative Works; and
+
+   (d) If the Work includes a "NOTICE" text file as part of its
+       distribution, then any Derivative Works that You distribute must
+       include a readable copy of the attribution notices contained
+       within such NOTICE file, excluding those notices that do not
+       pertain to any part of the Derivative Works, in at least one
+       of the following places: within a NOTICE text file distributed
+       as part of the Derivative Works; within the Source form or
+       documentation, if provided along with the Derivative Works; or,
+       within a display generated by the Derivative Works, if and
+       wherever such third-party notices normally appear. The contents
+       of the NOTICE file are for informational purposes only and
+       do not modify the License. You may add Your own attribution
+       notices within Derivative Works that You distribute, alongside
+       or as an addendum to the NOTICE text from the Work, provided
+       that such additional attribution notices cannot be construed
+       as modifying the License.
+
+   You may add Your own copyright statement to Your modifications and
+   may provide additional or different license terms and conditions
+   for use, reproduction, or distribution of Your modifications, or
+   for any such Derivative Works as a whole, provided Your use,
+   reproduction, and distribution of the Work otherwise complies with
+   the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise,
+   any Contribution intentionally submitted for inclusion in the Work
+   by You to the Licensor shall be under the terms and conditions of
+   this License, without any additional terms or conditions.
+   Notwithstanding the above, nothing herein shall supersede or modify
+   the terms of any separate license agreement you may have executed
+   with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade
+   names, trademarks, service marks, or product names of the Licensor,
+   except as required for reasonable and customary use in describing the
+   origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or
+   agreed to in writing, Licensor provides the Work (and each
+   Contributor provides its Contributions) on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied, including, without limitation, any warranties or conditions
+   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+   PARTICULAR PURPOSE. You are solely responsible for determining the
+   appropriateness of using or redistributing the Work and assume any
+   risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory,
+   whether in tort (including negligence), contract, or otherwise,
+   unless required by applicable law (such as deliberate and grossly
+   negligent acts) or agreed to in writing, shall any Contributor be
+   liable to You for damages, including any direct, indirect, special,
+   incidental, or consequential damages of any character arising as a
+   result of this License or out of the use or inability to use the
+   Work (including but not limited to damages for loss of goodwill,
+   work stoppage, computer failure or malfunction, or any and all
+   other commercial damages or losses), even if such Contributor
+   has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing
+   the Work or Derivative Works thereof, You may choose to offer,
+   and charge a fee for, acceptance of support, warranty, indemnity,
+   or other liability obligations and/or rights consistent with this
+   License. However, in accepting such obligations, You may act only
+   on Your own behalf and on Your sole responsibility, not on behalf
+   of any other Contributor, and only if You agree to indemnify,
+   defend, and hold each Contributor harmless for any liability
+   incurred by, or claims asserted against, such Contributor by reason
+   of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+
+Copyright 2021 Heiko Schäfer
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+	http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/srcpkgs/openpgp-card-tools/files/MIT.txt b/srcpkgs/openpgp-card-tools/files/MIT.txt
new file mode 100644
index 000000000000..97f25c819608
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/MIT.txt
@@ -0,0 +1,19 @@
+The MIT License (MIT)
+Copyright (c) 2021 Heiko Schäfer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..285cd44e20c8
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.2
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://crates.io/crates/openpgp-card-tools"
+distfiles="https://static.crates.io/crates/${pkgname}/${pkgname}-${version}.crate"
+checksum=6045fd9c0af9e7304d5b3851a81607c6739cc75b46c50e41b62f5cb5f7d240e1
+
+post_install() {
+	# Upstream doesn't include those files in the crate tarballs,
+	# and doesn't have git tags right now
+	vlicense "${FILESDIR}/Apache-2.0.txt"
+	vlicense "${FILESDIR}/MIT.txt"
+}

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (6 preceding siblings ...)
  2022-02-21  5:00 ` jcgruenhage
@ 2022-02-26 18:30 ` jcgruenhage
  2022-04-09 14:54 ` jcgruenhage
                   ` (26 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-02-26 18:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.

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

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

From c0a3ec6db5e628db89450264539f1f7ede8482e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.26.1.

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..92e2da004ee2
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.26.1
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=152b12c028a4f6a6231e0a58c5fe2fa3f30ca050efa4e420dd995bc858080873
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From ffd5cb3f8ba89b1f0ba117524c3875805ea58de2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.25.0

---
 srcpkgs/sequoia-sq/template | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..a5b4d9222928
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,25 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.25.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e6c8647076326695a55a23373d32aba532e67536e7bfbccc8c4c0223d26b32f8
+
+post_patch() {
+	cargo update --package autocfg:1.0.1 --precise 1.1.0
+}
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From 9824aacde0e0524eade5f915145ae9bd44d3b556 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From 4d1742b7cb8aabbaf1c61d39049bb519383adc0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.3

---
 .../openpgp-card-tools/files/Apache-2.0.txt   | 191 ++++++++++++++++++
 srcpkgs/openpgp-card-tools/files/MIT.txt      |  19 ++
 srcpkgs/openpgp-card-tools/template           |  20 ++
 3 files changed, 230 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
 create mode 100644 srcpkgs/openpgp-card-tools/files/MIT.txt
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
new file mode 100644
index 000000000000..b13cd1cdbe8b
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
@@ -0,0 +1,191 @@
+                              Apache License
+                        Version 2.0, January 2004
+                     http://www.apache.org/licenses/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+   "License" shall mean the terms and conditions for use, reproduction,
+   and distribution as defined by Sections 1 through 9 of this document.
+
+   "Licensor" shall mean the copyright owner or entity authorized by
+   the copyright owner that is granting the License.
+
+   "Legal Entity" shall mean the union of the acting entity and all
+   other entities that control, are controlled by, or are under common
+   control with that entity. For the purposes of this definition,
+   "control" means (i) the power, direct or indirect, to cause the
+   direction or management of such entity, whether by contract or
+   otherwise, or (ii) ownership of fifty percent (50%) or more of the
+   outstanding shares, or (iii) beneficial ownership of such entity.
+
+   "You" (or "Your") shall mean an individual or Legal Entity
+   exercising permissions granted by this License.
+
+   "Source" form shall mean the preferred form for making modifications,
+   including but not limited to software source code, documentation
+   source, and configuration files.
+
+   "Object" form shall mean any form resulting from mechanical
+   transformation or translation of a Source form, including but
+   not limited to compiled object code, generated documentation,
+   and conversions to other media types.
+
+   "Work" shall mean the work of authorship, whether in Source or
+   Object form, made available under the License, as indicated by a
+   copyright notice that is included in or attached to the work
+   (an example is provided in the Appendix below).
+
+   "Derivative Works" shall mean any work, whether in Source or Object
+   form, that is based on (or derived from) the Work and for which the
+   editorial revisions, annotations, elaborations, or other modifications
+   represent, as a whole, an original work of authorship. For the purposes
+   of this License, Derivative Works shall not include works that remain
+   separable from, or merely link (or bind by name) to the interfaces of,
+   the Work and Derivative Works thereof.
+
+   "Contribution" shall mean any work of authorship, including
+   the original version of the Work and any modifications or additions
+   to that Work or Derivative Works thereof, that is intentionally
+   submitted to Licensor for inclusion in the Work by the copyright owner
+   or by an individual or Legal Entity authorized to submit on behalf of
+   the copyright owner. For the purposes of this definition, "submitted"
+   means any form of electronic, verbal, or written communication sent
+   to the Licensor or its representatives, including but not limited to
+   communication on electronic mailing lists, source code control systems,
+   and issue tracking systems that are managed by, or on behalf of, the
+   Licensor for the purpose of discussing and improving the Work, but
+   excluding communication that is conspicuously marked or otherwise
+   designated in writing by the copyright owner as "Not a Contribution."
+
+   "Contributor" shall mean Licensor and any individual or Legal Entity
+   on behalf of whom a Contribution has been received by Licensor and
+   subsequently incorporated within the Work.
+
+2. Grant of Copyright License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   copyright license to reproduce, prepare Derivative Works of,
+   publicly display, publicly perform, sublicense, and distribute the
+   Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   (except as stated in this section) patent license to make, have made,
+   use, offer to sell, sell, import, and otherwise transfer the Work,
+   where such license applies only to those patent claims licensable
+   by such Contributor that are necessarily infringed by their
+   Contribution(s) alone or by combination of their Contribution(s)
+   with the Work to which such Contribution(s) was submitted. If You
+   institute patent litigation against any entity (including a
+   cross-claim or counterclaim in a lawsuit) alleging that the Work
+   or a Contribution incorporated within the Work constitutes direct
+   or contributory patent infringement, then any patent licenses
+   granted to You under this License for that Work shall terminate
+   as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the
+   Work or Derivative Works thereof in any medium, with or without
+   modifications, and in Source or Object form, provided that You
+   meet the following conditions:
+
+   (a) You must give any other recipients of the Work or
+       Derivative Works a copy of this License; and
+
+   (b) You must cause any modified files to carry prominent notices
+       stating that You changed the files; and
+
+   (c) You must retain, in the Source form of any Derivative Works
+       that You distribute, all copyright, patent, trademark, and
+       attribution notices from the Source form of the Work,
+       excluding those notices that do not pertain to any part of
+       the Derivative Works; and
+
+   (d) If the Work includes a "NOTICE" text file as part of its
+       distribution, then any Derivative Works that You distribute must
+       include a readable copy of the attribution notices contained
+       within such NOTICE file, excluding those notices that do not
+       pertain to any part of the Derivative Works, in at least one
+       of the following places: within a NOTICE text file distributed
+       as part of the Derivative Works; within the Source form or
+       documentation, if provided along with the Derivative Works; or,
+       within a display generated by the Derivative Works, if and
+       wherever such third-party notices normally appear. The contents
+       of the NOTICE file are for informational purposes only and
+       do not modify the License. You may add Your own attribution
+       notices within Derivative Works that You distribute, alongside
+       or as an addendum to the NOTICE text from the Work, provided
+       that such additional attribution notices cannot be construed
+       as modifying the License.
+
+   You may add Your own copyright statement to Your modifications and
+   may provide additional or different license terms and conditions
+   for use, reproduction, or distribution of Your modifications, or
+   for any such Derivative Works as a whole, provided Your use,
+   reproduction, and distribution of the Work otherwise complies with
+   the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise,
+   any Contribution intentionally submitted for inclusion in the Work
+   by You to the Licensor shall be under the terms and conditions of
+   this License, without any additional terms or conditions.
+   Notwithstanding the above, nothing herein shall supersede or modify
+   the terms of any separate license agreement you may have executed
+   with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade
+   names, trademarks, service marks, or product names of the Licensor,
+   except as required for reasonable and customary use in describing the
+   origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or
+   agreed to in writing, Licensor provides the Work (and each
+   Contributor provides its Contributions) on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied, including, without limitation, any warranties or conditions
+   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+   PARTICULAR PURPOSE. You are solely responsible for determining the
+   appropriateness of using or redistributing the Work and assume any
+   risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory,
+   whether in tort (including negligence), contract, or otherwise,
+   unless required by applicable law (such as deliberate and grossly
+   negligent acts) or agreed to in writing, shall any Contributor be
+   liable to You for damages, including any direct, indirect, special,
+   incidental, or consequential damages of any character arising as a
+   result of this License or out of the use or inability to use the
+   Work (including but not limited to damages for loss of goodwill,
+   work stoppage, computer failure or malfunction, or any and all
+   other commercial damages or losses), even if such Contributor
+   has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing
+   the Work or Derivative Works thereof, You may choose to offer,
+   and charge a fee for, acceptance of support, warranty, indemnity,
+   or other liability obligations and/or rights consistent with this
+   License. However, in accepting such obligations, You may act only
+   on Your own behalf and on Your sole responsibility, not on behalf
+   of any other Contributor, and only if You agree to indemnify,
+   defend, and hold each Contributor harmless for any liability
+   incurred by, or claims asserted against, such Contributor by reason
+   of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+
+Copyright 2021 Heiko Schäfer
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+	http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/srcpkgs/openpgp-card-tools/files/MIT.txt b/srcpkgs/openpgp-card-tools/files/MIT.txt
new file mode 100644
index 000000000000..97f25c819608
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/MIT.txt
@@ -0,0 +1,19 @@
+The MIT License (MIT)
+Copyright (c) 2021 Heiko Schäfer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..43fdef3c3e51
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.3
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://crates.io/crates/openpgp-card-tools"
+distfiles="https://static.crates.io/crates/${pkgname}/${pkgname}-${version}.crate"
+checksum=678eecd93d011a868bd8adbb6d99043470c93997a1ff38a8fd1e8729ca72a190
+
+post_install() {
+	# Upstream doesn't include those files in the crate tarballs,
+	# and doesn't have git tags right now
+	vlicense "${FILESDIR}/Apache-2.0.txt"
+	vlicense "${FILESDIR}/MIT.txt"
+}

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (7 preceding siblings ...)
  2022-02-26 18:30 ` jcgruenhage
@ 2022-04-09 14:54 ` jcgruenhage
  2022-04-09 15:18 ` [PR REVIEW] " classabbyamp
                   ` (25 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-04-09 14:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.

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

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

From ef34d653a8e4ec57dd12f1d22dfa2dd0faf1d6b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.26.1.

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..92e2da004ee2
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.26.1
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=152b12c028a4f6a6231e0a58c5fe2fa3f30ca050efa4e420dd995bc858080873
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 025332bac27ded3707ad898bc9570e970a5343a2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.26.0

---
 srcpkgs/sequoia-sq/template | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..61f894f6d830
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,25 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.26.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang nettle-devel"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=0fad519053d4ae2be0dc8b4d6807a91e5d8b9112522e7f99efdbdc01fcbc8cfe
+
+post_patch() {
+	cargo update --package autocfg:1.0.1 --precise 1.1.0
+}
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From f30a292cff7ff9f05fec562dc57bbb5a9e0d5775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From 1527f8c2300e05edbffed4f5236db173be303ac5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.6

---
 .../openpgp-card-tools/files/Apache-2.0.txt   | 191 ++++++++++++++++++
 srcpkgs/openpgp-card-tools/files/MIT.txt      |  19 ++
 srcpkgs/openpgp-card-tools/template           |  20 ++
 3 files changed, 230 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
 create mode 100644 srcpkgs/openpgp-card-tools/files/MIT.txt
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
new file mode 100644
index 000000000000..b13cd1cdbe8b
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
@@ -0,0 +1,191 @@
+                              Apache License
+                        Version 2.0, January 2004
+                     http://www.apache.org/licenses/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+   "License" shall mean the terms and conditions for use, reproduction,
+   and distribution as defined by Sections 1 through 9 of this document.
+
+   "Licensor" shall mean the copyright owner or entity authorized by
+   the copyright owner that is granting the License.
+
+   "Legal Entity" shall mean the union of the acting entity and all
+   other entities that control, are controlled by, or are under common
+   control with that entity. For the purposes of this definition,
+   "control" means (i) the power, direct or indirect, to cause the
+   direction or management of such entity, whether by contract or
+   otherwise, or (ii) ownership of fifty percent (50%) or more of the
+   outstanding shares, or (iii) beneficial ownership of such entity.
+
+   "You" (or "Your") shall mean an individual or Legal Entity
+   exercising permissions granted by this License.
+
+   "Source" form shall mean the preferred form for making modifications,
+   including but not limited to software source code, documentation
+   source, and configuration files.
+
+   "Object" form shall mean any form resulting from mechanical
+   transformation or translation of a Source form, including but
+   not limited to compiled object code, generated documentation,
+   and conversions to other media types.
+
+   "Work" shall mean the work of authorship, whether in Source or
+   Object form, made available under the License, as indicated by a
+   copyright notice that is included in or attached to the work
+   (an example is provided in the Appendix below).
+
+   "Derivative Works" shall mean any work, whether in Source or Object
+   form, that is based on (or derived from) the Work and for which the
+   editorial revisions, annotations, elaborations, or other modifications
+   represent, as a whole, an original work of authorship. For the purposes
+   of this License, Derivative Works shall not include works that remain
+   separable from, or merely link (or bind by name) to the interfaces of,
+   the Work and Derivative Works thereof.
+
+   "Contribution" shall mean any work of authorship, including
+   the original version of the Work and any modifications or additions
+   to that Work or Derivative Works thereof, that is intentionally
+   submitted to Licensor for inclusion in the Work by the copyright owner
+   or by an individual or Legal Entity authorized to submit on behalf of
+   the copyright owner. For the purposes of this definition, "submitted"
+   means any form of electronic, verbal, or written communication sent
+   to the Licensor or its representatives, including but not limited to
+   communication on electronic mailing lists, source code control systems,
+   and issue tracking systems that are managed by, or on behalf of, the
+   Licensor for the purpose of discussing and improving the Work, but
+   excluding communication that is conspicuously marked or otherwise
+   designated in writing by the copyright owner as "Not a Contribution."
+
+   "Contributor" shall mean Licensor and any individual or Legal Entity
+   on behalf of whom a Contribution has been received by Licensor and
+   subsequently incorporated within the Work.
+
+2. Grant of Copyright License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   copyright license to reproduce, prepare Derivative Works of,
+   publicly display, publicly perform, sublicense, and distribute the
+   Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   (except as stated in this section) patent license to make, have made,
+   use, offer to sell, sell, import, and otherwise transfer the Work,
+   where such license applies only to those patent claims licensable
+   by such Contributor that are necessarily infringed by their
+   Contribution(s) alone or by combination of their Contribution(s)
+   with the Work to which such Contribution(s) was submitted. If You
+   institute patent litigation against any entity (including a
+   cross-claim or counterclaim in a lawsuit) alleging that the Work
+   or a Contribution incorporated within the Work constitutes direct
+   or contributory patent infringement, then any patent licenses
+   granted to You under this License for that Work shall terminate
+   as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the
+   Work or Derivative Works thereof in any medium, with or without
+   modifications, and in Source or Object form, provided that You
+   meet the following conditions:
+
+   (a) You must give any other recipients of the Work or
+       Derivative Works a copy of this License; and
+
+   (b) You must cause any modified files to carry prominent notices
+       stating that You changed the files; and
+
+   (c) You must retain, in the Source form of any Derivative Works
+       that You distribute, all copyright, patent, trademark, and
+       attribution notices from the Source form of the Work,
+       excluding those notices that do not pertain to any part of
+       the Derivative Works; and
+
+   (d) If the Work includes a "NOTICE" text file as part of its
+       distribution, then any Derivative Works that You distribute must
+       include a readable copy of the attribution notices contained
+       within such NOTICE file, excluding those notices that do not
+       pertain to any part of the Derivative Works, in at least one
+       of the following places: within a NOTICE text file distributed
+       as part of the Derivative Works; within the Source form or
+       documentation, if provided along with the Derivative Works; or,
+       within a display generated by the Derivative Works, if and
+       wherever such third-party notices normally appear. The contents
+       of the NOTICE file are for informational purposes only and
+       do not modify the License. You may add Your own attribution
+       notices within Derivative Works that You distribute, alongside
+       or as an addendum to the NOTICE text from the Work, provided
+       that such additional attribution notices cannot be construed
+       as modifying the License.
+
+   You may add Your own copyright statement to Your modifications and
+   may provide additional or different license terms and conditions
+   for use, reproduction, or distribution of Your modifications, or
+   for any such Derivative Works as a whole, provided Your use,
+   reproduction, and distribution of the Work otherwise complies with
+   the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise,
+   any Contribution intentionally submitted for inclusion in the Work
+   by You to the Licensor shall be under the terms and conditions of
+   this License, without any additional terms or conditions.
+   Notwithstanding the above, nothing herein shall supersede or modify
+   the terms of any separate license agreement you may have executed
+   with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade
+   names, trademarks, service marks, or product names of the Licensor,
+   except as required for reasonable and customary use in describing the
+   origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or
+   agreed to in writing, Licensor provides the Work (and each
+   Contributor provides its Contributions) on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied, including, without limitation, any warranties or conditions
+   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+   PARTICULAR PURPOSE. You are solely responsible for determining the
+   appropriateness of using or redistributing the Work and assume any
+   risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory,
+   whether in tort (including negligence), contract, or otherwise,
+   unless required by applicable law (such as deliberate and grossly
+   negligent acts) or agreed to in writing, shall any Contributor be
+   liable to You for damages, including any direct, indirect, special,
+   incidental, or consequential damages of any character arising as a
+   result of this License or out of the use or inability to use the
+   Work (including but not limited to damages for loss of goodwill,
+   work stoppage, computer failure or malfunction, or any and all
+   other commercial damages or losses), even if such Contributor
+   has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing
+   the Work or Derivative Works thereof, You may choose to offer,
+   and charge a fee for, acceptance of support, warranty, indemnity,
+   or other liability obligations and/or rights consistent with this
+   License. However, in accepting such obligations, You may act only
+   on Your own behalf and on Your sole responsibility, not on behalf
+   of any other Contributor, and only if You agree to indemnify,
+   defend, and hold each Contributor harmless for any liability
+   incurred by, or claims asserted against, such Contributor by reason
+   of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+
+Copyright 2021 Heiko Schäfer
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+	http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/srcpkgs/openpgp-card-tools/files/MIT.txt b/srcpkgs/openpgp-card-tools/files/MIT.txt
new file mode 100644
index 000000000000..97f25c819608
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/MIT.txt
@@ -0,0 +1,19 @@
+The MIT License (MIT)
+Copyright (c) 2021 Heiko Schäfer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..5d18cc7d50b2
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.6
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://crates.io/crates/openpgp-card-tools"
+distfiles="https://static.crates.io/crates/${pkgname}/${pkgname}-${version}.crate"
+checksum=ccdd462f47fc92c0e09de78fb0a2ef5be818e836ab7c27b1fdbd54c812008d3d
+
+post_install() {
+	# Upstream doesn't include those files in the crate tarballs,
+	# and doesn't have git tags right now
+	vlicense "${FILESDIR}/Apache-2.0.txt"
+	vlicense "${FILESDIR}/MIT.txt"
+}

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

* Re: [PR REVIEW] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (8 preceding siblings ...)
  2022-04-09 14:54 ` jcgruenhage
@ 2022-04-09 15:18 ` classabbyamp
  2022-04-09 15:28 ` jcgruenhage
                   ` (24 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: classabbyamp @ 2022-04-09 15:18 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#discussion_r846646384

Comment:
has a request to upstream for this been made?

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

* Re: [PR REVIEW] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (9 preceding siblings ...)
  2022-04-09 15:18 ` [PR REVIEW] " classabbyamp
@ 2022-04-09 15:28 ` jcgruenhage
  2022-04-09 16:05 ` jcgruenhage
                   ` (23 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-04-09 15:28 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#discussion_r846648159

Comment:
Nope, not yet. One of the reasons this PR is still marked as a draft

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

* Re: [PR REVIEW] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (10 preceding siblings ...)
  2022-04-09 15:28 ` jcgruenhage
@ 2022-04-09 16:05 ` jcgruenhage
  2022-05-14  9:43 ` jcgruenhage
                   ` (22 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-04-09 16:05 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#discussion_r846652141

Comment:
Updated the `TODO` section in the PR description, to include this. Resolving thread.

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

* Re: New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (11 preceding siblings ...)
  2022-04-09 16:05 ` jcgruenhage
@ 2022-05-14  9:43 ` jcgruenhage
  2022-05-14  9:46 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (21 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-05-14  9:43 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#issuecomment-1126681248

Comment:
So, I've done some digging, and I'd like to just outright disable armv7l and musl targets for now.

In the case of musl, this is part of time64, the migration to using 64 bit integers for time on 32 bit systems. Rust added a deprecation warning for that, and this warning is currently breaking the build here. There's stuff happening in that area, but it's a bigger problem that's not really related to sequoia directly, so not really something that can be addressed in this PR.

As for armv7l: A crypto library used by sequoia, nettle, for some reason fails to have it's rust bindings compiled for armv7l, because `cross-armv7l-linux-gnueabihf-libc` doesn't provide `gnu/stubs-soft.h`, which is referenced by `gnu/stubs.h`, based on some ifdef magic. I don't get where this is going wrong, but I don't understand enough of the arkane ifdef and crosscompiling magic to dig through this. If anyone else wants to, I'd be more than happy, but I won't invest any more time in trying to figure out why `stubs-soft.h` would even be considered required on a `hf` target.

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (12 preceding siblings ...)
  2022-05-14  9:43 ` jcgruenhage
@ 2022-05-14  9:46 ` jcgruenhage
  2022-05-15 21:32 ` ericonr
                   ` (20 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-05-14  9:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- [ ] ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- [ ] figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))
- [ ] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From a0387b0ae39d9ff9eac3fff1ed7f22e52b067ea7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.26.1.

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..92e2da004ee2
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.26.1
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=152b12c028a4f6a6231e0a58c5fe2fa3f30ca050efa4e420dd995bc858080873
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From a0d8617bddc33ccf117792ac15226753c5589d69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.26.0

---
 srcpkgs/sequoia-sq/template | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..61f894f6d830
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,25 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.26.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang nettle-devel"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=0fad519053d4ae2be0dc8b4d6807a91e5d8b9112522e7f99efdbdc01fcbc8cfe
+
+post_patch() {
+	cargo update --package autocfg:1.0.1 --precise 1.1.0
+}
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From c7a31e38708e8d53bd9ada99a16a8fcd04f677c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From df3eedb7318967437554550782484d9e1118c943 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.6

---
 .../openpgp-card-tools/files/Apache-2.0.txt   | 191 ++++++++++++++++++
 srcpkgs/openpgp-card-tools/files/MIT.txt      |  19 ++
 srcpkgs/openpgp-card-tools/template           |  20 ++
 3 files changed, 230 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
 create mode 100644 srcpkgs/openpgp-card-tools/files/MIT.txt
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
new file mode 100644
index 000000000000..b13cd1cdbe8b
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/Apache-2.0.txt
@@ -0,0 +1,191 @@
+                              Apache License
+                        Version 2.0, January 2004
+                     http://www.apache.org/licenses/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+   "License" shall mean the terms and conditions for use, reproduction,
+   and distribution as defined by Sections 1 through 9 of this document.
+
+   "Licensor" shall mean the copyright owner or entity authorized by
+   the copyright owner that is granting the License.
+
+   "Legal Entity" shall mean the union of the acting entity and all
+   other entities that control, are controlled by, or are under common
+   control with that entity. For the purposes of this definition,
+   "control" means (i) the power, direct or indirect, to cause the
+   direction or management of such entity, whether by contract or
+   otherwise, or (ii) ownership of fifty percent (50%) or more of the
+   outstanding shares, or (iii) beneficial ownership of such entity.
+
+   "You" (or "Your") shall mean an individual or Legal Entity
+   exercising permissions granted by this License.
+
+   "Source" form shall mean the preferred form for making modifications,
+   including but not limited to software source code, documentation
+   source, and configuration files.
+
+   "Object" form shall mean any form resulting from mechanical
+   transformation or translation of a Source form, including but
+   not limited to compiled object code, generated documentation,
+   and conversions to other media types.
+
+   "Work" shall mean the work of authorship, whether in Source or
+   Object form, made available under the License, as indicated by a
+   copyright notice that is included in or attached to the work
+   (an example is provided in the Appendix below).
+
+   "Derivative Works" shall mean any work, whether in Source or Object
+   form, that is based on (or derived from) the Work and for which the
+   editorial revisions, annotations, elaborations, or other modifications
+   represent, as a whole, an original work of authorship. For the purposes
+   of this License, Derivative Works shall not include works that remain
+   separable from, or merely link (or bind by name) to the interfaces of,
+   the Work and Derivative Works thereof.
+
+   "Contribution" shall mean any work of authorship, including
+   the original version of the Work and any modifications or additions
+   to that Work or Derivative Works thereof, that is intentionally
+   submitted to Licensor for inclusion in the Work by the copyright owner
+   or by an individual or Legal Entity authorized to submit on behalf of
+   the copyright owner. For the purposes of this definition, "submitted"
+   means any form of electronic, verbal, or written communication sent
+   to the Licensor or its representatives, including but not limited to
+   communication on electronic mailing lists, source code control systems,
+   and issue tracking systems that are managed by, or on behalf of, the
+   Licensor for the purpose of discussing and improving the Work, but
+   excluding communication that is conspicuously marked or otherwise
+   designated in writing by the copyright owner as "Not a Contribution."
+
+   "Contributor" shall mean Licensor and any individual or Legal Entity
+   on behalf of whom a Contribution has been received by Licensor and
+   subsequently incorporated within the Work.
+
+2. Grant of Copyright License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   copyright license to reproduce, prepare Derivative Works of,
+   publicly display, publicly perform, sublicense, and distribute the
+   Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of
+   this License, each Contributor hereby grants to You a perpetual,
+   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+   (except as stated in this section) patent license to make, have made,
+   use, offer to sell, sell, import, and otherwise transfer the Work,
+   where such license applies only to those patent claims licensable
+   by such Contributor that are necessarily infringed by their
+   Contribution(s) alone or by combination of their Contribution(s)
+   with the Work to which such Contribution(s) was submitted. If You
+   institute patent litigation against any entity (including a
+   cross-claim or counterclaim in a lawsuit) alleging that the Work
+   or a Contribution incorporated within the Work constitutes direct
+   or contributory patent infringement, then any patent licenses
+   granted to You under this License for that Work shall terminate
+   as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the
+   Work or Derivative Works thereof in any medium, with or without
+   modifications, and in Source or Object form, provided that You
+   meet the following conditions:
+
+   (a) You must give any other recipients of the Work or
+       Derivative Works a copy of this License; and
+
+   (b) You must cause any modified files to carry prominent notices
+       stating that You changed the files; and
+
+   (c) You must retain, in the Source form of any Derivative Works
+       that You distribute, all copyright, patent, trademark, and
+       attribution notices from the Source form of the Work,
+       excluding those notices that do not pertain to any part of
+       the Derivative Works; and
+
+   (d) If the Work includes a "NOTICE" text file as part of its
+       distribution, then any Derivative Works that You distribute must
+       include a readable copy of the attribution notices contained
+       within such NOTICE file, excluding those notices that do not
+       pertain to any part of the Derivative Works, in at least one
+       of the following places: within a NOTICE text file distributed
+       as part of the Derivative Works; within the Source form or
+       documentation, if provided along with the Derivative Works; or,
+       within a display generated by the Derivative Works, if and
+       wherever such third-party notices normally appear. The contents
+       of the NOTICE file are for informational purposes only and
+       do not modify the License. You may add Your own attribution
+       notices within Derivative Works that You distribute, alongside
+       or as an addendum to the NOTICE text from the Work, provided
+       that such additional attribution notices cannot be construed
+       as modifying the License.
+
+   You may add Your own copyright statement to Your modifications and
+   may provide additional or different license terms and conditions
+   for use, reproduction, or distribution of Your modifications, or
+   for any such Derivative Works as a whole, provided Your use,
+   reproduction, and distribution of the Work otherwise complies with
+   the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise,
+   any Contribution intentionally submitted for inclusion in the Work
+   by You to the Licensor shall be under the terms and conditions of
+   this License, without any additional terms or conditions.
+   Notwithstanding the above, nothing herein shall supersede or modify
+   the terms of any separate license agreement you may have executed
+   with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade
+   names, trademarks, service marks, or product names of the Licensor,
+   except as required for reasonable and customary use in describing the
+   origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or
+   agreed to in writing, Licensor provides the Work (and each
+   Contributor provides its Contributions) on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+   implied, including, without limitation, any warranties or conditions
+   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+   PARTICULAR PURPOSE. You are solely responsible for determining the
+   appropriateness of using or redistributing the Work and assume any
+   risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory,
+   whether in tort (including negligence), contract, or otherwise,
+   unless required by applicable law (such as deliberate and grossly
+   negligent acts) or agreed to in writing, shall any Contributor be
+   liable to You for damages, including any direct, indirect, special,
+   incidental, or consequential damages of any character arising as a
+   result of this License or out of the use or inability to use the
+   Work (including but not limited to damages for loss of goodwill,
+   work stoppage, computer failure or malfunction, or any and all
+   other commercial damages or losses), even if such Contributor
+   has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing
+   the Work or Derivative Works thereof, You may choose to offer,
+   and charge a fee for, acceptance of support, warranty, indemnity,
+   or other liability obligations and/or rights consistent with this
+   License. However, in accepting such obligations, You may act only
+   on Your own behalf and on Your sole responsibility, not on behalf
+   of any other Contributor, and only if You agree to indemnify,
+   defend, and hold each Contributor harmless for any liability
+   incurred by, or claims asserted against, such Contributor by reason
+   of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+
+Copyright 2021 Heiko Schäfer
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+	http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/srcpkgs/openpgp-card-tools/files/MIT.txt b/srcpkgs/openpgp-card-tools/files/MIT.txt
new file mode 100644
index 000000000000..97f25c819608
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/files/MIT.txt
@@ -0,0 +1,19 @@
+The MIT License (MIT)
+Copyright (c) 2021 Heiko Schäfer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..9e160f6d6dab
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.9
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://crates.io/crates/openpgp-card-tools"
+distfiles="https://static.crates.io/crates/${pkgname}/${pkgname}-${version}.crate"
+checksum=dbba1afe896446d7283c74c1413706b4456de95601b6e36228a22b5f5efedd98
+
+post_install() {
+	# Upstream doesn't include those files in the crate tarballs,
+	# and doesn't have git tags right now
+	vlicense "${FILESDIR}/Apache-2.0.txt"
+	vlicense "${FILESDIR}/MIT.txt"
+}

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

* Re: New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (13 preceding siblings ...)
  2022-05-14  9:46 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-05-15 21:32 ` ericonr
  2022-05-15 22:43 ` classabbyamp
                   ` (19 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: ericonr @ 2022-05-15 21:32 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#issuecomment-1127043020

Comment:
> In the case of musl, this is part of time64, the migration to using 64 bit integers for time on 32 bit systems. Rust added a deprecation warning for that, and this warning is currently breaking the build here. There's stuff happening in that area, but it's a bigger problem that's not really related to sequoia directly, so not really something that can be addressed in this PR.

That's on Rust, they shouldn't have deprecated the type on 64-bit musl. And more importantly, the software should still be buildable with warnings like that....

> As for armv7l: A crypto library used by sequoia, nettle, for some reason fails to have it's rust bindings compiled for armv7l, because cross-armv7l-linux-gnueabihf-libc doesn't provide gnu/stubs-soft.h, which is referenced by gnu/stubs.h, based on some ifdef magic. I don't get where this is going wrong, but I don't understand enough of the arkane ifdef and crosscompiling magic to dig through this. If anyone else wants to, I'd be more than happy, but I won't invest any more time in trying to figure out why stubs-soft.h would even be considered required on a hf target.

That sounds like `bindgen` not receiving all the flags it should have and looking at the wrong headers/missing some target definitions (probably the latter). We might have a fix for this by using a patched bindgen, iirc.

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

* Re: New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (14 preceding siblings ...)
  2022-05-15 21:32 ` ericonr
@ 2022-05-15 22:43 ` classabbyamp
  2022-06-02  9:12 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (18 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: classabbyamp @ 2022-05-15 22:43 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#issuecomment-1127070802

Comment:
has this branch been rebased recently (after mid-March)? I think i was getting some similar errors with bindgen + cross and solved it by adding this to the rust build helper:
https://github.com/void-linux/void-packages/blob/de7bd4b5077aae0df2e57d7ce43f6feeb08f3f54/common/build-helper/rust.sh#L27-L28

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (15 preceding siblings ...)
  2022-05-15 22:43 ` classabbyamp
@ 2022-06-02  9:12 ` jcgruenhage
  2022-06-02  9:46 ` jcgruenhage
                   ` (17 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-06-02  9:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- [ ] ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- [ ] figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))
- [ ] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From 1c9fa8b34a9e26f9b675fd91f7969d05612d9bd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.27.0.

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..abb1fb7833af
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.27.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=d40b69a994ca0c9a6f68b6a8cb8a6da306495b13733c0062ed6086cda5df0a11
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 9a096dcf8898a451f565be8a1a7d21f8a00294e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.26.0

---
 srcpkgs/sequoia-sq/template | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..61f894f6d830
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,25 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.26.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang nettle-devel"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=0fad519053d4ae2be0dc8b4d6807a91e5d8b9112522e7f99efdbdc01fcbc8cfe
+
+post_patch() {
+	cargo update --package autocfg:1.0.1 --precise 1.1.0
+}
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From c5b78872fe41bf315bebcb4b306c7dabc8e7a180 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From 9d90abe2adfff800230415a776a44ccc287327e6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.10

---
 srcpkgs/openpgp-card-tools/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..0bc3c0c8545c
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.10
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+make_install_args="--path tools"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://gitlab.com/hkos/openpgp-card"
+distfiles="https://gitlab.com/hkos/openpgp-card/-/archive/tools/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=6ce3da87559bf3551c0bf34df50aece6705bd5de9d360717b894e9985901c70d
+
+post_install() {
+	vlicense "LICENSES/Apache-2.0.txt"
+	vlicense "LICENSES/MIT.txt"
+}

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

* Re: New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (16 preceding siblings ...)
  2022-06-02  9:12 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-06-02  9:46 ` jcgruenhage
  2022-06-03  9:54 ` jcgruenhage
                   ` (16 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-06-02  9:46 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#issuecomment-1144664885

Comment:
> has this branch been rebased recently (after mid-March)? I think i was getting some similar errors with bindgen + cross and solved it by adding this to the rust build helper:

Yes, it has been rebased since then. I just rebased it again to incorporate some package updates and to drop the license files for openpgp-card-tools (as that now has git tags :tada:), but the bindgen problems persist.

> That sounds like bindgen not receiving all the flags it should have and looking at the wrong headers/missing some target definitions (probably the latter). We might have a fix for this by using a patched bindgen, iirc.

@ericonr do you happen to have a link to a different package that had these problems and how we worked around it over there?

> That's on Rust, they shouldn't have deprecated the type on 64-bit musl. And more importantly, the software should still be buildable with warnings like that....

I fully agree. Something somewhere in the build process is setting it to deny building with warnings, I'll do some digging where that happens.

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

* Re: New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (17 preceding siblings ...)
  2022-06-02  9:46 ` jcgruenhage
@ 2022-06-03  9:54 ` jcgruenhage
  2022-06-14 12:10 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (15 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-06-03  9:54 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#issuecomment-1145798137

Comment:
I've looked for quite a while now, and I just can't find it. The `openpgp` crate which fails doesn't have `deny(warnings)` set, I can't find anything adding `-D warnings` to `RUSTFLAGS` either. From the error message in the build, it seems to be the latter, but I can't find where if at all it happens.

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (18 preceding siblings ...)
  2022-06-03  9:54 ` jcgruenhage
@ 2022-06-14 12:10 ` jcgruenhage
  2022-06-14 12:47 ` jcgruenhage
                   ` (14 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-06-14 12:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- [ ] ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- [ ] figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))
- [ ] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From c4ab37fa0686e00ff338c1f6d1078683fa5c6df8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.27.0

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..abb1fb7833af
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.27.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=d40b69a994ca0c9a6f68b6a8cb8a6da306495b13733c0062ed6086cda5df0a11
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From a45673ac4d97b9e1f9a426a1741107a1405e0ec2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.26.0

---
 srcpkgs/sequoia-sq/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..fa88f7bb0e00
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,26 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.26.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang nettle-devel"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=0fad519053d4ae2be0dc8b4d6807a91e5d8b9112522e7f99efdbdc01fcbc8cfe
+
+post_patch() {
+	cargo update --package autocfg:1.0.1 --precise 1.1.0
+	vsed -e "/-Dwarnings/d" -i ".cargo/config.toml"
+}
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From 2f22f5ea4948abe76cae27012c964e79810d3861 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From 39b4d2143ecd4b6a79b535e4e51dceed8fda90e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.10

---
 srcpkgs/openpgp-card-tools/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..0bc3c0c8545c
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.10
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+make_install_args="--path tools"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://gitlab.com/hkos/openpgp-card"
+distfiles="https://gitlab.com/hkos/openpgp-card/-/archive/tools/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=6ce3da87559bf3551c0bf34df50aece6705bd5de9d360717b894e9985901c70d
+
+post_install() {
+	vlicense "LICENSES/Apache-2.0.txt"
+	vlicense "LICENSES/MIT.txt"
+}

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (19 preceding siblings ...)
  2022-06-14 12:10 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-06-14 12:47 ` jcgruenhage
  2022-06-14 14:10 ` jcgruenhage
                   ` (13 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-06-14 12:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- [ ] ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- [ ] figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))
- [ ] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From c4ab37fa0686e00ff338c1f6d1078683fa5c6df8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.27.0

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..abb1fb7833af
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.27.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=d40b69a994ca0c9a6f68b6a8cb8a6da306495b13733c0062ed6086cda5df0a11
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From d27aa6cdee7f5f1eae108ce2938710fda81d9e30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.26.0

---
 srcpkgs/sequoia-sq/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..f2a6924be79f
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,27 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.26.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang nettle-devel"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=0fad519053d4ae2be0dc8b4d6807a91e5d8b9112522e7f99efdbdc01fcbc8cfe
+
+post_patch() {
+	cargo update --package autocfg:1.0.1 --precise 1.1.0
+	cargo update --package autocfg:0.1.7 --precise 0.1.8
+	vsed -i "/-Dwarnings/d" "${wrksrc}/.cargo/config.toml"
+}
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From 50ca59ac72bf89129576584a77d9f4de46341cda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From cc21fa28e9e1c6bda2f154d5de72431396d09b1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.10

---
 srcpkgs/openpgp-card-tools/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..0bc3c0c8545c
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.10
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+make_install_args="--path tools"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://gitlab.com/hkos/openpgp-card"
+distfiles="https://gitlab.com/hkos/openpgp-card/-/archive/tools/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=6ce3da87559bf3551c0bf34df50aece6705bd5de9d360717b894e9985901c70d
+
+post_install() {
+	vlicense "LICENSES/Apache-2.0.txt"
+	vlicense "LICENSES/MIT.txt"
+}

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (20 preceding siblings ...)
  2022-06-14 12:47 ` jcgruenhage
@ 2022-06-14 14:10 ` jcgruenhage
  2022-06-14 14:20 ` jcgruenhage
                   ` (12 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-06-14 14:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- [ ] ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- [ ] figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))
- [ ] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From 80e9dfba8e89953e7d23d010ef2b5b65df89752d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/4] New package: sequoia-sop-0.27.0

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..abb1fb7833af
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.27.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=d40b69a994ca0c9a6f68b6a8cb8a6da306495b13733c0062ed6086cda5df0a11
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From cbf42eb98607bed0f61f8f42d0c6a0d91fee9c24 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/4] New package: sequoia-sq-0.26.0

---
 srcpkgs/sequoia-sq/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..73ce1ae1aa7f
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,28 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.26.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang nettle-devel"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=0fad519053d4ae2be0dc8b4d6807a91e5d8b9112522e7f99efdbdc01fcbc8cfe
+conflicts="squirrel"
+
+post_patch() {
+	cargo update --package autocfg:1.0.1 --precise 1.1.0
+	cargo update --package autocfg:0.1.7 --precise 0.1.8
+	vsed -i "/-Dwarnings/d" "${wrksrc}/.cargo/config.toml"
+}
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}

From cc1bf3743df2ffd8b9ae91e48e5ab62250bd36a1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/4] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

From 2132dcc47ce5b0e6c459fb24a1bb8a21c24b54b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Mon, 7 Feb 2022 22:24:48 +0100
Subject: [PATCH 4/4] New package: openpgp-card-tools-0.0.10

---
 srcpkgs/openpgp-card-tools/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/openpgp-card-tools/template

diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template
new file mode 100644
index 000000000000..0bc3c0c8545c
--- /dev/null
+++ b/srcpkgs/openpgp-card-tools/template
@@ -0,0 +1,20 @@
+# Template file for 'openpgp-card-tools'
+pkgname=openpgp-card-tools
+version=0.0.10
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+make_install_args="--path tools"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel pcsclite-devel"
+short_desc="Tools for inspecting, configuring and using OpenPGP cards"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT, Apache-2.0"
+homepage="https://gitlab.com/hkos/openpgp-card"
+distfiles="https://gitlab.com/hkos/openpgp-card/-/archive/tools/v${version}/${pkgname}-v${version}.tar.gz"
+checksum=6ce3da87559bf3551c0bf34df50aece6705bd5de9d360717b894e9985901c70d
+
+post_install() {
+	vlicense "LICENSES/Apache-2.0.txt"
+	vlicense "LICENSES/MIT.txt"
+}

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

* Re: New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (21 preceding siblings ...)
  2022-06-14 14:10 ` jcgruenhage
@ 2022-06-14 14:20 ` jcgruenhage
  2022-08-01 14:57 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (11 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-06-14 14:20 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#issuecomment-1155259915

Comment:
After asking upstream, I found the `-Dwarnings` flag, and with that removed and a conflict added for `squirrel`, it's now nearly working correctly. Crosscompiling is still not quite working in all cases, but aside of that it's getting there.

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (22 preceding siblings ...)
  2022-06-14 14:20 ` jcgruenhage
@ 2022-08-01 14:57 ` jcgruenhage
  2022-08-07 16:38 ` jcgruenhage
                   ` (10 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-08-01 14:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- [ ] ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- [ ] figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))
- [x] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From 2ec14e325fa1182d220ba196bee52382e3e15ef2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/3] New package: sequoia-sop-0.27.1

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..de2d5caa62ad
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.27.1
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=5094965da3fb8c67b7224534ddcd94cf3409d4c7c74e53473d7804f2a343e2aa
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 34a9b32214e6774a45a3db5d772a3679cad3713a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/3] New package: sequoia-sq-0.27.0

---
 srcpkgs/sequoia-sq/template | 26 ++++++++++++++++++++++++++
 srcpkgs/sequoia-sq/update   |  2 ++
 2 files changed, 28 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template
 create mode 100644 srcpkgs/sequoia-sq/update

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..0fffb23bf657
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,26 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.27.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang nettle-devel"
+makedepends="openssl-devel nettle-devel"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e943528be6af2b14c5b9d3a011335233d985ee69f43700d29d99908359f8c345
+conflicts="squirrel"
+
+post_patch() {
+	vsed -i "/-Dwarnings/d" "${wrksrc}/.cargo/config.toml"
+}
+
+post_install() {
+	for page in $(ls man-sq-net-autocrypt); do
+		vman man-sq-net-autocrypt/${page}
+	done
+}
diff --git a/srcpkgs/sequoia-sq/update b/srcpkgs/sequoia-sq/update
new file mode 100644
index 000000000000..5b83f3564619
--- /dev/null
+++ b/srcpkgs/sequoia-sq/update
@@ -0,0 +1,2 @@
+site="https://gitlab.com/sequoia-pgp/sequoia/-/tags?format=atom"
+pattern="<title>sq/v\K[\d.]+(?=</title>)"

From c48fb2a8d04c35bd6ba0ea6361208cf74e4b4cf0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/3] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (23 preceding siblings ...)
  2022-08-01 14:57 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-08-07 16:38 ` jcgruenhage
  2022-08-08 20:32 ` jcgruenhage
                   ` (9 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-08-07 16:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- [ ] ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- [ ] figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))
- [x] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From db7ff41a40c69df4513a7f3dec7884ec458fa615 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/3] New package: sequoia-sop-0.27.1

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..de2d5caa62ad
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.27.1
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=5094965da3fb8c67b7224534ddcd94cf3409d4c7c74e53473d7804f2a343e2aa
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 9ddf5f3c9cd229c8ca585fbd5085afaee4e40141 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/3] New package: sequoia-sq-0.27.0

---
 srcpkgs/sequoia-sq/template | 27 +++++++++++++++++++++++++++
 srcpkgs/sequoia-sq/update   |  2 ++
 2 files changed, 29 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template
 create mode 100644 srcpkgs/sequoia-sq/update

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..fadf24eb74b7
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,27 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.27.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+_deps="nettle-devel openssl-devel"
+hostmakedepends="pkg-config llvm clang ${_deps}"
+makedepends="${_deps}"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e943528be6af2b14c5b9d3a011335233d985ee69f43700d29d99908359f8c345
+conflicts="squirrel"
+
+post_patch() {
+	vsed -i "/-Dwarnings/d" "${wrksrc}/.cargo/config.toml"
+}
+
+post_install() {
+	for page in $(ls man-sq-autocrypt); do
+		vman man-sq-autocrypt/${page}
+	done
+}
diff --git a/srcpkgs/sequoia-sq/update b/srcpkgs/sequoia-sq/update
new file mode 100644
index 000000000000..5b83f3564619
--- /dev/null
+++ b/srcpkgs/sequoia-sq/update
@@ -0,0 +1,2 @@
+site="https://gitlab.com/sequoia-pgp/sequoia/-/tags?format=atom"
+pattern="<title>sq/v\K[\d.]+(?=</title>)"

From acd3f58f25afade0aeb15e418bf484c72bae7a9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/3] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (24 preceding siblings ...)
  2022-08-07 16:38 ` jcgruenhage
@ 2022-08-08 20:32 ` jcgruenhage
  2022-08-08 21:16 ` [PR REVIEW] " classabbyamp
                   ` (8 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-08-08 20:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- [ ] ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- [ ] figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))
- [x] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From 76435f658d381fb3ab9e641b7babc90be15b83c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/3] New package: sequoia-sop-0.27.1

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..de2d5caa62ad
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.27.1
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=5094965da3fb8c67b7224534ddcd94cf3409d4c7c74e53473d7804f2a343e2aa
+
+post_install() {
+	for page in $(ls man-sqop); do
+		vman man-sqop/${page}
+	done
+}

From 09e674f030ec7afe0f57c64c7d37e4390642f2ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/3] New package: sequoia-sq-0.27.0

---
 srcpkgs/sequoia-sq/template | 31 +++++++++++++++++++++++++++++++
 srcpkgs/sequoia-sq/update   |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template
 create mode 100644 srcpkgs/sequoia-sq/update

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..e4bf77b0cabd
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,31 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.27.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+_deps="nettle-devel openssl-devel"
+hostmakedepends="pkg-config llvm clang ${_deps}"
+makedepends="${_deps}"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e943528be6af2b14c5b9d3a011335233d985ee69f43700d29d99908359f8c345
+conflicts="squirrel"
+
+case "$XBPS_TARGET_MACHINE" in
+	armv7l) nocross="Problems with bindgen and ifdefs trying to import stubs-soft.h on a hf arch";;
+esac
+
+post_patch() {
+	vsed -i "/-Dwarnings/d" "${wrksrc}/.cargo/config.toml"
+}
+
+post_install() {
+	for page in $(ls man-sq-autocrypt); do
+		vman man-sq-autocrypt/${page}
+	done
+}
diff --git a/srcpkgs/sequoia-sq/update b/srcpkgs/sequoia-sq/update
new file mode 100644
index 000000000000..5b83f3564619
--- /dev/null
+++ b/srcpkgs/sequoia-sq/update
@@ -0,0 +1,2 @@
+site="https://gitlab.com/sequoia-pgp/sequoia/-/tags?format=atom"
+pattern="<title>sq/v\K[\d.]+(?=</title>)"

From ad75aca4db46f7bd883367da1bc91732b0356152 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/3] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

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

* Re: [PR REVIEW] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (25 preceding siblings ...)
  2022-08-08 20:32 ` jcgruenhage
@ 2022-08-08 21:16 ` classabbyamp
  2022-08-08 21:16 ` classabbyamp
                   ` (7 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: classabbyamp @ 2022-08-08 21:16 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#discussion_r940669338

Comment:
```suggestion
	for page in man-sqop/*; do
		vman ${page}
```
perhaps (and repeat elsewhere) 

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

* Re: [PR REVIEW] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (26 preceding siblings ...)
  2022-08-08 21:16 ` [PR REVIEW] " classabbyamp
@ 2022-08-08 21:16 ` classabbyamp
  2022-08-09  8:54 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (6 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: classabbyamp @ 2022-08-08 21:16 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#discussion_r940671482

Comment:
should be vsed -e expr -i file iirc

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (27 preceding siblings ...)
  2022-08-08 21:16 ` classabbyamp
@ 2022-08-09  8:54 ` jcgruenhage
  2022-08-09 22:24 ` jcgruenhage
                   ` (5 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-08-09  8:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- ~~figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))~~ marked as nocross for armv7l for now, considering neither we nor upstream really know *why* it's failing to cross compile
- [x] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From 58876d53097d6be7756bc6d0adb78f5edf0acbb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/3] New package: sequoia-sop-0.27.1

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..06a9eacbf193
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.27.1
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=5094965da3fb8c67b7224534ddcd94cf3409d4c7c74e53473d7804f2a343e2aa
+
+post_install() {
+	for page in man-sqop/*; do
+		vman ${page}
+	done
+}

From d98d57a8dd456ec3a195ee1f09a970c2dee9cbd9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/3] New package: sequoia-sq-0.27.0

---
 srcpkgs/sequoia-sq/template | 31 +++++++++++++++++++++++++++++++
 srcpkgs/sequoia-sq/update   |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template
 create mode 100644 srcpkgs/sequoia-sq/update

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..c922f3dfad85
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,31 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.27.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+_deps="nettle-devel openssl-devel"
+hostmakedepends="pkg-config llvm clang ${_deps}"
+makedepends="${_deps}"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e943528be6af2b14c5b9d3a011335233d985ee69f43700d29d99908359f8c345
+conflicts="squirrel"
+
+case "$XBPS_TARGET_MACHINE" in
+	armv7l) nocross="Problems with bindgen and ifdefs trying to import stubs-soft.h on a hf arch";;
+esac
+
+post_patch() {
+	vsed -e "/-Dwarnings/d" -i "${wrksrc}/.cargo/config.toml"
+}
+
+post_install() {
+	for page in man-sq-autocrypt/*; do
+		vman ${page}
+	done
+}
diff --git a/srcpkgs/sequoia-sq/update b/srcpkgs/sequoia-sq/update
new file mode 100644
index 000000000000..5b83f3564619
--- /dev/null
+++ b/srcpkgs/sequoia-sq/update
@@ -0,0 +1,2 @@
+site="https://gitlab.com/sequoia-pgp/sequoia/-/tags?format=atom"
+pattern="<title>sq/v\K[\d.]+(?=</title>)"

From b23e6be4cd392d4ecaecb002be790741d68de80e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/3] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

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

* Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (28 preceding siblings ...)
  2022-08-09  8:54 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-08-09 22:24 ` jcgruenhage
  2022-08-09 23:19 ` jcgruenhage
                   ` (4 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-08-09 22:24 UTC (permalink / raw)
  To: ml

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

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

https://github.com/jcgruenhage/void-packages sequoia
https://github.com/void-linux/void-packages/pull/32480

New Packages: sequoia cli utilities
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

### TODO
- [x] sq
- [x] sqop
- [x] sqv
- [x] add man pages
- [x] figure out cross compiling (was broken due to nettle-dev being required on the host as well as the target)
- ~~add shell completions~~ will be done after https://gitlab.com/sequoia-pgp/sequoia/-/issues/798 is fixed.
- [x] tell upstream about adding git tags for openpgp-card-tools ([upstream issue](https://gitlab.com/hkos/openpgp-card/-/issues/32))
- ~~figure out building for armv7l (some lib stuff missing, see [log](https://web.archive.org/web/20220409160215/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/6?urlExpires=2022-04-09T16%3A02%3A59.1606901Z&urlSigningMethod=HMACV1&urlSignature=gkM%2FhddrZEYzNMnQZqSFJQcD3ARwMfWvTQLNQA30A9g%3D))~~ marked as nocross for armv7l for now, considering neither we nor upstream really know *why* it's failing to cross compile
- [x] figure out building for x86_64-musl (some deprecated musl specific rust code, see [log](https://web.archive.org/web/20220409160239/https://pipelines.actions.githubusercontent.com/serviceHosts/8d180b0e-8647-44ca-8431-6b9f11113866/_apis/pipelines/1/runs/49556/signedlogcontent/8?urlExpires=2022-04-09T16%3A03%3A21.7631273Z&urlSigningMethod=HMACV1&urlSignature=iRYCydXZC%2FxRhVp8pVRbPgkAk8puf85yX5uMTGmzcGM%3D))

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

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

From 05561b029da9aabb8c6b26c96396c992910bc871 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:21 +0200
Subject: [PATCH 1/3] New package: sequoia-sop-0.27.1

---
 srcpkgs/sequoia-sop/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/sequoia-sop/template

diff --git a/srcpkgs/sequoia-sop/template b/srcpkgs/sequoia-sop/template
new file mode 100644
index 000000000000..06a9eacbf193
--- /dev/null
+++ b/srcpkgs/sequoia-sop/template
@@ -0,0 +1,21 @@
+# Template file for 'sequoia-sop'
+pkgname=sequoia-sop
+version=0.27.1
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+configure_args="--bin sqop --features cli"
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Implementation of the Stateless OpenPGP CLI using Sequoia"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sop/"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sop/-/archive/v${version}/sequoia-sop-v${version}.tar.gz"
+checksum=5094965da3fb8c67b7224534ddcd94cf3409d4c7c74e53473d7804f2a343e2aa
+
+post_install() {
+	for page in man-sqop/*; do
+		vman ${page}
+	done
+}

From 87f78528bbf16f939864dbb5865a09ddfab24b55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 16:07:24 +0200
Subject: [PATCH 2/3] New package: sequoia-sq-0.27.0

---
 srcpkgs/sequoia-sq/template | 31 +++++++++++++++++++++++++++++++
 srcpkgs/sequoia-sq/update   |  2 ++
 2 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/sequoia-sq/template
 create mode 100644 srcpkgs/sequoia-sq/update

diff --git a/srcpkgs/sequoia-sq/template b/srcpkgs/sequoia-sq/template
new file mode 100644
index 000000000000..d9e875954e0c
--- /dev/null
+++ b/srcpkgs/sequoia-sq/template
@@ -0,0 +1,31 @@
+# Template file for 'sequoia-sq'
+pkgname=sequoia-sq
+version=0.27.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_wrksrc="sq"
+build_style=cargo
+_deps="nettle-devel openssl-devel"
+hostmakedepends="pkg-config llvm clang ${_deps}"
+makedepends="${_deps}"
+short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://sequoia-pgp.org/projects/#sq"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia/-/archive/sq/v${version}/sequoia-sq-v${version}.tar.gz"
+checksum=e943528be6af2b14c5b9d3a011335233d985ee69f43700d29d99908359f8c345
+conflicts="squirrel"
+
+case "$XBPS_TARGET_MACHINE" in
+	armv*l) nocross="Requires C libs included in build.rs, which is currently broken in xbps-src. These failures only manifest on a hf archs right now";;
+esac
+
+post_patch() {
+	vsed -e "/-Dwarnings/d" -i "${wrksrc}/.cargo/config.toml"
+}
+
+post_install() {
+	for page in man-sq-autocrypt/*; do
+		vman ${page}
+	done
+}
diff --git a/srcpkgs/sequoia-sq/update b/srcpkgs/sequoia-sq/update
new file mode 100644
index 000000000000..5b83f3564619
--- /dev/null
+++ b/srcpkgs/sequoia-sq/update
@@ -0,0 +1,2 @@
+site="https://gitlab.com/sequoia-pgp/sequoia/-/tags?format=atom"
+pattern="<title>sq/v\K[\d.]+(?=</title>)"

From 9b6d8f9fdc18cd6df53e3eb3058b5520bba7a0cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 13 Aug 2021 18:12:28 +0200
Subject: [PATCH 3/3] New package: sequoia-sqv-1.1.0

---
 srcpkgs/sequoia-sqv/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/sequoia-sqv/template

diff --git a/srcpkgs/sequoia-sqv/template b/srcpkgs/sequoia-sqv/template
new file mode 100644
index 000000000000..77e52437c7ac
--- /dev/null
+++ b/srcpkgs/sequoia-sqv/template
@@ -0,0 +1,14 @@
+# Template file for 'sequoia-sqv'
+pkgname=sequoia-sqv
+version=1.1.0
+revision=1
+wrksrc="${pkgname}-v${version}"
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel"
+short_desc="Simple PGP signature verification program"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-2.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-sqv"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-sqv/-/archive/v${version}/sequoia-sqv-v${version}.tar.gz"
+checksum=58eb8f7f803b7fee3f709821d50a78f376aa7f3dc29cfeea4863b37449de2c29

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

* Re: New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (29 preceding siblings ...)
  2022-08-09 22:24 ` jcgruenhage
@ 2022-08-09 23:19 ` jcgruenhage
  2022-08-09 23:25 ` jcgruenhage
                   ` (3 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-08-09 23:19 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#issuecomment-1209986035

Comment:
TL;DW of the problem here: `sq` depends on nettle-sys for both host (in build.rs) as well as target (for the application itself). Getting `bindgen` to work correctly for both host and target in our cross compilation setup is *super* tricky, and I've sunken many, many hours into it without getting anywhere so far. For most architectures it works anyway, but on armv*l it breaks due to some import trying to get in `/usr/include/gnu/stubs-soft.h` even though they are hard-float architectures, meaning that the file just doesn't exist.

I've tried patching out the requirement for nettle-sys in sq's build.rs script, but that ended up being a way bigger challenge than anticipated, and I'd prefer to just mark this as nocross for the affected architectures for now. If someone could validate that it works on those architectures at all, I'd be very happy about it as I currently don't have any armv7l device anymore to test on, but I suspect that it just works on those.

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

* Re: New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (30 preceding siblings ...)
  2022-08-09 23:19 ` jcgruenhage
@ 2022-08-09 23:25 ` jcgruenhage
  2022-08-12  6:41 ` [PR REVIEW] " ericonr
                   ` (2 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-08-09 23:25 UTC (permalink / raw)
  To: ml

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

New comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#issuecomment-1209989333

Comment:
(Last but not least: The probability that there is even a single user on older arm architectures that wants to use `sq` on Void is very slim, so.. yeah. I don't have any more time to sink into this)

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

* Re: [PR REVIEW] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (31 preceding siblings ...)
  2022-08-09 23:25 ` jcgruenhage
@ 2022-08-12  6:41 ` ericonr
  2022-08-12  7:42 ` jcgruenhage
  2022-08-12 17:45 ` ahesford
  34 siblings, 0 replies; 36+ messages in thread
From: ericonr @ 2022-08-12  6:41 UTC (permalink / raw)
  To: ml

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

New review comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#discussion_r944157935

Comment:
We talked on IRC about fixing this by updating the bindgen crate, right?

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

* Re: [PR REVIEW] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (32 preceding siblings ...)
  2022-08-12  6:41 ` [PR REVIEW] " ericonr
@ 2022-08-12  7:42 ` jcgruenhage
  2022-08-12 17:45 ` ahesford
  34 siblings, 0 replies; 36+ messages in thread
From: jcgruenhage @ 2022-08-12  7:42 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#discussion_r944197216

Comment:
Yeah. I tried it with `EXTRA_CLANG_ARGS_<TARGET>` after updating bindgen to 0.59, which I had hoped would help, but without success. The problems persisted

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

* Re: [PR REVIEW] New Packages: sequoia cli utilities
  2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
                   ` (33 preceding siblings ...)
  2022-08-12  7:42 ` jcgruenhage
@ 2022-08-12 17:45 ` ahesford
  34 siblings, 0 replies; 36+ messages in thread
From: ahesford @ 2022-08-12 17:45 UTC (permalink / raw)
  To: ml

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

New review comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/32480#discussion_r944681746

Comment:
I tested a native build on armv7l and it seems to work, so `nocross` seems like the right choice here.

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

end of thread, other threads:[~2022-08-12 17:45 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-13 14:11 [PR PATCH] New Packages: sequoia cli utilities jcgruenhage
2021-08-13 16:13 ` [PR PATCH] [Updated] " jcgruenhage
2021-08-13 16:16 ` jcgruenhage
2021-08-13 16:55 ` jcgruenhage
2022-01-15 15:32 ` jcgruenhage
2022-02-08 14:42 ` jcgruenhage
2022-02-08 22:14 ` jcgruenhage
2022-02-21  5:00 ` jcgruenhage
2022-02-26 18:30 ` jcgruenhage
2022-04-09 14:54 ` jcgruenhage
2022-04-09 15:18 ` [PR REVIEW] " classabbyamp
2022-04-09 15:28 ` jcgruenhage
2022-04-09 16:05 ` jcgruenhage
2022-05-14  9:43 ` jcgruenhage
2022-05-14  9:46 ` [PR PATCH] [Updated] " jcgruenhage
2022-05-15 21:32 ` ericonr
2022-05-15 22:43 ` classabbyamp
2022-06-02  9:12 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-02  9:46 ` jcgruenhage
2022-06-03  9:54 ` jcgruenhage
2022-06-14 12:10 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-14 12:47 ` jcgruenhage
2022-06-14 14:10 ` jcgruenhage
2022-06-14 14:20 ` jcgruenhage
2022-08-01 14:57 ` [PR PATCH] [Updated] " jcgruenhage
2022-08-07 16:38 ` jcgruenhage
2022-08-08 20:32 ` jcgruenhage
2022-08-08 21:16 ` [PR REVIEW] " classabbyamp
2022-08-08 21:16 ` classabbyamp
2022-08-09  8:54 ` [PR PATCH] [Updated] " jcgruenhage
2022-08-09 22:24 ` jcgruenhage
2022-08-09 23:19 ` jcgruenhage
2022-08-09 23:25 ` jcgruenhage
2022-08-12  6:41 ` [PR REVIEW] " ericonr
2022-08-12  7:42 ` jcgruenhage
2022-08-12 17:45 ` ahesford

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