summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-14 20:47:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-14 20:49:56 +0700
commitb3f7ed77a0344a464926a6beb97d314210723fd8 (patch)
tree7b86ae8b3de065f05cd7fe34e03ba40b7046f743 /system
parentf6aea7da30c20e28c7833bd67d13b3adff567747 (diff)
downloadslackbuilds-b3f7ed77a0344a464926a6beb97d314210723fd8.tar.gz
system/atop: Updated for version 2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/atop/README5
-rw-r--r--system/atop/atop.SlackBuild11
-rw-r--r--system/atop/atop.info6
3 files changed, 14 insertions, 8 deletions
diff --git a/system/atop/README b/system/atop/README
index 48d2ac2002..500bc45506 100644
--- a/system/atop/README
+++ b/system/atop/README
@@ -2,3 +2,8 @@ ATOP is an advanced interactive monitor for Linux-systems
to view the load on system-level and process-level.
Refer to README.SLACKWARE for setup and configuration information.
+
+NOTE:
+Version 2.1 RAW file is incompatible with earlier version.
+However, the earlier version of atop is automatically activated
+when accessing an older raw file.
diff --git a/system/atop/atop.SlackBuild b/system/atop/atop.SlackBuild
index ba72e962fb..d82791c3b4 100644
--- a/system/atop/atop.SlackBuild
+++ b/system/atop/atop.SlackBuild
@@ -12,7 +12,8 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=atop
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.1}
+SRCVER=$(echo ${VERSION}-1)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -49,14 +50,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make CFLAGS="$SLKCFLAGS"
diff --git a/system/atop/atop.info b/system/atop/atop.info
index 3066600f52..6c63a754d4 100644
--- a/system/atop/atop.info
+++ b/system/atop/atop.info
@@ -1,8 +1,8 @@
PRGNAM="atop"
-VERSION="2.0.2"
+VERSION="2.1"
HOMEPAGE="http://www.atoptool.nl/"
-DOWNLOAD="http://www.atoptool.nl/download/atop-2.0.2.tar.gz"
-MD5SUM="f1dd1984584f9635712cb7196e25620c"
+DOWNLOAD="http://www.atoptool.nl/download/atop-2.1-1.tar.gz"
+MD5SUM="d956f5b0c7e0705cff6cf44898d664d7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""