Hello
On Mon, Oct 10, 2005 at 10:14:52PM +0200, Daniel Leidert wrote:
> Package: debarchiver
> Version: 0.5.0
> Severity: important
> Tags: patch
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> The first bug is in the configuration file. Better use
>
> $signcmd = "/usr/lib/debarchiver/signhelper/signhelper.sh";
>
> ATM the signcmd-default only contains the path
> "/usr/lib/debarchiver/signhelper", which is confusing and of course
> uncommenting the signcmd variable will not work out-of-the-box.
Doh! Well I'll correct that one.
> Then there is a bug in generateRelease(). The code is as follows
>
> if ($gpgkey) {
> cmdaction("$signcmd '$path/Release' '$path/Release.gpg' ".
> "'$gpgkey' '$gpgpassfile'",
> "Signing Release file for $path with key '$gpgkey'",
> 3);
> }
>
> But now the problem is, that if there is no gpgpassfile defined in
> /etc/debarchiver.conf (e.g. the variable is commented out and not set to
> ""), gpgpassfile is set to null:
>
> if ($gpgpassfile) {
> $gpgpassfile = 0 if (! -f $gpgpassfile);
> }
>
> which was necessary for the old code. But now this prevents the above
> code/signhelper shell-script from working and need to be fixed. Simple
> fix is, that gpgpassfile and gpgkey always need to be set together and
> for keys without passphrase, gpgpassfile is "". I suggest, if
> $gpgpassfile does not exist, gpgpassfile falls back to "" and the above
> code snippet can be removed. Accaptable?
Yep, fully acceptable.
Do you have a patch or do you want me to simply make the changes myself?
It would be nice if someone actually test this fully before I make the
next upload. :)
Regards,
// Ola
> Regards, Daniel
>
> - -- System Information:
> Debian Release: testing/unstable
> APT prefers unstable
> APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (500,
> 'oldstable'), (110, 'experimental')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.12.09050927
> Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
>
> Versions of packages debarchiver depends on:
> ii adduser 3.67.2 Add and remove users and groups
> ii apt-utils 0.6.41 APT utility programs
> ii dpkg-dev 1.13.11 package building tools for Debian
> ii opalmod 0.1.13 A set of Perl modules for
> various
>
> debarchiver recommends no packages.
>
> - -- no debconf information
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFDSsu8dg0kG0+YFBERAoBGAJ4/XAoxHrM1Zsz0ic+qL0mCHFr/QACdFooc
> c5n63tqrtdn8XWYkot2AJAE=
> =aKsF
> -----END PGP SIGNATURE-----
>
>
--
--------------------- Ola Lundqvist ---------------------------
/ [EMAIL PROTECTED] Annebergsslingan 37 \
| [EMAIL PROTECTED] 654 65 KARLSTAD |
| +46 (0)54-10 14 30 +46 (0)70-332 1551 |
| http://www.opal.dhs.org UIN/icq: 4912500 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]