wok view chkexploit/receipt @ rev 25608

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