wok-next view chkrootkit/receipt @ rev 21187
aufs-utils: BRANCH=aufs4.14
author | Hans-G?nter Theisgen |
---|---|
date | Mon Sep 23 07:48:15 2019 +0100 (2019-09-23) |
parents | 42d9d6d83956 |
children | 75437d94c310 |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.chkrootkit.org/"
11 TARBALL="$PACKAGE-$VERSION.tar"
12 WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$PACKAGE-$VERSION.tar.gz"
13 TARBALL_SHA1="80a133c0ebc96ce025e62e8e10897ec68968ae7b"
15 PATCH_URL="https://dev.gentoo.org/~polynomial-c/chkrootkit-0.51-gentoo.diff.xz"
17 compile_rules() {
18 # use patch from Gentoo
19 # https://gitweb.gentoo.org/repo/gentoo.git/tree/app-forensics/chkrootkit/chkrootkit-0.52.ebuild
20 if [ ! -e "$SRC/$(basename $PATCH_URL)" ]; then
21 wget -P $SRC $PATCH_URL
22 fi
23 unxz -c $SRC/$(basename $PATCH_URL) | patch -p1
25 make sense || return 1
26 # install all executables
27 for i in $(find $src -type f -perm +111); do
28 install -Dm755 $i $install/usr/sbin/$(basename $i)
29 done
31 cook_pick_docs README*
32 }
34 genpkg_rules() {
35 copy @std
36 }