Version 1.4.1

This commit is contained in:
phil 2007-06-18 18:28:12 +00:00
parent ed664ee2e2
commit 85e04de4e0
447 changed files with 62011 additions and 0 deletions

109
v1.4.1/downloads/get_files.sh Executable file
View file

@ -0,0 +1,109 @@
#!/bin/sh
#
# Parameter: LISTE ACTION
# z.B. ./get_files programme download
#
set -eu
# die Key-Server muessen wohl einzeln angegeben werden - somit einzelne Direktiven
KEY_SERVERS="x-hkp://pgp.mit.edu --keyserver hkp://subkeys.pgp.net"
function download_file()
{
local QUELLE=$(grep "^$1[[:space:]]" $URL_FILE | cut -f 2)
local ZIEL=$DEST_DIR/$1
# leider sind die exitcodes von wget derzeit noch nicht zuverlaessig (< v1.11)
wget --continue --output-document "$ZIEL" "$QUELLE"
# loesche die Datei, falls sie existiert jedoch leer ist
test -e "$ZIEL" -a ! -s "$ZIEL" && rm "$ZIEL"
}
function verify_file()
{
# eventuell die Datei herunterladen
[ ! -e "$DEST_DIR/$1" ] && download_file "$1"
[ ! -e "$DEST_DIR/$1" ] && return 1
# Signatur-URL ermitteln
local SIG_URL=$(grep "^$1[[:space:]]" $URL_FILE | cut -f 3)
# bei fehlender Signatur erfolgreich abbrechen
[ -z "$SIG_URL" ] && return 0
# Signatur herunterladen
local SIG_FILE=$DEST_DIR/$(basename "$SIG_URL")
# html-encodierte Leerzeichen wiederherstellen
SIG_FILE=${SIG_FILE//\%20/ }
[ ! -e "$SIG_FILE" ] && wget --output-document "$SIG_FILE" "$SIG_URL"
# pruefen - notfalls den Schluessel importieren
# erstmal Ausgabe unterdruecken
if gpg --quiet --keyserver $KEY_SERVERS --keyserver-options auto-key-retrieve \
--verify "$SIG_FILE" "$DEST_DIR/$1" &>/dev/null
then return 0
else # nochmal - diesmal mit Fehlerausgabe
gpg --quiet --keyserver $KEY_SERVERS --keyserver-options auto-key-retrieve \
--verify "$SIG_FILE" "$DEST_DIR/$1"
# loesche die heruntergeladene Datei und die Signatur falls die
# Verifikation fehlschlaegt
rm "$DEST_DIR/$1" "$SIG_FILE"
echo "Die heruntergeladene Datei und die Signatur-Datei wurden geloescht."
echo "Versuche es nochmal ..."
return 1
fi
}
########### main ############
if [ $# -lt 2 ]
then echo "wrong parameters: $@"
echo
echo "Syntax: $(basename $0) DATEI_LISTE ACTION [DESTINATION]"
echo
exit 1
fi
URL_FILE=$(dirname $0)/${1}.lst
DEST_DIR=$(dirname $0)/${1}
shift
[ ! -e "$URL_FILE" ] && echo "Die Datei ($URL_FILE) existiert nicht!" && exit 2
[ -e "$DEST_DIR" ] || mkdir -p "$DEST_DIR"
ACTION=help
[ $# -gt 0 ] && ACTION=$1 && shift
case "$ACTION" in
download )
cut -f 1 "$URL_FILE" | while read a
do [ ! -e "$DEST_DIR/$a" ] && download_file "$a"
done
# ExitCode auf Null setzen
true
;;
verify )
cut -f 1 "$URL_FILE" | while read a
do if verify_file "$a"
then true
else echo "Verification of '$a' failed ..."
exit 1
fi
done
;;
clean )
# Datei loeschen
cut -f 1 "$URL_FILE" | while read a; do rm -f "$DEST_DIR/$a"; done
# Signatur loeschen, falls vorhanden
cut -f 3 "$URL_FILE" | sed /^$/d | while read a; do rm -f "$DEST_DIR/$(basename $a)"; done
;;
install )
[ $# -eq 0 ] && echo 'You need to specify the destination directory!' && exit 1
INST_DIR=$1
[ ! -e "$INST_DIR" ] && mkdir -p "$INST_DIR"
cut -f 1 "$URL_FILE" | while read a
do [ -e "$DEST_DIR/$a" ] || download_file "$a"
cp "$DEST_DIR/$a" "$INST_DIR/"
done
;;
* )
echo "Syntax: $0 LIST { download | install | clean } [ZIEL_VERZEICHNIS]"
echo
;;
esac

