Github messages for voidlinux
 help / color / mirror / Atom feed
From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.7.0
Date: Tue, 07 May 2024 19:04:07 +0200	[thread overview]
Message-ID: <20240507170407.B875D23819@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49301@inbox.vuxu.org>

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

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

https://github.com/classabbyamp/void-packages new/sequoia-chameleon-gnupg
https://github.com/void-linux/void-packages/pull/49301

New package: sequoia-chameleon-gnupg-0.7.0
- ~~gnupg1: add alternatives for gpg and gpgv~~
- ~~gnupg: add alternatives for gpg and gpgv~~
- New package: sequoia-chameleon-gnupg-0.6.0

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

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

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

revival of https://github.com/void-linux/void-packages/pull/41306

~~@sgn, you had comments in the previous PR about the alternatives groups. I've set `--enable-gpg-is-gpg2` for `gnupg`, so I believe that fixes your broken scenario:~~

```
$ gpgconf --check-programs
gpg:OpenPGP:/usr/bin/gpg2:1:1:
gpgsm:S/MIME:/usr/bin/gpgsm:1:1:
keyboxd:Public Keys:/usr/libexec/keyboxd:1:1:
gpg-agent:Private Keys:/usr/bin/gpg-agent:1:1:
scdaemon:Smartcards:/usr/libexec/scdaemon:1:1:
dirmngr:Network:/usr/bin/dirmngr:1:1:
pinentry:Passphrase Entry:/usr/bin/pinentry:1:1:
```

~~Additionally, should `gnupg2` just become a dummy package, with doc and examples directories being called `gnupg2` with a symlink to `gnupg` in the main package?~~


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

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

From e053cb0d6d4dd80ebfef72b43de512e80f1f0f2d Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:59:09 -0400
Subject: [PATCH] New package: sequoia-chameleon-gnupg-0.9.0

---
 srcpkgs/sequoia-chameleon-gnupg/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/sequoia-chameleon-gnupg/template

diff --git a/srcpkgs/sequoia-chameleon-gnupg/template b/srcpkgs/sequoia-chameleon-gnupg/template
new file mode 100644
index 00000000000000..137ffc6d8020c7
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,23 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.9.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel openssl-devel sqlite-devel bzip2-devel"
+checkdepends="gnupg faketime sequoia-sq"
+short_desc="Re-implementation of gpg and gpgv from Sequoia OpenPGP"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg"
+distfiles="https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/archive/v${version}/sequoia-chameleon-gnupg-v${version}.tar.gz"
+checksum=fce55bc7323d40476415bf52451ae8b71ab2760665d25d39b08c3caf574e7e16
+
+post_install() {
+	# allow users to add /usr/libexec/sequoia to $PATH to get gpg = gpg-sq
+	vmkdir /usr/libexec/sequoia
+	mv "${DESTDIR}"/usr/bin/gpg-sq "${DESTDIR}"/usr/libexec/sequoia/gpg
+	ln -s ../libexec/sequoia/gpg "${DESTDIR}"/usr/bin/gpg-sq
+	mv "${DESTDIR}"/usr/bin/gpgv-sq "${DESTDIR}"/usr/libexec/sequoia/gpgv
+	ln -s ../libexec/sequoia/gpgv "${DESTDIR}"/usr/bin/gpgv-sq
+}

  parent reply	other threads:[~2024-05-07 17:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
2024-03-15 17:12 ` [PR PATCH] [Updated] " classabbyamp
2024-03-15 18:35 ` classabbyamp
2024-03-19 17:43 ` classabbyamp
2024-03-19 18:16 ` classabbyamp
2024-03-21  7:33 ` classabbyamp
2024-03-21  7:37 ` classabbyamp
2024-03-21  7:44 ` classabbyamp
2024-03-22  8:14 ` New package: sequoia-chameleon-gnupg-0.7.0 0x5c
2024-04-05 22:56 ` [PR PATCH] [Updated] " classabbyamp
2024-05-07 17:04 ` classabbyamp [this message]
2024-05-07 17:21 ` [PR PATCH] [Merged]: " classabbyamp

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=20240507170407.B875D23819@inbox.vuxu.org \
    --to=classabbyamp@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).