# HG changeset patch # User Pascal Bellard # Date 1640864485 0 # Node ID 0b7b8e4145455259c6a9eb8d499fcc7c762b95a1 # Parent 16aa2ac699ef88e0093232adfecc9de8c941a8c8 Up usbids (20211224) diff -r 16aa2ac699ef -r 0b7b8e414545 os-prober/receipt --- a/os-prober/receipt Thu Dec 30 06:42:15 2021 +0100 +++ b/os-prober/receipt Thu Dec 30 11:41:25 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="coreutils" +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$PACKAGE/!d;s|.*${PACKAGE}_||;s|_.*||" | tail -n 1 +} + # Rules to configure and make the package. compile_rules() { diff -r 16aa2ac699ef -r 0b7b8e414545 outguess/receipt --- a/outguess/receipt Thu Dec 30 06:42:15 2021 +0100 +++ b/outguess/receipt Thu Dec 30 11:41:25 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="automake jpeg-dev" +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 16aa2ac699ef -r 0b7b8e414545 pciids/receipt --- a/pciids/receipt Thu Dec 30 06:42:15 2021 +0100 +++ b/pciids/receipt Thu Dec 30 11:41:25 2021 +0000 @@ -15,6 +15,13 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - https://github.com/pciutils/pciids/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.* on |"|;s|<.*|"|;q' | \ + LOCALE=C xargs busybox date +%Y%m%d -D "%b %d, %Y" -d +} + # Rules to configure and make the package. compile_rules() { diff -r 16aa2ac699ef -r 0b7b8e414545 usbids/receipt --- a/usbids/receipt Thu Dec 30 06:42:15 2021 +0100 +++ b/usbids/receipt Thu Dec 30 11:41:25 2021 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="usbids" -VERSION="20191031" +VERSION="20211224" CATEGORY="misc" SHORT_DESC="List of USB ID's." MAINTAINER="slaxemulator@gmail.com" @@ -15,6 +15,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - http://www.linux-usb.org/usb.ids 2>/dev/null | \ + sed '/^# Version/!d;s|.*: ||;s|\.||g;q' +} + # Rules to configure and make the package. compile_rules() {