# HG changeset patch # User Pascal Bellard # Date 1647200849 0 # Node ID 1a39a3d55d0eb84de041ced372f392a96f01d807 # Parent 7aaca7142a16c605b4e49ccfdfe8332fb77d50d5 Add some current_version diff -r 7aaca7142a16 -r 1a39a3d55d0e cacerts/receipt --- a/cacerts/receipt Sun Mar 13 17:29:51 2022 +0000 +++ b/cacerts/receipt Sun Mar 13 19:47:29 2022 +0000 @@ -16,6 +16,13 @@ HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - $WGET_URL 2>/dev/null | \ + sed '/Revision:/!d;s|.*sion: ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7aaca7142a16 -r 1a39a3d55d0e csync/receipt --- a/csync/receipt Sun Mar 13 17:29:51 2022 +0000 +++ b/csync/receipt Sun Mar 13 19:47:29 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="check-dev cmake sqlite-dev iniparser-dev \ expat-dev openssl-dev log4c-dev neon-dev samba-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://csync.org/ 2>/dev/null | \ + sed '/csync version/!d;s|.*version ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7aaca7142a16 -r 1a39a3d55d0e db/receipt --- a/db/receipt Sun Mar 13 17:29:51 2022 +0000 +++ b/db/receipt Sun Mar 13 19:47:29 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="glibc-base libdb" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.oracle.com/database/technologies/related/berkeleydb-downloads.html 2>/dev/null | \ + sed '/Berkeley DB [0-9]/!d;s|.*(||;s|).*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7aaca7142a16 -r 1a39a3d55d0e dokuwiki/receipt --- a/dokuwiki/receipt Sun Mar 13 17:29:51 2022 +0000 +++ b/dokuwiki/receipt Sun Mar 13 19:47:29 2022 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="dokuwiki" -VERSION="20200729" +VERSION="2020-07-29" CATEGORY="development" SHORT_DESC="DokuWiki is a simple to use Wiki aimed at the documentation needs of a smail company." MAINTAINER="slaxemulator@gmail.com" @@ -9,13 +9,13 @@ WEB_SITE="https://www.dokuwiki.org/dokuwiki" TARBALL="$PACKAGE-$VERSION.tgz" -WGET_URL="https://download.dokuwiki.org/src/$PACKAGE/$PACKAGE-2020-07-29.tgz" +WGET_URL="https://download.dokuwiki.org/src/$PACKAGE/$TARBALL" # What is the latest version available today? current_version() { wget -O - https://github.com/splitbrain/dokuwiki/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;s|-||g;q' + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;q' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 7aaca7142a16 -r 1a39a3d55d0e lincity-ng/receipt --- a/lincity-ng/receipt Sun Mar 13 17:29:51 2022 +0000 +++ b/lincity-ng/receipt Sun Mar 13 19:47:29 2022 +0000 @@ -1,14 +1,14 @@ # SliTaz package receipt. PACKAGE="lincity-ng" -VERSION="2.9" +VERSION="2.9-beta" CATEGORY="games" SHORT_DESC="A City Simulation Game. It is a polished and improved version of the classic LinCity game." MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="https://github.com/lincity-ng/lincity-ng/" -TARBALL="$PACKAGE-$VERSION-beta.tar.gz" +TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/$TARBALL" DEPENDS="libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf @@ -17,10 +17,11 @@ libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev libxml2-dev mesa-dev physfs-dev pkg-config" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/lincity-ng-\(.*\)-beta.tar.*|\1|;q' + sed '/archive.*tar/!d;s|.*/lincity-ng-\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 7aaca7142a16 -r 1a39a3d55d0e nbs/receipt --- a/nbs/receipt Sun Mar 13 17:29:51 2022 +0000 +++ b/nbs/receipt Sun Mar 13 19:47:29 2022 +0000 @@ -12,6 +12,13 @@ BUILD_DEPENDS="subversion" +# What is the latest version available today? +current_version() +{ + wget -O - http://svn.digium.com/svn/nbs/trunk/ 2>/dev/null | \ + sed '/rev=/!d;s|.*rev="||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7aaca7142a16 -r 1a39a3d55d0e pgadmin/receipt --- a/pgadmin/receipt Sun Mar 13 17:29:51 2022 +0000 +++ b/pgadmin/receipt Sun Mar 13 19:47:29 2022 +0000 @@ -17,6 +17,13 @@ BUILD_DEPENDS="libcrypto openssl-dev postgresql postgresql-dev libxml2-dev \ libxslt-dev wxWidgets28-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://ftp.postgresql.org/pub/$PACKAGE/$SOURCE/ 2>/dev/null | \ + sed '/v[0-9]/!d;s|.*">v||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 7aaca7142a16 -r 1a39a3d55d0e python-pyajam/receipt --- a/python-pyajam/receipt Sun Mar 13 17:29:51 2022 +0000 +++ b/python-pyajam/receipt Sun Mar 13 19:47:29 2022 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE/commits/master 2>/dev/null | \ - sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' + wget -O - https://raw.githubusercontent.com/litnimax/PyAjam/master/CHANGES 2>/dev/null | \ + sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q } # Rules to configure and make the package.