aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2015-06-12 18:23:51 +0200
committerAlex Legler <alex@a3li.li>2015-06-12 18:23:51 +0200
commit1e59a8fc34822d74007827bec588fd6b55342e99 (patch)
tree9130981734ce956d06e5e79534fe9aa49a234ed7 /support
parentUpdate Foundation links as per dabbott's updates (diff)
downloadwww-1e59a8fc34822d74007827bec588fd6b55342e99.tar.gz
www-1e59a8fc34822d74007827bec588fd6b55342e99.tar.bz2
www-1e59a8fc34822d74007827bec588fd6b55342e99.zip
Rework mirror information
- Distfile -> Source mirror - Add rsync mirror page - Update usage docs
Diffstat (limited to 'support')
-rw-r--r--support/rsync-mirrors/index.html93
1 files changed, 93 insertions, 0 deletions
diff --git a/support/rsync-mirrors/index.html b/support/rsync-mirrors/index.html
new file mode 100644
index 0000000..154e25c
--- /dev/null
+++ b/support/rsync-mirrors/index.html
@@ -0,0 +1,93 @@
+---
+title: 'Gentoo rsync Mirrors'
+navtitle: 'rsync Mirrors'
+nav1: support
+nav2: mirrors
+nav2-show: true
+---
+
+<p>
+ Gentoo is hosted by many mirrors around the globe.
+ Selecting a mirror that is geographically near you may help speed up Portage tree updates.
+</p>
+
+<div class="alert alert-info">
+ <strong>Using rsync Mirrors</strong>
+ <br>
+ The mirrors listed <strong>on this page</strong> are used for updating your Portage tree.
+ <br>
+ To use an rsync mirror, set the <tt>sync-uri</tt> variable in the <tt>[gentoo]</tt> section of <tt>repos.conf</tt> to a URL from the list below.
+ <a href="https://wiki.gentoo.org/wiki//etc/portage/repos.conf/gentoo.conf" class="alert-link">More information</a> is available in our Wiki.
+</div>
+
+<div class="alert alert-success">
+ <strong>Source Mirrors</strong>
+ <br>
+ We also have a second type of mirrors that you use for fetching installation files as well as package sources (configured via <code>GENTOO_MIRRORS</code>).
+ They are available on a <a href="/downloads/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/Rsync">relevant documentation</a>.
+</p>
+
+<hr>
+
+<h2>Countries covered by Gentoo rsync Mirrors</h2>
+
+<table class="table table-condensed table-striped">
+ <tr>
+ <th>Region</th>
+ <th>Countries</th>
+ </tr>
+{% for region in site.data.mirrors.rsync %}
+ <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.rsync %}
+ <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: 55%;">Name</th>
+ <th style="width: 10%;">IPv4/v6</th>
+ <th style="width: 35%;">URL (for <tt>repos.conf</tt>)</th>
+ </tr>
+ {% for mirror in country[1].mirrors %}
+ <tr>
+ <td rowspan="{{ mirror.uris.size }}">{{ mirror.name }}</td>
+ {% for uri in mirror.uris %}
+ <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 | rsync_url }}"><code>{{ uri.uri | rsync_url }}</code></a>
+ </tr>
+ <tr>
+ {% endfor %}
+ </tr>
+ {% endfor %}
+ </table>
+ {% endfor %}
+{% endfor %}