wok-next diff bash/receipt @ rev 20645
Up libjpeg-turbo (1.5.3), libpng16 (1.6.34), libraw (0.18.7), shared-mime-info (1.9), tree (1.7.0), xapian (1.4.5); add time.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 01 23:19:32 2018 +0300 (2018-05-01) |
parents | 90a5eb560fd6 |
children | 65f5c0b7dcd4 |
line diff
1.1 --- a/bash/receipt Wed Feb 21 19:48:17 2018 +0200 1.2 +++ b/bash/receipt Tue May 01 23:19:32 2018 +0300 1.3 @@ -23,11 +23,11 @@ 1.4 1.5 patch_bash() { 1.6 for i in $BASHPATCHES; do 1.7 - [ -s "$SOURCES_REPOSITORY/$i" ] || 1.8 - wget -O "$SOURCES_REPOSITORY/$i" \ 1.9 + [ -s "$SRC/$i" ] || 1.10 + wget -O "$SRC/$i" \ 1.11 http://ftp.gnu.org/gnu/bash/bash-$BASEVERSION-patches/$i 1.12 echo "Apply $i patch..." 1.13 - patch -p0 -i $SOURCES_REPOSITORY/$i | awk '{print " * " $0;}' 1.14 + patch -p0 -i $SRC/$i | awk '{print " * " $0;}' 1.15 done 1.16 } 1.17 1.18 @@ -78,10 +78,10 @@ 1.19 chown -R root:root $install 1.20 1.21 # Check bash against vulnerabilities 1.22 - [ -s "$SOURCES_REPOSITORY/$BASHCHECK" ] || 1.23 - wget -O "$SOURCES_REPOSITORY/$BASHCHECK" $BASHCHECKURL 1.24 + [ -s "$SRC/$BASHCHECK" ] || 1.25 + wget -O "$SRC/$BASHCHECK" $BASHCHECKURL 1.26 echo 1.27 - $DESTDIR/bin/bash $SOURCES_REPOSITORY/$BASHCHECK $DESTDIR/bin/bash | \ 1.28 + $DESTDIR/bin/bash $SRC/$BASHCHECK $DESTDIR/bin/bash | \ 1.29 tee bashcheck.log 1.30 echo 1.31 grep Vulnerable bashcheck.log && echo "ERROR: Vulnerable"