Package: gosop
Version: 1.1.0-2+b3
Severity: normal
Tags: patch
X-Debbugs-Cc: Guillem Jover <guil...@debian.org>

I know that in #1093055 Guillem asked for an update to sopv alternatives
system to link to the manpage for "man sopv".

A better approach today is to Recommends: sopv-doc, which includes an
implementation-independent manpage for sopv.

This is the approach taken by other packages with Provides: sopv,
including sqopv and sopv-gpgv.

Sorry for the churn here, but having a generic manpage for folks who use
a generic interface ends up being more sustainable in the future
(e.g. if they read "man sopv" and learn that gosop implements the
"generate-key" subcommand, they might think that "sopv generate-key" is
a legitimate subcommand).

A proposed patch is attached here.

Thanks for maintaining gosop in debian!

       --dkg

diff --git a/debian/control b/debian/control
index 6aa6a3e..04a58ae 100644
--- a/debian/control
+++ b/debian/control
@@ -30,6 +30,8 @@ Depends:
  ${shlibs:Depends},
 Built-Using:
  ${misc:Built-Using},
+Recommends:
+ sopv-doc,
 Description: Stateless CLI for GopenPGP
  The Stateless OpenPGP CLIknown as SOP, is an RFC specification that aims to
  provide a minimal API for any implementation of the OpenPGP protocol, in
diff --git a/debian/gosop.alternatives b/debian/gosop.alternatives
index 95a3112..b095cdb 100644
--- a/debian/gosop.alternatives
+++ b/debian/gosop.alternatives
@@ -1,6 +1,4 @@
 Name: sopv
 Link: /usr/bin/sopv
 Alternative: /usr/bin/gosop
-Dependents:
- /usr/share/man/man1/sopv.1.gz sopv.1.gz /usr/share/man/man1/gosop.1.gz
 Priority: 10


-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 
'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.22-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gosop depends on:
ii  libc6  2.41-7

gosop recommends no packages.

gosop suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to