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

in /etc/apt/mirror.list we can't specify "deb-kfreebsd-amd64 <url>"

We can set it as default arch and use "deb <url>" to avoid this problem, but
there is impossible to mirror both kfreebsd-i386 and kfreebsd-amd64.

For solve problem we must change regex on line 266.



-- System Information:
Debian Release: 6.0.2
  APT prefers stable
APT policy: (990, 'stable'), (500, 'proposed-updates'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-mirror depends on:
ii adduser 3.112+nmu2 add and remove users and groups ii perl 5.10.1-17squeeze2 Larry Wall's Practical Extraction
ii  perl-modules           5.10.1-17squeeze2 Core Perl modules
ii wget 1.12-2.1 retrieves files from the web

apt-mirror recommends no packages.

apt-mirror suggests no packages.


--
with best regards,
Alexander Golovko
email: alexan...@ankalagon.ru
xmpp: alexan...@ankalagon.ru
--- apt-mirror.orig     2011-10-07 18:48:38.000000000 +0400
+++ apt-mirror  2011-10-07 18:49:01.000000000 +0400
@@ -263,7 +263,7 @@
        next;
     }
 
-    if($config_line =~ 
/deb-(alpha|amd64|armel|arm|hppa|hurd-i386|i386|ia64|lpia|m68k|mipsel|mips|powerpc|s390|sh|sparc)/)
 {
+    if($config_line =~ 
/deb-(alpha|amd64|armel|arm|hppa|hurd-i386|i386|ia64|kfreebsd-i386|kfreebsd-amd64lpia|m68k|mipsel|mips|powerpc|s390|sh|sparc)/)
 {
        push @config_binaries, [$1, @config_line];
        next;
     }

Reply via email to