wok-6.x diff burp/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (23 months ago) |
parents | 5f6c5106b1f5 |
children |
line diff
1.1 --- a/burp/receipt Mon Jan 31 11:41:46 2022 +0000 1.2 +++ b/burp/receipt Fri Nov 18 09:54:27 2022 +0000 1.3 @@ -7,8 +7,8 @@ 1.4 MAINTAINER="pascal.bellard@slitaz.org" 1.5 LICENSE="GPL3" 1.6 WEB_SITE="http://burp.grke.net/" 1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.8 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.9 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 +WGET_URL="https://github.com/grke/burp/archive/refs/tags/$VERSION.tar.gz" 1.11 1.12 DEPENDS="acl libssl libcrypto attr popt ncurses zlib bzlib gcc-lib-base" 1.13 BUILD_DEPENDS="librsync acl-dev openssl-dev attr-dev popt-dev ncurses-dev \ 1.14 @@ -17,9 +17,8 @@ 1.15 # What is the latest version available today? 1.16 current_version() 1.17 { 1.18 - wget -O - https://sourceforge.net/projects/burp/files/ 2>/dev/null | \ 1.19 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.20 - sed '/scope="row/!d;/tar/!d;s|.*/burp-||;s|.tar.*||;q' 1.21 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.22 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.23 } 1.24 1.25 # Rules to configure and make the package.