Github messages for voidlinux
 help / color / mirror / Atom feed
From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New Packages: sequoia cli utilities
Date: Wed, 10 Aug 2022 00:24:13 +0200	[thread overview]
Message-ID: <20220809222413.PjPfzq50MyjvG9NSA_uF6yd-Omnglu5BG5V-zNw8Mow@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32480@inbox.vuxu.org>

[-- 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

  parent reply	other threads:[~2022-08-09 22:24 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-13 14:11 [PR PATCH] " 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 [this message]
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
2022-09-21 10:23 ` [PR PATCH] [Merged]: " ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220809222413.PjPfzq50MyjvG9NSA_uF6yd-Omnglu5BG5V-zNw8Mow@z \
    --to=jcgruenhage@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).