aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rwxr-xr-xindexgen.sh18
-rw-r--r--sink.c2
-rwxr-xr-xupload1
4 files changed, 25 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 3c64a3cd..8c38593c 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,12 @@
Release Notes:
+fetchmail-4.7.7 ():
+* Fixed off-by-one error in batchlimit logic (thanks to Brian Warner).
+* Added MD5 checksums to web page.
+
+There are 263 people on fetchmail-friends and 342 on fetchmail-announce.
+
fetchmail-4.7.6 (Sat Jan 30 19:44:24 EST 1999):
* Henrik Storner's fix for mimedecode
* ' now works as a string quote in. fetchmailrc syntax, just like ".
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
diff --git a/sink.c b/sink.c
index 94e1a3ae..d3e96b63 100644
--- a/sink.c
+++ b/sink.c
@@ -49,7 +49,7 @@ static int smtp_open(struct query *ctl)
/* try to open a socket to the appropriate SMTP server for this query */
{
/* maybe it's time to close the socket in order to force delivery */
- if (NUM_NONZERO(ctl->batchlimit) && (ctl->smtp_socket != -1) && batchcount++ == ctl->batchlimit)
+ if (NUM_NONZERO(ctl->batchlimit) && (ctl->smtp_socket != -1) && ++batchcount == ctl->batchlimit)
{
close(ctl->smtp_socket);
ctl->smtp_socket = -1;
diff --git a/upload b/upload
index 7c8700e2..cd2f8e56 100755
--- a/upload
+++ b/upload
@@ -21,6 +21,7 @@ put design-notes.html
#put funny.html
#put fetchmail.gif
#put bighand.gif
+put checksums
put index.html
close
echo "Upload to tuxedo complete"