From 8dc77b2cb0e834350e782d760ff11d0d48dd327a Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 16 Aug 2015 08:24:03 +0700 Subject: system/atop: Updated for version 2.2. Signed-off-by: Willy Sudiarto Raharjo --- system/atop/atop.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'system/atop/atop.SlackBuild') diff --git a/system/atop/atop.SlackBuild b/system/atop/atop.SlackBuild index d82791c3b4f0d..3c8ca4356f0d2 100644 --- a/system/atop/atop.SlackBuild +++ b/system/atop/atop.SlackBuild @@ -12,8 +12,8 @@ # http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=atop -VERSION=${VERSION:-2.1} -SRCVER=$(echo ${VERSION}-1) +VERSION=${VERSION:-2.2} +SRCVER=$(echo ${VERSION}-3) BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -49,9 +49,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$SRCVER tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz -cd $PRGNAM-$VERSION +cd $PRGNAM-$SRCVER chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -64,8 +64,6 @@ make CFLAGS="$SLKCFLAGS" # Install the binary sgid utmp in order to allow accounting install -D -o root -g utmp -m 2751 atop $PKG/usr/bin/atop -# Add the init script and fix the paths in it -patch -p1 < $CWD/atop.init.diff install -D -m 0755 atop.init $PKG/etc/rc.d/rc.atop.new mkdir -p $PKG/etc/{logrotate.d,cron.daily} -- cgit v1.2.3