<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
  <head>
    <title>Select</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml;
                                             charset=utf-8" />
    <style type="text/css">
      * {
      margin: 0px;
      padding: 0px;
      }
      html {
      background: #dd0000;
      }
      #content {
      width: 55em;
      -khtml-border-radius: 3em;
      -moz-border-radius: 3em;
      border-radius: 3em 3em;
      margin: 5em auto;
      padding: 3em;
      background-color: #dddddd;
      }
      .shell {
      font-family: mono;
      background-color: #f4f4f4;
      }
      h1 {
      padding: 0.4em;
      }
      h2 {
      padding: 0.3em;
      }
      p , select{
      padding: 0.2em;
      }
      .mono {
      font-family: mono;
      font-size: 0.8em
      }
    </style>
    <script type="text/javascript">
      function change()
      {
      var distribution = document.getElementById("distribution").value;
      var releasetype  = document.getElementById("releasetype").value;
      var debstring = "deb http://packages.unknown-horizons.org/" + distribution + " " + releasetype + " main";
      document.getElementById("output").firstChild.data = debstring;
      }
    </script>
  </head>
  <body>
    <div id="content">
      <h1>Unknown Horizons Debian Archive Helper</h1>
      <h3>Releases</h3>
      <p>
        Unknown Horizons releases are now available in your favorit
        Linux Distribution. The preferred method for installing
        Unknown Horizons Releases is through your distribution's
        normal software repository.
      </p>
      <h3>Ubuntu</h3>
      <p>
        Packages for Ubuntu have been moved to launchpad. Please visit
        the <a
        href="https://launchpad.net/~christoph-egger/+archive/unknown-horizons">PPA
        Site</a> for instructions. These packages should also work for
        the corresponding Mint Releases.
      </p>
      <h3>Debian</h3>
      <p>
        This tool is intended to help you decide how to configure your
        package manager so you always get the newest and best Unknown
        Horizons packages available. Please base your selection
        on your system and your needs:
      </p>
      <select id="distribution" size="1" onchange="change();">
        <option value="squeeze" >Debian Stable (squeeze)</option>
        <option value="wheezy"  >Debian Testing (wheezy)</option>
        <option value="sid"     >Debian Unstable (sid)</option>
<!--    <option value="maverick">Ubuntu 10.10 (Maverick Meerkat)</option>
        <option value="natty"   >Ubuntu 11.04 (Natty Narwhale)</option>
        <option value="oneiric" >Ubuntu 11.10 (Oneiric Ocelot)</option>
        <option value="maverick">Mint 10.0</option>
        <option value="natty"   >Mint 11.0</option>
        <option value="oneiric" >Mint 12.0</option> -->
      </select>
      <select id="releasetype" size="1" onchange="change();">
        <option value="release">Unknown Horizons Releases</option>
        <option value="weekly" >Unknown Horizons Weekly Snapshots</option>
        <!--<option value="daily"  >Unknown Horizons Daily Snapshots</option>-->
      </select>
      <h2>Repository</h2>
      <p>
        Create the
        directory <span class="mono">/etc/apt/sources.list.d</span> if
        it does not already exist and create a file
        called <span class="mono">/etc/apt/sources.list.d/unknown-horizons.list</span>
        in it with the following content:
      </p>
      <div id="output" class="shell">
        deb http://packages.unknown-horizons.org/squeeze release main
      </div>
      <h2>Archive Key</h2>
      <p>
        This archive is signed with an OpenPGP Key (DSA1 / 1024bit) to
        ensure the packages are indeed coming from us and did not get
        corrupted on file transfer, which may well happen as transferring
        data via internet is a bit unreliable - especially with bad connections.
      </p>
      <p>
        To make your apt recognize our key and not warn you about
        unverifiable packages, you can import our key into apt's keyring
        with the following line executed on your terminal:
      </p>
      <div class="shell">
        wget -O- http://packages.unknown-horizons.org/key 2>/dev/null |
        sudo apt-key add -
      </div>
    </div>
  </body>
</html>
