]> Pileus Git - ~andy/fetchmail/blobdiff - makerelease
BSDI port tweak.
[~andy/fetchmail] / makerelease
index 5b520840447ece9e54c43948601d33ec9c6d050e..da16eb63a800c2747d5028ea175132a555429487 100755 (executable)
@@ -6,16 +6,6 @@
 #
 $timezone = "-0500";
 
-sub rfc822date
-{
-    @wdays  = ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat");
-    @months = ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Nov", "Dec");
-
-    my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime(time());
-    "$wdays[$wday], substr("0$mday", -2) . $months[$mon] " . " $timezone " . substr("0$hour", -2) . ":" . substr("0$min", -2) . ":" . substr("0$sec", -2) . " " . (1900+$year);
-}
-
-
 $version=`grep 'VERSION *=' Makefile.in`;
 $version =~ /VERSION *= *(.*)/;
 $version = $1;
@@ -50,35 +40,6 @@ if (system("su -c 'make >/dev/null' esr")) {
        die("Compilation failure\n");
 }
 
-# Update the Debian logfile
-open(DEBLOG, "debian/changelog");
-$firstline = <DEBLOG>;
-close(DEBLOG);
-$firstline =~ /fetchmail \(*([^-]*)/;
-$logvers = $1;
-if ($version eq $logvers) {
-    print "No change to Debian logfile...\n";
-} else {
-    $date = &rfc822date();
-    print "Updating the Debian logfile ($logvers -> $version)...\n";
-    open(DEBLOG, "<debian/changelog");
-    open(TMP, ">mkr$$.tmp") || die("Error opening temp file\n");
-    print TMP <<EOF;
-fetchmail (${version}-1) unstable; urgency=low
-
-  * new upstream version
-  
- -- Eric S. Raymond <esr\@thyrsus.com>  ${date}
-  
-EOF
-    while (<DEBLOG>) {
-       print TMP $_;
-    }
-    close(TMP);
-    close(DEBLOG);
-    system("mv mkr$$.tmp debian/changelog");
-}
-
 print "Building the distribution...\n";
 if (system("su -c 'make dist >/dev/null' esr")) {
        die("Distribution-build failure\n");
@@ -151,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