aboutsummaryrefslogtreecommitdiff
path: root/system/chkrootkit/chkrootkit.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-17 22:21:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-17 22:21:44 +0700
commitdc1daa2e5402342c705dceb85edcf73b73649146 (patch)
tree3345e1d7fb5a1676cc6f57a79fd30d190b4f3216 /system/chkrootkit/chkrootkit.SlackBuild
parent70ea3d65a59b61ff503be3f585ab68853fc3c454 (diff)
system/chkrootkit: Updated for version 0.52.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/chkrootkit/chkrootkit.SlackBuild')
-rw-r--r--system/chkrootkit/chkrootkit.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/chkrootkit/chkrootkit.SlackBuild b/system/chkrootkit/chkrootkit.SlackBuild
index e6a2f36586ba9..6c119ee9649c9 100644
--- a/system/chkrootkit/chkrootkit.SlackBuild
+++ b/system/chkrootkit/chkrootkit.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=chkrootkit
-VERSION=${VERSION:-0.50}
+VERSION=${VERSION:-0.52}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -46,17 +46,17 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.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 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 {} \;
-if [ "$ARCH" = "i486" ]; then
- sed -i 's#-DHAVE_LASTLOG_H#-O2 -march=i486 -mtune=i686#' Makefile
+if [ "$ARCH" = "i586" ]; then
+ sed -i 's#-DHAVE_LASTLOG_H#-O2 -march=i586 -mtune=i686#' Makefile
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
sed -i 's#-DHAVE_LASTLOG_H#-O2 -march=i686 -mtune=i686#' Makefile