Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0
@ 2024-03-15  7:19 classabbyamp
  2024-03-15 17:12 ` [PR PATCH] [Updated] " classabbyamp
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: classabbyamp @ 2024-03-15  7:19 UTC (permalink / raw)
  To: ml

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

There is a new 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.6.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: 4774 bytes --]

From 4165ce45379d7bd099deb5e5db4ac2bc162a57e9 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:55:26 -0400
Subject: [PATCH 1/3] gnupg1: add alternatives for gpg and gpgv

---
 srcpkgs/gnupg1/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gnupg1/template b/srcpkgs/gnupg1/template
index e86147006aa165..bd5735fdebc776 100644
--- a/srcpkgs/gnupg1/template
+++ b/srcpkgs/gnupg1/template
@@ -1,7 +1,7 @@
 # Template file for 'gnupg1'
 pkgname=gnupg1
 version=1.4.23
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--enable-threads=posix --enable-noexecstack
  gnupg_cv_regex_broken=no"
@@ -14,6 +14,10 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
+alternatives="gpg:gpg:/usr/bin/gpg1
+ gpg:gpgv:/usr/bin/gpgv1
+ gpg:gpg.1:/usr/share/man/man1/gpg1.1
+ gpg:gpgv.1:/usr/share/man/man1/gpgv1.1"
 
 CFLAGS="-fcommon"
 

From 47a900328c9a78088df59f6539feb68084fea493 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:56:21 -0400
Subject: [PATCH 2/3] gnupg: add alternatives for gpg and gpgv

---
 srcpkgs/gnupg/template | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index d18025c9de2bb8..e941cb70bec0e4 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -2,7 +2,7 @@
 # minor version updates (2.3-> 2.4) often need a fix in reverse dependencies
 pkgname=gnupg
 version=2.4.3
-revision=2
+revision=3
 # We're building outside of the source tree, because upstream told us to:
 # https://dev.gnupg.org/T6313#166339
 build_wrksrc=build
@@ -12,7 +12,7 @@ configure_args="$(vopt_enable ldap)
  --with-libassuan-prefix=${XBPS_CROSS_BASE}/usr
  --with-ksba-prefix=${XBPS_CROSS_BASE}/usr
  --with-npth-prefix=${XBPS_CROSS_BASE}/usr
- --enable-all-tests"
+ --enable-all-tests --enable-gpg-is-gpg2"
 configure_script="../configure"
 hostmakedepends="pkg-config gettext"
 makedepends="bzip2-devel gnutls-devel libassuan-devel libcurl-devel
@@ -25,6 +25,10 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnupg.org/"
 distfiles="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=a271ae6d732f6f4d80c258ad9ee88dd9c94c8fdc33c3e45328c4d7c126bd219d
+alternatives="gpg:gpg:/usr/bin/gpg2
+ gpg:gpgv:/usr/bin/gpgv2
+ gpg:gpg.1:/usr/share/man/man1/gpg2.1
+ gpg:gpgv.1:/usr/share/man/man1/gpgv2.1"
 make_check_pre='env TESTFLAGS="--parallel=${XBPS_MAKEJOBS}"'
 build_options="ldap"
 build_options_default="ldap"
@@ -33,6 +37,11 @@ post_extract() {
 	mkdir build
 }
 
+pre_check() {
+	# when --enable-gpg-is-gpg2 is set, tests look for gpg2, which is created at install time
+	ln -s gpg bin/gpg2
+}
+
 post_install() {
 	vmkdir usr/share/examples
 	mv ${DESTDIR}/usr/share/doc/gnupg/examples \
@@ -43,9 +52,6 @@ gnupg2_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - compat package"
 	pkg_install() {
-		vmkdir usr/bin
-		ln -s gpg $PKGDESTDIR/usr/bin/gpg2
-		ln -s gpgv $PKGDESTDIR/usr/bin/gpgv2
 		vmkdir usr/share/examples
 		ln -s gnupg $PKGDESTDIR/usr/share/examples/gnupg2
 		vmkdir usr/share/doc

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

---
 srcpkgs/sequoia-chameleon-gnupg/template | 18 ++++++++++++++++++
 1 file changed, 18 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..f7055fe8ef604e
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,18 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.6.0
+revision=1
+build_style=cargo
+_deps="nettle-devel openssl-devel sqlite-devel"
+hostmakedepends="pkg-config llvm clang ${_deps}"
+makedepends="${_deps}"
+depends="gnupg"
+checkdepends="gnupg faketime sequoia-sq"
+short_desc="Re-implmentation 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=777f466384389435c42d789d17f22b1a54f9e44647a3ae645c7645da67054b31
+alternatives="gpg:gpg:/usr/bin/gpg-sq
+ gpg:gpgv:/usr/bin/gpgv-sq"

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

* Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.6.0
  2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
@ 2024-03-15 17:12 ` classabbyamp
  2024-03-15 18:35 ` classabbyamp
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-03-15 17:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1546 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.6.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: 4774 bytes --]

From f32e530c390b63459bd41536e4e260e1de47155e Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:55:26 -0400
Subject: [PATCH 1/3] gnupg1: add alternatives for gpg and gpgv

---
 srcpkgs/gnupg1/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gnupg1/template b/srcpkgs/gnupg1/template
index e86147006aa165..bd5735fdebc776 100644
--- a/srcpkgs/gnupg1/template
+++ b/srcpkgs/gnupg1/template
@@ -1,7 +1,7 @@
 # Template file for 'gnupg1'
 pkgname=gnupg1
 version=1.4.23
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--enable-threads=posix --enable-noexecstack
  gnupg_cv_regex_broken=no"
@@ -14,6 +14,10 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
+alternatives="gpg:gpg:/usr/bin/gpg1
+ gpg:gpgv:/usr/bin/gpgv1
+ gpg:gpg.1:/usr/share/man/man1/gpg1.1
+ gpg:gpgv.1:/usr/share/man/man1/gpgv1.1"
 
 CFLAGS="-fcommon"
 

From fa21110be8943b338b984cc416312d6ae67247a2 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:56:21 -0400
Subject: [PATCH 2/3] gnupg: add alternatives for gpg and gpgv

---
 srcpkgs/gnupg/template | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 35057913185db1..f850e70e8dbc74 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -2,7 +2,7 @@
 # minor version updates (2.3-> 2.4) often need a fix in reverse dependencies
 pkgname=gnupg
 version=2.4.5
-revision=1
+revision=2
 # We're building outside of the source tree, because upstream told us to:
 # https://dev.gnupg.org/T6313#166339
 build_wrksrc=build
@@ -12,7 +12,7 @@ configure_args="$(vopt_enable ldap)
  --with-libassuan-prefix=${XBPS_CROSS_BASE}/usr
  --with-ksba-prefix=${XBPS_CROSS_BASE}/usr
  --with-npth-prefix=${XBPS_CROSS_BASE}/usr
- --enable-all-tests"
+ --enable-all-tests --enable-gpg-is-gpg2"
 configure_script="../configure"
 hostmakedepends="pkg-config gettext"
 makedepends="bzip2-devel gnutls-devel libassuan-devel libcurl-devel
@@ -25,6 +25,10 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnupg.org/"
 distfiles="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=f68f7d75d06cb1635c336d34d844af97436c3f64ea14bcb7c869782f96f44277
+alternatives="gpg:gpg:/usr/bin/gpg2
+ gpg:gpgv:/usr/bin/gpgv2
+ gpg:gpg.1:/usr/share/man/man1/gpg2.1
+ gpg:gpgv.1:/usr/share/man/man1/gpgv2.1"
 make_check_pre='env TESTFLAGS="--parallel=${XBPS_MAKEJOBS}"'
 build_options="ldap"
 build_options_default="ldap"
@@ -33,6 +37,11 @@ post_extract() {
 	mkdir build
 }
 
+pre_check() {
+	# when --enable-gpg-is-gpg2 is set, tests look for gpg2, which is created at install time
+	ln -s gpg bin/gpg2
+}
+
 post_install() {
 	vmkdir usr/share/examples
 	mv ${DESTDIR}/usr/share/doc/gnupg/examples \
@@ -43,9 +52,6 @@ gnupg2_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - compat package"
 	pkg_install() {
-		vmkdir usr/bin
-		ln -s gpg $PKGDESTDIR/usr/bin/gpg2
-		ln -s gpgv $PKGDESTDIR/usr/bin/gpgv2
 		vmkdir usr/share/examples
 		ln -s gnupg $PKGDESTDIR/usr/share/examples/gnupg2
 		vmkdir usr/share/doc

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

---
 srcpkgs/sequoia-chameleon-gnupg/template | 18 ++++++++++++++++++
 1 file changed, 18 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..f7055fe8ef604e
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,18 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.6.0
+revision=1
+build_style=cargo
+_deps="nettle-devel openssl-devel sqlite-devel"
+hostmakedepends="pkg-config llvm clang ${_deps}"
+makedepends="${_deps}"
+depends="gnupg"
+checkdepends="gnupg faketime sequoia-sq"
+short_desc="Re-implmentation 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=777f466384389435c42d789d17f22b1a54f9e44647a3ae645c7645da67054b31
+alternatives="gpg:gpg:/usr/bin/gpg-sq
+ gpg:gpgv:/usr/bin/gpgv-sq"

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

* Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.6.0
  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
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-03-15 18:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1546 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.6.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: 5133 bytes --]

From f32e530c390b63459bd41536e4e260e1de47155e Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:55:26 -0400
Subject: [PATCH 1/3] gnupg1: add alternatives for gpg and gpgv

---
 srcpkgs/gnupg1/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gnupg1/template b/srcpkgs/gnupg1/template
index e86147006aa165..bd5735fdebc776 100644
--- a/srcpkgs/gnupg1/template
+++ b/srcpkgs/gnupg1/template
@@ -1,7 +1,7 @@
 # Template file for 'gnupg1'
 pkgname=gnupg1
 version=1.4.23
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--enable-threads=posix --enable-noexecstack
  gnupg_cv_regex_broken=no"
@@ -14,6 +14,10 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
+alternatives="gpg:gpg:/usr/bin/gpg1
+ gpg:gpgv:/usr/bin/gpgv1
+ gpg:gpg.1:/usr/share/man/man1/gpg1.1
+ gpg:gpgv.1:/usr/share/man/man1/gpgv1.1"
 
 CFLAGS="-fcommon"
 

From d99cf17bd587ab6fef98ecdb4ecf8cf5a32e435b Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:56:21 -0400
Subject: [PATCH 2/3] gnupg: add alternatives for gpg and gpgv

---
 srcpkgs/gnupg/template | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 35057913185db1..e9fb72e2d7f62c 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -2,7 +2,7 @@
 # minor version updates (2.3-> 2.4) often need a fix in reverse dependencies
 pkgname=gnupg
 version=2.4.5
-revision=1
+revision=2
 # We're building outside of the source tree, because upstream told us to:
 # https://dev.gnupg.org/T6313#166339
 build_wrksrc=build
@@ -12,7 +12,7 @@ configure_args="$(vopt_enable ldap)
  --with-libassuan-prefix=${XBPS_CROSS_BASE}/usr
  --with-ksba-prefix=${XBPS_CROSS_BASE}/usr
  --with-npth-prefix=${XBPS_CROSS_BASE}/usr
- --enable-all-tests"
+ --enable-all-tests --enable-gpg-is-gpg2"
 configure_script="../configure"
 hostmakedepends="pkg-config gettext"
 makedepends="bzip2-devel gnutls-devel libassuan-devel libcurl-devel
@@ -25,6 +25,10 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnupg.org/"
 distfiles="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=f68f7d75d06cb1635c336d34d844af97436c3f64ea14bcb7c869782f96f44277
+alternatives="gpg:gpg:/usr/bin/gpg2
+ gpg:gpgv:/usr/bin/gpgv2
+ gpg:gpg.1:/usr/share/man/man1/gpg2.1
+ gpg:gpgv.1:/usr/share/man/man1/gpgv2.1"
 make_check_pre='env TESTFLAGS="--parallel=${XBPS_MAKEJOBS}"'
 build_options="ldap"
 build_options_default="ldap"
@@ -33,24 +37,23 @@ post_extract() {
 	mkdir build
 }
 
+pre_check() {
+	# when --enable-gpg-is-gpg2 is set, tests look for gpg2, which is created at install time
+	ln -s gpg bin/gpg2
+}
+
 post_install() {
 	vmkdir usr/share/examples
-	mv ${DESTDIR}/usr/share/doc/gnupg/examples \
-		${DESTDIR}/usr/share/examples/gnupg
+	mv "${DESTDIR}/usr/share/doc/gnupg/examples" \
+		"${DESTDIR}/usr/share/examples/gnupg"
+	ln -s gnupg "${DESTDIR}/usr/share/examples/gnupg2"
+	ln -s gnupg "${DESTDIR}/usr/share/doc/gnupg2"
 }
 
 gnupg2_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
-	short_desc+=" - compat package"
-	pkg_install() {
-		vmkdir usr/bin
-		ln -s gpg $PKGDESTDIR/usr/bin/gpg2
-		ln -s gpgv $PKGDESTDIR/usr/bin/gpgv2
-		vmkdir usr/share/examples
-		ln -s gnupg $PKGDESTDIR/usr/share/examples/gnupg2
-		vmkdir usr/share/doc
-		ln -s gnupg $PKGDESTDIR/usr/share/doc/gnupg2
-	}
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
 }
 
 gnupg2-scdaemon_package() {

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

---
 srcpkgs/sequoia-chameleon-gnupg/template | 17 +++++++++++++++++
 1 file changed, 17 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..f1a907859bc466
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,17 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.6.0
+revision=1
+build_style=cargo
+_deps="nettle-devel openssl-devel sqlite-devel"
+hostmakedepends="pkg-config llvm clang"
+makedepends="${_deps}"
+checkdepends="gnupg faketime sequoia-sq"
+short_desc="Re-implmentation 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=777f466384389435c42d789d17f22b1a54f9e44647a3ae645c7645da67054b31
+alternatives="gpg:gpg:/usr/bin/gpg-sq
+ gpg:gpgv:/usr/bin/gpgv-sq"

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

* Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.6.0
  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
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-03-19 17:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1546 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.6.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: 5133 bytes --]

From 08a9babfc2db01198b74a6d611866f6357baec02 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:55:26 -0400
Subject: [PATCH 1/3] gnupg1: add alternatives for gpg and gpgv

---
 srcpkgs/gnupg1/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/gnupg1/template b/srcpkgs/gnupg1/template
index e86147006aa165..bd5735fdebc776 100644
--- a/srcpkgs/gnupg1/template
+++ b/srcpkgs/gnupg1/template
@@ -1,7 +1,7 @@
 # Template file for 'gnupg1'
 pkgname=gnupg1
 version=1.4.23
-revision=2
+revision=3
 build_style=gnu-configure
 configure_args="--enable-threads=posix --enable-noexecstack
  gnupg_cv_regex_broken=no"
@@ -14,6 +14,10 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnupg.org/"
 distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
+alternatives="gpg:gpg:/usr/bin/gpg1
+ gpg:gpgv:/usr/bin/gpgv1
+ gpg:gpg.1:/usr/share/man/man1/gpg1.1
+ gpg:gpgv.1:/usr/share/man/man1/gpgv1.1"
 
 CFLAGS="-fcommon"
 

From bb457ee8cddbc25cdb4573799e2fbf1185c49b2a Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:56:21 -0400
Subject: [PATCH 2/3] gnupg: add alternatives for gpg and gpgv

---
 srcpkgs/gnupg/template | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 4e4c110d4cea9b..2c5ac47a9c597f 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -2,7 +2,7 @@
 # minor version updates (2.3-> 2.4) often need a fix in reverse dependencies
 pkgname=gnupg
 version=2.4.5
-revision=1
+revision=2
 # We're building outside of the source tree, because upstream told us to:
 # https://dev.gnupg.org/T6313#166339
 build_wrksrc=build
@@ -12,7 +12,7 @@ configure_args="$(vopt_enable ldap)
  --with-libassuan-prefix=${XBPS_CROSS_BASE}/usr
  --with-ksba-prefix=${XBPS_CROSS_BASE}/usr
  --with-npth-prefix=${XBPS_CROSS_BASE}/usr
- --enable-all-tests"
+ --enable-all-tests --enable-gpg-is-gpg2"
 configure_script="../configure"
 hostmakedepends="pkg-config gettext"
 makedepends="bzip2-devel gnutls-devel libassuan-devel libcurl-devel
@@ -25,6 +25,10 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnupg.org/"
 distfiles="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=f68f7d75d06cb1635c336d34d844af97436c3f64ea14bcb7c869782f96f44277
+alternatives="gpg:gpg:/usr/bin/gpg2
+ gpg:gpgv:/usr/bin/gpgv2
+ gpg:gpg.1:/usr/share/man/man1/gpg2.1
+ gpg:gpgv.1:/usr/share/man/man1/gpgv2.1"
 make_check_pre='env TESTFLAGS="--parallel=${XBPS_MAKEJOBS}"'
 build_options="ldap"
 build_options_default="ldap"
@@ -33,24 +37,23 @@ post_extract() {
 	mkdir build
 }
 
+pre_check() {
+	# when --enable-gpg-is-gpg2 is set, tests look for gpg2, which is created at install time
+	ln -s gpg bin/gpg2
+}
+
 post_install() {
 	vmkdir usr/share/examples
-	mv ${DESTDIR}/usr/share/doc/gnupg/examples \
-		${DESTDIR}/usr/share/examples/gnupg
+	mv "${DESTDIR}/usr/share/doc/gnupg/examples" \
+		"${DESTDIR}/usr/share/examples/gnupg"
+	ln -s gnupg "${DESTDIR}/usr/share/examples/gnupg2"
+	ln -s gnupg "${DESTDIR}/usr/share/doc/gnupg2"
 }
 
 gnupg2_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
-	short_desc+=" - compat package"
-	pkg_install() {
-		vmkdir usr/bin
-		ln -s gpg $PKGDESTDIR/usr/bin/gpg2
-		ln -s gpgv $PKGDESTDIR/usr/bin/gpgv2
-		vmkdir usr/share/examples
-		ln -s gnupg $PKGDESTDIR/usr/share/examples/gnupg2
-		vmkdir usr/share/doc
-		ln -s gnupg $PKGDESTDIR/usr/share/doc/gnupg2
-	}
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
 }
 
 gnupg2-scdaemon_package() {

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

---
 srcpkgs/sequoia-chameleon-gnupg/template | 17 +++++++++++++++++
 1 file changed, 17 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..aac45830fe2241
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,17 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.7.0
+revision=1
+build_style=cargo
+_deps="nettle-devel openssl-devel sqlite-devel"
+hostmakedepends="pkg-config llvm clang"
+makedepends="${_deps}"
+checkdepends="gnupg faketime sequoia-sq"
+short_desc="Re-implmentation 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=90cc3b8648711ae8f550dfb61fb9912a67a99755596fff40c09c8097b9491b41
+alternatives="gpg:gpg:/usr/bin/gpg-sq
+ gpg:gpgv:/usr/bin/gpgv-sq"

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

* Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.6.0
  2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
                   ` (2 preceding siblings ...)
  2024-03-19 17:43 ` classabbyamp
@ 2024-03-19 18:16 ` classabbyamp
  2024-03-21  7:33 ` classabbyamp
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-03-19 18:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1546 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.6.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: 4041 bytes --]

From 04fefd6ac3c25784b1dccdeb7393aa798612b78e Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Thu, 14 Mar 2024 17:56:21 -0400
Subject: [PATCH 1/2] gnupg: add alternatives for gpg and gpgv

---
 srcpkgs/gnupg/template | 31 +++++++++++++++++--------------
 1 file changed, 17 insertions(+), 14 deletions(-)

diff --git a/srcpkgs/gnupg/template b/srcpkgs/gnupg/template
index 4e4c110d4cea9b..2c5ac47a9c597f 100644
--- a/srcpkgs/gnupg/template
+++ b/srcpkgs/gnupg/template
@@ -2,7 +2,7 @@
 # minor version updates (2.3-> 2.4) often need a fix in reverse dependencies
 pkgname=gnupg
 version=2.4.5
-revision=1
+revision=2
 # We're building outside of the source tree, because upstream told us to:
 # https://dev.gnupg.org/T6313#166339
 build_wrksrc=build
@@ -12,7 +12,7 @@ configure_args="$(vopt_enable ldap)
  --with-libassuan-prefix=${XBPS_CROSS_BASE}/usr
  --with-ksba-prefix=${XBPS_CROSS_BASE}/usr
  --with-npth-prefix=${XBPS_CROSS_BASE}/usr
- --enable-all-tests"
+ --enable-all-tests --enable-gpg-is-gpg2"
 configure_script="../configure"
 hostmakedepends="pkg-config gettext"
 makedepends="bzip2-devel gnutls-devel libassuan-devel libcurl-devel
@@ -25,6 +25,10 @@ license="GPL-3.0-or-later"
 homepage="https://www.gnupg.org/"
 distfiles="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
 checksum=f68f7d75d06cb1635c336d34d844af97436c3f64ea14bcb7c869782f96f44277
+alternatives="gpg:gpg:/usr/bin/gpg2
+ gpg:gpgv:/usr/bin/gpgv2
+ gpg:gpg.1:/usr/share/man/man1/gpg2.1
+ gpg:gpgv.1:/usr/share/man/man1/gpgv2.1"
 make_check_pre='env TESTFLAGS="--parallel=${XBPS_MAKEJOBS}"'
 build_options="ldap"
 build_options_default="ldap"
@@ -33,24 +37,23 @@ post_extract() {
 	mkdir build
 }
 
+pre_check() {
+	# when --enable-gpg-is-gpg2 is set, tests look for gpg2, which is created at install time
+	ln -s gpg bin/gpg2
+}
+
 post_install() {
 	vmkdir usr/share/examples
-	mv ${DESTDIR}/usr/share/doc/gnupg/examples \
-		${DESTDIR}/usr/share/examples/gnupg
+	mv "${DESTDIR}/usr/share/doc/gnupg/examples" \
+		"${DESTDIR}/usr/share/examples/gnupg"
+	ln -s gnupg "${DESTDIR}/usr/share/examples/gnupg2"
+	ln -s gnupg "${DESTDIR}/usr/share/doc/gnupg2"
 }
 
 gnupg2_package() {
 	depends="${sourcepkg}>=${version}_${revision}"
-	short_desc+=" - compat package"
-	pkg_install() {
-		vmkdir usr/bin
-		ln -s gpg $PKGDESTDIR/usr/bin/gpg2
-		ln -s gpgv $PKGDESTDIR/usr/bin/gpgv2
-		vmkdir usr/share/examples
-		ln -s gnupg $PKGDESTDIR/usr/share/examples/gnupg2
-		vmkdir usr/share/doc
-		ln -s gnupg $PKGDESTDIR/usr/share/doc/gnupg2
-	}
+	short_desc+=" (transitional dummy package)"
+	build_style=meta
 }
 
 gnupg2-scdaemon_package() {

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

---
 srcpkgs/sequoia-chameleon-gnupg/template | 17 +++++++++++++++++
 1 file changed, 17 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..aac45830fe2241
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,17 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.7.0
+revision=1
+build_style=cargo
+_deps="nettle-devel openssl-devel sqlite-devel"
+hostmakedepends="pkg-config llvm clang"
+makedepends="${_deps}"
+checkdepends="gnupg faketime sequoia-sq"
+short_desc="Re-implmentation 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=90cc3b8648711ae8f550dfb61fb9912a67a99755596fff40c09c8097b9491b41
+alternatives="gpg:gpg:/usr/bin/gpg-sq
+ gpg:gpgv:/usr/bin/gpgv-sq"

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

* Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.6.0
  2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
                   ` (3 preceding siblings ...)
  2024-03-19 18:16 ` classabbyamp
@ 2024-03-21  7:33 ` classabbyamp
  2024-03-21  7:37 ` classabbyamp
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-03-21  7:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1546 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.6.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: 1783 bytes --]

From fca8c7d17da7ed4467a03fe3aab3589edeb97496 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.7.0

---
 srcpkgs/sequoia-chameleon-gnupg/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 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..c6aa8a34e75ed8
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,24 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.7.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel openssl-devel sqlite-devel"
+checkdepends="gnupg faketime sequoia-sq"
+short_desc="Re-implmentation 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=90cc3b8648711ae8f550dfb61fb9912a67a99755596fff40c09c8097b9491b41
+
+post_install() {
+	# allow users to add /usr/libexec/sequoia to $PATH to get gpg = gpg-sq,
+	# as messing with gnupg providing gpg2 again means patching a bunch of other packages
+	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
+}

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

* Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.6.0
  2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
                   ` (4 preceding siblings ...)
  2024-03-21  7:33 ` classabbyamp
@ 2024-03-21  7:37 ` classabbyamp
  2024-03-21  7:44 ` classabbyamp
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-03-21  7:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1546 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.6.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: 1784 bytes --]

From e4ee51b096a3a2d2c3cfeda9ef44c85e6fd81afb 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.7.0

---
 srcpkgs/sequoia-chameleon-gnupg/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 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..8e26115b82ece8
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,24 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.7.0
+revision=1
+build_style=cargo
+hostmakedepends="pkg-config llvm clang"
+makedepends="nettle-devel openssl-devel sqlite-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=90cc3b8648711ae8f550dfb61fb9912a67a99755596fff40c09c8097b9491b41
+
+post_install() {
+	# allow users to add /usr/libexec/sequoia to $PATH to get gpg = gpg-sq,
+	# as messing with gnupg providing gpg2 again means patching a bunch of other packages
+	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
+}

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

* Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.6.0
  2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
                   ` (5 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-03-21  7:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1546 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.6.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: 1796 bytes --]

