aboutsummaryrefslogtreecommitdiffstats
path: root/website/fetchmail-man.html
Commit message (Expand)AuthorAgeFilesLines
* Track website in separate SVN directory (mostly symlinks for now).Matthias Andree2008-06-171-0/+1
n37'>37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
#!/bin/sh

version=`sed -n '/VERSION *= *\(.*\)/s//\1/p' <Makefile`
echo "Uploading fetchmail version ${version}"

if [ $* ]
then
    ../upload $*
else
    lftp <<EOF
# First, copy to primary website
open ${WWWHOST}
cd ${WWWDIR}/fetchmail
put fetchmail-${version}.tar.gz
put fetchmail-FAQ.html
put fetchmail-${version}-1.i386.rpm
put fetchmail-${version}-1.src.rpm
put fetchmail-features.html
put NEWS
put design-notes.html
#put funny.html
#put fetchmail.gif
#put bighand.gif
put index.html
close
echo "Upload to tuxedo complete"

# Next, upload to the ftp site
open locke.ccil.org
cd ~ftp/pub/esr/fetchmail
put fetchmail-${version}.tar.gz
put fetchmail-${version}-1.i386.rpm
put fetchmail-${version}-1.src.rpm
put README
put FAQ
put FEATURES
close
echo "Upload to locke complete"

# Next, upload to Metalab
open -u anonymous,esr@thyrsus.com metalab.unc.edu
cd incoming/Linux 
put fetchmail-${version}.tar.gz
put fetchmail.lsm
put README -o fetchmail.README 
put fetchmail-FAQ.html
put fetchmail-${version}-1.i386.rpm
put fetchmail-${version}-1.src.rpm
close
echo "Upload to Metalab complete"

# Finally, upload the RPMS to Red Hat
open incoming.redhat.com
cd libc6
put fetchmail-${version}-1.i386.rpm
put fetchmail-${version}-1.src.rpm
close
echo "Upload to Red Hat contrib complete"

EOF
    echo "fetchmail uploaded"
fi