wok-6.x rev 24699

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 13 19:47:29 2022 +0000 (2022-03-13)
parents 7aaca7142a16
children 9d7e40cf4a41
files cacerts/receipt csync/receipt db/receipt dokuwiki/receipt lincity-ng/receipt nbs/receipt pgadmin/receipt python-pyajam/receipt
line diff
     1.1 --- a/cacerts/receipt	Sun Mar 13 17:29:51 2022 +0000
     1.2 +++ b/cacerts/receipt	Sun Mar 13 19:47:29 2022 +0000
     1.3 @@ -16,6 +16,13 @@
     1.4  
     1.5  HOST_ARCH="any"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WGET_URL 2>/dev/null | \
    1.11 +	sed '/Revision:/!d;s|.*sion: ||;s| .*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/csync/receipt	Sun Mar 13 17:29:51 2022 +0000
     2.2 +++ b/csync/receipt	Sun Mar 13 19:47:29 2022 +0000
     2.3 @@ -14,6 +14,13 @@
     2.4  BUILD_DEPENDS="check-dev cmake sqlite-dev iniparser-dev  \
     2.5   expat-dev openssl-dev log4c-dev neon-dev samba-dev"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - https://csync.org/ 2>/dev/null | \
    2.11 +	sed '/csync version/!d;s|.*version ||;s|<.*||;q'
    2.12 +}
    2.13 +
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
     3.1 --- a/db/receipt	Sun Mar 13 17:29:51 2022 +0000
     3.2 +++ b/db/receipt	Sun Mar 13 19:47:29 2022 +0000
     3.3 @@ -15,6 +15,13 @@
     3.4  DEPENDS="glibc-base libdb"
     3.5  BUILD_DEPENDS=""
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - https://www.oracle.com/database/technologies/related/berkeleydb-downloads.html 2>/dev/null | \
    3.11 +	sed '/Berkeley DB [0-9]/!d;s|.*(||;s|).*||;q'
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/dokuwiki/receipt	Sun Mar 13 17:29:51 2022 +0000
     4.2 +++ b/dokuwiki/receipt	Sun Mar 13 19:47:29 2022 +0000
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="dokuwiki"
     4.7 -VERSION="20200729"
     4.8 +VERSION="2020-07-29"
     4.9  CATEGORY="development"
    4.10  SHORT_DESC="DokuWiki is a simple to use Wiki aimed at the documentation needs of a smail company."
    4.11  MAINTAINER="slaxemulator@gmail.com"
    4.12 @@ -9,13 +9,13 @@
    4.13  WEB_SITE="https://www.dokuwiki.org/dokuwiki"
    4.14  
    4.15  TARBALL="$PACKAGE-$VERSION.tgz"
    4.16 -WGET_URL="https://download.dokuwiki.org/src/$PACKAGE/$PACKAGE-2020-07-29.tgz"
    4.17 +WGET_URL="https://download.dokuwiki.org/src/$PACKAGE/$TARBALL"
    4.18  
    4.19  # What is the latest version available today?
    4.20  current_version()
    4.21  {
    4.22  	wget -O - https://github.com/splitbrain/dokuwiki/tags 2>/dev/null | \
    4.23 -	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;s|-||g;q'
    4.24 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;q'
    4.25  }
    4.26  
    4.27  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.1 --- a/lincity-ng/receipt	Sun Mar 13 17:29:51 2022 +0000
     5.2 +++ b/lincity-ng/receipt	Sun Mar 13 19:47:29 2022 +0000
     5.3 @@ -1,14 +1,14 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="lincity-ng"
     5.7 -VERSION="2.9"
     5.8 +VERSION="2.9-beta"
     5.9  CATEGORY="games"
    5.10  SHORT_DESC="A City Simulation Game. It is a polished and improved version of the classic LinCity game."
    5.11  MAINTAINER="slaxemulator@gmail.com"
    5.12  LICENSE="GPL2"
    5.13  WEB_SITE="https://github.com/lincity-ng/lincity-ng/"
    5.14  
    5.15 -TARBALL="$PACKAGE-$VERSION-beta.tar.gz"
    5.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.17  WGET_URL="${WEB_SITE}archive/$TARBALL"
    5.18  
    5.19  DEPENDS="libsdl-gfx libsdl-image libsdl-mixer libsdl-ttf 
    5.20 @@ -17,10 +17,11 @@
    5.21  	libsdl-mixer-dev libsdl-ttf libsdl-ttf-dev libxml2-dev 
    5.22  	mesa-dev physfs-dev pkg-config"
    5.23  
    5.24 +# What is the latest version available today?
    5.25  current_version()
    5.26  {
    5.27  	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    5.28 -	sed '/archive.*tar/!d;s|.*/lincity-ng-\(.*\)-beta.tar.*|\1|;q'
    5.29 +	sed '/archive.*tar/!d;s|.*/lincity-ng-\(.*\).tar.*|\1|;q'
    5.30  }
    5.31  
    5.32  # Rules to configure and make the package.
     6.1 --- a/nbs/receipt	Sun Mar 13 17:29:51 2022 +0000
     6.2 +++ b/nbs/receipt	Sun Mar 13 19:47:29 2022 +0000
     6.3 @@ -12,6 +12,13 @@
     6.4  
     6.5  BUILD_DEPENDS="subversion"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - http://svn.digium.com/svn/nbs/trunk/ 2>/dev/null | \
    6.11 +	sed '/rev=/!d;s|.*rev="||;s|".*||;q'
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/pgadmin/receipt	Sun Mar 13 17:29:51 2022 +0000
     7.2 +++ b/pgadmin/receipt	Sun Mar 13 19:47:29 2022 +0000
     7.3 @@ -17,6 +17,13 @@
     7.4  BUILD_DEPENDS="libcrypto openssl-dev postgresql postgresql-dev libxml2-dev \
     7.5  	libxslt-dev wxWidgets28-dev"
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - https://ftp.postgresql.org/pub/$PACKAGE/$SOURCE/ 2>/dev/null | \
    7.11 +	sed '/v[0-9]/!d;s|.*">v||;s|/.*||;q'
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/python-pyajam/receipt	Sun Mar 13 17:29:51 2022 +0000
     8.2 +++ b/python-pyajam/receipt	Sun Mar 13 19:47:29 2022 +0000
     8.3 @@ -17,8 +17,8 @@
     8.4  # What is the latest version available today?
     8.5  current_version()
     8.6  {
     8.7 -	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
     8.8 -	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
     8.9 +	wget -O - https://raw.githubusercontent.com/litnimax/PyAjam/master/CHANGES 2>/dev/null | \
    8.10 +	sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q
    8.11  }
    8.12  
    8.13  # Rules to configure and make the package.