wok diff perdition-pam/receipt @ rev 25106
linux-libre: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 14:39:56 2022 +0000 (2022-06-22) |
parents | 113d38a1e4e9 |
children |
line diff
1.1 --- a/perdition-pam/receipt Sat Jun 01 16:43:31 2019 +0100 1.2 +++ b/perdition-pam/receipt Wed Jun 22 14:39:56 2022 +0000 1.3 @@ -6,7 +6,7 @@ 1.4 SHORT_DESC="Fully featured POP3 and IMAP4 proxy server." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="GPL2" 1.7 -WEB_SITE="http://www.vergenet.net/linux/perdition" 1.8 +WEB_SITE="https://projects.horms.net/projects/perdition" 1.9 1.10 SOURCE="perdition" 1.11 TARBALL="$SOURCE-$VERSION.tar.gz" 1.12 @@ -19,6 +19,13 @@ 1.13 openldap-dev pam pam-dev popt-dev cyrus-sasl-dev openssl-dev libidn-dev" 1.14 CONFIG_FILES="/etc/perdition" 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 '/href="[0-9]/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q 1.21 +} 1.22 + 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 {