Package: apt-mirror
Version: 0.4.8-5
Severity: normal
Tags: patch


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-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 apt-mirror depends on:
ii  adduser       3.113+nmu3
ii  perl          5.14.2-12
ii  perl-modules  5.14.2-12
ii  wget          1.13.4-3

apt-mirror recommends no packages.

apt-mirror suggests no packages.

-- Configuration Files:
/etc/apt/mirror.list changed:
set base_path    /mirror/apt-mirror
set mirror_path  $base_path/mirror
set skel_path    $base_path/skel
set var_path     $base_path/var
set cleanscript $var_path/clean.sh
set defaultarch  i386
set nthreads     2
deb-amd64 http://ftp.no.debian.org/debian sid main contrib non-free
deb-src http://ftp.no.debian.org/debian sid main contrib non-free
deb-armhf http://mirrordirector.raspbian.org/raspbian/ wheezy main
clean http://ftp.no.debian.org/debian
clean http://no.archive.ubuntu.com/ubuntu
clean http://mirrordirector.raspbian.org/raspbian


-- no debconf information

-- Patch:
--- orig/apt-mirror     2012-07-22 13:38:11.000000000 +0200
+++ new/apt-mirror      2012-07-22 13:38:25.000000000 +0200
@@ -253,7 +253,7 @@ while(<CONFIG>) {
        next;
     }
 
-    if($config_line =~ 
/deb-(alpha|amd64|armel|arm|armhf|hppa|hurd-i386|i386|ia64|kfreebsd-i386|kfreebsd-amd64|lpia|m68k|mipsel|mips|powerpc|s390|s390x|sh|sparc)/)
 {
+    if($config_line =~ 
/deb-(alpha|amd64|armel|armhf|arm|hppa|hurd-i386|i386|ia64|kfreebsd-i386|kfreebsd-amd64|lpia|m68k|mipsel|mips|powerpc|s390|s390x|sh|sparc)/)
 {
        push @config_binaries, [$1, @config_line];
        next;
     }

-- Comments:
I see two ways of fixing this:
Either, a, sort in such an order that this problem doesn't appear
or,     b, match for whitespace. I will make a patch for this soon.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to