wok view chkrootkit/receipt @ rev 24358
backintime: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 16:07:00 2022 +0000 (2022-02-03) |
parents | 543e0fa614bc |
children | d8c511e24c20 |
line source
1 # SliTaz package receipt.
3 PACKAGE="chkrootkit"
4 VERSION="0.53"
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 cp $stuff/spectre-meltdown-checker.sh $fs/usr/share/chkrootkit
27 for i in $(cd $src ; ls); do
28 case "$i" in
29 README*) cp $src/$i $fs/usr/share/chkrootkit;;
30 Makefile|*.*);;
31 *) cp $src/$i $fs/usr/share/chkrootkit;;
32 esac
33 done
34 }