wok-next view chkrootkit/receipt @ rev 20960
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 07 01:53:20 2018 +0300 (2018-09-07) |
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 }