wok-next rev 21551

updated chkrootkit (0.52 -> 0.53)
author Hans-G?nter Theisgen
date Mon Jun 22 10:33:30 2020 +0100 (2020-06-22)
parents de5f1a751d52
children e080ef4a02bb
files chkrootkit/receipt
line diff
     1.1 --- a/chkrootkit/receipt	Mon Jun 22 10:26:12 2020 +0100
     1.2 +++ b/chkrootkit/receipt	Mon Jun 22 10:33:30 2020 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="chkrootkit"
     1.7 -VERSION="0.52"
     1.8 +VERSION="0.53"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="Locally checks for signs of a rootkit"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -10,27 +10,31 @@
    1.13  
    1.14  TARBALL="$PACKAGE-$VERSION.tar"
    1.15  WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$PACKAGE-$VERSION.tar.gz"
    1.16 -TARBALL_SHA1="80a133c0ebc96ce025e62e8e10897ec68968ae7b"
    1.17 +# 0.52 TARBALL_SHA1="80a133c0ebc96ce025e62e8e10897ec68968ae7b"
    1.18  
    1.19  PATCH_URL="https://dev.gentoo.org/~polynomial-c/chkrootkit-0.51-gentoo.diff.xz"
    1.20  
    1.21 -compile_rules() {
    1.22 +compile_rules()
    1.23 +{
    1.24  	# use patch from Gentoo
    1.25  	# https://gitweb.gentoo.org/repo/gentoo.git/tree/app-forensics/chkrootkit/chkrootkit-0.52.ebuild
    1.26 -	if [ ! -e "$SRC/$(basename $PATCH_URL)" ]; then
    1.27 +	if [ ! -e "$SRC/$(basename $PATCH_URL)" ]
    1.28 +	  then
    1.29  		wget -P $SRC $PATCH_URL
    1.30  	fi
    1.31  	unxz -c $SRC/$(basename $PATCH_URL) | patch -p1
    1.32  
    1.33  	make sense || return 1
    1.34  	# install all executables
    1.35 -	for i in $(find $src -type f -perm +111); do
    1.36 -		install -Dm755 $i $install/usr/sbin/$(basename $i)
    1.37 -	done
    1.38 +	for i in $(find $src -type f -perm +111)
    1.39 +	  do
    1.40 +		install -Dm755 $i	$install/usr/sbin/$(basename $i)
    1.41 +	  done
    1.42  
    1.43  	cook_pick_docs README*
    1.44  }
    1.45  
    1.46 -genpkg_rules() {
    1.47 +genpkg_rules()
    1.48 +{
    1.49  	copy @std
    1.50  }