wok-next annotate chkrootkit/receipt @ rev 21187
aufs-utils: BRANCH=aufs4.14
author | Hans-G?nter Theisgen |
---|---|
date | Mon Sep 23 07:48:15 2019 +0100 (2019-09-23) |
parents | 42d9d6d83956 |
children | 75437d94c310 |
rev | line source |
---|---|
al@20461 | 1 # SliTaz package receipt v2. |
pascal@1343 | 2 |
pascal@1343 | 3 PACKAGE="chkrootkit" |
al@20960 | 4 VERSION="0.52" |
pascal@18139 | 5 CATEGORY="security" |
al@20461 | 6 SHORT_DESC="Locally checks for signs of a rootkit" |
pascal@1343 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="BSD" |
al@20461 | 9 WEB_SITE="http://www.chkrootkit.org/" |
al@20461 | 10 |
al@20960 | 11 TARBALL="$PACKAGE-$VERSION.tar" |
al@20960 | 12 WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$PACKAGE-$VERSION.tar.gz" |
al@20960 | 13 TARBALL_SHA1="80a133c0ebc96ce025e62e8e10897ec68968ae7b" |
al@20960 | 14 |
al@20960 | 15 PATCH_URL="https://dev.gentoo.org/~polynomial-c/chkrootkit-0.51-gentoo.diff.xz" |
pascal@1343 | 16 |
al@20461 | 17 compile_rules() { |
al@20960 | 18 # use patch from Gentoo |
al@20960 | 19 # https://gitweb.gentoo.org/repo/gentoo.git/tree/app-forensics/chkrootkit/chkrootkit-0.52.ebuild |
al@20960 | 20 if [ ! -e "$SRC/$(basename $PATCH_URL)" ]; then |
al@20960 | 21 wget -P $SRC $PATCH_URL |
al@20960 | 22 fi |
al@20960 | 23 unxz -c $SRC/$(basename $PATCH_URL) | patch -p1 |
al@20960 | 24 |
al@20461 | 25 make sense || return 1 |
al@20960 | 26 # install all executables |
al@20960 | 27 for i in $(find $src -type f -perm +111); do |
al@20960 | 28 install -Dm755 $i $install/usr/sbin/$(basename $i) |
al@20960 | 29 done |
pascal@1343 | 30 |
al@20960 | 31 cook_pick_docs README* |
pascal@1343 | 32 } |
al@20461 | 33 |
al@20461 | 34 genpkg_rules() { |
al@20461 | 35 copy @std |
al@20461 | 36 } |