2005-11-17 20:05:16 +01:00
|
|
|
#/bin/sh
|
|
|
|
|
2006-02-24 20:53:09 +01:00
|
|
|
case $1 in
|
|
|
|
3.1.*)
|
|
|
|
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/${1%.*}/shorewall-$1"
|
|
|
|
;;
|
|
|
|
esac
|
2005-11-17 20:05:16 +01:00
|
|
|
|
|
|
|
usage() { echo "$0: <version>"; }
|
|
|
|
|
|
|
|
[ $# -eq 1 ] || usage
|
|
|
|
|
|
|
|
[ -d errata ] || mkdir errata
|
|
|
|
echo "There are no known problems in Shorewall version $1" > known_problems.txt
|
|
|
|
|
|
|
|
scp -r errata known_problems.txt patch-$1 ${1}.* shorewall-${1}/releasenotes.txt shorewall-${1}-[0-1]* shorewall*${1}*.tgz* shorewall*${1}*.bz2* $DEST
|