wok-next view chkrootkit/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents 65f5c0b7dcd4
children
line source
1 # SliTaz package receipt v2.
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 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 # 0.52 TARBALL_SHA1="80a133c0ebc96ce025e62e8e10897ec68968ae7b"
15 PATCH_URL="https://dev.gentoo.org/~polynomial-c/chkrootkit-0.51-gentoo.diff.xz"
17 compile_rules()
18 {
19 # use patch from Gentoo
20 # https://gitweb.gentoo.org/repo/gentoo.git/tree/app-forensics/chkrootkit/chkrootkit-0.52.ebuild
21 if [ ! -e "$SRC/$(basename $PATCH_URL)" ]
22 then
23 wget -P $SRC $PATCH_URL
24 fi
25 unxz -c $SRC/$(basename $PATCH_URL) | patch -p1
27 make sense || return 1
28 # install all executables
29 for i in $(find $src -type f -perm +111)
30 do
31 install -Dm755 $i $install/usr/sbin/$(basename $i)
32 done
34 cook_pick_docs README*
35 }
37 genpkg_rules()
38 {
39 copy @std
40 }