netperf: use git tarball
authorRosen Penev <rosenp@gmail.com>
Sat, 14 Jan 2023 02:22:36 +0000 (18:22 -0800)
committerRosen Penev <rosenp@gmail.com>
Sun, 15 Jan 2023 03:06:36 +0000 (19:06 -0800)
netperf.org is gone now. Only github is left.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/netperf/Makefile

index 9564a4c604a89728f65bbfab9b51f074209c5f03..fa8893619dbb135ddb575b6e2d519506dc43eaf7 100644 (file)
@@ -9,12 +9,13 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netperf
 PKG_VERSION:=2.7.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_LICENSE:=Custom
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=ftp://ftp.netperf.org/netperf/
-PKG_HASH:=842af17655835c8be7203808c3393e6cb327a8067f3ed1f1053eb78b4e40375a
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_VERSION:=$(PKG_NAME)-$(PKG_VERSION)
+PKG_SOURCE_URL:=https://github.com/HewlettPackard/netperf
+PKG_MIRROR_HASH:=fa46ffc25a00c925167d96e4c57131b5b650ea725b12b69ff6feabec759b271d
 
 PKG_CPE_ID:=cpe:/a:netperf:netperf
 
@@ -24,7 +25,7 @@ define Package/netperf
   SECTION:=net
   CATEGORY:=Network
   TITLE:=Network performance measurement tool
-  URL:=http://www.netperf.org/
+  URL:=https://github.com/HewlettPackard/netperf
   MAINTAINER:=Toke Høiland-Jørgensen <toke@toke.dk>
 endef