3 version=`sed -n '/VERSION *= *\(.*\)/s//\1/p' <Makefile`
4 echo "Uploading fetchmail version ${version}"
11 # First, copy to primary website
13 cd ${WWWDIR}/fetchmail
14 put fetchmail-${version}.tar.gz
15 put fetchmail-FAQ.html
16 put fetchmail-${version}-1.i386.rpm
17 put fetchmail-${version}-1.src.rpm
18 put fetchmail-features.html
20 put fetchmail-man.html
22 # The following things vary seldom
29 # The following things vary often
34 echo "Upload to tuxedo complete"
36 # Next, upload to the ftp site
38 cd ~ftp/pub/esr/fetchmail
39 put fetchmail-${version}.tar.gz
40 put fetchmail-${version}-1.i386.rpm
41 put fetchmail-${version}-1.src.rpm
46 echo "Upload to locke complete"
48 # Next, upload to Metalab
49 open -u anonymous,esr@thyrsus.com metalab.unc.edu
51 put fetchmail-${version}.tar.gz
53 put README -o fetchmail.README
54 put fetchmail-FAQ.html
55 put fetchmail-${version}-1.i386.rpm
56 put fetchmail-${version}-1.src.rpm
58 echo "Upload to Metalab complete"
60 # Finally, upload the RPMS to Red Hat
61 open incoming.redhat.com
63 put fetchmail-${version}-1.i386.rpm
64 put fetchmail-${version}-1.src.rpm
66 echo "Upload to Red Hat contrib complete"
69 echo "fetchmail uploaded"