#Maintainer: Nigel Bosch pkgname=chkrootkit pkgver=0.48 pkgrel=1 zenver=54 arch=i486 source=("http://users.zenwalk.org/user-accounts/sparky/packages/$pkgname/$pkgname-$pkgver.tar.gz" "Makefile") sourcetemplate=http://users.zenwalk.org/user-accounts/sparky/packages/$pkgname/ docs=("acknowledgments" "copyright" "readme" "readme.chklastlog" "readme.chkwtmp") url=http://www.chkrootkit.org slackdesc=\ ( #|-----handy-ruler-----------------------------------------------------| "$pkgname - tool to locally check for signs of a rootkit" "$pkgname is capable of checking for the presence of a rootkit in" "several ways, including:" " * Checks system binaries for rootkit modification" " * Checks for lastlog, utmp, wtmp, and wtmpx deletions" " * Checks for signs of LKM trojans" "For a list of rootkits, worms, and LKMs detected by $pkgname," "please visit http://www.chkrootkit.org" ) build() { cd $startdir/src/$pkgname-$pkgver mv ../Makefile . make sense || return 1 mkdir -pv $startdir/pkg/usr/sbin cp -v check_wtmpx $startdir/pkg/usr/sbin cp -v chkdirs $startdir/pkg/usr/sbin cp -v chklastlog $startdir/pkg/usr/sbin cp -v chkproc $startdir/pkg/usr/sbin cp -v chkrootkit $startdir/pkg/usr/sbin cp -v chkutmp $startdir/pkg/usr/sbin cp -v chkwtmp $startdir/pkg/usr/sbin cp -v ifpromisc $startdir/pkg/usr/sbin cp -v strings-static $startdir/pkg/usr/sbin }