wok diff libwrap/receipt @ rev 24893
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 07 17:00:12 2022 +0000 (2022-04-07) |
parents | ede1d184d5c5 |
children |
line diff
1.1 --- a/libwrap/receipt Mon Feb 14 17:51:14 2022 +0000 1.2 +++ b/libwrap/receipt Thu Apr 07 17:00:12 2022 +0000 1.3 @@ -8,15 +8,15 @@ 1.4 LICENSE="BSD" 1.5 SOURCE="tcp_wrappers" 1.6 TARBALL="${SOURCE}_${VERSION}.tar.gz" 1.7 -WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html" 1.8 +WEB_SITE="http://ftp.porcupine.org/pub/security/index.html" 1.9 WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL" 1.10 HOST_ARCH="i486 arm" 1.11 1.12 # What is the latest version available today? 1.13 current_version() 1.14 { 1.15 - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 1.16 - sed "/latest/d;/${SOURCE}_[0-9]/!d;/tar/!d;/ipv6/d;s|.*${SOURCE}_\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.17 + wget -O - $WEB_SITE 2>/dev/null | \ 1.18 + sed '/tcp_wrappers_[0-9]/!d;s|.*tcp_wrappers_||;s|.t.*||;q' 1.19 } 1.20 1.21 # Rules to configure and make the package.