# HG changeset patch # User Pascal Bellard # Date 1645225146 0 # Node ID d8c511e24c2049714c16d3b541b900b6a326fcc3 # Parent 293b75a2e1b220c7a0863c478b20cc4eeda94d11 Add some current_version diff -r 293b75a2e1b2 -r d8c511e24c20 BootProg/stuff/boot16.asm --- a/BootProg/stuff/boot16.asm Fri Feb 18 17:48:51 2022 +0100 +++ b/BootProg/stuff/boot16.asm Fri Feb 18 22:59:06 2022 +0000 @@ -26,12 +26,6 @@ ;; - cpu 8086 is supported ;; ;; ;; ;; ;; -;; Known Limitations: ;; -;; ~~~~~~~~~~~~~~~~~~ ;; -;; - Works only on the 1st MBR partition which must be a DOS partition ;; -;; with FAT12 (File System ID: 1) or FAT16 (File System ID: 4, 6) ;; -;; ;; -;; ;; ;; Known Bugs: ;; ;; ~~~~~~~~~~~ ;; ;; - All bugs are fixed as far as I know. The boot sector has been tested ;; diff -r 293b75a2e1b2 -r d8c511e24c20 BootProg/stuff/boot32.asm --- a/BootProg/stuff/boot32.asm Fri Feb 18 17:48:51 2022 +0100 +++ b/BootProg/stuff/boot32.asm Fri Feb 18 22:59:06 2022 +0000 @@ -24,12 +24,6 @@ ;; instruction and lets the BIOS continue bootstrap. ;; ;; ;; ;; ;; -;; Known Limitations: ;; -;; ~~~~~~~~~~~~~~~~~~ ;; -;; - Works only on the 1st MBR partition which must be a DOS partition ;; -;; with FAT32 (File System ID: 0Bh,0Ch) ;; -;; ;; -;; ;; ;; Known Bugs: ;; ;; ~~~~~~~~~~~ ;; ;; - All bugs are fixed as far as I know. The boot sector has been tested ;; @@ -81,6 +75,8 @@ ;; ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +%define bx(label) bx+label-boot + [BITS 16] ImageLoadSeg equ 60h ; <=07Fh because of "push byte ImageLoadSeg" instructions @@ -92,6 +88,8 @@ ;; Boot sector starts here ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +boot: +HiLBA equ boot+0 jmp short start ; MS-DOS/Windows checks for this jump nop bsOemName DB "BootProg" ; 0x03 @@ -186,15 +184,15 @@ push cs pop ds - mov [bsDriveNumber], dl ; store BIOS boot drive number + xor bx, bx + mov [bx(bsDriveNumber)], dx ; store BIOS boot drive number - and byte [bsRootDirectoryClusterNo+3], 0Fh ; mask cluster value - mov esi, [bsRootDirectoryClusterNo] ; esi=cluster # of root dir + and byte [bx(bsRootDirectoryClusterNo+3)], 0Fh ; mask cluster value + mov esi, [bx(bsRootDirectoryClusterNo)] ; esi=cluster # of root dir RootDirReadContinue: push byte ImageLoadSeg pop es - xor bx, bx push es call ReadCluster ; read one cluster of root dir pop es @@ -359,28 +357,33 @@ div esi ; eax=FAT sector #, edx=entry # in sector imul si, dx, 4 ; si=entry # in sector + mov word [bx(HiLBA)], bx call ReadSectorLBAabsolute ; read 1 FAT32 sector and byte [es:si+3], 0Fh ; mask cluster value mov esi, [es:si] ; esi=next cluster # xchg eax, ebp - movzx ecx, byte [bpbSectorsPerCluster] - mul ecx + movzx ecx, byte [bx(bpbSectorsPerCluster)] + mul ecx ; edx:eax=sector number in data area xchg eax, ebp + mov word [bx(HiLBA)], dx - movzx eax, byte [bpbNumberOfFATs] - mul dword [bsSectorsPerFAT32] + movzx eax, byte [bx(bpbNumberOfFATs)] + mul dword [bx(bsSectorsPerFAT32)] add eax, ebp + adc word [bx(HiLBA)], dx pop bp ; [bpbBytesPerSector] shr bp, 4 ; bp = paragraphs per sector ReadSectorLBAabsolute: - movzx edx, word [bpbReservedSectors] + movzx edx, word [bx(bpbReservedSectors)] add eax, edx - add eax, [bpbHiddenSectors] + adc word [bx(HiLBA)], bx + add eax, [bx(bpbHiddenSectors)] + adc word [bx(HiLBA)], bx ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Reads a sector using BIOS Int 13h fn 42h ;; @@ -392,11 +395,11 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ReadSectorLBA: - mov dl, [bsDriveNumber] ; restore BIOS boot drive number + mov dx, [bx(bsDriveNumber)] ; restore BIOS boot drive number pusha push bx - push bx ; 32-bit LBA only: up to 2TB disks + push word [bx(HiLBA)] ; 48-bit LBA push eax push es push bx @@ -427,7 +430,8 @@ popa - inc eax ; adjust LBA for next sector + add eax, byte 1 ; adjust LBA for next sector + adc word [bx(HiLBA)], bx stc loop ReadSectorNext diff -r 293b75a2e1b2 -r d8c511e24c20 BootProg/stuff/bootex.asm --- a/BootProg/stuff/bootex.asm Fri Feb 18 17:48:51 2022 +0100 +++ b/BootProg/stuff/bootex.asm Fri Feb 18 22:59:06 2022 +0000 @@ -24,12 +24,6 @@ ;; instruction and lets the BIOS continue bootstrap. ;; ;; ;; ;; ;; -;; Known Limitations: ;; -;; ~~~~~~~~~~~~~~~~~~ ;; -;; - Works only on the 1st MBR partition which must be a PRI DOS partition ;; -;; with exFAT (File System ID: 07h) ;; -;; ;; -;; ;; ;; Known Bugs: ;; ;; ~~~~~~~~~~~ ;; ;; - All bugs are fixed as far as I know. The boot sector has been tested ;; @@ -263,7 +257,6 @@ ;; Type detection, .COM or .EXE? ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - mov dl, [bx] ; pass the BIOS boot drive mov ds, bp ; bp=ds=seg the file is loaded to add bp, [bx+08h] ; bp = image base @@ -438,6 +431,7 @@ cmp esi, byte -10 ; carry=0 if last cluster, and carry=1 otherwise ReadSectorNext: + mov dl, [bx] ; restore BIOS boot drive number ret ;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -446,7 +440,6 @@ Error: pop si - mov dl, [bx] ; restore BIOS boot drive number PutStr: mov ah, 0Eh diff -r 293b75a2e1b2 -r d8c511e24c20 acme/receipt --- a/acme/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/acme/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/jan0sch/acme-crossassembler/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 asciiquarium/receipt --- a/asciiquarium/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/asciiquarium/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="perl-animation perl-curses" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Asciiquarium v/!d;s|.*sciiquarium v||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 boulderdash/receipt --- a/boulderdash/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/boulderdash/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://codeincomplete.com/posts/2011/10/25/javascript_boulderdash/" WGET_URL="https://codeload.github.com/jakesgordon/javascript-boulderdash/zip/master" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/jakesgordon/javascript-boulderdash/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 catfish/receipt --- a/catfish/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/catfish/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="pygtk python-xdg findutils" BUILD_DEPENDS="pygtk-dev libglade-dev python-xdg" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/catfish-[0-9]/!d;s|.*catfish-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 checker_online/receipt --- a/checker_online/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/checker_online/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -11,6 +11,13 @@ WEB_SITE="https://github.com/HsuBokai/checker_online" WGET_URL="$WEB_SITE/archive/$GITHASH.zip" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 chkexploit/receipt --- a/chkexploit/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/chkexploit/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="http://www.chkrootkit.org/" WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/chkexploit-/!d;/tar/!d;s|.*chkexploit-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 chkrootkit/receipt --- a/chkrootkit/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/chkrootkit/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="http://www.chkrootkit.org/" WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ + sed '/chkrootkit-/!d;/tar/!d;s|.*chkrootkit-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 chntpw/receipt --- a/chntpw/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/chntpw/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="openssl" BUILD_DEPENDS="openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/main.html 2>/dev/null | \ + sed '/Latest release/!d;s|.* is ||;s| (.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 clearlooks/receipt --- a/clearlooks/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/clearlooks/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="pkg-config file gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/clearlooks/files/clearlooks/ 2>/dev/null | \ + sed '/scope="row/!d;/clearlooks%/!d;s|.*href="|https://sourceforge.net|;s|/".*||' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/clearlooks-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 cpige/receipt --- a/cpige/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/cpige/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gtk+" BUILD_DEPENDS="gdk-pixbuf-dev gettext-tools gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - "$WEB_SITE" 2>/dev/null | \ + sed '/Version /!d;s|.*sion ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 digger/receipt --- a/digger/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/digger/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://www.lutzroeder.com/web/" WGET_URL="https://codeload.github.com/lutzroeder/digger/zip/master" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/lutzroeder/digger/commits/main 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 dokuwiki/receipt --- a/dokuwiki/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/dokuwiki/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tgz" WGET_URL="http://download.dokuwiki.org/src/$PACKAGE/$PACKAGE-2018-04-22b.tgz" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/splitbrain/dokuwiki/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;s|-||g;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 elementary/receipt --- a/elementary/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/elementary/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="efreet emotion ethumb libelementary" BUILD_DEPENDS="efreet-dev emotion-dev ethumb-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://download.enlightenment.org/rel/libs/elementary/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/[0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 emelfm2/receipt --- a/emelfm2/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/emelfm2/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev \ coreutils-operations" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/emelfm2-/!d;s|.*>emelfm2-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 evas_generic_loaders/receipt --- a/evas_generic_loaders/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/evas_generic_loaders/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -16,6 +16,13 @@ librsvg-dev libraw-dev autoconf automake git subversion libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://download.enlightenment.org/rel/libs/evas_generic_loaders/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/[^a-z][0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 f2fs-tools/receipt --- a/f2fs-tools/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/f2fs-tools/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="util-linux-uuid" BUILD_DEPENDS="git autoconf automake libtool util-linux-uuid-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/[^a-z][0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 fbvnc-auth/receipt --- a/fbvnc-auth/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/fbvnc-auth/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -18,6 +18,13 @@ i?86) BUILD_DEPENDS="git" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/zohead/fbvnc/commits/master 2>/dev/null | \ + sed '/[0-9] version/!d;s|.*">||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 fcron/receipt --- a/fcron/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/fcron/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="" BUILD_DEPENDS="perl readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/yo8192/fcron/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z]*\(.*\).tar.*|\1|;s|_|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 ghostscript/receipt --- a/ghostscript/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/ghostscript/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -20,6 +20,13 @@ gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev \ zlib-dev cups-dev jbig2dec jasper-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.ghostscript.com/releases/index.html 2>/dev/null | \ + sed '/latest release/!d;s|.*script ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 gnome-hearts/receipt --- a/gnome-hearts/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/gnome-hearts/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="gtk+-dev libglade-dev python-dev libgnome-dev \ libgnomeui-dev glib-dev itstool rarian-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.jejik.com/gnome-hearts/download/ 2>/dev/null | \ + sed '/gnome-hearts-[0-9]/!d;s|.*hearts-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 goaccess/receipt --- a/goaccess/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/goaccess/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncurses geoip" BUILD_DEPENDS="ncurses-dev geoip-dev glib-dev pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - https://goaccess.io/download 2>/dev/null | \ + sed '/goaccess-[0-9]/!d;s|.*goaccess-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 gpxe/receipt --- a/gpxe/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/gpxe/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -12,6 +12,13 @@ BUILD_DEPENDS="perl" +# What is the latest version available today? +current_version() +{ + wget -O - http://etherboot.org/wiki/ 2>/dev/null | \ + sed '/released/!d;s|.*gPXE-||;s| rel.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 hp15c/receipt --- a/hp15c/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/hp15c/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="tk tcl" BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - http://hp-15c.homepage.t-online.de/download.htm 2>/dev/null | \ + sed '/version is/!d;s|.*||;s|,.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 imapbackup/receipt --- a/imapbackup/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/imapbackup/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" +# What is the latest version available today? +current_version() +{ + wget -O - https://taoofmac.com/space/projects/imapbackup 2>/dev/null | \ + sed '/imapbackup-/!d;s|.*imapbackup-||;s|.py.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 javascript-boulderdash/receipt --- a/javascript-boulderdash/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/javascript-boulderdash/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -11,6 +11,13 @@ WEB_SITE="https://github.com/jakesgordon/javascript-boulderdash" WGET_URL="$WEB_SITE/archive/$GITHASH.zip" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/jakesgordon/javascript-boulderdash/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 javascript-racer/receipt --- a/javascript-racer/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/javascript-racer/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/jakesgordon/javascript-racer/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 kilo/receipt --- a/kilo/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/kilo/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -13,6 +13,13 @@ #DEPENDS="" BUILD_DEPENDS="git bzip2" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/antirez/kilo/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 293b75a2e1b2 -r d8c511e24c20 kriss_feed/receipt --- a/kriss_feed/receipt Fri Feb 18 17:48:51 2022 +0100 +++ b/kriss_feed/receipt Fri Feb 18 22:59:06 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="php" BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/tontof/kriss_feed/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() {