View file

@ -0,0 +1,16 @@
Thunderbird Setup 2.0.0.4.exe http://ftp-mozilla.netscape.com/pub/mozilla.org/thunderbird/releases/2.0.0.4/win32/de/Thunderbird%20Setup%202.0.0.4.exe http://ftp-mozilla.netscape.com/pub/mozilla.org/thunderbird/releases/2.0.0.4/win32/de/Thunderbird%20Setup%202.0.0.4.exe.asc
Thunderbird 1.5.0.12.dmg http://ftp-mozilla.netscape.com/pub/mozilla.org/thunderbird/releases/1.5.0.12/mac/de/Thunderbird%201.5.0.12.dmg http://ftp-mozilla.netscape.com/pub/mozilla.org/thunderbird/releases/1.5.0.12/mac/de/Thunderbird%201.5.0.12.dmg.asc
Enigmail_0.95.1_tb_sm_de.xpi http://www.erweiterungen.de/herunterladen/Enigmail_0.95.1_tb_sm_de.xpi
Enigmail_0.94.3_tb_de.xpi http://www.erweiterungen.de/herunterladen/Enigmail_0.94.3_tb_de.xpi
gnupg-w32cli-1.4.7.exe ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32cli-1.4.7.exe ftp://ftp.gnupg.org/gcrypt/binary/gnupg-w32cli-1.4.7.exe.sig
GnuPG1.4.7.dmg http://mesh.dl.sourceforge.net/sourceforge/macgpg/GnuPG1.4.7.dmg http://mesh.dl.sourceforge.net/sourceforge/macgpg/GnuPG1.4.7.dmg.sig
shellopn.exe http://www.joachimschlosser.de/downloads/shellopn.exe
shellopn.zip http://www.joachimschlosser.de/downloads/shellopn.zip
pidgin-2.0.2.exe http://downloads.sourceforge.net/pidgin/pidgin-2.0.2.exe
pidgin-encryption-3.0.exe http://mesh.dl.sourceforge.net/sourceforge/pidgin-encrypt/pidgin-encryption-3.0.exe
vidalia-bundle-0.1.1.26-0.0.11.exe http://vidalia-project.net:8001/vidalia-bundle-0.1.1.26-0.0.11.exe http://vidalia-project.net:8001/vidalia-bundle-0.1.1.26-0.0.11.exe.asc
vidalia-bundle-0.1.1.26-0.0.10-tiger.dmg http://www.vidalia-project.net/dist/vidalia-bundle-0.1.1.26-0.0.10-tiger.dmg http://www.vidalia-project.net/dist/vidalia-bundle-0.1.1.26-0.0.10-tiger.dmg.asc
vidalia-bundle-0.1.1.26-0.0.10-panther.dmg http://www.vidalia-project.net/dist/vidalia-bundle-0.1.1.26-0.0.10-panther.dmg http://www.vidalia-project.net/dist/vidalia-bundle-0.1.1.26-0.0.10-panther.dmg.asc
Firefox Setup 2.0.0.4.exe http://ftp-mozilla.netscape.com/pub/mozilla.org/firefox/releases/2.0.0.4/win32/de/Firefox%20Setup%202.0.0.4.exe http://ftp-mozilla.netscape.com/pub/mozilla.org/firefox/releases/2.0.0.4/win32/de/Firefox%20Setup%202.0.0.4.exe.asc
Firefox 2.0.0.4.dmg http://ftp-mozilla.netscape.com/pub/mozilla.org/firefox/releases/2.0.0.4/mac/de/Firefox%202.0.0.4.dmg http://ftp-mozilla.netscape.com/pub/mozilla.org/firefox/releases/2.0.0.4/mac/de/Firefox%202.0.0.4.dmg.asc
torbutton-1.0.4-fx+tb.xpi http://releases.mozilla.org/pub/mozilla.org/extensions/torbutton/torbutton-1.0.4-fx+tb.xpi