]> Pileus Git - ~andy/fetchmail/blobdiff - makerelease
BSDI port tweak.
[~andy/fetchmail] / makerelease
index c40bcfe86bb516e4dc6b8fffae91c3b42b395fd1..da16eb63a800c2747d5028ea175132a555429487 100755 (executable)
@@ -4,8 +4,10 @@
 # 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/./-/;
@@ -51,12 +53,17 @@ if (system("make rpm >/dev/null 2>/dev/null && chown esr *.rpm")) {
 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
 
@@ -86,7 +93,6 @@ 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.$$");
@@ -106,6 +112,9 @@ unlink("DIFFS.$$");
 print "Building index page...\n";
 system("rm -f index.html; indexgen.sh");
 
+print "Making activity graph...";
+growthplot;
+
 print "Done\n";
 
 # makerelease ends here