wok-current diff apachetop/receipt @ rev 25692
Up gnutls CVE-2024-28834, CVE-2024-28835, Up python3 CVE-2023-52425, CVE-2024-0450, CVE-2023-6597
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 22 16:28:42 2024 +0000 (3 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/apachetop/receipt Fri Mar 22 16:28:42 2024 +0000 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="apachetop" 1.7 +VERSION="0.23.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Watches a logfile generated by Apache" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/tessus/apachetop" 1.14 +WGET_URL="$WEB_SITE/archive/refs/tags/$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="gamin pcre2 readline ncurses" 1.17 +BUILD_DEPENDS="gamin-dev pcre2-dev readline-dev ncurses-dev automake libtool" 1.18 + 1.19 +# What is the latest version available today? 1.20 +current_version() 1.21 +{ 1.22 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.23 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.24 +} 1.25 + 1.26 +# Rules to configure and make the package. 1.27 +compile_rules() 1.28 +{ 1.29 + ./autogen.sh 1.30 + ./configure && 1.31 + make && 1.32 + make install 1.33 + make DESTDIR=$DESTDIR install 1.34 +} 1.35 + 1.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 +genpkg_rules() 1.38 +{ 1.39 + mkdir -p $fs/usr 1.40 + cp -a $install/usr/bin $fs/usr/ 1.41 +}