Systeme/freifunk-lacerta/images.freifunk-mainz.de

Aus Freifunk MWU Wiki
Zur Navigation springen Zur Suche springen
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Hier werden unsere Freifunk-Firmware-Images veröffentlicht.

Anleitung

Es wurde sich grob an folgende Anletungen gehalten:

Pfade

Unter der Haube ist dies nichts anderes als das Apache-File-Listing mit ein bisschen HTML drum rum.

 /var/www/virtual/freifunk/images.freifunk-mainz.de

In diesen Ordner legt man seine Nutzdaten, die bereitgestellt werden sollen, hier sind es Ordner mit Firmware Images, die Torrents der Images sowie ein Symlink auf die jeweils aktuellste Version:

 04.13_ffmz_attitude-adjustment
 04.13_ffmz_attitude-adjustment.torrent
 10.13_ffmz_barrier-breaker
 10.13_ffmz_barrier-breaker.torrent
 latest -> 10.13_ffmz_barrier-breaker

Dazu kommt noch bisschen Kram, um alles ein bisschn schicker zu machen:

 favicon.ico
 ffmz_logo2.png
 ffmz_logo.png
 footer.html
 header.html
 .htaccess

.htaccess

Options +Indexes
IndexOptions +FancyIndexing
IndexOptions +FoldersFirst
IndexOptions +XHTML
IndexOptions +HTMLTable
IndexOptions +SuppressRules
IndexOptions +NameWidth=*
IndexOptions +DescriptionWidth=*
IndexOptions +SuppressHTMLPreamble
IndexOptions +IconHeight=24
IndexOptions +IconWidth=24
IndexOptions +IconsAreLinks
IndexOrderDefault Ascending Name

RewriteEngine on
RewriteRule ^icons(/.*)$ http://uberspace.de/icons$1 [L]

HeaderName /header.html
ReadmeName footer.html
IndexIgnore header.html footer.html ffmz_logo.png ffmz_logo2.png favicon.ico .htaccess

AddDescription "OpenWRT Update File" -sysupgrade.bin
AddDescription "OpenWRT Installation File" -factory.bin
AddDescription "Checksum File" sums
AddDescription "Torrent" torrent
AddDescription "Freifunk Mainz Release" ffmz*
AddDescription "-" *

AddIcon /ffmz_logo.png -sysupgrade.bin
AddIcon /ffmz_logo2.png -factory.bin

header.html

<html>
<head>
    <title>Freifunk Mainz Router Images</title>
<style type="text/css">

body {
    font-family: Helvetica, Arial, sans-serif;
    margin: 10px;
}
td {
    padding: 5px 10px;
}
#logo {
    background: url('/ffmz_logo.png') no-repeat;
    width: 180px;
    height: 180px;
    float: right;
}

</style>
</head>
<body>
    <span id="logo"> </span>
    <h1>Freifunk Mainz Router Images</h1>

footer.html

<h2>Schema</h2>
Die hier vorliegenden Ordner sind nach dem Datum des Erstellens der Images benannt: MONAT.JAHR_ffmz_OPENWRT-RELEASE
<h2>Anleitung</h2>
Die Anleitung ist im Wiki: <a href="http://wiki.freifunk-mainz.de/w/Howto/Tinc-Node_konfiguration">http://wiki.freifunk-mainz.de/w/Howto/Tinc-Node_konfiguration</a>
<h2>Mirrors</h2>
<dt>
    <dl>Marc</dl>
        <dd><a href="http://download.crazyhaze.de/ffmz/">http://download.crazyhaze.de/ffmz/</a></dd>
        <dd><a href="https://download.crazyhaze.de/ffmz/">https://download.crazyhaze.de/ffmz/</a></dd>
    <dl>Freifunk Wiesbaden</dl>
        <dd><a href="http://mirror.freifunk-wiesbaden.de/">http://mirror.freifunk-wiesbaden.de</a></dd>

</dt>
<h2>Torrent</h2>
Wann immer möglich, die Torrent Files benutzen.
</html>