aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdist-tools/send-security-announce.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/dist-tools/send-security-announce.sh b/dist-tools/send-security-announce.sh
new file mode 100755
index 00000000..6ace729c
--- /dev/null
+++ b/dist-tools/send-security-announce.sh
@@ -0,0 +1,16 @@
+test "$SEND_ANNOUNCEMENTS" = doit || { echo "read the source, luke! -> $0" ; cat "$0" ; exit 1 ; }
+
+ANN=fetchmail-SA-2008-02
+FILE=$HOME/mywork/fetchmail/BRANCH_6-3/$ANN.txt
+test -r $FILE || { echo "Cannot find $FILE." ; exit 1 ; }
+CVE=$(sed -n '/^CVE Name:/ { s/^.*:[ ]*//p;q; }' $FILE)
+SUBJECT="fetchmail security announcement $ANN ($CVE)"
+
+nail -r ma+nomail@dt.e-technik.uni-dortmund.de -s "$SUBJECT" <$FILE \
+ vulnwatch@vulnwatch.org
+
+nail -r ma+bt@dt.e-technik.uni-dortmund.de -s "$SUBJECT" <$FILE \
+ bugtraq@securityfocus.com
+
+nail -r matthias.andree@gmx.de -s "$SUBJECT" <$FILE \
+ vendor-sec@lst.de fetchmail-announce@lists.berlios.de