wok-6.x diff ftp-proxy/receipt @ rev 24539
updated fbgrab (1.3 -> 1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 15:32:13 2022 +0100 (2022-02-23) |
parents | c19784df5edf |
children | 65ff25c4de90 |
line diff
1.1 --- a/ftp-proxy/receipt Wed Apr 15 11:01:43 2020 +0000 1.2 +++ b/ftp-proxy/receipt Wed Feb 23 15:32:13 2022 +0100 1.3 @@ -7,7 +7,7 @@ 1.4 SHORT_DESC="Application level proxy for the FTP protocol." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="GPL2" 1.7 -WEB_SITE="ftp://ftp.suse.com/pub/projects/proxy-suite/src" 1.8 +WEB_SITE="http://ftp.suse.com/pub/projects/proxy-suite/src" 1.9 TARBALL="$SOURCE-$VERSION.tar.bz2" 1.10 WGET_URL="$WEB_SITE/$TARBALL" 1.11 CONFIG_FILES="/etc/proxy-suite/ftp-proxy.conf" 1.12 @@ -15,6 +15,13 @@ 1.13 DEPENDS="" 1.14 BUILD_DEPENDS="" 1.15 1.16 +# What is the latest version available today? 1.17 +current_version() 1.18 +{ 1.19 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.20 + sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.21 +} 1.22 + 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 {