aboutsummaryrefslogtreecommitdiffstats
path: root/indexgen.sh
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-01-31 15:53:06 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-01-31 15:53:06 +0000
commit092dcc6a210defae94f01692c3a9913749e40f1d (patch)
tree5b6429b8322747e7cacec8c4e283f25b2e85b5ea /indexgen.sh
parent8e12771c90e3fc4deed81aab6aeeee7ea980c0e5 (diff)
downloadfetchmail-092dcc6a210defae94f01692c3a9913749e40f1d.tar.gz
fetchmail-092dcc6a210defae94f01692c3a9913749e40f1d.tar.bz2
fetchmail-092dcc6a210defae94f01692c3a9913749e40f1d.zip
Added MD5 checksums to web page.
svn path=/trunk/; revision=2363
Diffstat (limited to 'indexgen.sh')
-rwxr-xr-xindexgen.sh18
1 files changed, 17 insertions, 1 deletions
diff --git a/indexgen.sh b/indexgen.sh
index 008be55e..2e7b743a 100755
--- a/indexgen.sh
+++ b/indexgen.sh
@@ -14,6 +14,21 @@ fetchmailsize=$1
rm -f index.html
+# Compute MD5 checksums for security audit
+rm -f checksums
+for file in fetchmail-$version.tar.gz fetchmail-$version-1.i386.rpm fetchmail-$version-1.src.rpm
+do
+ md5sum $file >>checksums
+done
+
+if [ $version != $goldvers ]
+then
+ for file in fetchmail-$goldvers.tar.gz fetchmail-$goldvers-1.i386.rpm fetchmail-$goldvers-1.src.rpm
+ do
+ md5sum $file >>checksums
+ done
+fi
+
cat >index.html <<EOF
<!doctype HTML public "-//W3O//DTD W3 HTML 3.2//EN">
<HTML>
@@ -110,9 +125,10 @@ You can get any of the following leading-edge resources here:
Source RPM of fetchmail $version</a>
</UL>
+MD5 <a href="checksums">checksums</a> are available for these files.<p>
EOF
-if [ $version = $goldvers ]
+if [ $version != $goldvers ]
then
cat >>index.html <<EOF