-signing-party (0.4.4-3) unstable; urgency=low
+signing-party (0.4.5-1) UNRELEASED; urgency=low
[ Thijs Kinkhorst ]
* Upgrade debhelper compatibility to the recommended level 5.
* Update FSF addresses.
* caff: tweak documentation.
+ * gpg-key2ps, keylookup: make them less dependent on specific
+ installation paths and thus better portable outside of Debian
+ (Closes: #354142).
[ Christoph Berg ]
* caff: note that mailed keys are encrypted (suggested by Sune Vuorela).
- -- Thijs Kinkhorst <kink@squirrelmail.org> Tue, 28 Feb 2006 18:15:32 +0100
+ -- Thijs Kinkhorst <kink@squirrelmail.org> Tue, 28 Feb 2006 18:41:13 +0100
signing-party (0.4.4-2) unstable; urgency=low
#
# gpg-key2ps: convert a PGP/GnuPG key into paper slips.
# Copyright (C) 2001-2005 Simon Richter
-# Copyright (C) 2005 Thijs Kinkhorst
+# Copyright (C) 2005-2006 Thijs Kinkhorst
# Copyright (C) 2005 Christoph Berg <cb@df7cb.de>
# Licenced under the GNU General Public License,
# version 2 or later.
# determine the paper size through the paperconf tool
my $w; my $h;
-if ( -x "/usr/bin/paperconf" ) {
+if ( `which paperconf` && $? == 0 ) {
$w=`paperconf -w`;
$h=`paperconf -h`;
chomp($w);
# svn://svn.debian.org/pgp-tools/trunk/
# http://svn.debian.org/wsvn/pgp-tools/trunk/
-delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV', 'PATH'};
+delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
$|=1; # Always flush buffers
my $version = '3.0 ($Id$)';
-# Where to find GnuPG's options file.
-# Full path to the dialog and whiptail executeable.
-my $Dialog = '/usr/bin/dialog';
-my $Whiptail = '/usr/bin/whiptail';
-
# Strings to use in the dialog|whiptail frontend
my $TITLE = 'Import Keys';
my $BACKTITLE = 'KeyLookup $Revision$';
$frontend = 'dialog' unless (defined $frontend);
if ($frontend eq 'dialog') {
- unless (-x $Dialog) {
- warn("Dialog ($Dialog) not executeable/installed. Falling back to Whiptail\n");
+ unless (`which dialog` && $? == 0) {
+ warn("Dialog not executeable/installed. Falling back to Whiptail\n");
$frontend = 'whiptail';
}
};
if ($frontend eq 'whiptail') {
- unless (-x $Whiptail ) {
- warn("Whiptail ($Whiptail) not executeable/installed. Falling back to plain\n");
+ unless (`which whiptail` && $? == 0 ) {
+ warn("Whiptail not executeable/installed. Falling back to plain\n");
$frontend = 'plain';
}
};
if ( $frontend eq 'dialog' ) {
calcDialogSize;
my @ARGS = (
- $Dialog,
+ 'dialog',
'--backtitle',
$BACKTITLE,
'--separate-output',
} elsif ( $frontend eq 'whiptail' ) {
calcDialogSize;
my @ARGS = (
- $Whiptail,
+ 'whiptail',
'--backtitle',
$BACKTITLE,
'--separate-output',