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
24 # The following things vary seldom
31 # The following things vary often
36 echo "Upload to tuxedo complete"
38 # Next, upload to the ftp site
40 cd ~ftp/pub/esr/fetchmail
41 put fetchmail-${version}.tar.gz
42 put fetchmail-${version}-1.i386.rpm
43 put fetchmail-${version}-1.src.rpm
48 echo "Upload to locke complete"
50 # Next, upload to Metalab
51 open -u anonymous,esr@thyrsus.com metalab.unc.edu
53 put fetchmail-${version}.tar.gz
55 put README -o fetchmail.README
56 put fetchmail-FAQ.html
57 put fetchmail-${version}-1.i386.rpm
58 put fetchmail-${version}-1.src.rpm
60 echo "Upload to Metalab complete"
62 # Finally, upload the RPMS to Red Hat
63 open incoming.redhat.com
65 put fetchmail-${version}-1.i386.rpm
66 put fetchmail-${version}-1.src.rpm
68 echo "Upload to Red Hat contrib complete"
71 echo "fetchmail uploaded"