aboutsummaryrefslogtreecommitdiff
path: root/system/glances
diff options
context:
space:
mode:
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 d1ea44258b740..0169b34e9bc07 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 e998a53d04241..3d5f740f0c1db 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 d9dd83b841114..432f35a4dd71e 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"