On Wed, Mar 10, 2004 at 12:29:34PM +0000, Scott James Remnant wrote: > What version of PGP are you using? Javier, what version of PGP are > *you* using? Funny, I was about to answer: $ dpkg --status pgp Package: pgp Status: install ok installed Priority: optional Section: non-US/non-free Installed-Size: 632 Maintainer: Richard Braakman <dark@xs4all.nl> Version: 2.6.3a-9 Replaces: pgp-i, pgp-us Depends: libc6 (>= 2.2.1) But then I realised: $ ls -la /usr/bin/pgp lrwxrwxrwx 1 root root 21 2004-02-06 18:52 /usr/bin/pgp -> /etc/alternatives/pgp $ ls -la /usr/bin/pgpgpg -rwxr-xr-x 1 root root 19268 2004-01-20 09:53 /usr/bin/pgpgpg $ dpkg --status pgpgpg Package: pgpgpg Status: install ok installed Priority: optional Section: non-US Installed-Size: 92 Maintainer: Pawel Wiecek <coven@debian.org> Version: 0.13-6 Provides: pgp Depends: libc6 (>= 2.3.2.ds1-4), gnupg Description: Wrapper for using GnuPG in programs designed for PGP Pgpgpg is a wrapper around Gnu Privacy Guard which takes PGP 2.6 command line options, translate them and then call GnuPG (Gnu Privacy Guard) to perform the desired action. So maybe this is a bug in pgpgpg and the fix should be reverted. I missed this because pgpgpg did not conflict with pgp (see bug #236195) > Can you two fight it out and decide whether that blank line is needed > there or not? :-) I see two solutions here: 1.- reassign the bug to pgpgpg and revert my patch 2.- have dpkg-buildpackage handle a _third_ method which is similar to gnupg's but when pgpgpg is installed (i.e. /etc/alternatives/pgp exists). Maybe changing: if test "$signinterface" = "gpg" ; then [GPG stuff] else [PGP stuff] fi to: if test "$signinterface" = "gpg" ; then [GPG stuff] elsif test -e /etc/alternatives/pgp; then [PGP stuff with the newline] else [PGP stuff] fi would do the trick Does that sound reasonable at all? I'm not sure how many packages might provide /etc/alternatives/pgp, it looks like only pgpgpg does it. Sorry for the mistake in producing the patch. I should have verified the facts better. Javier
Attachment:
signature.asc
Description: Digital signature