wok annotate chkexploit/receipt @ rev 25448

Add scikit-build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 09 09:27:07 2022 +0000 (2022-09-09)
parents bc2b9d9bed6f
children d66160614dc4
rev   line source
pascal@18139 1 # SliTaz package receipt.
pascal@18139 2
pascal@18139 3 PACKAGE="chkexploit"
pascal@18139 4 VERSION="1.13"
pascal@18139 5 CATEGORY="security"
pascal@18139 6 SHORT_DESC="Check the system for vulnerabilities to some publicly available exploits."
pascal@18139 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18139 8 LICENSE="GPL"
pascal@18139 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@18139 10 WEB_SITE="http://www.chkrootkit.org/"
pascal@25441 11 WGET_URL="http://ftp4.de.freesbie.org/pub/cert.dfn/tools/audit/chkrootkit/$TARBALL"
pascal@18139 12
pascal@24491 13 # What is the latest version available today?
pascal@24491 14 current_version()
pascal@24491 15 {
pascal@24614 16 wget -O - http://ftp.pangeia.com.br/download.htm 2>/dev/null | \
pascal@24491 17 sed '/chkexploit-/!d;/tar/!d;s|.*chkexploit-||;s|.tar.*||' | sort -Vr | sed q
pascal@24491 18 }
pascal@24491 19
pascal@18139 20 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18139 21 genpkg_rules()
pascal@18139 22 {
pascal@18139 23 mkdir -p $fs/usr/share/chkrootkit
pascal@18139 24 cp $src/chkexploit $fs/usr/share/chkrootkit
pascal@18139 25 }