opnsense-src/scripts/build/checkChangeLog
Cy Schubert b5e14a1344 Vendor import ntp 4.2.8.
Reviewed by:	roberto
Security:	VUXML: 4033d826-87dd-11e4-9079-3c970e169bc2
Security:	http://www.kb.cert.org/vuls/id/852879
Security:	CVE-2014-9293
Security	CVE-2014-9294
Security	CVE-2014-9295
Security	CVE-2014-9296
2014-12-20 22:52:39 +00:00

29 lines
453 B
Bash
Executable file

#! /bin/sh
. ./packageinfo.sh
# HMS: Irix doesn't have 'head'...
cl1=`head -1 ChangeLog || sed -e 1q ChangeLog`
case "$repotype" in
dev) ;;
stable) ;;
*) echo "Unexpected repotype <$repotype>"
exit 1
;;
esac
case "$repotype$cl1" in
dev---)
echo "Dev repo ChangeLog must not begin with '---'!"
exit 1
;;
dev*)
;;
stable---)
;;
stable*)
echo "Stable repo Changelog must begin with '---'!"
exit 1
;;
esac