summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author Edinaldo P. Silva <edps.mundognu@gmail.com>2022-08-12 23:00:05 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-13 00:21:40 +0700
commitd8bb6410965a5a8b46efb9cc27a54621de4861e0 (patch)
tree10ef9929afeaec01cacdf7cf314b83261e944fd7 /network
parent1df3d456140b9191d6d8419cae67508835002b9f (diff)
downloadslackbuilds-d8bb6410965a5a8b46efb9cc27a54621de4861e0.tar.gz
slackbuilds-d8bb6410965a5a8b46efb9cc27a54621de4861e0.tar.xz
network/speedometer: Updated for version 2.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/speedometer/slack-desc2
-rw-r--r--network/speedometer/speedometer.SlackBuild16
-rw-r--r--network/speedometer/speedometer.info8
3 files changed, 13 insertions, 13 deletions
diff --git a/network/speedometer/slack-desc b/network/speedometer/slack-desc
index b742df5ad1..e309ea3c8a 100644
--- a/network/speedometer/slack-desc
+++ b/network/speedometer/slack-desc
@@ -13,7 +13,7 @@ speedometer: monitor with a logarithmic bandwidth display and a simple
speedometer: command-line interface.
speedometer:
speedometer:
-speedometer: Homepage: http://excess.org/speedometer/
+speedometer: Homepage: https://excess.org/speedometer/
speedometer:
speedometer:
speedometer:
diff --git a/network/speedometer/speedometer.SlackBuild b/network/speedometer/speedometer.SlackBuild
index 4b561e5b73..09bf16a72b 100644
--- a/network/speedometer/speedometer.SlackBuild
+++ b/network/speedometer/speedometer.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/bash
-
-# Slackware build script for speedometer
-
-# Copyright 2015-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil
+#
+# Slackware build script for speedometer.
+#
+# Copyright 2015-2022 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=speedometer
-VERSION=${VERSION:-2.8}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.9}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,6 +71,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+mv $PRGNAM-release-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,7 +80,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -Np1 < $CWD/update-to-python3.patch
python3 setup.py install --root=$PKG --optimize=1
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -93,7 +93,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-install -Dm644 $CWD/changelog $PKG/usr/doc/$PRGNAM-$VERSION/CHANGELOG
+install -Dm644 CHANGELOG LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/speedometer/speedometer.info b/network/speedometer/speedometer.info
index 401ef39802..428ec871c6 100644
--- a/network/speedometer/speedometer.info
+++ b/network/speedometer/speedometer.info
@@ -1,8 +1,8 @@
PRGNAM="speedometer"
-VERSION="2.8"
-HOMEPAGE="http://excess.org/speedometer/"
-DOWNLOAD="http://excess.org/speedometer/speedometer-2.8.tar.gz"
-MD5SUM="aa52b9253117523202d6ec8c110344ef"
+VERSION="2.9"
+HOMEPAGE="https://excess.org/speedometer/"
+DOWNLOAD="https://github.com/wardi/speedometer/archive/release-2.9/speedometer-2.9.tar.gz"
+MD5SUM="8ed83643533af4fdd7aa867c8369f201"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="psutil python-urwid"