Package: devscripts
Version: 2.10.9
Severity: normal
Tags: patch
Hello,
it seems that debcheckout acts incorrectly WRT the -u|--user option:
in fact, it doesn't imply -a|--auth as it shuold per the manpage and
--help output. Trivial patch attached.
--8<---------------cut here---------------start------------->8---
Index: scripts/debcheckout.pl
===================================================================
--- scripts/debcheckout.pl (revision 811)
+++ scripts/debcheckout.pl (working copy)
@@ -218,6 +218,9 @@
) or pod2usage({-exitval => 3});
pod2usage({-exitval => 3}) if ($#ARGV < 0 or $#ARGV > 1);
+ # -u|--user implies -a|--auth
+ $auth = 1 if $user;
+
$destdir = $ARGV[1] if $#ARGV > 0;
if (not is_package($ARGV[0])) { # repo-url passed on the command line
$repo_url = $ARGV[0];
--8<---------------cut here---------------end--------------->8---
Thx, bye,
Gismo / Luca
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages devscripts depends on:
ii debianutils 2.25.1 Miscellaneous utilities specific t
ii dpkg-dev 1.14.6 package building tools for Debian
ii libc6 2.6.1-5 GNU C Library: Shared libraries
ii perl 5.8.8-11 Larry Wall's Practical Extraction
ii sed 4.1.5-4 The GNU sed stream editor
Versions of packages devscripts recommends:
ii fakeroot 1.8 Gives a fake root environment
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]