system/stress-ng: Fix download URL.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-02-10 02:50:21 -05:00 committed by Willy Sudiarto Raharjo
parent 59ddd1a228
commit d2007433dc
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 2 deletions

View file

@ -21,6 +21,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220210 bkw: fix github download URL. we were getting a different
# filename depending on what client was used to download it. script
# can still use the old (wrong) filename though.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=stress-ng
@ -69,7 +73,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ColinIanKing-stress-ng-c0e0123
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || \
tar xvf $CWD/ColinIanKing-stress-ng-V0.13.05-0-gc0e0123.tar.gz
cd ColinIanKing-stress-ng-c0e0123
chown -R root:root .
find -L . \

View file

@ -1,7 +1,7 @@
PRGNAM="stress-ng"
VERSION="0.13.05"
HOMEPAGE="http://kernel.ubuntu.com/~cking/stress-ng"
DOWNLOAD="https://github.com/ColinIanKing/stress-ng/tarball/V0.13.05/stress-ng-0.13.05.tar.gz"
DOWNLOAD="https://github.com/ColinIanKing/stress-ng/tarball/V0.13.05/ColinIanKing-stress-ng-V0.13.05-0-gc0e0123.tar.gz"
MD5SUM="48ac92b114ccaafad53c687bf21abce1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""