wok-6.x view chkrootkit/receipt @ rev 24596
updated gftp (2.0.19 -> 2.9.1b)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:53:52 2022 +0100 (2022-03-01) |
parents | e7373d3e0818 |
children | bc2b9d9bed6f |
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 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
17 sed '/chkrootkit-/!d;/tar/!d;s|.*chkrootkit-||;s|.tar.*||' | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 [ -f done.chkrootkit.u ] || patch -p1 < $stuff/chkrootkit.u
24 touch done.chkrootkit.u
25 sed -i 's/.*egrep} -c "\${GENERAL.*/&\n ls -l ${CMD} | grep -q busybox ||/' chkrootkit
26 make sense
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/chkrootkit
33 cp $stuff/spectre-meltdown-checker.sh $fs/usr/share/chkrootkit
34 for i in $(cd $src ; ls); do
35 case "$i" in
36 README*) cp $src/$i $fs/usr/share/chkrootkit;;
37 Makefile|*.*);;
38 *) cp $src/$i $fs/usr/share/chkrootkit;;
39 esac
40 done
41 }