mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
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
29 lines
453 B
Bash
Executable file
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
|