aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-10 02:50:21 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:39 +0700
commitd2007433dcea45364a9d4026d5d0912ebedb60a5 (patch)
tree3181f21b61ae86f3bbee036197010e51efd5230d
parent59ddd1a2287f3432c9bf1e3f690c8d17c9fcef5d (diff)
system/stress-ng: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/stress-ng/stress-ng.SlackBuild7
-rw-r--r--system/stress-ng/stress-ng.info2
2 files changed, 7 insertions, 2 deletions
diff --git a/system/stress-ng/stress-ng.SlackBuild b/system/stress-ng/stress-ng.SlackBuild
index 71f8c33c7287..9c16fe0420c7 100644
--- a/system/stress-ng/stress-ng.SlackBuild
+++ b/system/stress-ng/stress-ng.SlackBuild
@@ -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 . \
diff --git a/system/stress-ng/stress-ng.info b/system/stress-ng/stress-ng.info
index 2e369a649993..8c5f209c2130 100644
--- a/system/stress-ng/stress-ng.info
+++ b/system/stress-ng/stress-ng.info
@@ -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=""