summaryrefslogtreecommitdiff
path: root/system/glances
diff options
context:
space:
mode:
authorPhilip Lacroix <philnx@posteo.de>2014-12-27 20:59:34 +0700
committerRobby Workman <rworkman@slackbuilds.org>2014-12-27 23:16:21 -0600
commit9280cb6c7536e8b945ed4b6b5a8fc6d7857dda62 (patch)
tree7fcd18dc28f3a67a872724843e75293d58b77729 /system/glances
parentd573df69fc40a16196cdc53742f6d549add7221b (diff)
downloadslackbuilds-9280cb6c7536e8b945ed4b6b5a8fc6d7857dda62.tar.gz
system/glances: Updated for version 2.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/glances')
-rw-r--r--system/glances/README8
-rw-r--r--system/glances/glances.SlackBuild11
-rw-r--r--system/glances/glances.info6
3 files changed, 16 insertions, 9 deletions
diff --git a/system/glances/README b/system/glances/README
index d1ea44258b..0169b34e9b 100644
--- a/system/glances/README
+++ b/system/glances/README
@@ -11,10 +11,10 @@ This tool is written in Python and uses the psutil library to fetch the
statistical values from key elements, like CPU, load average, memory,
network, disks, file systems, processes, etc.
-Optional dependencies are hddtemp (for HHD temperature monitoring support)
-and python3. Others not available on SBo are bottle (for Web server mode),
-py3sensors (for HW monitoring support) and batinfo (for battery monitoring
-support).
+Optional dependencies are hddtemp (HHD temperature monitoring support),
+pysnmp (SNMP support), matplotlib, netifaces and python3. Others not
+available on SBo are bottle (Web server mode), py3sensors (HW monitoring
+support), batinfo (battery monitoring support) and zeroconf.
NOTE: when launching Glances in a terminal with a bright background, the
option '--theme-white' is recommended.
diff --git a/system/glances/glances.SlackBuild b/system/glances/glances.SlackBuild
index e998a53d04..3d5f740f0c 100644
--- a/system/glances/glances.SlackBuild
+++ b/system/glances/glances.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=glances
-VERSION=${VERSION:-2.1.2}
+VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,7 +46,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+
+# The tarball will be named differently, depending on the file being downloaded
+# manually or with wget.
+if [ -e $CWD/v$VERSION.tar.gz ]; then
+ tar xvf $CWD/v$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
diff --git a/system/glances/glances.info b/system/glances/glances.info
index d9dd83b841..432f35a4dd 100644
--- a/system/glances/glances.info
+++ b/system/glances/glances.info
@@ -1,8 +1,8 @@
PRGNAM="glances"
-VERSION="2.1.2"
+VERSION="2.2.1"
HOMEPAGE="https://github.com/nicolargo/glances"
-DOWNLOAD="https://github.com/nicolargo/glances/archive/v2.1.2.tar.gz"
-MD5SUM="a666c5e2de15af8a10faa3e6e08286d9"
+DOWNLOAD="https://github.com/nicolargo/glances/archive/v2.2.1.tar.gz"
+MD5SUM="d5f0b8e38662f64a538485a65cc50755"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="psutil pysetuptools"