Bug#679129: dh-make-perl: Credentials in sources.list break apt-file search

lkml at ds.gauner.org lkml at ds.gauner.org
Tue Jun 26 14:37:27 UTC 2012


Package: dh-make-perl
Version: 0.70-1
Severity: normal


Using credentials in your sources.list
(e.g. "http://say:friend@my.repo.net/debian squeeze main")
breaks the repo_source_to_contents_path method
in Debian::AptContents.

Please consider this patch:

--- /usr/share/perl5/Debian/AptContents.pm      2010-07-28 
22:57:23.000000000 +0200
+++ /tmp/AptContents.pm 2012-06-26 16:28:29.000000000 +0200
@@ -166,6 +166,7 @@
         ^
          (?:([^:/?\#]+):)?                      # proto
          (?://
+               (?:[^:]+:[^@]+@)?              # username:password@
                  ([^:/?\#]*)                    # host
                  (?::(\d+))?                    # port
          )?


-- System Information:
Debian Release: 6.0.5
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-perl depends on:
ii  debhelper              8.0.0             helper programs for 
debian/rules
ii  dpkg-dev               1.15.8.12         Debian package development 
tools
ii  fakeroot               1.14.4-1          Gives a fake root 
environment
ii  libapt-pkg-perl        0.1.24+b1         Perl interface to 
libapt-pkg
ii  libarray-unique-perl   0.08-1            Tie-able array that allows 
only un
ii  libclass-accessor-perl 0.34-1            Perl module that 
automatically gen
ii  libdpkg-perl           1.15.8.12         Dpkg perl modules
ii  libemail-date-format-p 1.002-1           Module to generate 
RFC-2822-valid
ii  liblist-moreutils-perl 0.25~02-1         Perl module with 
additional list f
ii  libmodule-corelist-per 2.36-1            module to determine 
modules shippe
ii  libmodule-depends-perl 0.14-3            identify the dependencies 
of a dis
ii  libparse-debcontrol-pe 2.005-2           Easy OO parsing of Debian 
control-
ii  libparse-debianchangel 1.1.1-2.1         parse Debian changelogs 
and output
ii  libtie-ixhash-perl     1.21-2            ordered associative arrays 
for Per
ii  libwww-mechanize-perl  1.64-1            module to automate 
interaction wit
ii  libyaml-perl           0.71-1            YAML Ain't Markup Language
ii  make                   3.81-8            An utility for Directing 
compilati
ii  perl                   5.10.1-17squeeze3 Larry Wall's Practical 
Extraction
ii  perl-modules [libmodul 5.10.1-17squeeze3 Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                      2.4.0      search for files within 
Debian pac

dh-make-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list