wok view chkrootkit/receipt @ rev 25801

created recipe for xfce4-calculator-plugin
author Hans-G?nter Theisgen
date Sat Nov 02 14:21:07 2024 +0100 (3 months ago)
parents 274c0ec61c53
children
line source
1 # SliTaz package receipt.
3 PACKAGE="chkrootkit"
4 VERSION="0.58b"
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="https://www.chkrootkit.org/"
11 WGET_URL="ftp://ftp.chkrootkit.org:21/pub/seg/pac/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ftp://ftp.chkrootkit.org:21/pub/seg/pac/ 2>/dev/null | \
17 sed '/chkrootkit.tar/!d;s|.* -> chkrootkit-||;s|.tar.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 patch -p1 < $stuff/chkrootkit.u
24 make sense
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/chkrootkit
31 cp $stuff/spectre-meltdown-checker.sh $fs/usr/share/chkrootkit
32 for i in $(cd $src ; ls); do
33 case "$i" in
34 README*) cp $src/$i $fs/usr/share/chkrootkit;;
35 Makefile|*.*);;
36 *) cp $src/$i $fs/usr/share/chkrootkit;;
37 esac
38 done
39 }