aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-07-02 02:06:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-07-02 02:06:00 +0000
commitb1692f29fe76ce2d5f8e073dd49f2e32d7d6a47e (patch)
tree7ee9d09568a9ae9ec53d9e5f20b0c6eec04671fe
parent2b4502c4558d481b5b73d69a3acf42216bb15147 (diff)
downloadfetchmail-b1692f29fe76ce2d5f8e073dd49f2e32d7d6a47e.tar.gz
fetchmail-b1692f29fe76ce2d5f8e073dd49f2e32d7d6a47e.tar.bz2
fetchmail-b1692f29fe76ce2d5f8e073dd49f2e32d7d6a47e.zip
Generate a mail script.
svn path=/trunk/; revision=1962
-rwxr-xr-xmakerelease5
1 files changed, 5 insertions, 0 deletions
diff --git a/makerelease b/makerelease
index 046bfac1..4ed53af3 100755
--- a/makerelease
+++ b/makerelease
@@ -51,6 +51,10 @@ 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
+
The $version release of fetchmail is now available at the usual locations,
including http://$ENV{'WWWHOST'}/~esr/fetchmail. Here are the release notes:
@@ -91,6 +95,7 @@ if ($rcsid eq '<workfile>') {
rename("PREAMBLE.$$", "RELEASE.NOTES");
system("chown esr RELEASE.NOTES");
+chmod(0700, "RELEASE.NOTES");
# If we ever want to go back to enclosing diffs.
#system "metasend -b -D 'fetchmail-$rcsid announcement' -m 'text/plain' -e 7bit -f PREAMBLE.$$ -n -D 'diff -u between -$oldrcs $rcsid' -m 'text/plain' -e 7bit -f DIFFS.$$ -o RELEASE_NOTES";