From 1985d00192fc1d2bf7a8465a61c405dcb78bc324 Mon Sep 17 00:00:00 2001 From: Zhu Yifei Date: Sat, 18 Sep 2021 16:36:43 +0800 Subject: [PATCH] makepkg/hackbench: fix "curl: (22) The requested URL returned error: 404 Not Found" stderr: ``` % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 162 100 162 0 0 75 0 0:00:02 0:00:02 --:--:-- 75 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading rt-tests-2.1.tar.gz Aborting... ``` Signed-off-by: Zhu Yifei Signed-off-by: Philip Li --- pkg/hackbench/PKGBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/hackbench/PKGBUILD b/pkg/hackbench/PKGBUILD index 0936b80c9..5c2caa94f 100644 --- a/pkg/hackbench/PKGBUILD +++ b/pkg/hackbench/PKGBUILD @@ -1,9 +1,12 @@ pkgname=hackbench -pkgver=2.1 +pkgver=2.2 pkgrel=1 arch=('i386' 'x86_64') url="https://www.kernel.org/pub/linux/utils/rt-tests" license=('GPL') +# The url for latest pkg is https://www.kernel.org/pub/linux/utils/rt-tests/rt-tests-${pkgver}.tar.gz +# The url for outdated pkg is https://www.kernel.org/pub/linux/utils/rt-tests/older/rt-tests-${pkgver}.tar.gz +# We need to always use the latest version of the package to ensure that the URL is always valid. source=("https://www.kernel.org/pub/linux/utils/rt-tests/rt-tests-${pkgver}.tar.gz") sha256sums=('SKIP')