]> git.deb.at Git - deb/packages.git/commitdiff
Merge branch 'master' into archive-master
authorFrank Lichtenheld <frank@lichtenheld.de>
Thu, 11 Jun 2009 17:51:01 +0000 (19:51 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Thu, 11 Jun 2009 17:51:01 +0000 (19:51 +0200)
Conflicts:
lib/Deb/Versions.pm

20 files changed:
bin/parse-packages
conf/apache.conf.sed.in
config.sh.sed.in
cron.d/100syncarchive
cron.d/100syncarchive_backports
cron.d/100syncarchive_debports [deleted file]
cron.d/100syncarchive_installer [deleted file]
cron.d/100syncarchive_m68k [deleted file]
cron.d/100syncarchive_volatile
cron.d/120synctrans
lib/Packages/Dispatcher.pm
lib/Packages/DoIndex.pm
lib/Packages/DoSearchContents.pm
lib/Packages/DoShow.pm
setup-site.conf
static/index.tmpl
templates/config.tmpl
templates/config/mirrors.tmpl
templates/html/download.tmpl
templates/html/head.tmpl

index 6f89070915800afb508d1d56c70bab4e18f721f9..6dad93ea1f8b9cf6d06b17533838badc81858813 100755 (executable)
@@ -85,6 +85,8 @@ for my $suite (@SUITES) {
                        $key =~ tr [A-Z] [a-z];
                        $data{$key} = $value;
                }
+               # Skip broken debs
+               next unless $data{architecture};
                # Skip double package
                next if exists($packages_all_db{"$data{'package'} $data{'architecture'} $data{'version'}"});
                # Skip arch:all for amd64 & debports, any non-redundancy is
index b0b33e3fbb5c309ce35df5a65ca4bb53a3c220fa..7c78ef65150c468302410bfefa1cd96162bc1390 100644 (file)
@@ -8,10 +8,7 @@
 
   # Nice caching..
   ExpiresActive On
-  ExpiresDefault "access plus 1 day"
-  ExpiresByType image/gif  "modification plus 1 year"
-  ExpiresByType image/jpeg "modification plus 1 year"
-  ExpiresByType image/png  "modification plus 1 year"
+  ExpiresDefault "access plus 1 year"
 
   # language stuff
   # you need to keep this in sync with lib/Packages/I18N/Locale.pm
    ErrorLog /var/log/apache2/%SITE%-error.log
    CustomLog /var/log/apache2/%SITE%-access.log combined
 
-   Alias /cgi-bin/ %TOPDIR%/cgi-bin/
+   ScriptAlias /cgi-bin/ %TOPDIR%/cgi-bin/
   
    PerlModule ModPerl::Registry
    PerlTaintCheck On
-   PerlRequire %TOPDIR%/bin/mod_perl-startup
+#   PerlRequire %TOPDIR%/bin/mod_perl-startup
    PerlSwitches -T
    <Location /cgi-bin/>
-      SetHandler perl-script
-      PerlInitHandler Apache2::Reload
-      PerlHandler ModPerl::Registry
+#      SetHandler perl-script
+#      PerlInitHandler Apache2::Reload
+#      PerlHandler ModPerl::Registry
       Options +ExecCGI
-      PerlSendHeader On
+#      PerlSendHeader On
       allow from all
    </Location>
 
index 4e228e46d8171c9f5ffd69937eca7fd27b752355..50f6dc1cfdb868eb1c13c64d2a8c6f5518ae9b7a 100644 (file)
@@ -19,17 +19,16 @@ cachedir=${topdir}/cache
 # unset this if %SITE% moves somewhere where the packages files
 # cannot be obtained locally
 #
-#localdir=/org/ftp.debian.org/debian
+localdir=/srv/archive.debian.org/ftp
 
 # path to private ftp directory
 #ftproot=/org/ftp.root
 
-ftpsite=http://ftp.de.debian.org/debian
-security_ftpsite=http://security.debian.org/debian-security
-volatile_ftpsite=http://volatile.debian.org/debian-volatile
-backports_ftpsite=http://backports.org/debian
-debports_ftpsite=http://ftp.debian-ports.org/debian
-ddtp_ftpsite=
+ftpsite=http://archive.debian.org/debian
+security_ftpsite=http://archive.debian.org/debian-security
+volatile_ftpsite=http://archive.debian.org/debian-volatile
+backports_ftpsite=http://archive.debian.org/backports.org
+ddtp_ftpsite=http://ftp.de.debian.org/debian
 
 wget_cmd="wget --no-verbose --tries=2 --timeout=60"
 check_release_cmd="perl -I${libdir} ${bindir}/check-release --verbose --ignoremissing --keyring ${configdir}/trusted.gpg"
@@ -42,20 +41,19 @@ search_url="/search"
 #
 polangs="de fi fr hu ja nl ru sk sv uk zh-cn"
 ddtplangs="ca cs da de eo es eu fi fr hu it ja km ko nl pl pt pt-br ru sk sv uk zh zh-cn zh-tw"
-archives="us security debports backports volatile"
+archives="us security backports volatile"
 sections="main contrib non-free"
 parts="$sections"
-suites="etch etch-m68k etch-volatile etch-backports lenny lenny-volatile lenny-backports squeeze sid experimental"
+suites="bo hamm slink potato woody sarge sarge-volatile sarge-backports"
 priorities="required important standard optional extra"
 dists="$suites"
-architectures="alpha amd64 arm armel avr32 hppa hurd-i386 i386 ia64 kfreebsd-i386 kfreebsd-amd64 m68k mips mipsel powerpc s390 sparc"
-arch_etch="alpha amd64 arm hppa i386 ia64 mips mipsel powerpc s390 sparc"
-arch_lenny="${arch_etch} armel"
-arch_squeeze="alpha amd64 armel hppa i386 ia64 mips mipsel powerpc s390 sparc"
-arch_sid="${arch_squeeze} avr32 hurd-i386 kfreebsd-i386 kfreebsd-amd64 m68k"
-arch_experimental="${arch_sid}"
-arch_lenny_proposed_updates="${arch_lenny}"
-arch_etch_proposed_updates="${arch_etch}"
+architectures="alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc"
+arch_bo="i386"
+arch_hamm="i386 m68k"
+arch_slink="alpha i386 m68k sparc"
+arch_potato="alpha arm i386 ia64 m68k powerpc sparc"
+arch_woody="alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc"
+arch_sarge="${arch_woody}"
 
 # Miscellaneous
 #
index d8b9f79bc28b8248fd63b67c1c2af7d6068bd5e1..52315086caf915ea62a04bb1b84c2e0a10f1d863 100755 (executable)
@@ -81,7 +81,7 @@ fi
 
 # security archive
 #
-for dist in etch lenny
+for dist in slink potato woody sarge
 do
     echo "retrieve Release(.gpg) $dist"
     test -d security/${dist} || mkdir -p security/${dist}
index 2be4de7c972f8da3b497973e1a2bb34254a99271..6a9f6d085d83cc4bd73fe8ab4fa2ff9422850fab 100755 (executable)
@@ -7,7 +7,7 @@ cd ${archivedir}
 
 # backports archive
 #
-for dist in etch lenny
+for dist in sarge
 do
   echo "retrieve Release(.gpg) $dist-backports"
   test -d backports/${dist}-backports || mkdir -p backports/${dist}-backports
diff --git a/cron.d/100syncarchive_debports b/cron.d/100syncarchive_debports
deleted file mode 100755 (executable)
index a45a144..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#! /bin/bash
-
-. `dirname $0`/../config.sh
-
-test -d ${archivedir} || mkdir -p ${archivedir}
-cd ${archivedir}
-
-# Main archive
-#
-architectures="avr32 m68k"
-
-for dist in sid experimental
-  do
-  echo "retrieve Release(.gpg) $dist"
-  test -d debports/${dist} || mkdir -p debports/${dist}
-  (cd debports/${dist} &&
-           $wget_cmd -N ${debports_ftpsite}/dists/${dist}/Release &&
-           $wget_cmd -N ${debports_ftpsite}/dists/${dist}/Release.gpg )
-
-  for arch in $architectures
-    do
-    for part in ${parts} main/debian-installer
-      do
-      echo retrieve Packages $dist/$part/$arch
-      test -d debports/${dist}/${part}/binary-${arch} || mkdir -p debports/${dist}/${part}/binary-${arch}
-      (cd debports/${dist}/${part}/binary-${arch} &&
-         $wget_cmd -N ${debports_ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
-    done
-    echo retrieve Contents $dist/$arch
-    (cd debports/${dist} &&
-       $wget_cmd -N ${debports_ftpsite}/dists/${dist}/Contents-${arch}.gz)
-  done
-
-  $check_release_cmd $archivedir/debports/${dist}/Release
-done
diff --git a/cron.d/100syncarchive_installer b/cron.d/100syncarchive_installer
deleted file mode 100755 (executable)
index 90b9145..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#! /bin/bash
-
-. `dirname $0`/../config.sh
-
-test -d ${archivedir} || mkdir -p ${archivedir}
-cd ${archivedir}
-
-# Main archive
-#
-if [ -z "${localdir}" ]
-then
-    echo using remote mirror
-    for dist in ${dists}
-    do
-
-      if [ $dist = experimental ]; then
-         continue
-      fi
-
-       foo=\$arch_${dist//-/_}
-       for arch in `eval echo $foo`
-       do
-           for part in $parts
-           do
-               part="$part/debian-installer"
-               echo retrieve Packages $dist/$part/$arch
-               test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch}
-               (cd us/${dist}/${part}/binary-${arch} &&
-                   $wget_cmd -N ${ftpsite}/dists/${dist}/${part}/binary-${arch}/Packages.gz)
-           done
-       done
-
-       $check_release_cmd $archivedir/us/${dist}/Release
-    done
-else
-    echo using local mirror
-    for dist in ${dists}
-    do
-
-      if [ $dist = experimental ]; then
-         continue
-      fi
-
-       foo=\$arch_${dist//-/_}
-       for arch in `eval echo $foo`
-       do
-           for part in $parts
-           do
-               part="$part/debian-installer"
-               echo retrieve Sources $dist/$part/$arch
-               test -d us/${dist}/${part}/binary-${arch} || mkdir -p us/${dist}/${part}/binary-${arch}
-               rsync -t ${localdir}/dists/${dist}/${part}/binary-${arch}/Packages.gz \
-                   us/${dist}/${part}/binary-${arch}/Packages.gz
-           done
-       done
-
-       $check_release_cmd $archivedir/us/${dist}/Release
-    done
-fi
diff --git a/cron.d/100syncarchive_m68k b/cron.d/100syncarchive_m68k
deleted file mode 100755 (executable)
index 3dcf954..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#! /bin/bash
-
-. `dirname $0`/../config.sh
-
-test -d ${archivedir} || mkdir -p ${archivedir}
-cd ${archivedir}
-
-# Main archive
-#
-arch=m68k
-if [ -z "${localdir}" ]
-then
-    echo using remote mirror
-    for dist in etch
-    do
-        echo "retrieve Release(.gpg) $dist"
-       test -d us/${dist}-${arch} || mkdir -p us/${dist}-${arch}
-       (cd us/${dist} &&
-           $wget_cmd -N ${ftpsite}/dists/${dist}-${arch}/Release &&
-           $wget_cmd -N ${ftpsite}/dists/${dist}-${arch}/Release.gpg )
-        
-#      foo=\$arch_${dist//-/_}
-#      for arch in `eval echo $foo`
-#      do
-           for part in ${parts}
-           do
-               echo retrieve Packages $dist-${arch}/$part/$arch
-               test -d us/${dist}-${arch}/${part}/binary-${arch} || mkdir -p us/${dist}-${arch}/${part}/binary-${arch}
-               (cd us/${dist}-${arch}/${part}/binary-${arch} &&
-                   $wget_cmd -N ${ftpsite}/dists/${dist}-${arch}/${part}/binary-${arch}/Packages.gz)
-           done
-           #FIXME: no Contents files for p-u
-           echo retrieve Contents $dist/$arch
-           (cd us/${dist}-${arch} &&
-               $wget_cmd -N ${ftpsite}/dists/${dist}-${arch}/Contents-${arch}.gz)
-#      done
-       for part in ${parts}
-       do
-           echo retrieve Sources $dist-${arch}/$part
-           test -d us/${dist}-${arch}/${part}/source || mkdir -p us/${dist}-${arch}/${part}/source
-            (cd us/${dist}-${arch}/${part}/source &&
-                $wget_cmd -N ${ftpsite}/dists/${dist}-${arch}/${part}/source/Sources.gz)
-       done
-
-       $check_release_cmd $archivedir/us/${dist}-${arch}/Release
-    done
-else
-    echo using local mirror
-    for dist in etch
-    do
-        echo "retrieve Releases(.gpg) $dist"
-       test -d us/${dist}-${arch} || mkdir -p us/${dist}-${arch}
-       (cd us/${dist}-${arch} &&
-           rsync -t ${localdir}/dists/${dist}-${arch}/Release &&
-           rsync -t ${localdir}/dists/${dist}-${arch}/Release.gpg )
-
-#      foo=\$arch_${dist//-/_}
-#      for arch in `eval echo $foo`
-#      do
-           for part in ${parts}
-           do
-               echo retrieve Packages $dist-${arch}/$part/$arch
-               test -d us/${dist}-${arch}/${part}/binary-${arch} || mkdir -p us/${dist}-${arch}/${part}/binary-${arch}
-               rsync -t ${localdir}/dists/${dist}-${arch}/${part}/binary-${arch}/Packages.gz \
-                   us/${dist}-${arch}/${part}/binary-${arch}/Packages.gz
-           done
-           #FIXME: no Contents files for p-u
-           echo retrieve Contents $dist-${arch}/$arch
-           rsync -t ${localdir}/dists/${dist}-${arch}/Contents-${arch}.gz \
-               us/${dist}-${arch}/Contents-${arch}.gz
-#      done
-       for part in ${parts}
-        do
-           echo retrieve Sources $dist-${arch}/$part
-            test -d us/${dist}-${arch}/${part}/source || mkdir -p us/${dist}-${arch}/${part}/source
-            rsync -t ${localdir}/dists/${dist}-${arch}/${part}/source/Sources.gz \
-               us/${dist}-${arch}/${part}/source/Sources.gz
-       done
-       $check_release_cmd $archivedir/us/${dist}-${arch}/Release
-    done
-fi
-
index ae0f7013adac28c5b3294282d0b790773224c119..d5fd887c649a84be845358d8480d3585810d224e 100755 (executable)
@@ -7,7 +7,7 @@ cd ${archivedir}
 
 # volatile archive
 #
-for dist in etch lenny
+for dist in sarge
 do
   echo "retrieve Release(.gpg) $dist-volatile"
   test -d volatile/${dist}-volatile || mkdir -p volatile/${dist}-volatile
index bd3e31d17dba8239e059f42cce995e952b897323..c0813c93f5592939e28ce1eb927ca9c6b943ccb6 100755 (executable)
@@ -12,7 +12,7 @@ then
        ddtp_ftpsite="$ftpsite"
     fi
     echo using remote mirror $ddtp_ftpsite
-    for dist in $dists
+    for dist in sid
     do
        for part in main
        do
@@ -28,7 +28,7 @@ then
     done
 else
     echo using local mirror
-    for dist in $dists
+    for dist in sid
     do
        for part in main
        do
index 484e222f02bd0e433038c329309fa240a2119beb..a46b2d54e4ad637c0fbc43f1d4f34bceb256402b 100755 (executable)
@@ -94,7 +94,7 @@ sub do_dispatch {
     &Packages::DB::init();
     my $last_modified = $Packages::DB::db_read_time;
     my $now = time;
-    my $expires = $last_modified + (12*3600);
+    my $expires = $last_modified + (365*24*3600);
     $expires = $now + 3600 if $expires < $now;
     # allow some fudge, since the db mod time is not the end of
     # the cron job
index 5aba6b3b0dc69588320b50a6e0210db114cede79..9eaf34e08135914a52013421881c49fb92d00e12 100644 (file)
@@ -63,7 +63,7 @@ sub send_file {
            $headers{'-content-length'} = $size;
            $headers{'-vary'} = 'negotiate,accept-language';
            $headers{'-last-modified'} = strftime("%a, %d %b %Y %T %z", localtime($mtime));
-           $headers{'-expires'} = strftime("%a, %d %b %Y %T %z", localtime($mtime+(12*3600)));
+           $headers{'-expires'} = strftime("%a, %d %b %Y %T %z", localtime($mtime+(365*24*3600)));
            print header( %headers );
 
            binmode INDEX;
index a51ee8e01330dc223a9cb0e38edefb4f475e863b..34643949f69a66bfd221d2138effc07510a6476c 100644 (file)
@@ -33,7 +33,7 @@ sub do_search_contents {
     #FIXME: that's extremely hacky atm
     if ($params->{values}{suite}{no_replace}[0] eq 'default') {
        $params->{values}{suite}{no_replace} =
-           $params->{values}{suite}{final} = $opts->{suite} = [ 'lenny' ];
+           $params->{values}{suite}{final} = $opts->{suite} = [ 'sarge' ];
     }
 
     if (@{$opts->{suite}} > 1) {
index 422ca7aada6071c445cc31f147bb4e9670f32686..9f59690589d59ec1745a27dc937fd24ee2bda1b3 100644 (file)
@@ -230,7 +230,8 @@ sub do_show {
 
                            $d{version} = $versions->{$a} if $multiple_versions;
                            $d{archive} = $archives->{$a};
-                           if ($subsection ne 'debian-installer') {
+                           if ( ($suite ne "woody") && ($suite ne "bo")
+                                && ($subsection ne 'debian-installer')) {
                                $d{contents_avail} = 1;
                            }
                            push @downloads, \%d;
@@ -240,11 +241,13 @@ sub do_show {
                        #
                        # more information
                        #
+                       my $changesandcopy = 0;
+                       $changesandcopy = 1 if suites_cmp($suite, "woody") >= 0;
                        moreinfo( name => $pkg, data => $page, vars => \%contents,
                                  opts => $opts,
                                  env => \%FTP_SITES,
                                  bugreports => 1, sourcedownload => 1,
-                                 changesandcopy => 1, maintainers => 1,
+                                 changesandcopy => $changesandcopy, maintainers => 1,
                                  search => 1 );
                    } else { # unless $page->is_virtual
                        $contents{is_virtual} = 1;
@@ -320,11 +323,13 @@ sub do_show {
                    #
                    # more information
                    #
+                   my $changesandcopy = 0;
+                   $changesandcopy = 1 if suites_cmp($suite, "woody") >= 0;
                    moreinfo( name => $pkg, data => $page, vars => \%contents,
                              opts => $opts,
                              env => \%FTP_SITES,
                              bugreports => 1,
-                             changesandcopy => 1, maintainers => 1,
+                             changesandcopy => $changesandcopy, maintainers => 1,
                              search => 1, is_source => 1 );
 
                } # else (unless $opts->{source})
index edaf9b67f8eabc3aa37f68f685f4cc8ef4420501..7392cfaea235283ec0bbfa725a9ce7c55755e8ad 100644 (file)
@@ -1,2 +1,2 @@
-topdir=/srv/packages.debian.org
-site=packages.debian.net
+topdir=/srv/archive.debian.org
+site=archive.debian.net
index 524dff3c0811458925e8eae34acb497149f36fc9..69a5a539b0e2e77193b66a9a279a044666432510 100644 (file)
@@ -4,16 +4,17 @@
        keywords = "$organisation, Packages"
 -%]
 [%-
-    all_suites = [ 'etch', 'etch-m68k', 'etch-volatile', 'etch-backports',
-                  'lenny', 'lenny-volatile', 'lenny-backports', 'squeeze', 'sid' ]
-    version_numbers = { sarge => '3.1',
-                       etch  => '4.0',
-                       lenny => '5.0' }
-    current_release = 'lenny'
+    all_suites = [ 'bo', 'hamm', 'slink', 'potato', 'woody', 'sarge' ]
+    version_numbers = { sarge  => '3.1',
+                       woody  => '3.0',
+                       potato => '2.2',
+                       slink  => '2.1',
+                       hamm   => '2.0',
+                       bo     => '1.3.1'}
+    current_release = 'sarge'
     all_sections = [ 'main', 'contrib', 'non-free' ]
-    all_architectures = [ 'alpha', 'arm', 'armel', 'amd64', 'avr32', 'hppa', 'i386',
-                         'ia64', 'kfreebsd-amd64', 'kfreebsd-i386', 'mips',
-                         'mipsel', 'm68k', 'powerpc', 's390', 'sparc' ]
+    all_architectures = [ 'alpha', 'arm', 'hppa', 'i386', 'ia64',
+                         'mips', 'mipsel', 'powerpc', 's390', 'sparc' ]
 -%]
 
 <p>This site provides you with information about all the packages
@@ -32,9 +33,6 @@ if you encounter any problems!</em></p>
 [% END %]
 </ul>
 
-<p>There is also a list of <a href="[% all_suites.-1 %]/main/newpkg">packages
-recently added to [% all_suites.-1 %]</a>.</p>
-
 <h2>Search</h2>
 
 <h3>Search package directories</h3>
index 77e6db13984fe4f7fbb116c57f29f702b771e852..045ae5e605771fdcaaaee58562a13e9024eedf73 100644 (file)
@@ -6,7 +6,7 @@
    organisation = 'Debian'
    project_homepage = 'http://www.debian.org/'
    packages_homepage = '/'
-   packages_homepage_abs = 'http://packages.debian.net/'
+   packages_homepage_abs = 'http://archive.debian.net/'
    searchformurl = packages_homepage
    search_url = '/search'
    tags_url = 'http://debtags.alioth.debian.org/'
    security_mirror = 'security.debian.org'
    security_mirror_url = security_mirror _ '/debian-security'
    security_suite_suffix = '/updates'
-   changelogs_url = 'http://packages.debian.org/changelogs/'
+   changelogs_url = 'http://archive.debian.net/changelogs/'
    policy_url = 'http://www.debian.org/doc/debian-policy/'
    cn_help_url = project_homepage _ 'intro/cn'
-   patch_tracking_url = 'http://patch-tracking.debian.net/package'
+#   patch_tracking_url = 'http://patch-tracking.debian.net/package'
    logo = {
        url => project_homepage,
         src => '/Pics/openlogo-nd-25.png',
        url => project_homepage _ 'trademark'
    }
    contact = {
-       name => g('Debian Web Mailinglist'),
-       mail => 'debian-www@lists.debian.org',
+       name => 'Frank Lichtenheld',
+       mail => 'djpig@debian.org',
         url => project_homepage _ 'contact',
    }
    admin = {
-       name => g('%s Webmaster', organisation),
-       mail => 'webmaster@debian.org',
+       name => 'Frank Lichtenheld',
+       mail => 'djpig@debian.org',
    }
    trademarknotes = g('%s is a <a href="%s">trademark</a> of %s', organisation, trademark.url, trademark.name)
    sponsors = [
-   {
-       url => 'http://example.invalid/',
-       name => 'Example Sponsor, Inc.',
-   },
-   {
-       url => 'http://example2.invalid/',
-       name => 'Example2 Sponsor, Inc.',
-   },
+#   {
+#      url => 'http://example.invalid/',
+#      name => 'Example Sponsor, Inc.',
+#   },
+#   {
+#      url => 'http://example2.invalid/',
+#      name => 'Example2 Sponsor, Inc.',
+#   },
    ]
 -%]
 [%-
    # possible values for importance: high, normal, low
+   #sitewidemsg = { importance => "high",
+   #              txt => g('Please note that this is an experimental version of <a href="http://%s/">%s</a>. Errors and obsolete information should be expected', 'packages.debian.org', 'packages.debian.org') }
    sitewidemsg = { importance => "high",
-                  txt => g('Please note that this is an experimental version of <a href="http://%s/">%s</a>. Errors and obsolete information should be expected', 'packages.debian.org', 'packages.debian.org') }
+                  txt => g('Please note that this site contains information about obsolete %s releases; if you search for current data, please use <a href="http://%s/">%s</a>.', organisation, 'packages.debian.org', 'packages.debian.org') }
 -%]
 [%# @translators: . = decimal_point , = thousands_sep, see Number::Format %]
 [%- USE num = Number.Format( decimal_point => g('.'),
index 7c852e9afd1c128c51de1fa5e7ea6127693ba2ea..81dc3aeab335a5261c98a542df4e001925ca9664 100644 (file)
  
 mirrors = {
        us => {
-               mirror_list => 'http://www.debian.org/mirror/list',
+               mirror_list => 'http://www.debian.org/distrib/archive',
                north_america => [
-                       "ftp.us.debian.org/debian",
-                       "http.us.debian.org/debian",
-#only amd64,i386       "ftp.debian.org/debian",
-                       "ftp.ca.debian.org/debian",
-                       "ftp.mx.debian.org/debian",
-                       "ftp.egr.msu.edu/debian",
-                       "mirrors.kernel.org/debian",
-                       "ftp-mirror.internap.com/pub/debian",
-#only some arches      "ftp.cerias.purdue.edu/pub/os/debian",
-                       "debian.lcs.mit.edu/debian",
-                       "debian.oregonstate.edu/debian",
+                       "ftp.egr.msu.edu/debian-archive",
+                       "ftp3.nrc.ca/debian-archive",
                ],
                europa => [
-                       "ftp.de.debian.org/debian",
-                       "ftp.at.debian.org/debian",
-                       "ftp.bg.debian.org/debian",
-                       "ftp.ch.debian.org/debian",
-                       "ftp.cz.debian.org/debian",
-                       "ftp.dk.debian.org/debian",
-                       "ftp.ee.debian.org/debian",
-                       "ftp.es.debian.org/debian",
-                       "ftp.fi.debian.org/debian",
-                       "ftp.fr.debian.org/debian",
-                       "ftp.hr.debian.org/debian",
-                       "ftp.hu.debian.org/debian",
-                       "ftp.ie.debian.org/debian",
-                       "ftp.is.debian.org/debian",
-                       "ftp.it.debian.org/debian",
-                       "ftp.nl.debian.org/debian",
-#only some arches      "ftp.no.debian.org/debian",
-                       "ftp.pl.debian.org/debian",
-                       "ftp.ro.debian.org/debian",
-                       "ftp.ru.debian.org/debian",
-                       "ftp.se.debian.org/debian",
-#only some arches      "ftp.si.debian.org/debian",
-                       "ftp.tr.debian.org/debian",
-                       "ftp.uk.debian.org/debian",
-               ],
-               south_america => [
-                       "ftp.br.debian.org/debian",
-                       "ftp.cl.debian.org/debian",
-                       "download.unesp.br/linux/debian",
-                       "sft.if.usp.br/debian",
-#not reachable         "debian.unesr.edu.ve/debian",
-                       "debian.torredehanoi.org/debian",
-               ],
-               australia => [
-                       "ftp.au.debian.org/debian",
-                       "ftp.wa.au.debian.org/debian",
-                       "ftp.nz.debian.org/debian",
-                       "mirror.pacific.net.au/debian",
-                       "ftp.iinet.net.au/debian/debian",
-                       "mirror.optus.net/debian",
+                       "archive.debian.org/debian",
+                       "ftp.de.debian.org/archive/debian",
+                       "ftp.ch.debian.org/debian-archive",
+                       "ftp.nl.debian.org/debian-archive",
+                       "debian.dynamica.it/debian-archive",
+                       "debian.org.ua/debian-archive",
+                       "ftp2.debian.org.ua/debian-archive",
+#                      "ftp.irb.hr/debian-archive",
+                       "webb.ens-cachan.fr/ftp/debian-archive",
                ],
                asia => [
-                       "ftp.jp.debian.org/debian",
-                       "ftp2.jp.debian.org/debian",
-                       "ftp.kr.debian.org/debian",
-#only some arches      "ftp.hk.debian.org/debian",
-                       "ftp.tw.debian.org/debian",
-                       "debian.nctu.edu.tw/debian",
-                       "debian.linux.org.tw/debian",
-                       "linux.cdpa.nsysu.edu.tw/debian",
-                       "ftp.nara.wide.ad.jp/debian",
-                       "mirrors.geekbone.org/debian",
-                       "ftp.yz.yamagata-u.ac.jp/debian",
-                       "debian.thaios.net/debian",
-                       "www.anheng.com.cn/debian",
-                       "ftp.daum.net/debian",
-               ],
-               africa => [
-                       "debian.mirror.ac.za/debian",
+                       "ftp.kr.debian.org/debian-archive",
+#                      "ftp.twaren.net/Linux/Debian/debian-archive",
                ],
        },
-
        volatile => {
                title => g('volatile packages that need major changes during the life of a stable release'),
-               mirror_list => 'http://www.debian.org/volatile/volatile-mirrors',
                europa => [
-                       "volatile.debian.org/debian-volatile",
-                       "ftp.at.debian.org/debian-volatile",
-                       "ftp.be.debian.org/debian-volatile",
-                       "ftp.ch.debian.org/debian-volatile",
-                       "ftp.de.debian.org/debian-volatile",
-                       "ftp2.de.debian.org/debian-volatile",
-                       "ftp.ee.debian.org/debian-volatile",
-                       "ftp.fi.debian.org/debian-volatile",
-                       "ftp.gr.debian.org/debian-volatile",
-                       "ftp.nl.debian.org/debian-volatile",
-                       "ftp.ru.debian.org/debian-volatile",
-                       "ftp.sk.debian.org/debian-volatile",
-                       "ftp.ua.debian.org/debian-volatile",
-                       "ftp.uk.debian.org/debian-volatile",
-               ],
-               north_america => [
-                       "mirror.csclub.uwaterloo.ca/debian-volatile",
-                       "ftp3.nrc.ca/debian-volatile",
-                       "gulus.usherbrooke.ca/debian-volatile",
-               ],
-               south_america => [
-                       "ftp.br.debian.org/debian-volatile",
-                       "ftp.cl.debian.org/debian-volatile",
-                       "sft.if.usp.br/debian-volatile",
-               ],
-               asia => [
-                       "ftp2.jp.debian.org/debian-volatile",
-                       "ftp.tw.debian.org/debian-volatile",
-                       "mirror.unej.ac.id/debian-volatile",
-                       "mirrors.geekbone.org/debian-volatile",
-               ],
-               australia => [
-                       "ftp.nz.debian.org/debian-volatile",
+                       "archive.debian.org/debian-volatile",
                ],
        },
-
        backports => {
                title => g('newer packages that have been adapted to stable releases of Debian'),
-               mirror_list => 'http://www.backports.org/debian/README.mirrors.html',
                europa => [
-                       "www.backports.org/debian",
-                       "debian.sil.at/backports.org/",
-                       "backports.debian.or.at/backports.org",
-                       "mirror.realroute.net/backports.org",
-                       "backports.cisbg.com",
-                       "backports.linuxdediziert.de/backports.org",
-                       "debian.netcologne.de/debian-backports",
-                       "ftp.de.debian.org/backports.org",
-                       "mirror.buildd.net/backports.org",
-                       "ftp.estpak.ee/backports.org",
-                       "debian.acantho.net/backports.org",
-                       "backports.essentkabel.com/backports.org",
-                       "backports.sipo.nl",
-                       "ftp.tuke.sk",
-               ],
-               asia => [
-                       "backports.mithril-linux.org",
-               ],
-               australia => [
-                       "mirror.linux.org.au/backports.org",
-                       "mirror.pacific.net.au/linux/debian-backports",
-               ],
-       },
-
-       debports => {
-               title => g('ports of packages to architectures not yet or not anymore available in Debian'),
-               mirror_list => 'http://wiki.debian.org/DebianPorts/Mirrors',
-               unofficial_port => {
-                       avr32 => {
-                               url => 'http://avr32.debian.net/',
-                               name => 'AVR32',
-                       },
-                       m68k => {
-                               url_name => 'm68k',
-                               name => 'M68K',
-                       },
-               },
-               north_america => [
-                       "www.gtlib.gatech.edu/pub/gnuab/debian",
-               ],
-               europa => [
-                       "ftp.debian-ports.org/debian",
-                       "ftp.de.debian.org/debian-ports",
-                       "ftp.ch.debian.org/debian-ports",
-               ],
-               asia => [
-                       "debian.nctu.edu.tw/debian-ports",
+                       "archive.debian.org/backports.org",
                ],
        },
 }
 
-ports_url = 'http://www.debian.org/ports/'
-
 continents = {
                north_america => g('North America'),
                south_america => g('South America'),
index 01dd76a654fc007aac2e93b5e2143668fd53f847..d1dfbc372c17162a9158804d5071c6271e6b56b9 100644 (file)
@@ -106,8 +106,8 @@ deb http://<em>[% mirrors.$archive.europa.0 %]</em> [% suite %] main [% section
 <table id="pdownloadmeta">
 <tr><th>[% g('Exact Size') %]</th>     <td class="size">[% g('%s Byte (%s %s)', size, num.format_number(pkgsize,1), pkgsize_unit) %]</td>
 <tr><th>[% g('MD5 checksum') %]</th>   <td><tt>[% md5sum %]</tt></td>
-<tr><th>[% g('SHA1 checksum') %]</th>  <td><tt>[% sha1 || g('Not Available') %]</tt></td>
-<tr><th>[% g('SHA256 checksum') %]</th>        <td><tt>[% sha256  || g('Not Available') %]</tt></td>
+<!-- <tr><th>[% g('SHA1 checksum') %]</th>     <td><tt>[% sha1 || g('Not Available') %]</tt></td>
+<tr><th>[% g('SHA256 checksum') %]</th>        <td><tt>[% sha256  || g('Not Available') %]</tt></td> -->
 </table>
 
 [%- PROCESS 'html/foot.tmpl' page_name="$pkg/download" -%]
index f8d520bedd8bf74f95ff953283b9c30cb8f0d276..67730c0863f1745db13cab6505f337835b58edbc 100644 (file)
@@ -7,6 +7,7 @@
 <meta name="Author" content="[% admin.name %], [% admin.mail %]">
 <meta name="Description" content="[% description %]">
 <meta name="Keywords" content="[% organisation %],  [% keywords %]">
+<meta name="verify-v1" content="z6JMMeUTHFgmHlKo8ceiB80k6QMOdE3RcXigvd3TlBg=">
 [% html_meta %]
 
 <link href="/debian.css" rel="stylesheet" type="text/css" media="all">