[Buildroot] [PATCH-master] package/stress-ng: fix broken URL

Ricardo Martincoski ricardo.martincoski at gmail.com
Tue Nov 23 10:38:01 UTC 2021


From: Sébastien Szymanski <sebastien.szymanski at armadeus.com>

Do the same as commit "12c01079bd package/stress-ng: bump to version
0.13.05" did for 2022.02 but without the version bump.

The project URL returns 404 error because:

Quoting Coling King:
"Unfortunately when I left Canonical last week they removed my tarballs"

So use github and update hash.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski at armadeus.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
[Ricardo: do not bump the version.
 There will be no version clash at sources.buildroot.net since the file
 format changed]
Signed-off-by: Ricardo Martincoski <ricardo.martincoski at datacom.com.br>
Cc: Romain Naour <romain.naour at gmail.com>
---
https://gitlab.com/RicardoMartincoski/buildroot/-/pipelines/414529412/builds
40 passed, 0 failed
test-pkg config:
BR2_PACKAGE_STRESS_NG=y
---
 package/stress-ng/Config.in      | 2 +-
 package/stress-ng/stress-ng.hash | 2 +-
 package/stress-ng/stress-ng.mk   | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/package/stress-ng/Config.in b/package/stress-ng/Config.in
index 64b473b75c..839cbb1cc0 100644
--- a/package/stress-ng/Config.in
+++ b/package/stress-ng/Config.in
@@ -12,7 +12,7 @@ config BR2_PACKAGE_STRESS_NG
 	  subsystems of a computer as well as the various operating
 	  system kernel interfaces.
 
-	  http://kernel.ubuntu.com/~cking/stress-ng/
+	  https://github.com/ColinIanKing/stress-ng
 
 comment "stress-ng needs a toolchain w/ headers >= 3.3"
 	depends on !BR2_nios2 && !BR2_arc
diff --git a/package/stress-ng/stress-ng.hash b/package/stress-ng/stress-ng.hash
index f3eb76fa82..bbdcd155c8 100644
--- a/package/stress-ng/stress-ng.hash
+++ b/package/stress-ng/stress-ng.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  f37f739e4d15343360a47980b67dc8b2a6bf3d4d3ef727d55e2dd99a0b64f9ea  stress-ng-0.13.01.tar.xz
+sha256  1973b142b9b731952dd4ce77c3618a7e3c62494587e23bf37c8683503d048f68  stress-ng-0.13.01.tar.gz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/stress-ng/stress-ng.mk b/package/stress-ng/stress-ng.mk
index e0b385e756..54572383c4 100644
--- a/package/stress-ng/stress-ng.mk
+++ b/package/stress-ng/stress-ng.mk
@@ -5,8 +5,7 @@
 ################################################################################
 
 STRESS_NG_VERSION = 0.13.01
-STRESS_NG_SOURCE = stress-ng-$(STRESS_NG_VERSION).tar.xz
-STRESS_NG_SITE = https://kernel.ubuntu.com/~cking/tarballs/stress-ng
+STRESS_NG_SITE = $(call github,ColinIanKing,stress-ng,V$(STRESS_NG_VERSION))
 STRESS_NG_LICENSE = GPL-2.0+
 STRESS_NG_LICENSE_FILES = COPYING
 
-- 
2.25.1



More information about the buildroot mailing list