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
23 # The following things vary seldom
30 # The following things vary often
35 echo "Upload to tuxedo complete"
37 # Next, upload to the ftp site
39 cd ~ftp/pub/esr/fetchmail
40 put fetchmail-${version}.tar.gz
41 put fetchmail-${version}-1.i386.rpm
42 put fetchmail-${version}-1.src.rpm
47 echo "Upload to locke complete"
49 # Next, upload to Metalab
50 open -u anonymous,esr@thyrsus.com metalab.unc.edu
52 put fetchmail-${version}.tar.gz
54 put README -o fetchmail.README
55 put fetchmail-FAQ.html
56 put fetchmail-${version}-1.i386.rpm
57 put fetchmail-${version}-1.src.rpm
59 echo "Upload to Metalab complete"
61 # Finally, upload the RPMS to Red Hat
62 open incoming.redhat.com
64 put fetchmail-${version}-1.i386.rpm
65 put fetchmail-${version}-1.src.rpm
67 echo "Upload to Red Hat contrib complete"
70 echo "fetchmail uploaded"