wok-next view chkrootkit/receipt @ rev 21153

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 31 16:45:41 2019 +0200 (2019-01-31)
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 }