From b94618e82d74c7138c88c5f2b52000856f369639 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.7.0

---
 srcpkgs/sequoia-chameleon-gnupg/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 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..b71434c8c55f80
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,24 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.7.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=90cc3b8648711ae8f550dfb61fb9912a67a99755596fff40c09c8097b9491b41
+
+post_install() {
+	# allow users to add /usr/libexec/sequoia to $PATH to get gpg = gpg-sq,
+	# as messing with gnupg providing gpg2 again means patching a bunch of other packages
+	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
+}

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

* Re: New package: sequoia-chameleon-gnupg-0.7.0
  2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
                   ` (6 preceding siblings ...)
  2024-03-21  7:44 ` classabbyamp
@ 2024-03-22  8:14 ` 0x5c
  2024-04-05 22:56 ` [PR PATCH] [Updated] " classabbyamp
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: 0x5c @ 2024-03-22  8:14 UTC (permalink / raw)
  To: ml

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

New comment by 0x5c on void-packages repository

https://github.com/void-linux/void-packages/pull/49301#issuecomment-2014568702

Comment:
The old concerns involved gnupg1 being in the alternatives group; would there be an actual problem with alternatives if gnupg1 is not part of it? It's already called `gpg1` and isn't part of any groups currently, so it doesn't touch the `gpg` name in any way.

