wok diff ntop/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (7 weeks ago)
parents a78610b2eb47
children
line diff
     1.1 --- a/ntop/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/ntop/receipt	Tue Apr 16 10:43:04 2024 +0000
     1.3 @@ -18,6 +18,12 @@
     1.4  glibc-dev gdbm-dev rrdtool autoconf automake rrdtool-dev wget geoip-dev \
     1.5  libwrap libtool"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {