Browse Source

package/ftop: Fix broken download URL

Also use bz2 tarball and provide md5 & sha256 hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls 8 years ago
parent
commit
d35b447f09
3 changed files with 8 additions and 4 deletions
  1. 1 1
      package/ftop/Config.in
  2. 5 2
      package/ftop/ftop.hash
  3. 2 1
      package/ftop/ftop.mk

+ 1 - 1
package/ftop/Config.in

@@ -5,4 +5,4 @@ config BR2_PACKAGE_FTOP
 	  Ftop is to files what top is to processes.
 	  Ftop is to files what top is to processes.
 	  The progress of all open files and file systems can be monitored.
 	  The progress of all open files and file systems can be monitored.
 
 
-	  https://code.google.com/p/ftop/
+	  https://sourceforge.net/projects/ftop/

+ 5 - 2
package/ftop/ftop.hash

@@ -1,2 +1,5 @@
-# From https://code.google.com/p/ftop/downloads/detail?name=ftop-1.0.tar.gz&can=2&q=
-sha1	a0523862dd63ed3bec14846b6e05afcfdebb15c2	ftop-1.0.tar.gz
+# From https://sourceforge.net/projects/ftop/files/ftop/1.0/
+md5 57c68b6e7431f4219d9eddaebcb395da ftop-1.0.tar.bz2
+sha1 d3ef1b74825f50c7c442d299b29d23c2478f199b ftop-1.0.tar.bz2
+# Locally computed
+sha256 3a705f4f291384344cd32c3dd5f5f6a7cd7cea7624c83cb7e923966dbcd47f82  ftop-1.0.tar.bz2

+ 2 - 1
package/ftop/ftop.mk

@@ -5,7 +5,8 @@
 ################################################################################
 ################################################################################
 
 
 FTOP_VERSION = 1.0
 FTOP_VERSION = 1.0
-FTOP_SITE = http://ftop.googlecode.com/files
+FTOP_SOURCE = ftop-$(FTOP_VERSION).tar.bz2
+FTOP_SITE = https://sourceforge.net/projects/ftop/files/ftop/$(FTOP_VERSION)
 FTOP_DEPENDENCIES = ncurses
 FTOP_DEPENDENCIES = ncurses
 FTOP_LICENSE = GPL-3.0+
 FTOP_LICENSE = GPL-3.0+
 FTOP_LICENSE_FILES = COPYING
 FTOP_LICENSE_FILES = COPYING