Hi Raphael On Sun, Jun 28, 2009 at 06:11:53PM -0500, Raphael Geissert wrote: > While trying to build a module with dh-make-perl --build path/to/module I get: > 'deb file:/path/to/my/mirror/ sid main contrib non-free' has > unknown format > Exiting subroutine via next at /usr/share/perl5/Debian/AptContents.pm > line 175, <GEN0> line 1. > > Looks like Debian::AptContents doesn't understand file:/
Yes, it is solved this way currently:
-----------------------------------------------------------------------
my ( $schema, $proto, $host, $port, $dir, $dist, $components ) = $source =~
m{
^
(\S+) # deb or deb-src
\s+
([^:\s]+) # ftp/http/file/cdrom
://
(/? # file:///
[^:/\s]+ # host name or path
)
(?:
:(\d+) # optional port number
)?
(?:
/
(\S*) # path on server (or local)
)?
\s+
(\S+) # distribution
(?:
\s+
(.+) # components
)?
}x;
-----------------------------------------------------------------------
Thus, it does not recongnize file:/ but file:/// at the moment. It
would be more conform to the sources.list format for file: line if it
would match for file:/path/to/file
Bests,
Salvatore
signature.asc
Description: Digital signature

