wok-next diff chkrootkit/receipt @ rev 20889
Check Repology info from y* to z* packages: complete
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 15 10:27:39 2018 +0300 (2018-07-15) |
parents | bd257054e324 |
children | 65f5c0b7dcd4 |
line diff
1.1 --- a/chkrootkit/receipt Tue Jul 07 09:34:15 2015 +0200 1.2 +++ b/chkrootkit/receipt Sun Jul 15 10:27:39 2018 +0300 1.3 @@ -1,33 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="chkrootkit" 1.8 VERSION="0.50" 1.9 CATEGORY="security" 1.10 -SHORT_DESC="Locally checks for signs of a rootkit." 1.11 +SHORT_DESC="Locally checks for signs of a rootkit" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="http://www.chkrootkit.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.chkrootkit.org/" 1.18 WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 - [ -f done.chkrootkit.u ] || patch -p1 < $stuff/chkrootkit.u 1.24 - touch done.chkrootkit.u 1.25 +compile_rules() { 1.26 sed -i 's/.*egrep} -c "\${GENERAL.*/&\n ls -l ${CMD} | grep -q busybox ||/' chkrootkit 1.27 - make sense 1.28 -} 1.29 + make sense || return 1 1.30 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 - mkdir -p $fs/usr/share/chkrootkit 1.35 - for i in $(cd $src ; ls); do 1.36 + mkdir -p $install/usr/share/chkrootkit 1.37 + for i in $(cd $src; ls); do 1.38 case "$i" in 1.39 - README*) cp $src/$i $fs/usr/share/chkrootkit;; 1.40 - Makefile|*.*);; 1.41 - *) cp $src/$i $fs/usr/share/chkrootkit;; 1.42 + README*) 1.43 + cp $src/$i $install/usr/share/chkrootkit;; 1.44 + Makefile|*.*) 1.45 + ;; 1.46 + *) 1.47 + cp $src/$i $install/usr/share/chkrootkit;; 1.48 esac 1.49 done 1.50 } 1.51 + 1.52 +genpkg_rules() { 1.53 + copy @std 1.54 +}