# HG changeset patch # User Pascal Bellard # Date 1631874957 0 # Node ID 15650f5d595bbd0bf92b04de3e620553f81cf7a0 # Parent 60202e4e10ccd322f75539c3ac2f9e2b3cb042b3 Add some current_version diff -r 60202e4e10cc -r 15650f5d595b libzip/receipt --- a/libzip/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/libzip/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -16,6 +16,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Current/!d;s|.* is ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b lzip/receipt --- a/lzip/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/lzip/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="gcc-lib-base" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed '/>lzip-/!d;s|.*lzip-||;s|.tar.*||' | sed '$!d' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b pbzip2/receipt --- a/pbzip2/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/pbzip2/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="bzlib" BUILD_DEPENDS="bzip2-dev wget" +current_version() +{ + wget -O - https://launchpad.net/pbzip2 2>/dev/null | \ + sed '/Latest version/!d;s|.*is ||' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b peazip/receipt --- a/peazip/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/peazip/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -18,6 +18,12 @@ DEPENDS="desktop-file-utils xorg-libX11 atk glibc-base cairo gtk+ \ gdk-pixbuf glib gmp pango libcurl ncurses upx zpaq xdg-utils" +current_version() +{ + wget -O - http://peazip.org/peazip-linux-x86.html 2>/dev/null | \ + sed '/Linux x86 /!d;s|.*x86 ||;s|<.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-algorithm-permute/receipt --- a/perl-algorithm-permute/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-algorithm-permute/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-animation/receipt --- a/perl-animation/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-animation/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-apache-dbi/receipt --- a/perl-apache-dbi/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-apache-dbi/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-digest-sha1" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-appconfig/receipt --- a/perl-appconfig/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-appconfig/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ WEB_SITE="https://metacpan.org/release/AppConfig/" WGET_URL="http://www.cpan.org/authors/id/N/NE/NEILB/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-archive-zip/receipt --- a/perl-archive-zip/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-archive-zip/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/rchive-Zip-/!d;s|.*Zip-||;s| -.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-authen-sasl/receipt --- a/perl-authen-sasl/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-authen-sasl/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-digest-hmac perl-gssapi" BUILD_DEPENDS="perl perl-digest-hmac perl-gssapi" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-berkeleydb/receipt --- a/perl-berkeleydb/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-berkeleydb/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="db perl" BUILD_DEPENDS="db db-dev perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-bit-vector/receipt --- a/perl-bit-vector/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-bit-vector/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-carp-clan" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-cairo/receipt --- a/perl-cairo/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-cairo/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -16,6 +16,12 @@ BUILD_DEPENDS="cairo-dev fontconfig-dev freetype-dev libpng-dev perl perl-extutils-depends perl-extutils-pkgconfig perl-test-number-delta" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-carp-clan/receipt --- a/perl-carp-clan/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-carp-clan/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-cgi-session/receipt --- a/perl-cgi-session/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-cgi-session/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-cgi/receipt --- a/perl-cgi/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-cgi/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-class-accessor/receipt --- a/perl-class-accessor/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-class-accessor/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-class-singleton/receipt --- a/perl-class-singleton/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-class-singleton/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-common-sense/receipt --- a/perl-common-sense/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-common-sense/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-compress-raw-bzip2/receipt --- a/perl-compress-raw-bzip2/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-compress-raw-bzip2/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/ompress-Raw-Bzip2-/!d;s|.*zip2-||;s| -.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-compress-raw-zlib/receipt --- a/perl-compress-raw-zlib/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-compress-raw-zlib/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-config-general/receipt --- a/perl-config-general/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-config-general/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-config-inifiles/receipt --- a/perl-config-inifiles/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-config-inifiles/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-config-tiny/receipt --- a/perl-config-tiny/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-config-tiny/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-crypt-des/receipt --- a/perl-crypt-des/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-crypt-des/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-curses/receipt --- a/perl-curses/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-curses/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="ncursesw perl" BUILD_DEPENDS="ncursesw-dev perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-date-calc/receipt --- a/perl-date-calc/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-date-calc/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-bit-vector" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-date-manip/receipt --- a/perl-date-manip/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-date-manip/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-yaml-syck" BUILD_DEPENDS="perl perl-extutils-makemaker perl-yaml-syck" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-datetime-format-strptime/receipt --- a/perl-datetime-format-strptime/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-datetime-format-strptime/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -12,10 +12,15 @@ TARBALL="$SOURCE-$VERSION.tar.gz" WGET_URL="https://www.cpan.org/modules/by-module/DateTime/$TARBALL" - DEPENDS="perl" BUILD_DEPENDS="perl-datetime perl-params-validate perl-test-simple" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-datetime-format-w3cdtf/receipt --- a/perl-datetime-format-w3cdtf/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-datetime-format-w3cdtf/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-datetime-timezone/receipt --- a/perl-datetime-timezone/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-datetime-timezone/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-datetime/receipt --- a/perl-datetime/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-datetime/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -18,6 +18,12 @@ perl-try-tiny" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-dbd-mysql/receipt --- a/perl-dbd-mysql/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-dbd-mysql/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="libmysqlclient perl perl-dbi-dbd zlib" BUILD_DEPENDS="mysql-dev perl perl-dbi-dbd perl-devel-checklib" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-dbd-pg/receipt --- a/perl-dbd-pg/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-dbd-pg/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="libpostgresqlclient perl perl-dbi-dbd" BUILD_DEPENDS="perl perl-dbi-dbd postgresql-dev" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-dbd-sqlite/receipt --- a/perl-dbd-sqlite/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-dbd-sqlite/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="libsqlite perl perl-dbi-dbd" BUILD_DEPENDS="perl perl-dbi-dbd sqlite-dev" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-dev/receipt --- a/perl-dev/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-dev/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" PROVIDE="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/version-highlight/!d;s|.*">||;s|<.*||;q' +} + # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() { diff -r 60202e4e10cc -r 15650f5d595b perl-devel-checklib/receipt --- a/perl-devel-checklib/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-devel-checklib/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-digest-hmac/receipt --- a/perl-digest-hmac/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-digest-hmac/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-digest-md5/receipt --- a/perl-digest-md5/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-digest-md5/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-encode-locale/receipt --- a/perl-encode-locale/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-encode-locale/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-event/receipt --- a/perl-event/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-event/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -16,6 +16,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-expect/receipt --- a/perl-expect/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-expect/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -16,6 +16,12 @@ DEPENDS="perl-io-tty" BUILD_DEPENDS="perl-io-tty" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-exporter-tiny/receipt --- a/perl-exporter-tiny/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-exporter-tiny/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-extutils-depends/receipt --- a/perl-extutils-depends/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-extutils-depends/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-extutils-makemaker/receipt --- a/perl-extutils-makemaker/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-extutils-makemaker/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-extutils-pkgconfig/receipt --- a/perl-extutils-pkgconfig/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-extutils-pkgconfig/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ WEB_SITE="https://metacpan.org/release/ExtUtils-PkgConfig" WGET_URL="https://cpan.metacpan.org/CPAN/authors/id/X/XA/XAOC/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-fcgi-procmanager/receipt --- a/perl-fcgi-procmanager/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-fcgi-procmanager/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-fcgi/receipt --- a/perl-fcgi/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-fcgi/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -16,6 +16,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-file-copy-recursive/receipt --- a/perl-file-copy-recursive/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-file-copy-recursive/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-file-desktopentry/receipt --- a/perl-file-desktopentry/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-file-desktopentry/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-file-basedir" BUILD_DEPENDS="perl perl-file-basedir" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-file-find-rule/receipt --- a/perl-file-find-rule/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-file-find-rule/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-number-compare perl-text-glob" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-file-mimeinfo/receipt --- a/perl-file-mimeinfo/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-file-mimeinfo/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-file-basedir perl-file-desktopentry" BUILD_DEPENDS="perl perl-file-basedir perl-file-desktopentry" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-file-rsync/receipt --- a/perl-file-rsync/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-file-rsync/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl rsync" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-file-slurp/receipt --- a/perl-file-slurp/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-file-slurp/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-file-which/receipt --- a/perl-file-which/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-file-which/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-fuse/receipt --- a/perl-fuse/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-fuse/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="fuse perl perl-filesys-statvfs perl-lchown perl-unix-mknod" BUILD_DEPENDS="fuse-dev perl perl-filesys-statvfs perl-lchown perl-unix-mknod" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-gd/receipt --- a/perl-gd/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-gd/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="libgd perl" BUILD_DEPENDS="libgd libgd-dev perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-geo-ipfree/receipt --- a/perl-geo-ipfree/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-geo-ipfree/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-getopt-long/receipt --- a/perl-getopt-long/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-getopt-long/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-glib/receipt --- a/perl-glib/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-glib/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="glib perl" BUILD_DEPENDS="glib-dev perl perl-extutils-depends perl-extutils-pkgconfig" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-gssapi/receipt --- a/perl-gssapi/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-gssapi/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="libcomerr libcomerr3 libkrb5 perl" BUILD_DEPENDS="krb5 krb5-dev perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-gtk2/receipt --- a/perl-gtk2/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-gtk2/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -17,6 +17,12 @@ perl-extutils-pkgconfig perl-glib perl-pango xorg-dev xorg-kbproto xorg-renderproto xorg-xproto" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-html-parser/receipt --- a/perl-html-parser/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-html-parser/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ WEB_SITE="https://metacpan.org/release/HTML-Parser" WGET_URL="https://cpan.metacpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-html-template/receipt --- a/perl-html-template/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-html-template/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ WEB_SITE="https://metacpan.org/pod/HTML::Template" WGET_URL="https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-html-tree/receipt --- a/perl-html-tree/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-html-tree/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-html-parser perl-html-tagset" BUILD_DEPENDS="perl perl-html-parser perl-html-tagset" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-http-cookies/receipt --- a/perl-http-cookies/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-http-cookies/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-http-date perl-http-message " BUILD_DEPENDS="perl $DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-http-daemon/receipt --- a/perl-http-daemon/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-http-daemon/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-http-date perl-http-message perl-lwp-mediatypes" BUILD_DEPENDS="perl $DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-http-date/receipt --- a/perl-http-date/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-http-date/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-http-message/receipt --- a/perl-http-message/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-http-message/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl-encode-locale perl-html-parser perl-http-date perl-lwp-mediatypes perl-uri" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-http-negotiate/receipt --- a/perl-http-negotiate/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-http-negotiate/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl perl-http-message" BUILD_DEPENDS="perl $DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-http-parser/receipt --- a/perl-http-parser/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-http-parser/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl-http-message perl-uri" BUILD_DEPENDS="perl $DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-http-server-simple/receipt --- a/perl-http-server-simple/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-http-server-simple/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-image-librsvg/receipt --- a/perl-image-librsvg/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-image-librsvg/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl librsvg" BUILD_DEPENDS="wget perl librsvg-dev" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-io-compress/receipt --- a/perl-io-compress/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-io-compress/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib" BUILD_DEPENDS="perl perl-compress-raw-bzip2 perl-compress-raw-zlib" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-io-multiplex/receipt --- a/perl-io-multiplex/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-io-multiplex/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-io-socket-inet6/receipt --- a/perl-io-socket-inet6/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-io-socket-inet6/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl perl-socket6" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-io-socket-ssl/receipt --- a/perl-io-socket-ssl/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-io-socket-ssl/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-io-stty/receipt --- a/perl-io-stty/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-io-stty/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-io-tty/receipt --- a/perl-io-tty/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-io-tty/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-io/receipt --- a/perl-io/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-io/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-ipc-run/receipt --- a/perl-ipc-run/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-ipc-run/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-json-pp/receipt --- a/perl-json-pp/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-json-pp/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-json/receipt --- a/perl-json/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-json/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-libjson/receipt --- a/perl-libjson/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-libjson/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-libwww/receipt --- a/perl-libwww/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-libwww/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -16,6 +16,12 @@ WEB_SITE="https://metacpan.org/release/libwww-perl/" WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-linux-inotify2/receipt --- a/perl-linux-inotify2/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-linux-inotify2/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl-common-sense" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-list-moreutils/receipt --- a/perl-list-moreutils/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-list-moreutils/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-locale-gettext/receipt --- a/perl-locale-gettext/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-locale-gettext/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="gettext-base perl" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-locale-maketext-lexicon/receipt --- a/perl-locale-maketext-lexicon/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-locale-maketext-lexicon/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-log-agent/receipt --- a/perl-log-agent/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-log-agent/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-log-log4perl/receipt --- a/perl-log-log4perl/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-log-log4perl/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ WEB_SITE="https://metacpan.org/pod/Log::Log4perl" WGET_URL="https://cpan.metacpan.org/authors/id/M/MS/MSCHILLI/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-lwp-mediatypes/receipt --- a/perl-lwp-mediatypes/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-lwp-mediatypes/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-mail-sendmail/receipt --- a/perl-mail-sendmail/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-mail-sendmail/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-mailtools/receipt --- a/perl-mailtools/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-mailtools/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -18,6 +18,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-math-round/receipt --- a/perl-math-round/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-math-round/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-mime-base64/receipt --- a/perl-mime-base64/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-mime-base64/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-mime-lite/receipt --- a/perl-mime-lite/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-mime-lite/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-mailtools perl-mime-types" BUILD_DEPENDS="perl perl-mailtools perl-mime-types" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-mime-types/receipt --- a/perl-mime-types/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-mime-types/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-module-implementation/receipt --- a/perl-module-implementation/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-module-implementation/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl perl-test-requires perl-module-runtime" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-module-metadata/receipt --- a/perl-module-metadata/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-module-metadata/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-module-runtime/receipt --- a/perl-module-runtime/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-module-runtime/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-net-dns/receipt --- a/perl-net-dns/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-net-dns/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-io-socket-inet6" BUILD_DEPENDS="perl perl-io-socket-inet6" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-net-http/receipt --- a/perl-net-http/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-net-http/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-compress-raw-zlib perl-io-compress" BUILD_DEPENDS="perl $DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-net-ip/receipt --- a/perl-net-ip/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-net-ip/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-net-mysql/receipt --- a/perl-net-mysql/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-net-mysql/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="libmysqlclient perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-net-server/receipt --- a/perl-net-server/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-net-server/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-net-snmp/receipt --- a/perl-net-snmp/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-net-snmp/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1" BUILD_DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-net-ssleay/receipt --- a/perl-net-ssleay/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-net-ssleay/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="openssl perl" BUILD_DEPENDS="openssl-dev perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-net-telnet/receipt --- a/perl-net-telnet/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-net-telnet/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-number-compare/receipt --- a/perl-number-compare/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-number-compare/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-number-range/receipt --- a/perl-number-range/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-number-range/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-ole-Storage_Lite/receipt --- a/perl-ole-Storage_Lite/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-ole-Storage_Lite/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-pango/receipt --- a/perl-pango/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-pango/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ WEB_SITE="https://metacpan.org/release/Pango" WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-params-validate/receipt --- a/perl-params-validate/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-params-validate/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-module-implementation perl-test-fatal perl-test-requires perl-test-simple" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-pcsc/receipt --- a/perl-pcsc/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-pcsc/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="pcsc-lite perl" BUILD_DEPENDS="pcsc-lite-dev perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-proc-processtable/receipt --- a/perl-proc-processtable/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-proc-processtable/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-rrd-simple/receipt --- a/perl-rrd-simple/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-rrd-simple/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl rrdtool-perl" BUILD_DEPENDS="perl rrdtool-perl perl-test-pod perl-test-deep perl-test-pod-coverage" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-sha1/receipt --- a/perl-sha1/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-sha1/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ WEB_SITE="https://metacpan.org/release/Digest-SHA1/" WGET_URL="http://cpan.org/authors/id/G/GA/GAAS/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-socket6/receipt --- a/perl-socket6/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-socket6/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-spreadsheet-writeexcel/receipt --- a/perl-spreadsheet-writeexcel/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-spreadsheet-writeexcel/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-super/receipt --- a/perl-super/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-super/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-template-toolkit/receipt --- a/perl-template-toolkit/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-template-toolkit/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-appconfig" BUILD_DEPENDS="perl-appconfig" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-term-readkey/receipt --- a/perl-term-readkey/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-term-readkey/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl perl-extutils-makemaker" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-compile/receipt --- a/perl-test-compile/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-compile/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl-universal-require" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-deep/receipt --- a/perl-test-deep/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-deep/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-test-nowarnings" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-exception/receipt --- a/perl-test-exception/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-exception/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-fatal/receipt --- a/perl-test-fatal/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-fatal/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl perl-try-tiny perl-test-simple" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-mockmodule/receipt --- a/perl-test-mockmodule/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-mockmodule/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl-sub-identify perl-super perl-test-warnings" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-mockobject/receipt --- a/perl-test-mockobject/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-mockobject/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-test-exception" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-nowarnings/receipt --- a/perl-test-nowarnings/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-nowarnings/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl-test-tester" BUILD_DEPENDS="perl-test-tester" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-number-delta/receipt --- a/perl-test-number-delta/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-number-delta/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-pod-coverage/receipt --- a/perl-test-pod-coverage/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-pod-coverage/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-pod/receipt --- a/perl-test-pod/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-pod/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-requires/receipt --- a/perl-test-requires/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-requires/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl perl-extutils-makemaker" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-simple/receipt --- a/perl-test-simple/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-simple/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-test-warnings/receipt --- a/perl-test-warnings/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-test-warnings/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-text-csv/receipt --- a/perl-text-csv/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-text-csv/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-text-glob/receipt --- a/perl-text-glob/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-text-glob/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ WEB_SITE="https://metacpan.org/release/Text-Glob" WGET_URL="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-text-template/receipt --- a/perl-text-template/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-text-template/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-thread/receipt --- a/perl-thread/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-thread/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ WEB_SITE="https://www.perl.org/" WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/version-highlight/!d;s|.*">||;s|<.*||;q' +} + # Rules to configure and make the package. # compile_rules() diff -r 60202e4e10cc -r 15650f5d595b perl-time-hires/receipt --- a/perl-time-hires/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-time-hires/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-tk/receipt --- a/perl-tk/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-tk/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -16,6 +16,12 @@ BUILD_DEPENDS="fontconfig-dev jpeg-dev libpng-dev perl tk-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev zlib-dev" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-try-tiny/receipt --- a/perl-try-tiny/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-try-tiny/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-unicode-map8/receipt --- a/perl-unicode-map8/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-unicode-map8/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-unicode-string/receipt --- a/perl-unicode-string/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-unicode-string/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-uri/receipt --- a/perl-uri/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-uri/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -16,6 +16,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-www-robotrules/receipt --- a/perl-www-robotrules/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-www-robotrules/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="perl perl-uri" BUILD_DEPENDS="perl $DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-xml-entities/receipt --- a/perl-xml-entities/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-xml-entities/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl perl-libwww perl-uri" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-xml-parser/receipt --- a/perl-xml-parser/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-xml-parser/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -17,6 +17,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-xml-rss/receipt --- a/perl-xml-rss/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-xml-rss/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -16,6 +16,12 @@ perl-datetime-format-w3cdtf perl-xml-parser" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-xml-sax-writer/receipt --- a/perl-xml-sax-writer/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-xml-sax-writer/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-xml-simple/receipt --- a/perl-xml-simple/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-xml-simple/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-xml-twig/receipt --- a/perl-xml-twig/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-xml-twig/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl perl-xml-parser" BUILD_DEPENDS="perl perl-xml-parser" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-xml-writer/receipt --- a/perl-xml-writer/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-xml-writer/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-yaml-syck/receipt --- a/perl-yaml-syck/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-yaml-syck/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl-yaml/receipt --- a/perl-yaml/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl-yaml/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b perl/receipt --- a/perl/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perl/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" PROVIDE="microperl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/version-highlight/!d;s|.*">||;s|<.*||;q' +} + # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() { diff -r 60202e4e10cc -r 15650f5d595b perltidy/receipt --- a/perltidy/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/perltidy/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="perl" BUILD_DEPENDS="perl" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b php-auth-sasl/receipt --- a/php-auth-sasl/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/php-auth-sasl/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="php-pear" BUILD_DEPENDS="php-cli php-pear" +current_version() +{ + wget -O - https://pear.php.net/package/Auth_SASL 2>/dev/null | \ + sed '/released/!d;s|.*>\([0-9\.]*\)<.*|\1|' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b php-docs-en/receipt --- a/php-docs-en/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/php-docs-en/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -11,6 +11,12 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://www.php.net/distributions/manual/php_manual_en.tar.gz" +current_version() +{ + wget -O - https://pear.php.net/package/Auth_SASL 2>/dev/null | \ + sed '/released/!d;s|.*>\([0-9\.]*\)<.*|\1|' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 60202e4e10cc -r 15650f5d595b php/receipt --- a/php/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/php/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -23,6 +23,12 @@ #HOST_ARCH="i486 arm" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Released/!d;s|.*PHP ||;s| Rel.*||' | sort -Vr | sed q +} + case "$ARCH" in i?86) # 7.4.4 unrecognised: diff -r 60202e4e10cc -r 15650f5d595b phpeasyvcs/receipt --- a/phpeasyvcs/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/phpeasyvcs/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="php" +current_version() +{ + wget -O - https://sourceforge.net/projects/phpeasyvcs/files/ 2>/dev/null | \ + sed '/Click to/!d;/phpEasyVCS/!d;s|.*phpEasyVCS-||;s|.zip.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b phpfm/receipt --- a/phpfm/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/phpfm/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="php" +current_version() +{ + wget -O - https://sourceforge.net/projects/phpfm/files/phpFileManager/ 2>/dev/null | \ + sed '/Click to/!d;s|.*version ||;s|".*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 60202e4e10cc -r 15650f5d595b phpmyadmin/receipt --- a/phpmyadmin/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/phpmyadmin/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -18,6 +18,12 @@ HOST_ARCH="any" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/released/!d;s|.*phpMyAdmin ||;s| [a-z].*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 60202e4e10cc -r 15650f5d595b phpqrcode/receipt --- a/phpqrcode/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/phpqrcode/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="qrencode php-gd" +current_version() +{ + wget -O - https://sourceforge.net/projects/phpqrcode/files/releases/ 2>/dev/null | \ + sed '/released/!d;s|.*_||;s|.zip.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b phproxy/receipt --- a/phproxy/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/phproxy/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="php" BUILD_DEPENDS="p7zip" +current_version() +{ + wget -O - "$WEB_SITE" 2>/dev/null | \ + sed '/PHProxy/!d;s|.*PHProxy ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b unzip/receipt --- a/unzip/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/unzip/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -11,6 +11,12 @@ WGET_URL="$SF_MIRROR/infozip/$TARBALL" TAGS="archive compression" +current_version() +{ + wget -O - $WEB_SITE/UnZip.html 2>/dev/null | \ + sed '/released/!d;s|.*Zip ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b zip/receipt --- a/zip/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/zip/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -11,6 +11,12 @@ WGET_URL="ftp://ftp.info-zip.org/pub/infozip/src/$TARBALL" TAGS="archive compression" +current_version() +{ + wget -O - $WEB_SITE/Zip.html 2>/dev/null | \ + sed '/released/!d;s|.*Zip ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 60202e4e10cc -r 15650f5d595b ziproxy/receipt --- a/ziproxy/receipt Thu Sep 16 16:33:44 2021 +0000 +++ b/ziproxy/receipt Fri Sep 17 10:35:57 2021 +0000 @@ -17,6 +17,12 @@ CONFIG_FILES="/etc/ziproxy" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/released/!d;s|.*proxy ||;s| rel.*||;q' +} + # Rules to configure and make the package. compile_rules() {