wok annotate chkexploit/receipt @ rev 25694

dropbear: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 14:12:01 2024 +0000 (2 months ago)
parents d66160614dc4
children
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@25581 10 WEB_SITE="https://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@25608 16 wget -O - ${WGET_URL%/*}/ 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 }