# Dumps a release notice and diffs as a MIME multipart message
# in RELEASE_NOTES
#
-$version=`grep VERS= Makefile.in`;
-$version =~ /VERS=(.*)/;
+$timezone = "-0500";
+
+$version=`grep 'VERSION *=' Makefile.in`;
+$version =~ /VERSION *= *(.*)/;
$version = $1;
$rcsid = $version;
$rcsid =~ tr/./-/;
open(REPORT, ">PREAMBLE.$$");
print REPORT <<EOF;
-#!/usr/lib/sendmail -t -oem
From: esr\@thyrsus.com (Eric S. Raymond)
To: fetchmail-announce\@ccil.org
+Reply-To: esr\@thyrsus.com (Eric S. Raymond)
+Subject: The $version release of fetchmail is available
+FCC: ~/postings/outmail
The $version release of fetchmail is now available at the usual locations,
-including http://$ENV{'WWWHOST'}/~esr/fetchmail. Here are the release notes:
+including <URL:http://$ENV{'WWWVIRTUAL'}/~esr/fetchmail> and
+<URL:ftp://ftp.ccil.org/pub/esr/fetchmail>.
+
+Here are the release notes:
EOF
close(NEWS);
close(REPORT);
-system("(echo '--'; ~/bin/fortune.pl) ~/.randsig >>PREAMBLE.$$");
if ($rcsid eq '<workfile>') {
system("rcsdiff -u -r$oldid RCS/* 2>/dev/null >DIFFS.$$");
print "Building index page...\n";
system("rm -f index.html; indexgen.sh");
+print "Making activity graph...";
+growthplot;
+
print "Done\n";
# makerelease ends here