diff options
Diffstat (limited to 'system/atop/atop.SlackBuild')
-rw-r--r-- | system/atop/atop.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/system/atop/atop.SlackBuild b/system/atop/atop.SlackBuild index d82791c3b4..3c8ca4356f 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} |