system/chkrootkit: Updated for version 0.52.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-03-17 22:21:44 +07:00
parent 70ea3d65a5
commit dc1daa2e54
2 changed files with 9 additions and 9 deletions

View file

@ -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

View file

@ -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=""