wok view chkrootkit/receipt @ rev 21803

created recipe for nnn 2.6
author Hans-G?nter Theisgen
date Sat Aug 10 20:59:16 2019 +0100 (17 months ago)
parents bd257054e324
children e7373d3e0818
line source
1 # SliTaz package receipt.
3 PACKAGE="chkrootkit"
4 VERSION="0.52"
5 CATEGORY="security"
6 SHORT_DESC="Locally checks for signs of a rootkit."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.chkrootkit.org/"
11 WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 [ -f done.chkrootkit.u ] || patch -p1 < $stuff/chkrootkit.u
17 touch done.chkrootkit.u
18 sed -i 's/.*egrep} -c "\${GENERAL.*/&\n ls -l ${CMD} | grep -q busybox ||/' chkrootkit
19 make sense
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/chkrootkit
26 for i in $(cd $src ; ls); do
27 case "$i" in
28 README*) cp $src/$i $fs/usr/share/chkrootkit;;
29 Makefile|*.*);;
30 *) cp $src/$i $fs/usr/share/chkrootkit;;
31 esac
32 done
33 }