wok diff balance/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents 9d63aadd992a
children 1c88796e4a70
line diff
     1.1 --- a/balance/receipt	Sun Feb 10 08:28:02 2019 +0100
     1.2 +++ b/balance/receipt	Tue May 10 07:46:58 2022 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="balance"
     1.6  VERSION="3.57"
     1.7 -CATEGORY="system-tools"
     1.8 +CATEGORY="network"
     1.9  TAGS="web internet load-balancing proxy tcp ipv6"
    1.10  SHORT_DESC="Generic tcp proxy with round robin load balancing and failover."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -12,6 +12,13 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="https://www.inlab.net/wp-content/uploads/2018/05/$TARBALL"
    1.15  
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - https://download.inlab.net/Balance/ 2>/dev/null | \
    1.20 +	sed '/href="[0-9]/!d;s|.*href="||;s|/.*||;q'
    1.21 +}
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {