wok-current annotate rkhunter/receipt @ rev 24743

updated libffi and libffi-dev (3.3 -> 3.4.2)
author Hans-G?nter Theisgen
date Wed Mar 16 10:41:57 2022 +0100 (2022-03-16)
parents 9aea245ca956
children 7dd01dedad38
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@20672 9 WEB_SITE="http://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 }