Browse Source

merge mirror stuff from site

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273614 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 22 years ago
parent
commit
54ded1b809
4 changed files with 146 additions and 6 deletions
  1. +6
    -0
      proposal/ant-site/anakia/docs/download.cgi
  2. +6
    -3
      proposal/ant-site/anakia/docs/index.html
  3. +128
    -0
      proposal/ant-site/anakia/xdocs/download.xml
  4. +6
    -3
      proposal/ant-site/anakia/xdocs/index.xml

+ 6
- 0
proposal/ant-site/anakia/docs/download.cgi View File

@@ -0,0 +1,6 @@
#!/bin/sh
# Wrapper script around mirrors.cgi script
# (we must change to that directory in order for python to pick up the
# python includes correctly)
cd /www/www.apache.org/dyn/mirrors
/www/www.apache.org/dyn/mirrors/mirrors.cgi $*

+ 6
- 3
proposal/ant-site/anakia/docs/index.html View File

@@ -178,11 +178,14 @@ Comprehensive documentation is included in the source and binary distributions.
</p>
<ul>
<li><a href="http://www.apache.org/dist/ant/binaries/">
Download the binary release</a></li>
Download the binary release</a>
[<a href="http://www.apache.org/dyn/closer.cgi/ant/binaries/">from a mirror</a>]</li>
<li><a href="http://www.apache.org/dist/ant/source/">
Download the source release</a></li>
Download the source release</a>
[<a href="http://www.apache.org/dyn/closer.cgi/ant/source/">from a mirror</a>]</li>
<li><a href="http://www.apache.org/dist/ant/binaries/rpms/">
Download source or binary RPMs</a></li>
Download source or binary RPMs</a>
[<a href="http://www.apache.org/dyn/closer.cgi/ant/binaries/rpms/">from a mirror</a>]</li>
</ul>
</blockquote>
</td></tr>


+ 128
- 0
proposal/ant-site/anakia/xdocs/download.xml View File

@@ -0,0 +1,128 @@
<?xml version="1.0"?>
<document>

<properties>
<title>Downloading Ant</title>
</properties>

<body>

<section name="Downloading Ant">

<p>Use the links below to download the Ant from one of our mirrors.
You <strong>must</strong> <a href="#Verify Releases">verify the integrity</a> of
the downloaded files using signatures downloaded from our main
distribution directory.</p>

<p>If you do not see the file you need in the links below, please see
the <a href="http://www.apache.org/dist/ant/">master distribution
directory</a> or, preferably, its <a href="[preferred]/ant/">mirror</a>.</p>

</section>

<section name="Mirror">

<p>You are currently using <b>[preferred]</b>. If you encounter a
problem with this mirror, please select another mirror. If all
mirrors are failing, there are <i>backup</i> mirrors (at the end of
the mirrors list) that should be available.</p>

<form action="[location]" method="get" id="SelectMirror">
Other mirrors: <select name="Preferred">
[if-any http]
[for http]<option value="[http]">[http]</option>[end]
[end]
[if-any ftp]
[for ftp]<option value="[ftp]">[ftp]</option>[end]
[end]
[if-any backup]
[for backup]<option value="[backup]">[backup] (backup)</option>[end]
[end]
</select>
<input type="submit" value="Change" />
</form>
</section>

<section name="Current Release of Ant">

<p>Currently, Apache Ant 1.5.1 is the best available version.</p>

<ul>
<li>Source: <a
href="[preferred]/ant/ant-current-src.zip">ant-current-src.zip</a> [<a
href="http://www.apache.org/dist/ant/ant-current-src.zip.asc">PGP</a>]
[<a
href="http://www.apache.org/dist/ant/ant-current-src.zip.md5">MD5</a>]</li>

<li>Binaries: <a
href="[preferred]/ant/ant-current-bin.zip">ant-current-bin.zip</a> [<a
href="http://www.apache.org/dist/ant/ant-current-bin.zip.asc">PGP</a>]
[<a
href="http://www.apache.org/dist/ant/ant-current-bin.zip.md5">MD5</a>]</li>
</ul>

</section>

<section name="Other Formats">

<p>We also provide other packaging formats that may be of interest.</p>

<ul>
<li><a href="[preferred]/ant/binaries/">Other Binaries</a></li>
<li><a href="[preferred]/ant/source/">Other Sources</a></li>
<li><a href="[preferred]/ant/binaries/rpms/">RPMs</a></li>
</ul>

</section>
<section name="Nightly Builds">

<p>If you wish to use the latest Ant features, you can try downloading a
<a href="http://cvs.apache.org/builds/jakarta-ant/nightly/">nightly build</a>.
</p>

</section>

<section name="Verify Releases">

<p>It is essential that you verify the integrity of the downloaded
files using the PGP or MD5 signatures.</p>

<p>The PGP signatures can be verified using PGP or GPG. First
download the <a href="http://www.apache.org/dist/ant/KEYS">KEYS</a>
as well as the <code>asc</code> signature file for the particular
distribution. Make sure you get these files from the <a
href="http://www.apache.org/dist/ant/">main distribution
directory</a>, rather than from a mirror. Then verify the signatures
using</p>

<p><code>
% pgpk -a KEYS<br />
% pgpv jakarta-ant-bin-1.5.1.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% pgp -ka KEYS<br />
% pgp jakarta-ant-bin-1.5.1.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% gpg -import KEYS<br />
% gpg -verify jakarta-ant-bin-1.5.1.tar.gz.asc
</code></p>

<p>Alternatively, you can verify the MD5 signature on the files. A
unix program called <code>md5</code> or <code>md5sum</code> is
included in many unix distributions. It is also available as part of
<a href="http://www.gnu.org/software/textutils/textutils.html">GNU
Textutils</a>. Windows users can get binary md5 programs from <a
href="http://www.fourmilab.ch/md5/">here</a>, <a
href="http://www.pc-tools.net/win32/freeware/console/">here</a>, or
<a href="http://www.slavasoft.com/fsum/">here</a>.</p>

<p>We highly recommend to verify the PGP signature, though.</p>

</section>

</body>
</document>

+ 6
- 3
proposal/ant-site/anakia/xdocs/index.xml View File

@@ -83,11 +83,14 @@ Comprehensive documentation is included in the source and binary distributions.
</p>
<ul>
<li><a href="http://www.apache.org/dist/ant/binaries/">
Download the binary release</a></li>
Download the binary release</a>
[<a href="http://www.apache.org/dyn/closer.cgi/ant/binaries/">from a mirror</a>]</li>
<li><a href="http://www.apache.org/dist/ant/source/">
Download the source release</a></li>
Download the source release</a>
[<a href="http://www.apache.org/dyn/closer.cgi/ant/source/">from a mirror</a>]</li>
<li><a href="http://www.apache.org/dist/ant/binaries/rpms/">
Download source or binary RPMs</a></li>
Download source or binary RPMs</a>
[<a href="http://www.apache.org/dyn/closer.cgi/ant/binaries/rpms/">from a mirror</a>]</li>
</ul>
</section>


Loading…
Cancel
Save