Author: nion
Date: 2008-03-24 17:12:19 +0000 (Mon, 24 Mar 2008)
New Revision: 8397

Modified:
   bin/compare-testing-status
Log:
add date to subject of testing-security update notifications

Modified: bin/compare-testing-status
===================================================================
--- bin/compare-testing-status  2008-03-24 16:39:54 UTC (rev 8396)
+++ bin/compare-testing-status  2008-03-24 17:12:19 UTC (rev 8397)
@@ -11,6 +11,9 @@
 my $MAILTO='[EMAIL PROTECTED]';
 my $MAILFROM='[EMAIL PROTECTED]';
 
+my @d = localtime(time);
+my $MAILDATE = sprintf("%4d-%02d-%02d", $d[5] + 1900, $d[4], $d[3]);
+
 if (@ARGV != 2) {
        die "usage:\nlist-updates old.db new.deb\n";
 }
@@ -206,7 +209,7 @@
        print $sendmail <<"EOF";
 From: $MAILFROM
 To: $MAILTO
-Subject: Security update for Debian Testing
+Subject: Security update for Debian Testing - $MAILDATE
 
 This automatic mail gives an overview over security issues that were recently 
 fixed in Debian Testing. The majority of fixed packages migrate to testing 


_______________________________________________
Secure-testing-commits mailing list
Secure-testing-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/secure-testing-commits

Reply via email to