wok-current annotate rkhunter/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents e919c5a2742d
children
rev   line source
pascal@14511 1 # SliTaz package receipt.
pascal@14511 2
pascal@14511 3 PACKAGE="rkhunter"
Hans-G?nter@21842 4 VERSION="1.4.6"
pascal@14511 5 CATEGORY="security"
pascal@14511 6 SHORT_DESC="Rootkit scanner."
pascal@14511 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
pascal@25460 9 WEB_SITE="https://rkhunter.sourceforge.net/"
Hans-G?nter@21842 10
pascal@14511 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@14511 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
pascal@14511 13
pascal@14511 14 DEPENDS=""
pascal@14511 15 BUILD_DEPENDS=""
pascal@14511 16
pascal@24348 17 # What is the latest version available today?
pascal@24348 18 current_version()
pascal@24348 19 {
pascal@24348 20 wget -O - https://sourceforge.net/projects/rkhunter/files/rkhunter/ 2>/dev/null | \
pascal@24348 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24348 22 sed '/scope="row/!d;s|.*/rkhunter/||;s|/.*||;q'
pascal@24348 23 }
pascal@24348 24
pascal@14511 25 # Rules to configure and make the package.
pascal@14511 26 compile_rules()
pascal@14511 27 {
pascal@14511 28 export TGZ_BUILD_ROOT=$DESTDIR
pascal@14511 29 ./installer.sh --layout TGZ --install
pascal@14511 30 }
pascal@14511 31
pascal@14511 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14511 33 genpkg_rules()
pascal@14511 34 {
pascal@14511 35 cp -a $install/* $fs
pascal@14511 36 }