wok annotate chkrootkit/receipt @ rev 1343
Add chkrootkit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 03 16:15:55 2008 +0000 (2008-09-03) |
parents | |
children | fd4eda949f1e |
rev | line source |
---|---|
pascal@1343 | 1 # SliTaz package receipt. |
pascal@1343 | 2 |
pascal@1343 | 3 PACKAGE="chkrootkit" |
pascal@1343 | 4 VERSION="0.48" |
pascal@1343 | 5 CATEGORY="system-tools" |
pascal@1343 | 6 SHORT_DESC="Locally checks for signs of a rootkit." |
pascal@1343 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1343 | 8 TARBALL="$PACKAGE.tar.gz" |
pascal@1343 | 9 WEB_SITE="http://www.chkrootkit.org/" |
pascal@1343 | 10 WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL" |
pascal@1343 | 11 |
pascal@1343 | 12 # Rules to configure and make the package. |
pascal@1343 | 13 compile_rules() |
pascal@1343 | 14 { |
pascal@1343 | 15 cd $src |
pascal@1343 | 16 patch -p1 < ../stuff/chkrootkit.u |
pascal@1343 | 17 make sense |
pascal@1343 | 18 } |
pascal@1343 | 19 |
pascal@1343 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1343 | 21 genpkg_rules() |
pascal@1343 | 22 { |
pascal@1343 | 23 mkdir -p $fs/usr/share/chkrootkit |
pascal@1343 | 24 for i in $(cd $src ; ls); do |
pascal@1343 | 25 case "$i" in |
pascal@1343 | 26 README*) cp $src/$i $fs/usr/share/chkrootkit;; |
pascal@1343 | 27 Makefile|*.*);; |
pascal@1343 | 28 *) cp $src/$i $fs/usr/share/chkrootkit;; |
pascal@1343 | 29 esac |
pascal@1343 | 30 done |
pascal@1343 | 31 } |
pascal@1343 | 32 |