wok view chkrootkit/receipt @ rev 4003
linux: ensure linux-source will have patches
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 31 17:17:44 2009 +0200 (2009-08-31) |
parents | 7399e315d04a |
children | 536a30b073fb |
line source
1 # SliTaz package receipt.
3 PACKAGE="chkrootkit"
4 VERSION="0.48"
5 CATEGORY="system-tools"
6 SHORT_DESC="Locally checks for signs of a rootkit."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE.tar.gz"
9 WEB_SITE="http://www.chkrootkit.org/"
10 WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 [ -f done.chkrootkit.u ] || patch -p1 < ../stuff/chkrootkit.u
17 touch done.chkrootkit.u
18 make sense
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/chkrootkit
25 for i in $(cd $src ; ls); do
26 case "$i" in
27 README*) cp $src/$i $fs/usr/share/chkrootkit;;
28 Makefile|*.*);;
29 *) cp $src/$i $fs/usr/share/chkrootkit;;
30 esac
31 done
32 }