diff options
Diffstat (limited to 'system/chkrootkit')
-rw-r--r-- | system/chkrootkit/README | 29 | ||||
-rw-r--r-- | system/chkrootkit/chkrootkit.SlackBuild | 20 | ||||
-rw-r--r-- | system/chkrootkit/chkrootkit.info | 6 |
3 files changed, 33 insertions, 22 deletions
diff --git a/system/chkrootkit/README b/system/chkrootkit/README index 31c9fa8506..0ea9bf08e8 100644 --- a/system/chkrootkit/README +++ b/system/chkrootkit/README @@ -1,16 +1,17 @@ -chkrootkit (Check Rootkit) is a common unix-based program intended to help -system administrators check their system for known rootkits. It is a shell -script using common UNIX/Linux tools like the strings and grep commands to -search core system programs for signatures and for comparing a traversal of the -/proc filesystem with the output of the ps (process status) command to look for -discrepancies. +chkrootkit (Check Rootkit) is a common unix-based program intended to +help system administrators check their system for known rootkits. It is +a shell script using common UNIX/Linux tools like the strings and grep +commands to search core system programs for signatures and for comparing +a traversal of the /proc filesystem with the output of the ps (process +status) command to look for discrepancies. -It can be used from a "rescue disc" (typically a LiveCD) or it can optionally -use an alternative directory from which to run all of its own commands. These -techniques allow chkrootkit to trust the commands upon which it depends a bit -more. +It can be used from a "rescue disc" (typically a LiveCD) or it can +optionally use an alternative directory from which to run all of its own +commands. These techniques allow chkrootkit to trust the commands upon +which it depends a bit more. -There are inherent limitations to the reliability of any program that attempts -to detect compromises (such as rootkits and computer viruses). Newer rootkits -may specifically attempt to detect and compromise copies of the chkrootkit -programs or take other measures to evade detection by them. +There are inherent limitations to the reliability of any program that +attempts to detect compromises (such as rootkits and computer viruses). +Newer rootkits may specifically attempt to detect and compromise copies +of the chkrootkit programs or take other measures to evade detection by +them. diff --git a/system/chkrootkit/chkrootkit.SlackBuild b/system/chkrootkit/chkrootkit.SlackBuild index ae695b2ce1..36f1447f62 100644 --- a/system/chkrootkit/chkrootkit.SlackBuild +++ b/system/chkrootkit/chkrootkit.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for chkrootkit @@ -22,12 +22,15 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Updated by Emmanuel N. Millan 2020 +# Updated by Emmanuel N. Millan 2020-2021 + +cd $(dirname $0) ; CWD=$(pwd) PRGNAM=chkrootkit -VERSION=${VERSION:-0.53} +VERSION=${VERSION:-0.58b} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,7 +40,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -104,4 +114,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/system/chkrootkit/chkrootkit.info b/system/chkrootkit/chkrootkit.info index e5ce8bb1ab..9238b3595a 100644 --- a/system/chkrootkit/chkrootkit.info +++ b/system/chkrootkit/chkrootkit.info @@ -1,8 +1,8 @@ PRGNAM="chkrootkit" -VERSION="0.53" +VERSION="0.58b" HOMEPAGE="http://www.chkrootkit.org" -DOWNLOAD="ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-0.53.tar.gz" -MD5SUM="944c529c4846960bdede4be49ef66386" +DOWNLOAD="ftp://ftp.chkrootkit.org/pub/seg/pac/chkrootkit-0.58b.tar.gz" +MD5SUM="de110f07f37b1b5caff2e90cc6172dd8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |