wok-current diff backuppc/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (6 months ago) |
parents | 7dd01dedad38 |
children |
line diff
1.1 --- a/backuppc/receipt Wed Sep 28 08:10:35 2022 +0000 1.2 +++ b/backuppc/receipt Sun Mar 03 17:58:42 2024 +0000 1.3 @@ -8,7 +8,7 @@ 1.4 MAINTAINER="pascal.bellard@slitaz.org" 1.5 LICENSE="GPL2" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="https://backuppc.sourceforge.net/" 1.8 +WEB_SITE="https://backuppc.github.io/backuppc/" 1.9 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.10 SUGGESTED="par2" 1.11 CONFIG_FILES="/etc/BackupPC/config.pl" 1.12 @@ -23,9 +23,8 @@ 1.13 # What is the latest version available today? 1.14 current_version() 1.15 { 1.16 - wget -O - https://sourceforge.net/projects/backuppc/files/backuppc/ 2>/dev/null | \ 1.17 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.18 - sed '/scope="row/!d;s|.*/backuppc/||;s|/.*||;q' 1.19 + wget -O - $WEB_SITE 2>/dev/null | \ 1.20 + sed '/latest release/!d;s|.*tag/||;s|".*||;q' 1.21 } 1.22 1.23 # Rules to configure and make the package.