wok diff pwgen/receipt @ rev 25472
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 11 07:33:58 2022 +0000 (19 months ago) |
parents | ad0bc3efbf37 |
children | 362a5a98467f |
line diff
1.1 --- a/pwgen/receipt Fri Sep 23 08:28:09 2022 +0000 1.2 +++ b/pwgen/receipt Tue Oct 11 07:33:58 2022 +0000 1.3 @@ -6,7 +6,8 @@ 1.4 SHORT_DESC="A small password generator which creates passwords which can be easily memorized by a human." 1.5 MAINTAINER="slaxemulator@gmail.com" 1.6 LICENSE="GPL" 1.7 -WEB_SITE="https://sourceforge.net/projects/pwgen" 1.8 +#WEB_SITE="https://sourceforge.net/projects/pwgen" 1.9 +WEB_SITE="https://github.com/tytso/pwgen" 1.10 1.11 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.13 @@ -14,9 +15,8 @@ 1.14 # What is the latest version available today? 1.15 current_version() 1.16 { 1.17 - wget -O - https://sourceforge.net/projects/pwgen/files/pwgen/ 2>/dev/null | \ 1.18 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.19 - sed '/scope="row/!d;s|.*/pwgen/||;s|/.*||;q' 1.20 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.21 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.22 } 1.23 1.24 # Rules to configure and make the package.