]> Pileus Git - ~andy/fetchmail/blob - dist-tools/send-security-announce.sh
Minor bug fixes for socket.c
[~andy/fetchmail] / dist-tools / send-security-announce.sh
1 test "$SEND_ANNOUNCEMENTS" = doit || { echo "read the source, luke! -> $0" ; cat "$0" ; exit 1 ; }
2
3 ANN=fetchmail-SA-2011-01
4 FILE=$HOME/VCS-mine/fetchmail.git/$ANN.txt
5 test -r $FILE || { echo "Cannot find $FILE." ; exit 1 ; }
6 CVE=$(sed -n '/^CVE Name:/ { s/^.*:[    ]*//p;q; }' $FILE)
7 SUBJECT="fetchmail security announcement $ANN ($CVE)"
8 MAILER=mail
9
10 $MAILER -r ma+bt@dt.e-technik.uni-dortmund.de -s "$SUBJECT" <$FILE \
11     bugtraq@securityfocus.com
12
13 $MAILER -r matthias.andree@gmx.de -s "$SUBJECT" <$FILE \
14     fetchmail-announce@lists.berlios.de