mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 20:24:09 +01:00
d7680c7c23
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3983 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
27 lines
767 B
Plaintext
Executable File
27 lines
767 B
Plaintext
Executable File
#/bin/sh
|
|
|
|
rpm=
|
|
literpm=
|
|
|
|
case $1 in
|
|
*.*[13569].*)
|
|
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
|
|
;;
|
|
*Beta*|*RC*)
|
|
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
|
|
rpm=shorewall-${1%-*}-0${1#*-}.noarch.rpm
|
|
literpm=shorewall-lite-${1%-*}-0${1#*-}.noarch.rpm
|
|
;;
|
|
*)
|
|
DEST="root@mail.shorewall.net:/srv/ftp/pub/shorewall/${1%.*}/shorewall-$1"
|
|
;;
|
|
esac
|
|
|
|
[ $# -eq 1 ] || { echo "Usage: $(basename $0) <version>"; exit 2; }
|
|
|
|
[ -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}*.tgz* shorewall*${1}*.bz2* $rpm $literpm $DEST
|