# HG changeset patch # User Pascal Bellard # Date 1645297292 0 # Node ID d7522d21c4d3882a45633449394d177abb57a93f # Parent f1a6bc62bdf45ea6489381f0990982ef1a0ccff1 Add some current_version diff -r f1a6bc62bdf4 -r d7522d21c4d3 ncurses-examples/receipt --- a/ncurses-examples/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/ncurses-examples/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncurses perl" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 nrg2iso/receipt --- a/nrg2iso/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/nrg2iso/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="http://gregory.kokanosky.free.fr/v4/linux/$TARBALL" TAGS="CD DVD ISO9660" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/latest/!d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 numlockx/receipt --- a/numlockx/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/numlockx/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="xorg-libXtst" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 nvidia-173xx/receipt --- a/nvidia-173xx/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/nvidia-173xx/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="linux xorg-server gtk+ cairo linux-agp xorg-libXv" BUILD_DEPENDS="linux-module-headers coreutils-file-summarize xz" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \ + sed '/173.[0-9]/!d;s|.*>173|173|;s|/.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() diff -r f1a6bc62bdf4 -r d7522d21c4d3 ode/receipt --- a/ode/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/ode/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc83-lib-base" BUILD_DEPENDS="gcc83 libtool" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/ode-[0-9]/!d;s|.*/ode-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 offlineimap/receipt --- a/offlineimap/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/offlineimap/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/OfflineIMAP/offlineimap/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 openjdk-7-src/receipt --- a/openjdk-7-src/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/openjdk-7-src/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="http://download.java.net/openjdk/jdk7/promoted/${VERSION%-*}/$TARBALL" COOK_OPT="!unpack !repack_src !fs" +# What is the latest version available today? +current_version() +{ + wget -O - http://hg.openjdk.java.net/jdk7/jdk7/tags 2>/dev/null | \ + sed '/jdk7-/!d;s|jdk7-||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 openldap/receipt --- a/openldap/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/openldap/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="libdb openssl libcomerr3 util-linux-uuid libldap" BUILD_DEPENDS="db-dev libdb util-linux-uuid-dev openssl-dev util-linux-uuid" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/stable/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 openvas-scanner/receipt --- a/openvas-scanner/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/openvas-scanner/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="libpcap libpcap-dev util-linux-uuid openvas-libraries \ openvas-libraries-dev pkg-config gnutls-dev glib-dev libgnutls" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/greenbone/openvas-scanner/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 otf-transcends-games/receipt --- a/otf-transcends-games/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/otf-transcends-games/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="" BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 pwsafe/receipt --- a/pwsafe/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/pwsafe/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -14,6 +14,13 @@ libcrypto gcc-lib-base xorg-libXt xorg-libXext xorg-libXau xorg-libXdmcp" BUILD_DEPENDS="openssl-dev readline-dev ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/pwsafe/pwsafe/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 python-dateutil/receipt --- a/python-dateutil/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/python-dateutil/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/Python .gt;= 3.0/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 python-flask/receipt --- a/python-flask/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/python-flask/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python-click python-itsdangerous" BUILD_DEPENDS="python python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/Flask/ 2>/dev/null | \ + sed '/Flask [0-9]/!d;s|.*Flask ||' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 python-ldap/receipt --- a/python-ldap/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/python-ldap/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="cyrus-sasl openldap openssl python" BUILD_DEPENDS="cyrus-sasl-dev openldap-dev openssl-dev python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/python-ldap/python-ldap/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 python-mako/receipt --- a/python-mako/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/python-mako/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/Mako/ 2>/dev/null | \ + sed '/Mako [0-9]/!d;s|.*Mako ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 python-pygame/receipt --- a/python-pygame/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/python-pygame/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="python-dev libsmpeg-dev libsdl-dev libsdl-image-dev \ libsdl-mixer-dev libsdl-ttf-dev libv4l-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/pygame/pygame/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 python-sphinx/receipt --- a/python-sphinx/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/python-sphinx/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python python-docutils python-jinja2 python-pygments python-setuptools" BUILD_DEPENDS="$DEPENDS python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/sphinx-doc/sphinx/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 qcad/receipt --- a/qcad/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/qcad/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="http://www.qcad.org/archives/qcad/${TARBALL}" HOST_ARCH="i486" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/qcad/qcad/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 qedit/receipt --- a/qedit/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/qedit/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gcc83-lib-base libQtDBus libQtGui libQtNetwork xcb-util-keysyms" BUILD_DEPENDS="cmake gcc83 qmake Qt4-dev xcb-util-keysyms-dev" +# What is the latest version available today? +current_version() +{ + wget -O - 'http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt&package=qedit&full=' 2>/dev/null | \ + sed '/qedit-/!d;/tar/!d;s|.*qedit-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r f1a6bc62bdf4 -r d7522d21c4d3 suricata/receipt --- a/suricata/receipt Sat Feb 19 17:03:18 2022 +0100 +++ b/suricata/receipt Sat Feb 19 19:01:32 2022 +0000 @@ -12,10 +12,10 @@ WGET_URL="https://www.openinfosecfoundation.org/download/$TARBALL" DEPENDS="jansson libcap-ng libhtp libnetfilter_queue libnfnetlink - libpcap pcre yaml" + libpcap pcre yaml lz4-lib" BUILD_DEPENDS="jansson-dev libcap-ng-dev libhtp-dev libmnl libnet-dev libnfnetlink-dev libnetfilter_queue libnetfilter_queue-dev - libpcap-dev rust-cargo yaml-dev zlib-dev" + libpcap-dev rust-cargo yaml-dev zlib-dev lz4-dev" # What is the latest version available today? current_version()