wok annotate chkrootkit/receipt @ rev 21957

putty: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 10 15:54:14 2019 +0200 (2019-10-10)
parents bd257054e324
children e7373d3e0818
rev   line source
pascal@1343 1 # SliTaz package receipt.
pascal@1343 2
pascal@1343 3 PACKAGE="chkrootkit"
pascal@20418 4 VERSION="0.52"
pascal@18139 5 CATEGORY="security"
pascal@1343 6 SHORT_DESC="Locally checks for signs of a rootkit."
pascal@1343 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="BSD"
pascal@5787 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1343 10 WEB_SITE="http://www.chkrootkit.org/"
pascal@1343 11 WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL"
pascal@1343 12
pascal@1343 13 # Rules to configure and make the package.
pascal@1343 14 compile_rules()
pascal@1343 15 {
pankso@9699 16 [ -f done.chkrootkit.u ] || patch -p1 < $stuff/chkrootkit.u
pascal@1454 17 touch done.chkrootkit.u
pascal@18184 18 sed -i 's/.*egrep} -c "\${GENERAL.*/&\n ls -l ${CMD} | grep -q busybox ||/' chkrootkit
pascal@1343 19 make sense
pascal@1343 20 }
pascal@1343 21
pascal@1343 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1343 23 genpkg_rules()
pascal@1343 24 {
pascal@1343 25 mkdir -p $fs/usr/share/chkrootkit
pascal@1343 26 for i in $(cd $src ; ls); do
pascal@1343 27 case "$i" in
pascal@1343 28 README*) cp $src/$i $fs/usr/share/chkrootkit;;
pascal@1343 29 Makefile|*.*);;
pascal@1343 30 *) cp $src/$i $fs/usr/share/chkrootkit;;
pascal@1343 31 esac
pascal@1343 32 done
pascal@1343 33 }