From 3b258411d0d4c2c0f1f89675d9e01272f0b5d4d7 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Fri, 3 Mar 2006 00:06:53 +0000 Subject: [PATCH] - Make lookup of download sites completly archive based - Add some kfreebsd-Mirrors (via Robert Millan) - Add kfreebsd-amd64 support --- lib/Packages/DoDownload.pm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lib/Packages/DoDownload.pm b/lib/Packages/DoDownload.pm index 60a50cb..5a31a49 100644 --- a/lib/Packages/DoDownload.pm +++ b/lib/Packages/DoDownload.pm @@ -133,7 +133,12 @@ our @kfreebsd_european_sites = ( "kfreebsd-gnu.debian.net/debian", "ftp.easynet.be/ftp/gnuab/debian", "ftp.de.debian.org/debian-kfreebsd", + "ftp.sh.cvut.cz/MIRRORS/debian-non-linux", + "ftp.eila.jussieu.fr/pub/Debian-gnuab", ); +my @kfreebsd_asian_sites = ( + "ftp.citkit.ru/pub/HURD/debian", + ); our @nonus_north_american_sites = ( # "ftp.ca.debian.org/debian-non-US", "debian.yorku.ca/debian/non-US", @@ -194,6 +199,7 @@ our %arches = ( "hurd-i386" => 'Hurd (i386)', amd64 => 'AMD64', "kfreebsd-i386" => 'GNU/kFreeBSD (i386)' + "kfreebsd-amd64" => 'GNU/kFreeBSD (amd64)' ); sub do_download { @@ -283,17 +289,18 @@ sub do_download { $$page_content .= ""; $$page_content .= '

'._g( 'Debian security updates are currently officially distributed only via security.debian.org.' ).'

'; - } elsif ($arch eq 'amd64') { + } elsif ($archive eq 'amd64') { $$page_content .= print_links( _g( "North America" ), $file, @amd64_north_american_sites ); $$page_content .= print_links( _g( "Europe" ), $file, @amd64_european_sites ); $$page_content .= print_links( _g( "Asia" ), $file, @amd64_asian_sites ); $$page_content .= '

'._g( 'Note that AMD64 is not officialy included in the Debian archive yet, but the AMD64 porter group keeps their archive in sync with the official archive as close as possible. See the AMD64 ports page for current information.' ).'

'; - } elsif ($arch eq 'kfreebsd-i386') { + } elsif ($archive eq 'kfreebsd') { $$page_content .= print_links( _g( "North America" ), $file, @kfreebsd_north_american_sites ); $$page_content .= print_links( _g( "Europe" ), $file, @kfreebsd_european_sites ); + $$page_content .= print_links( _g( "Asia" ), $file, @kfreebsd_asian_sites ); $$page_content .= '

'._g( 'Note that GNU/kFreeBSD is not officialy included in the Debian archive yet, but the GNU/kFreeBSD porter group keeps their archive in sync with the official archive as close as possible. See the GNU/kFreeBSD ports page for current information.' ).'

'; } elsif ($archive eq 'non-US') { -- 2.39.2