diff --git a/tools/build/stage44 b/tools/build/stage44 index 453eb946c..b0de09a47 100755 --- a/tools/build/stage44 +++ b/tools/build/stage44 @@ -129,6 +129,16 @@ case $1 in lite6rpm=shorewall6-lite-${1%-*}-0${1#*-}.noarch.rpm BASE=Yes ;; + 4.4.*.*) + BASEVERSION=${1%.*} + PATCHNUM=${1##*.} + DEST="/srv/ftp/pub/shorewall/${BASEVERSION%.*}/shorewall-${BASEVERSION}" + SHOREWALL=shorewall + rpm=shorewall-${BASEVERSION}-${PATCHNUM}.noarch.rpm + rpm6=shorewall6-${BASEVERSION}-${PATCHNUM}.noarch.rpm + literpm=shorewall-lite-${BASEVERSION}-${PATCHNUM}.noarch.rpm + lite6rpm=shorewall6-lite-${BASEVERSION}-${PATCHNUM}.noarch.rpm + ;; 4.4.*) DEST="/srv/ftp/pub/private/${1%.*}/shorewall-$1" SHOREWALL=shorewall @@ -155,9 +165,7 @@ fi [ -f known_problems.txt ] || echo "There are no known problems in Shorewall version $1" > known_problems.txt -[ -n "$PARTIAL" -a -z "$STAGECOMMON" ] && SHOREWALLDIR=shorewall || SHOREWALLDIR=$SHOREWALL-${1} - -cp $SHOREWALLDIR/releasenotes.txt releasenotes.txt +cp $SHOREWALL-${1}/releasenotes.txt releasenotes.txt if [ "$HOSTNAME" = lists ]; then mkdir -p $DEST @@ -169,7 +177,7 @@ else DEST=${USER}:${DEST} fi -files="errata known_problems.txt releasenotes.txt patch-*-$1 ${1}.*" +files="errata known_problems.txt releasenotes.txt patch*-$1 ${1}.*" base= rm -f *-${1}*.asc diff --git a/tools/build/upload44 b/tools/build/upload44 index e75208dae..60c6bbcb2 100755 --- a/tools/build/upload44 +++ b/tools/build/upload44 @@ -165,7 +165,7 @@ fi [ -f known_problems.txt ] || echo "There are no known problems in Shorewall version $1" > known_problems.txt -cp $SHOREWALLDIR-${1}/releasenotes.txt releasenotes.txt +cp $SHOREWALL-${1}/releasenotes.txt releasenotes.txt if [ "$HOSTNAME" = lists ]; then mkdir -p $DEST