aboutsummaryrefslogtreecommitdiff
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
parent70ea3d65a59b61ff503be3f585ab68853fc3c454 (diff)
system/chkrootkit: Updated for version 0.52.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/chkrootkit/chkrootkit.SlackBuild12
-rw-r--r--system/chkrootkit/chkrootkit.info6
2 files changed, 9 insertions, 9 deletions
diff --git a/system/chkrootkit/chkrootkit.SlackBuild b/system/chkrootkit/chkrootkit.SlackBuild
index e6a2f36586ba..6c119ee9649c 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
diff --git a/system/chkrootkit/chkrootkit.info b/system/chkrootkit/chkrootkit.info
index 978a4f81cd9d..666b3c24903e 100644
--- a/system/chkrootkit/chkrootkit.info
+++ b/system/chkrootkit/chkrootkit.info
@@ -1,8 +1,8 @@
PRGNAM="chkrootkit"
-VERSION="0.50"
+VERSION="0.52"
HOMEPAGE="http://www.chkrootkit.org"
-DOWNLOAD="ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz"
-MD5SUM="9e67dd56f835264d43aeb04944610b03"
+DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/chkrootkit/chkrootkit-0.52.tar.gz"
+MD5SUM="0c864b41cae9ef9381292b51104b0a04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""