wok-6.x annotate chkexploit/receipt @ rev 24593
updated geos and geos-dev (3.8.0 -> 3.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 13:55:15 2022 +0100 (2022-03-01) |
parents | f3e78a86c67b |
children | bc2b9d9bed6f |
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@18139 | 11 WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL" |
pascal@18139 | 12 |
pascal@24491 | 13 # What is the latest version available today? |
pascal@24491 | 14 current_version() |
pascal@24491 | 15 { |
pascal@24491 | 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 } |