wok rev 24491

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 18 22:59:06 2022 +0000 (2022-02-18)
parents 293b75a2e1b2
children 665216a7e2f4
files BootProg/stuff/boot16.asm BootProg/stuff/boot32.asm BootProg/stuff/bootex.asm acme/receipt asciiquarium/receipt boulderdash/receipt catfish/receipt checker_online/receipt chkexploit/receipt chkrootkit/receipt chntpw/receipt clearlooks/receipt cpige/receipt digger/receipt dokuwiki/receipt elementary/receipt emelfm2/receipt evas_generic_loaders/receipt f2fs-tools/receipt fbvnc-auth/receipt fcron/receipt ghostscript/receipt gnome-hearts/receipt goaccess/receipt gpxe/receipt hp15c/receipt imapbackup/receipt javascript-boulderdash/receipt javascript-racer/receipt kilo/receipt kriss_feed/receipt
line diff
     1.1 --- a/BootProg/stuff/boot16.asm	Fri Feb 18 17:48:51 2022 +0100
     1.2 +++ b/BootProg/stuff/boot16.asm	Fri Feb 18 22:59:06 2022 +0000
     1.3 @@ -26,12 +26,6 @@
     1.4  ;; - cpu 8086 is supported                                                  ;;
     1.5  ;;                                                                          ;;
     1.6  ;;                                                                          ;;
     1.7 -;;                             Known Limitations:                           ;;
     1.8 -;;                             ~~~~~~~~~~~~~~~~~~                           ;;
     1.9 -;; - Works only on the 1st MBR partition which must be a DOS partition      ;;
    1.10 -;;   with FAT12 (File System ID: 1) or FAT16 (File System ID: 4, 6)         ;;
    1.11 -;;                                                                          ;;
    1.12 -;;                                                                          ;;
    1.13  ;;                                Known Bugs:                               ;;
    1.14  ;;                                ~~~~~~~~~~~                               ;;
    1.15  ;; - All bugs are fixed as far as I know. The boot sector has been tested   ;;
     2.1 --- a/BootProg/stuff/boot32.asm	Fri Feb 18 17:48:51 2022 +0100
     2.2 +++ b/BootProg/stuff/boot32.asm	Fri Feb 18 22:59:06 2022 +0000
     2.3 @@ -24,12 +24,6 @@
     2.4  ;;   instruction and lets the BIOS continue bootstrap.                      ;;
     2.5  ;;                                                                          ;;
     2.6  ;;                                                                          ;;
     2.7 -;;                             Known Limitations:                           ;;
     2.8 -;;                             ~~~~~~~~~~~~~~~~~~                           ;;
     2.9 -;; - Works only on the 1st MBR partition which must be a DOS partition      ;;
    2.10 -;;   with FAT32 (File System ID: 0Bh,0Ch)                                   ;;
    2.11 -;;                                                                          ;;
    2.12 -;;                                                                          ;;
    2.13  ;;                                Known Bugs:                               ;;
    2.14  ;;                                ~~~~~~~~~~~                               ;;
    2.15  ;; - All bugs are fixed as far as I know. The boot sector has been tested   ;;
    2.16 @@ -81,6 +75,8 @@
    2.17  ;;                                                                          ;;
    2.18  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2.19  
    2.20 +%define bx(label)       bx+label-boot
    2.21 +
    2.22  [BITS 16]
    2.23  
    2.24  ImageLoadSeg            equ     60h     ; <=07Fh because of "push byte ImageLoadSeg" instructions
    2.25 @@ -92,6 +88,8 @@
    2.26  ;; Boot sector starts here ;;
    2.27  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2.28  
    2.29 +boot:
    2.30 +HiLBA                   equ     boot+0
    2.31          jmp     short   start                   ; MS-DOS/Windows checks for this jump
    2.32          nop
    2.33  bsOemName               DB      "BootProg"      ; 0x03
    2.34 @@ -186,15 +184,15 @@
    2.35          push    cs
    2.36          pop     ds
    2.37  
    2.38 -        mov     [bsDriveNumber], dl     ; store BIOS boot drive number
    2.39 +        xor     bx, bx
    2.40 +        mov     [bx(bsDriveNumber)], dx  ; store BIOS boot drive number
    2.41  
    2.42 -        and     byte [bsRootDirectoryClusterNo+3], 0Fh ; mask cluster value
    2.43 -        mov     esi, [bsRootDirectoryClusterNo] ; esi=cluster # of root dir
    2.44 +        and     byte [bx(bsRootDirectoryClusterNo+3)], 0Fh ; mask cluster value
    2.45 +        mov     esi, [bx(bsRootDirectoryClusterNo)] ; esi=cluster # of root dir
    2.46  
    2.47  RootDirReadContinue:
    2.48          push    byte ImageLoadSeg
    2.49          pop     es
    2.50 -        xor     bx, bx
    2.51          push    es
    2.52          call    ReadCluster             ; read one cluster of root dir
    2.53          pop     es
    2.54 @@ -359,28 +357,33 @@
    2.55          div     esi                             ; eax=FAT sector #, edx=entry # in sector
    2.56  
    2.57          imul    si, dx, 4                       ; si=entry # in sector
    2.58 +        mov     word [bx(HiLBA)], bx
    2.59          call    ReadSectorLBAabsolute           ; read 1 FAT32 sector
    2.60  
    2.61          and     byte [es:si+3], 0Fh             ; mask cluster value
    2.62          mov     esi, [es:si]                    ; esi=next cluster #
    2.63  
    2.64          xchg    eax, ebp
    2.65 -        movzx   ecx, byte [bpbSectorsPerCluster]
    2.66 -        mul     ecx
    2.67 +        movzx   ecx, byte [bx(bpbSectorsPerCluster)]
    2.68 +        mul     ecx				; edx:eax=sector number in data area
    2.69          xchg    eax, ebp
    2.70 +        mov     word [bx(HiLBA)], dx
    2.71  
    2.72 -        movzx   eax, byte [bpbNumberOfFATs]
    2.73 -        mul     dword [bsSectorsPerFAT32]
    2.74 +        movzx   eax, byte [bx(bpbNumberOfFATs)]
    2.75 +        mul     dword [bx(bsSectorsPerFAT32)]
    2.76  
    2.77          add     eax, ebp
    2.78 +        adc     word [bx(HiLBA)], dx
    2.79  
    2.80          pop     bp                              ; [bpbBytesPerSector]
    2.81          shr     bp, 4                           ; bp = paragraphs per sector
    2.82  
    2.83  ReadSectorLBAabsolute:
    2.84 -        movzx   edx, word [bpbReservedSectors]
    2.85 +        movzx   edx, word [bx(bpbReservedSectors)]
    2.86          add     eax, edx
    2.87 -        add     eax, [bpbHiddenSectors]
    2.88 +        adc     word [bx(HiLBA)], bx
    2.89 +        add     eax, [bx(bpbHiddenSectors)]
    2.90 +        adc     word [bx(HiLBA)], bx
    2.91  
    2.92  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2.93  ;; Reads a sector using BIOS Int 13h fn 42h ;;
    2.94 @@ -392,11 +395,11 @@
    2.95  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2.96  
    2.97  ReadSectorLBA:
    2.98 -        mov     dl, [bsDriveNumber]     ; restore BIOS boot drive number
    2.99 +        mov     dx, [bx(bsDriveNumber)] ; restore BIOS boot drive number
   2.100          pusha
   2.101  
   2.102          push    bx
   2.103 -        push    bx     ; 32-bit LBA only: up to 2TB disks
   2.104 +        push    word [bx(HiLBA)]        ; 48-bit LBA
   2.105          push    eax
   2.106          push    es
   2.107          push    bx
   2.108 @@ -427,7 +430,8 @@
   2.109  
   2.110          popa
   2.111  
   2.112 -        inc     eax                     ; adjust LBA for next sector
   2.113 +        add     eax, byte 1             ; adjust LBA for next sector
   2.114 +        adc     word [bx(HiLBA)], bx
   2.115  
   2.116          stc
   2.117          loop    ReadSectorNext
     3.1 --- a/BootProg/stuff/bootex.asm	Fri Feb 18 17:48:51 2022 +0100
     3.2 +++ b/BootProg/stuff/bootex.asm	Fri Feb 18 22:59:06 2022 +0000
     3.3 @@ -24,12 +24,6 @@
     3.4  ;;   instruction and lets the BIOS continue bootstrap.                      ;;
     3.5  ;;                                                                          ;;
     3.6  ;;                                                                          ;;
     3.7 -;;                             Known Limitations:                           ;;
     3.8 -;;                             ~~~~~~~~~~~~~~~~~~                           ;;
     3.9 -;; - Works only on the 1st MBR partition which must be a PRI DOS partition  ;;
    3.10 -;;   with exFAT (File System ID: 07h)                                       ;;
    3.11 -;;                                                                          ;;
    3.12 -;;                                                                          ;;
    3.13  ;;                                Known Bugs:                               ;;
    3.14  ;;                                ~~~~~~~~~~~                               ;;
    3.15  ;; - All bugs are fixed as far as I know. The boot sector has been tested   ;;
    3.16 @@ -263,7 +257,6 @@
    3.17  ;; Type detection, .COM or .EXE? ;;
    3.18  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3.19  
    3.20 -        mov     dl, [bx]                ; pass the BIOS boot drive
    3.21          mov     ds, bp                  ; bp=ds=seg the file is loaded to
    3.22  
    3.23          add     bp, [bx+08h]            ; bp = image base
    3.24 @@ -438,6 +431,7 @@
    3.25  
    3.26          cmp     esi, byte -10           ; carry=0 if last cluster, and carry=1 otherwise
    3.27  ReadSectorNext:
    3.28 +        mov     dl, [bx]                ; restore BIOS boot drive number
    3.29          ret
    3.30  
    3.31  ;;;;;;;;;;;;;;;;;;;;;;;;;;
    3.32 @@ -446,7 +440,6 @@
    3.33  
    3.34  Error:
    3.35          pop     si
    3.36 -        mov     dl, [bx]                ; restore BIOS boot drive number
    3.37  
    3.38  PutStr:
    3.39          mov     ah, 0Eh
     4.1 --- a/acme/receipt	Fri Feb 18 17:48:51 2022 +0100
     4.2 +++ b/acme/receipt	Fri Feb 18 22:59:06 2022 +0000
     4.3 @@ -14,6 +14,13 @@
     4.4  DEPENDS=""
     4.5  BUILD_DEPENDS=""
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - https://github.com/jan0sch/acme-crossassembler/tags 2>/dev/null | \
    4.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
     5.1 --- a/asciiquarium/receipt	Fri Feb 18 17:48:51 2022 +0100
     5.2 +++ b/asciiquarium/receipt	Fri Feb 18 22:59:06 2022 +0000
     5.3 @@ -15,6 +15,13 @@
     5.4  
     5.5  DEPENDS="perl-animation perl-curses"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    5.11 +	sed '/Asciiquarium v/!d;s|.*sciiquarium v||;q'
    5.12 +}
    5.13 +
    5.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.15  genpkg_rules()
    5.16  {
     6.1 --- a/boulderdash/receipt	Fri Feb 18 17:48:51 2022 +0100
     6.2 +++ b/boulderdash/receipt	Fri Feb 18 22:59:06 2022 +0000
     6.3 @@ -10,6 +10,13 @@
     6.4  WEB_SITE="https://codeincomplete.com/posts/2011/10/25/javascript_boulderdash/"
     6.5  WGET_URL="https://codeload.github.com/jakesgordon/javascript-boulderdash/zip/master"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - https://github.com/jakesgordon/javascript-boulderdash/commits/master 2>/dev/null | \
    6.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
    6.12 +}
    6.13 +
    6.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.15  genpkg_rules()
    6.16  {
     7.1 --- a/catfish/receipt	Fri Feb 18 17:48:51 2022 +0100
     7.2 +++ b/catfish/receipt	Fri Feb 18 22:59:06 2022 +0000
     7.3 @@ -13,6 +13,13 @@
     7.4  DEPENDS="pygtk python-xdg findutils"
     7.5  BUILD_DEPENDS="pygtk-dev libglade-dev python-xdg"
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    7.11 +	sed '/catfish-[0-9]/!d;s|.*catfish-||;s|.tar.*||;q'
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/checker_online/receipt	Fri Feb 18 17:48:51 2022 +0100
     8.2 +++ b/checker_online/receipt	Fri Feb 18 22:59:06 2022 +0000
     8.3 @@ -11,6 +11,13 @@
     8.4  WEB_SITE="https://github.com/HsuBokai/checker_online"
     8.5  WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    8.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
    8.12 +}
    8.13 +
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16  {
     9.1 --- a/chkexploit/receipt	Fri Feb 18 17:48:51 2022 +0100
     9.2 +++ b/chkexploit/receipt	Fri Feb 18 22:59:06 2022 +0000
     9.3 @@ -10,6 +10,13 @@
     9.4  WEB_SITE="http://www.chkrootkit.org/"
     9.5  WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    9.11 +	sed '/chkexploit-/!d;/tar/!d;s|.*chkexploit-||;s|.tar.*||' | sort -Vr | sed q
    9.12 +}
    9.13 +
    9.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    9.15  genpkg_rules()
    9.16  {
    10.1 --- a/chkrootkit/receipt	Fri Feb 18 17:48:51 2022 +0100
    10.2 +++ b/chkrootkit/receipt	Fri Feb 18 22:59:06 2022 +0000
    10.3 @@ -10,6 +10,13 @@
    10.4  WEB_SITE="http://www.chkrootkit.org/"
    10.5  WGET_URL="ftp://ftp.pangeia.com.br/pub/seg/pac/$TARBALL"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   10.11 +	sed '/chkrootkit-/!d;/tar/!d;s|.*chkrootkit-||;s|.tar.*||' | sort -Vr | sed q
   10.12 +}
   10.13 +
   10.14  # Rules to configure and make the package.
   10.15  compile_rules()
   10.16  {
    11.1 --- a/chntpw/receipt	Fri Feb 18 17:48:51 2022 +0100
    11.2 +++ b/chntpw/receipt	Fri Feb 18 22:59:06 2022 +0000
    11.3 @@ -13,6 +13,13 @@
    11.4  DEPENDS="openssl"
    11.5  BUILD_DEPENDS="openssl-dev"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - $WEB_SITE/main.html 2>/dev/null | \
   11.11 +	sed '/Latest release/!d;s|.* is ||;s| (.*||;q'
   11.12 +}
   11.13 +
   11.14  # Rules to configure and make the package.
   11.15  compile_rules()
   11.16  {
    12.1 --- a/clearlooks/receipt	Fri Feb 18 17:48:51 2022 +0100
    12.2 +++ b/clearlooks/receipt	Fri Feb 18 22:59:06 2022 +0000
    12.3 @@ -14,6 +14,14 @@
    12.4  DEPENDS="gtk+ xorg-libXdamage"
    12.5  BUILD_DEPENDS="pkg-config file gtk+-dev"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - https://sourceforge.net/projects/clearlooks/files/clearlooks/ 2>/dev/null | \
   12.11 +	sed '/scope="row/!d;/clearlooks%/!d;s|.*href="|https://sourceforge.net|;s|/".*||' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
   12.12 +	sed '/scope="row/!d;s|.*/clearlooks-||;s|.tar.*||' | sort -Vr | sed q
   12.13 +}
   12.14 +
   12.15  # Rules to configure and make the package.
   12.16  compile_rules()
   12.17  {
    13.1 --- a/cpige/receipt	Fri Feb 18 17:48:51 2022 +0100
    13.2 +++ b/cpige/receipt	Fri Feb 18 22:59:06 2022 +0000
    13.3 @@ -15,6 +15,13 @@
    13.4  DEPENDS="gtk+"
    13.5  BUILD_DEPENDS="gdk-pixbuf-dev gettext-tools gtk+-dev"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - "$WEB_SITE" 2>/dev/null | \
   13.11 +	sed '/Version /!d;s|.*sion ||;s|<.*||;q'
   13.12 +}
   13.13 +
   13.14  # Rules to configure and make the package.
   13.15  compile_rules()
   13.16  {
    14.1 --- a/digger/receipt	Fri Feb 18 17:48:51 2022 +0100
    14.2 +++ b/digger/receipt	Fri Feb 18 22:59:06 2022 +0000
    14.3 @@ -10,6 +10,13 @@
    14.4  WEB_SITE="https://www.lutzroeder.com/web/"
    14.5  WGET_URL="https://codeload.github.com/lutzroeder/digger/zip/master"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - https://github.com/lutzroeder/digger/commits/main 2>/dev/null | \
   14.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   14.12 +}
   14.13 +
   14.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   14.15  genpkg_rules()
   14.16  {
    15.1 --- a/dokuwiki/receipt	Fri Feb 18 17:48:51 2022 +0100
    15.2 +++ b/dokuwiki/receipt	Fri Feb 18 22:59:06 2022 +0000
    15.3 @@ -11,6 +11,13 @@
    15.4  TARBALL="$PACKAGE-$VERSION.tgz"
    15.5  WGET_URL="http://download.dokuwiki.org/src/$PACKAGE/$PACKAGE-2018-04-22b.tgz"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - https://github.com/splitbrain/dokuwiki/tags 2>/dev/null | \
   15.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;s|-||g;q'
   15.12 +}
   15.13 +
   15.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   15.15  genpkg_rules()
   15.16  {
    16.1 --- a/elementary/receipt	Fri Feb 18 17:48:51 2022 +0100
    16.2 +++ b/elementary/receipt	Fri Feb 18 22:59:06 2022 +0000
    16.3 @@ -17,6 +17,13 @@
    16.4  DEPENDS="efreet emotion ethumb libelementary"
    16.5  BUILD_DEPENDS="efreet-dev emotion-dev ethumb-dev"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - https://download.enlightenment.org/rel/libs/elementary/ 2>/dev/null | \
   16.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/[0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/emelfm2/receipt	Fri Feb 18 17:48:51 2022 +0100
    17.2 +++ b/emelfm2/receipt	Fri Feb 18 22:59:06 2022 +0000
    17.3 @@ -15,6 +15,13 @@
    17.4  BUILD_DEPENDS="pkg-config gtk+ gtk+-dev xorg-xproto libmagic-dev \
    17.5  coreutils-operations"
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   17.11 +	sed '/emelfm2-/!d;s|.*>emelfm2-||;s|.tar.*||;q'
   17.12 +}
   17.13 +
   17.14  # Rules to configure and make the package.
   17.15  compile_rules()
   17.16  {
    18.1 --- a/evas_generic_loaders/receipt	Fri Feb 18 17:48:51 2022 +0100
    18.2 +++ b/evas_generic_loaders/receipt	Fri Feb 18 22:59:06 2022 +0000
    18.3 @@ -16,6 +16,13 @@
    18.4  librsvg-dev libraw-dev
    18.5  autoconf automake git subversion libtool"
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - https://download.enlightenment.org/rel/libs/evas_generic_loaders/ 2>/dev/null | \
   18.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/[^a-z][0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   18.12 +}
   18.13 +
   18.14  # Rules to configure and make the package.
   18.15  compile_rules()
   18.16  {
    19.1 --- a/f2fs-tools/receipt	Fri Feb 18 17:48:51 2022 +0100
    19.2 +++ b/f2fs-tools/receipt	Fri Feb 18 22:59:06 2022 +0000
    19.3 @@ -13,6 +13,13 @@
    19.4  DEPENDS="util-linux-uuid"
    19.5  BUILD_DEPENDS="git autoconf automake libtool util-linux-uuid-dev"
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   19.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/[^a-z][0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   19.12 +}
   19.13 +
   19.14  # Rules to configure and make the package.
   19.15  compile_rules()
   19.16  {
    20.1 --- a/fbvnc-auth/receipt	Fri Feb 18 17:48:51 2022 +0100
    20.2 +++ b/fbvnc-auth/receipt	Fri Feb 18 22:59:06 2022 +0000
    20.3 @@ -18,6 +18,13 @@
    20.4  	i?86) BUILD_DEPENDS="git" ;;
    20.5  esac
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - https://github.com/zohead/fbvnc/commits/master 2>/dev/null | \
   20.11 +	sed '/[0-9] version/!d;s|.*">||;s| .*||;q'
   20.12 +}
   20.13 +
   20.14  # Rules to configure and make the package.
   20.15  compile_rules()
   20.16  {
    21.1 --- a/fcron/receipt	Fri Feb 18 17:48:51 2022 +0100
    21.2 +++ b/fcron/receipt	Fri Feb 18 22:59:06 2022 +0000
    21.3 @@ -15,6 +15,13 @@
    21.4  DEPENDS=""
    21.5  BUILD_DEPENDS="perl readline-dev"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - https://github.com/yo8192/fcron/tags 2>/dev/null | \
   21.11 +	sed '/archive.*tar/!d;s|.*/[a-z]*\(.*\).tar.*|\1|;s|_|.|g;q'
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/ghostscript/receipt	Fri Feb 18 17:48:51 2022 +0100
    22.2 +++ b/ghostscript/receipt	Fri Feb 18 22:59:06 2022 +0000
    22.3 @@ -20,6 +20,13 @@
    22.4  	gnutls-dev jpeg-dev libgcrypt-dev libgpg-error-dev libpng-dev tiff-dev \
    22.5  	zlib-dev cups-dev jbig2dec jasper-dev"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - https://www.ghostscript.com/releases/index.html 2>/dev/null | \
   22.11 +	sed '/latest release/!d;s|.*script ||;s| .*||;q'
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/gnome-hearts/receipt	Fri Feb 18 17:48:51 2022 +0100
    23.2 +++ b/gnome-hearts/receipt	Fri Feb 18 22:59:06 2022 +0000
    23.3 @@ -14,6 +14,13 @@
    23.4  BUILD_DEPENDS="gtk+-dev libglade-dev python-dev libgnome-dev \
    23.5  libgnomeui-dev glib-dev itstool rarian-dev"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - https://www.jejik.com/gnome-hearts/download/ 2>/dev/null | \
   23.11 +	sed '/gnome-hearts-[0-9]/!d;s|.*hearts-||;s|.tar.*||;q'
   23.12 +}
   23.13 +
   23.14  # Rules to configure and make the package.
   23.15  compile_rules()
   23.16  {
    24.1 --- a/goaccess/receipt	Fri Feb 18 17:48:51 2022 +0100
    24.2 +++ b/goaccess/receipt	Fri Feb 18 22:59:06 2022 +0000
    24.3 @@ -14,6 +14,13 @@
    24.4  DEPENDS="ncurses geoip"
    24.5  BUILD_DEPENDS="ncurses-dev geoip-dev glib-dev pkg-config"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - https://goaccess.io/download 2>/dev/null | \
   24.11 +	sed '/goaccess-[0-9]/!d;s|.*goaccess-||;s|.tar.*||;q'
   24.12 +}
   24.13 +
   24.14  # Rules to configure and make the package.
   24.15  compile_rules()
   24.16  {
    25.1 --- a/gpxe/receipt	Fri Feb 18 17:48:51 2022 +0100
    25.2 +++ b/gpxe/receipt	Fri Feb 18 22:59:06 2022 +0000
    25.3 @@ -12,6 +12,13 @@
    25.4  
    25.5  BUILD_DEPENDS="perl"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - http://etherboot.org/wiki/ 2>/dev/null | \
   25.11 +	sed '/released/!d;s|.*gPXE-||;s| rel.*||;q'
   25.12 +}
   25.13 +
   25.14  # Rules to configure and make the package.
   25.15  compile_rules()
   25.16  {
    26.1 --- a/hp15c/receipt	Fri Feb 18 17:48:51 2022 +0100
    26.2 +++ b/hp15c/receipt	Fri Feb 18 22:59:06 2022 +0000
    26.3 @@ -14,6 +14,13 @@
    26.4  DEPENDS="tk tcl"
    26.5  BUILD_DEPENDS="wget"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - http://hp-15c.homepage.t-online.de/download.htm 2>/dev/null | \
   26.11 +	sed '/version is/!d;s|.*<strong>||;s|,.*||;q'
   26.12 +}
   26.13 +
   26.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   26.15  genpkg_rules()
   26.16  {
    27.1 --- a/imapbackup/receipt	Fri Feb 18 17:48:51 2022 +0100
    27.2 +++ b/imapbackup/receipt	Fri Feb 18 22:59:06 2022 +0000
    27.3 @@ -14,6 +14,13 @@
    27.4  
    27.5  DEPENDS="python"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - https://taoofmac.com/space/projects/imapbackup 2>/dev/null | \
   27.11 +	sed '/imapbackup-/!d;s|.*imapbackup-||;s|.py.*||;q'
   27.12 +}
   27.13 +
   27.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   27.15  genpkg_rules()
   27.16  {
    28.1 --- a/javascript-boulderdash/receipt	Fri Feb 18 17:48:51 2022 +0100
    28.2 +++ b/javascript-boulderdash/receipt	Fri Feb 18 22:59:06 2022 +0000
    28.3 @@ -11,6 +11,13 @@
    28.4  WEB_SITE="https://github.com/jakesgordon/javascript-boulderdash"
    28.5  WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - https://github.com/jakesgordon/javascript-boulderdash/commits/master 2>/dev/null | \
   28.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   28.12 +}
   28.13 +
   28.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   28.15  genpkg_rules()
   28.16  {
    29.1 --- a/javascript-racer/receipt	Fri Feb 18 17:48:51 2022 +0100
    29.2 +++ b/javascript-racer/receipt	Fri Feb 18 22:59:06 2022 +0000
    29.3 @@ -12,6 +12,13 @@
    29.4  WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
    29.5  HOST_ARCH="any"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - https://github.com/jakesgordon/javascript-racer/commits/master 2>/dev/null | \
   29.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   29.12 +}
   29.13 +
   29.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   29.15  genpkg_rules()
   29.16  {
    30.1 --- a/kilo/receipt	Fri Feb 18 17:48:51 2022 +0100
    30.2 +++ b/kilo/receipt	Fri Feb 18 22:59:06 2022 +0000
    30.3 @@ -13,6 +13,13 @@
    30.4  #DEPENDS=""
    30.5  BUILD_DEPENDS="git bzip2"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - https://github.com/antirez/kilo/commits/master 2>/dev/null | \
   30.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   30.12 +}
   30.13 +
   30.14  # Rules to configure and make the package.
   30.15  compile_rules()
   30.16  {
    31.1 --- a/kriss_feed/receipt	Fri Feb 18 17:48:51 2022 +0100
    31.2 +++ b/kriss_feed/receipt	Fri Feb 18 22:59:06 2022 +0000
    31.3 @@ -14,6 +14,13 @@
    31.4  DEPENDS="php"
    31.5  BUILD_DEPENDS="wget"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - https://github.com/tontof/kriss_feed/commits/master 2>/dev/null | \
   31.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   31.12 +}
   31.13 +
   31.14  # Rules to gen a SliTaz package suitable for Tazpkg.   
   31.15  genpkg_rules()                                      
   31.16  {