aboutsummaryrefslogtreecommitdiff
blob: c0de09519ccce22e79415133782220408f3d996c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
---
title: 'Gentoo source mirrors'
navtitle: 'Mirrors'
nav1: downloads
nav2: mirrors
nav2-show: true
---

<p>
  Gentoo downloads can be retrieved from many mirrors around the globe.
  Selecting a mirror that is geographically near you may help speed up downloads.
</p>

<div class="alert alert-info">
  <strong>Using source mirrors</strong>
  <br>
  The mirrors listed <strong>on this page</strong> contain installation files such as <strong>LiveCDs, Gentoo ebuild repository snapshots</strong>
  as well as <strong>distfiles</strong> (the actual program code for our packages).
  <br>
  To use a source mirror for Portage downloads, add a URL from the list below to the <var>GENTOO_MIRRORS</var> variable in <tt>make.conf</tt>.
  <a href="https://wiki.gentoo.org/wiki/GENTOO_MIRRORS" class="alert-link">More information</a> is available in our wiki.
</div>

<div class="alert alert-success">
  <strong>rsync mirrors</strong>
  <br>
  We also have a second type of mirrors that you use for updating your Portage tree (configured via <tt>repos.conf</tt>).
  They are available on a <a href="/support/rsync-mirrors/" class="alert-link">separate page</a>.
</div>

<p>
  We would like to thank the many organizations and individuals that are providing mirroring services to the Gentoo project. If you would like to contribute a mirror, please consult the <a href="https://wiki.gentoo.org/wiki/Project:Infrastructure/Mirrors/Source">relevant documentation</a>.
</p>

<hr>

<h2>Countries covered by Gentoo source mirrors</h2>

<table class="table table-condensed table-striped">
  <tr>
    <th>Region</th>
    <th>Countries</th>
  </tr>
{% for region in site.data.mirrors.distfiles %}
  <tr>
    <th>{{ region[0] }}</th>
    <td>
      {% for country in region[1] %}
      <a href="#{{ country[0] }}">{{ country[0] }}</a>
      {% endfor %}
    </td>
  </tr>
{% endfor %}
</table>

<hr>

{% for region in site.data.mirrors.distfiles %}
  <h2>{{ region[0] }}</h2>

  {% for country in region[1] %}
    <h3 id="{{ country[0] }}">{{ country[0] }} &ndash; {{ country[1].name }}</h3>

    <table class="table table-condensed">
      <tr>
        <th style="width: 30%;">Name</th>
        <th style="width: 10%;">Protocol</th>
        <th style="width: 10%;">IPv4/v6</th>
        <th style="width: 50%;">URL</th>
      </tr>
      {% for mirror in country[1].mirrors %}
        <tr>
          <td rowspan="{{ mirror.uris.size }}">{{ mirror.name }}</td>
          {% for uri in mirror.uris %}
            <td>
              <span class="label label-primary">{{ uri.protocol }}</span>
            </td>
            <td>
              {% if uri.ipv4 == 'y' and uri.ipv6 == 'y' %}
                <span class="label label-success">IPv4 + IPv6</span>
              {% elsif uri.ipv4 == 'y' %}
                <span class="label label-info">IPv4 only</span>
              {% elsif uri.ipv6 == 'y' %}
                <span class="label label-danger">IPv6 only</span>
              {% else %}
               ?
              {% endif %}
            </td>
            <td>
              <a href="{{ uri.uri }}"><code>{{ uri.uri }}</code></a>
            </tr>
            <tr>
          {% endfor %}
        </tr>
      {% endfor %}
    </table>
  {% endfor %}
{% endfor %}