Both gnupg2 and this package provide a v2 implementation.

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

* Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.7.0
  2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
                   ` (7 preceding siblings ...)
  2024-03-22  8:14 ` New package: sequoia-chameleon-gnupg-0.7.0 0x5c
@ 2024-04-05 22:56 ` classabbyamp
  2024-05-07 17:04 ` classabbyamp
  2024-05-07 17:21 ` [PR PATCH] [Merged]: " classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-04-05 22:56 UTC (permalink / raw)
  To: ml

[-- 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: 1796 bytes --]

From fd1bc0f5ca49bc16f91ea35082f10cd639ffb9fa 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.7.0

---
 srcpkgs/sequoia-chameleon-gnupg/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 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..b71434c8c55f80
--- /dev/null
+++ b/srcpkgs/sequoia-chameleon-gnupg/template
@@ -0,0 +1,24 @@
+# Template file for 'sequoia-chameleon-gnupg'
+pkgname=sequoia-chameleon-gnupg
+version=0.7.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=90cc3b8648711ae8f550dfb61fb9912a67a99755596fff40c09c8097b9491b41
+
+post_install() {
+	# allow users to add /usr/libexec/sequoia to $PATH to get gpg = gpg-sq,
+	# as messing with gnupg providing gpg2 again means patching a bunch of other packages
+	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
+}

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

* Re: [PR PATCH] [Updated] New package: sequoia-chameleon-gnupg-0.7.0
  2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
                   ` (8 preceding siblings ...)
  2024-04-05 22:56 ` [PR PATCH] [Updated] " classabbyamp
@ 2024-05-07 17:04 ` classabbyamp
  2024-05-07 17:21 ` [PR PATCH] [Merged]: " classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-05-07 17:04 UTC (permalink / raw)
  To: ml

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

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

* Re: [PR PATCH] [Merged]: New package: sequoia-chameleon-gnupg-0.7.0
  2024-03-15  7:19 [PR PATCH] New package: sequoia-chameleon-gnupg-0.6.0 classabbyamp
                   ` (9 preceding siblings ...)
  2024-05-07 17:04 ` classabbyamp
@ 2024-05-07 17:21 ` classabbyamp
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2024-05-07 17:21 UTC (permalink / raw)
  To: ml

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

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

New package: sequoia-chameleon-gnupg-0.7.0
https://github.com/void-linux/void-packages/pull/49301

Description:
- ~~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?~~


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

end of thread, other threads:[~2024-05-07 17:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2024-05-07 17:21 ` [PR PATCH] [Merged]: " classabbyamp

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).