Hi

I would like that 'apt install signify' install OpenBSD's signify (from
the Debian 'signify-openbsd' package) and not the 2003 mail-related
signify perl script from the Debian 'signify' source package.

I would also like that /usr/bin/signify is OpenBSD's signify, after
doing the 'apt install signify', instead of /usr/bin/signify-openbsd.

As background please read:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951010
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738884

What do you think about the attached debdiff for the existing
(non-OpenBSD) 'signify' source package?

This will rename the binary package to 'signify-mail', as suggested in
the first bug report above, and add a 'signify (<< 1.14-8~)' Replaces
header.

Is anything more required here?  Any objections to an upload?  The
package seems to be orphan'ed and QA-maintained.  One alternative is to
remove the package, but that seems to involve more effort than a QA
upload.

The next step would be for the 'signify-openbsd' source package to
rename the 'signify-openbsd' binary package to 'signify'.  I believe it
should declare a Conflicts and Breaks towards 'signify (<< 1.14-8~)'.

The final step would be for signify-openbsd's 'signify' package to
rename the binary into /usr/bin/signify, and that would require adding a
Conflicts/Breaks towards all versions of signify-mail.

Tomasz, what do you think about this?

Adding debian-devel to get wider review of the
Replaces/Conflicts/version magic, this always tend to confuse me.

See pipeline for the 'signify' source package that I propose to upload:

https://salsa.debian.org/jas/signify/-/pipelines/742414

To make this happen for trixie, I don't see how to do it.  Anyone having
the old 'signify' package on their system would get OpenBSD's signify
instead of the new 'signify-mail' package after an upgrade.  Is that
problem really worth caring about?  I think a release note about this
could solve it.  I believe OpenBSD's 'signify' is important enough to
warrant this to be part of trixie instead of having to wait for t+1.

/Simon
diff -Nru signify-1.14/debian/changelog signify-1.14/debian/changelog
--- signify-1.14/debian/changelog	2020-06-05 21:06:41.000000000 +0200
+++ signify-1.14/debian/changelog	2024-10-05 11:58:55.000000000 +0200
@@ -1,3 +1,14 @@
+signify (1.14-8) unstable; urgency=medium
+
+  * QA upload.
+  * Rename binary package signify to signify-mail, adding Replaces
+    field.
+  * Standards-Version: 4.7.0.
+  * Fix lintian update-debian-copyright.
+  * d/t/control: Use new package name.
+
+ -- Simon Josefsson <si...@josefsson.org>  Sat, 05 Oct 2024 11:58:55 +0200
+
 signify (1.14-7) unstable; urgency=medium
 
   * QA upload.
diff -Nru signify-1.14/debian/control signify-1.14/debian/control
--- signify-1.14/debian/control	2020-06-05 21:06:41.000000000 +0200
+++ signify-1.14/debian/control	2024-10-05 11:58:55.000000000 +0200
@@ -4,14 +4,15 @@
 Build-Depends: debhelper-compat (= 13)
 Maintainer: Debian QA Group <packa...@qa.debian.org>
 Rules-Requires-Root: no
-Standards-Version: 4.5.0
+Standards-Version: 4.7.0
 Testsuite: autopkgtest-pkg-perl
 Vcs-Browser: https://salsa.debian.org/debian/signify
 Vcs-Git: https://salsa.debian.org/debian/signify.git
 Homepage: http://signify.sf.net
 
-Package: signify
+Package: signify-mail
 Depends: ${misc:Depends}, ${perl:Depends}
+Replaces: signify (<< 1.14-8~)
 Architecture: all
 Description: Automatic, semi-random ".signature" rotator/generator
  Signify is a neat little program that allows a random signature to be
diff -Nru signify-1.14/debian/copyright signify-1.14/debian/copyright
--- signify-1.14/debian/copyright	2020-06-05 21:06:41.000000000 +0200
+++ signify-1.14/debian/copyright	2024-10-05 11:58:55.000000000 +0200
@@ -10,6 +10,7 @@
 Files: debian/*
 Copyright: 1996-2004 Brian White <bcwh...@pobox.com>
            2015 Mattia Rizzolo <mat...@debian.org>
+	   2024 Simon Josefsson <si...@josefsson.org>
 License: public-domain
 
 License: public-domain
diff -Nru signify-1.14/debian/rules signify-1.14/debian/rules
--- signify-1.14/debian/rules	2020-06-05 21:06:41.000000000 +0200
+++ signify-1.14/debian/rules	2024-10-05 11:58:55.000000000 +0200
@@ -1,6 +1,6 @@
 #! /usr/bin/make -f
 
-p := signify
+p := signify-mail
 
 %:
 	dh $@
diff -Nru signify-1.14/debian/tests/control signify-1.14/debian/tests/control
--- signify-1.14/debian/tests/control	2020-06-05 21:06:41.000000000 +0200
+++ signify-1.14/debian/tests/control	2024-10-05 11:58:55.000000000 +0200
@@ -1 +1,2 @@
 Test-Command: signify --input=debian/tests/files/filetest.txt
+Depends: signify-mail

Attachment: signature.asc
Description: PGP signature

Reply via email to