# HG changeset patch # User Pascal Bellard # Date 1645616992 0 # Node ID 7c0170dd3ecca9cd479ed6cf1200652e86199a10 # Parent 6a78d7832b6f49ad0cb717d09701003594f6dbcb Add some current_version diff -r 6a78d7832b6f -r 7c0170dd3ecc BootProg/stuff/boot32.asm --- a/BootProg/stuff/boot32.asm Wed Feb 23 11:28:45 2022 +0100 +++ b/BootProg/stuff/boot32.asm Wed Feb 23 11:49:52 2022 +0000 @@ -11,7 +11,8 @@ ;; ;; ;; Features: ;; ;; ~~~~~~~~~ ;; -;; - FAT32 supported using BIOS int 13h function 42h or 02h. ;; +;; - FAT32 supported using BIOS int 13h function 42h (IOW, it will only ;; +;; work with modern BIOSes supporting HDDs bigger than 8 GB) ;; ;; ;; ;; - Loads a 16-bit executable file in the MS-DOS .COM or .EXE format ;; ;; from the root directory of a disk and transfers control to it ;; @@ -262,30 +263,33 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; mov ds, bp ; bp=ds=seg the file is loaded to + add bp, [bx+08h] ; bp = image base mov ax, [bx+06h] ; ax = reloc items mov di, [bx+18h] ; di = reloc table pointer cmp word [bx], 5A4Dh ; "MZ" signature? - je RelocateEXE ; yes, it's an EXE program ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Setup and run a .COM program ;; -;; Set CS=DS=ES=SP SP=0 IP=100h ;; +;; Set CS=DS=ES=SS SP=0 IP=100h ;; +;; AX=0ffffh BX=0 CX=0 DX=drive ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + mov ax, 0ffffh ; both FCB in the PSP don't have a valid drive identifier + mov di, 100h ; ip mov bp, ImageLoadSeg-10h ; "org 100h" stuff :) mov ss, bp xor sp, sp push bp ; cs, ds and es - mov bh, 1 ; ip jmp short Run ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Relocate, setup and run a .EXE program ;; ;; Set CS:IP, SS:SP, DS, ES and AX according ;; ;; to wiki.osdev.org/MZ#Initial_Program_State ;; +;; AX=0ffffh BX=0 CX=0 DX=drive ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ReloCycle: @@ -308,11 +312,11 @@ push si ; containing the PSP structure add bp, [bx+16h] ; cs for EXE - mov bx, [bx+14h] ; ip for EXE + mov di, [bx+14h] ; ip for EXE Run: pop ds push bp - push bx + push di push ds pop es @@ -332,6 +336,7 @@ ReadCluster: mov bp, [bx(bpbBytesPerSector)] shr bp, 4 ; bp = paragraphs per sector + add eax, byte 1 ; adjust LBA for next sector inc cx loop ReadSectorLBA @@ -374,7 +379,6 @@ add eax, edx adc word [bx(HiLBA)], bx add eax, [bx(bpbHiddenSectors)] - adc word [bx(HiLBA)], bx ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Reads a sector using BIOS Int 13h fn 42h ;; @@ -386,6 +390,8 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ReadSectorLBA: + adc word [bx(HiLBA)], bx + mov dx, [bx(bsDriveNumber)] ; restore BIOS boot drive number pusha push bx @@ -395,43 +401,13 @@ push bx push byte 1 ; sector count word = 1 push byte 16 ; packet size byte = 16, reserved byte = 0 - push eax - pop cx ; low LBA - pop ax ; high LBA - cwd ; clear dx (CHS disk <2TB) - div word [bx(bpbSectorsPerTrack)] ; up to 8GB CHS disks - - xchg ax, cx ; restore low LBA, save high LBA / SPT - div word [bx(bpbSectorsPerTrack)] - ; ax = LBA / SPT - ; dx = LBA % SPT = sector - 1 - inc dx - - xchg cx, dx ; restore high LBA / SPT, save sector no. - div word [bx(bpbHeadsPerCylinder)] - ; ax = (LBA / SPT) / HPC = cylinder - ; dx = (LBA / SPT) % HPC = head - shl ah, 6 - mov ch, al - ; ch = LSB 0...7 of cylinder no. - or cl, ah - ; cl = MSB 8...9 of cylinder no. + sector no. - mov dh, dl - ; dh = head no. ReadSectorLBARetry: - mov dl, [bx(bsDriveNumber)] ; restore BIOS boot drive number mov si, sp mov ah, 42h ; ah = 42h = extended read function no. int 13h ; extended read sectors (DL, DS:SI) jnc ReadSuccess ; CF = 0 if no error -ReadSectorCHSRetry: - mov ax, 201h ; al = sector count = 1 - ; ah = 2 = read function no. - int 13h ; read sectors (AL, CX, DX, ES:BX) - jnc ReadSuccess ; CF = 0 if no error - cbw ; ah = 0 = reset function int 13h ; reset drive (DL) @@ -447,16 +423,12 @@ popa - add eax, byte 1 ; adjust LBA for next sector - adc word [bx(HiLBA)], bx - stc loop ReadSectorNext cmp esi, 0FFFFFF8h ; carry=0 if last cluster, and carry=1 otherwise ReadSectorNext: - mov dx, [bx(bsDriveNumber)] ; restore BIOS boot drive number ret ;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -473,8 +445,8 @@ cmp al, '.' jne puts cbw -; int 16h ; wait for a key... -; int 19h ; bootstrap + int 16h ; wait for a key... + int 19h ; bootstrap Stop: hlt diff -r 6a78d7832b6f -r 7c0170dd3ecc alsaequal/receipt --- a/alsaequal/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/alsaequal/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="alsa-utils caps" BUILD_DEPENDS="caps alsa-lib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/bassdr/alsaequal/releases 2> /dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc attica/receipt --- a/attica/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/attica/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libQtCore libQtNetwork" BUILD_DEPENDS="cmake qmake Qt4-dev" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://invent.kde.org/frameworks/attica/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*>v||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc exempi/receipt --- a/exempi/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/exempi/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="expat gcc83-lib-base" BUILD_DEPENDS="expat-dev gcc83 libboost-dev libboost-test-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://libopenraw.freedesktop.org/exempi/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc newsbeuter/receipt --- a/newsbeuter/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/newsbeuter/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="pkg-config gettext libxml2-dev libjson-c-dev curl-dev \ sqlite-dev stfl-dev ncursesw-dev gcc83 gcc83-lib-base" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/newsboat/newsboat/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/r*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc nss_ldap/receipt --- a/nss_ldap/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/nss_ldap/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="cyrus-sasl libkrb5 libldap openssl libcomerr libcomerr3" BUILD_DEPENDS="openldap-dev perl" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/PADL/nss_ldap/master/ChangeLog 2>/dev/null | \ + sed '/^[0-9]/!d;s|[\t ].*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc okular/receipt --- a/okular/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/okular/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -21,6 +21,13 @@ polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative alsa-lib-dev exiv2-dev \ attica-dev libboost libboost-dev kdelibs kdelibs-dev kactivities kfilemetadata" +# What is the latest version available today? +current_version() +{ + wget -O - https://okular.kde.org/ 2>/dev/null | \ + sed 's|>|>\n|g' | sed '/been released/!d;s|The ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc open-iscsi/receipt --- a/open-iscsi/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/open-iscsi/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="linux-scsi" BUILD_DEPENDS="linux-module-headers" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/open-iscsi/open-iscsi/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc owncloud-client/receipt --- a/owncloud-client/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/owncloud-client/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="csync libQtTest libQtNetwork libQtCore libQtXml libQtGui" BUILD_DEPENDS="csync-dev Qt4-dev cmake qmake" + +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/owncloud/client/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc oxygen-icons/receipt --- a/oxygen-icons/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/oxygen-icons/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="${PACKAGE}-${VERSION}.tar.xz" WGET_URL="https://download.kde.org/stable/frameworks/${VERSION%.*}/${PACKAGE}${VERSION%.*.*}-$VERSION.tar.xz" +# What is the latest version available today? +current_version() +{ + wget -O - https://invent.kde.org/frameworks/oxygen-icons5/-/tags 2>/dev/null | \ + sed '/item-title/!d;s|.*">v||;s|<.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc powermanga/receipt --- a/powermanga/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/powermanga/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libsdl-mixer zlib libogg" BUILD_DEPENDS="automake libsdl-dev libsdl-mixer-dev zlib-dev libogg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/brunonymous/Powermanga/master/CHANGES 2>/dev/null | \ + sed '/owermanga/!d;s|.*ga ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc procmail/receipt --- a/procmail/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/procmail/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="${WEB_SITE}$TARBALL" CONFIG_FILES="/etc/procmail*" +# What is the latest version available today? +current_version() +{ + wget -O - https://en.wikipedia.org/wiki/Procmail 2>/dev/null | \ + sed '/Final release/!d;s|.*release.*">||' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc psycopg/receipt --- a/psycopg/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/psycopg/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python egenix-mx-base libpostgresqlclient" BUILD_DEPENDS="python-dev egenix-mx-base postgresql-dev libpostgresqlclient" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/psycopg2/ 2>/dev/null | \ + sed '/psycopg2 [0-9]/!d;s|.*g2.||' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc puzzles/receipt --- a/puzzles/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/puzzles/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="cairo gtk+ libxcb xorg-libXrandr" BUILD_DEPENDS="file gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://git.tartarus.org/?p=simon/puzzles.git' 2>/dev/null | \ + sed '/[0-9-]*<.i>/!d;s|.*||;s|<.*||;s|-||g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc pv/receipt --- a/pv/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/pv/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="gettext" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/a-j-wood/pv/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc python-enum34/receipt --- a/python-enum34/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/python-enum34/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python" BUILD_DEPENDS="python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - https://pypi.org/project/enum34/ 2>/dev/null | \ + sed '/enum34 [0-9]/!d;s|.*m34.||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc qca/receipt --- a/qca/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/qca/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libQtCore" BUILD_DEPENDS="Qt4-dev qmake" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/highfidelity/qca/master/README 2>/dev/null | \ + sed '/^ New/!d;s|.*in ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc qt5/receipt --- a/qt5/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/qt5/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -11,7 +11,7 @@ WEB_SITE="https://www.qt.io/" TARBALL="$SOURCE-$VERSION.tar.xz" -WGET_URL="http://download.qt.io/archive/qt/${VERSION%.*}/$VERS[BION/single/$TARBALL" +WGET_URL="http://download.qt.io/archive/qt/${VERSION%.*}/$VERSION/single/$TARBALL" PROVIDE="qt-x11-opensource-src Qt5" DEPENDS="gcc83-lib-base glibc-locale libQt3Support libQt5Core libQt5DBus diff -r 6a78d7832b6f -r 7c0170dd3ecc qtfm/receipt --- a/qtfm/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/qtfm/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libQtGui libQtNetwork libmagic" BUILD_DEPENDS="cmake Qt4-dev qmake libmagic-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/rodlie/qtfm/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc qtgain/receipt --- a/qtgain/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/qtgain/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="libQtCore libQtGui libQtNetwork" BUILD_DEPENDS="Qt4-dev qmake" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/qtgain/files/QtGain/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/QtGain/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc qtwebkit/receipt --- a/qtwebkit/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/qtwebkit/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -18,6 +18,13 @@ BUILD_DEPENDS="Qt4-dev libQtDeclarative qmake bison flex gperf ruby-dev mesa-dev \ sqlite-dev libpng-dev jpeg-dev gstreamer-dev gst-plugins-base-dev gst-plugins-base" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/qtwebkit/qtwebkit/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + compile_rules() { sed 's|FixedFont, default.*$|FixedFont, QLatin1String("monospace"));|' -i \ diff -r 6a78d7832b6f -r 7c0170dd3ecc quarry/receipt --- a/quarry/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/quarry/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk+ librsvg libgsf xcb-util" BUILD_DEPENDS="gtk+-dev librsvg-dev libgsf" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/ejona86/quarry/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc raine/receipt --- a/raine/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/raine/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libsdl zlib libpng libsdl-image liblzma libsdl-ttf muparser mesa" BUILD_DEPENDS="libsdl-dev zlib-dev libpng-dev nasm libsdl-image-dev liblzma-dev libsdl-ttf-dev muparser-dev mesa-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/zelurker/raine/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc rhino/receipt --- a/rhino/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/rhino/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -16,6 +16,13 @@ SUGGESTED="java-jre" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/mozilla/rhino/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/Rhino\(.*\)_Release.tar.*|\1|;s|_|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc rlog/receipt --- a/rlog/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/rlog/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gcc-lib-base" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/vgough/rlog/master/ChangeLog 2>/dev/null | \ + sed '/version to/!d;s|.*bump version to ||;s|,.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc rogue/receipt --- a/rogue/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/rogue/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/Davidslv/rogue/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc scalpel/receipt --- a/scalpel/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/scalpel/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="http://www.digitalforensicssolutions.com/Scalpel" WGET_URL="$WEB_SITE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/sleuthkit/scalpel/master/Changelog 2>/dev/null | \ + sed '/^[0-9]/!d;s|[^0-9\.].*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc schroedinger/receipt --- a/schroedinger/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/schroedinger/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="orc" BUILD_DEPENDS="orc-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/Distrotech/dirac/tags 2>/dev/null | \ + sed '/schroedinger/!d;/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc scrot/receipt --- a/scrot/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/scrot/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,14 @@ xorg-libXau xorg-libXdmcp xorg-libXext zlib" BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev" +# What is the latest version available today? +current_version() +{ + # https://github.com/resurrecting-open-source-projects/scrot/releases + wget -O - https://github.com/dreamer/scrot/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc sloccount/receipt --- a/sloccount/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/sloccount/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -7,11 +7,18 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://www.dwheeler.com/sloccount/" +WEB_SITE="https://dwheeler.com/sloccount/" WGET_URL="${WEB_SITE}$TARBALL" DEPENDS="perl" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/latest/!d;s|.*version ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc synergy/receipt --- a/synergy/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/synergy/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base" BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/symless/synergy-core/releases 2>/dev/null | \ + sed '/stable/!d;/archive.*tar/!d;s|.*/v*\(.*\)-stable.tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc tokyocabinet/receipt --- a/tokyocabinet/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/tokyocabinet/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="bzlib zlib" BUILD_DEPENDS="bzip2-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://dbmx.net/tokyocabinet/index.html 2>/dev/null | \ + sed '/Latest Source/!d;s|.*tokyocabinet-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc truecrypt/receipt --- a/truecrypt/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/truecrypt/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="fuse wxWidgets28 xorg-libSM dmsetup linux-md" BUILD_DEPENDS="pkcs nasm fuse-dev wxWidgets28-dev xorg-libSM-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/truecrypt/files/TrueCrypt/Other/ 2>/dev/null | \ + sed '/source-unix.tar/!d;s|.source-unix.tar.*||;s|.*TrueCrypt-||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc tupi/receipt --- a/tupi/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/tupi/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="ruby-dev Qt4-dev qmake ffmpeg-dev zlib-dev quazip-dev mesa-dev \ libogg-dev libtheora-dev libgnutls" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/tupi2d/files/Source%20Code/ 2>/dev/null | \ + sed '/tupi-/!d;/tar.gz/!d;s|.tar.gz.*||;s|.*tupi-||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc tuxtype/receipt --- a/tuxtype/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/tuxtype/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -17,6 +17,13 @@ libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev wget" TAGS="education" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/tux4kids/tuxtype/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc unrar/receipt --- a/unrar/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/unrar/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gcc-lib-base" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/baulk/unrar/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc vkeybd/receipt --- a/vkeybd/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/vkeybd/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="tk tcl alsa-lib xorg-libX11" BUILD_DEPENDS="tk-dev tcl-dev alsa-lib-dev xorg-libX11-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/tiwai/vkeybd/master/README 2>/dev/null | \ + sed '/VIRTUAL/!d;s|.*ver.||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc wayland/receipt --- a/wayland/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/wayland/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -21,6 +21,13 @@ arm*) ARCH_ARGS="--disable-scanner" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - 'https://gitlab.freedesktop.org/wayland/wayland/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*">||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc weston/receipt --- a/weston/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/weston/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -16,6 +16,13 @@ libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev liblzma-dev \ gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev file" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://gitlab.freedesktop.org/wayland/weston/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/item-title/!d;s|.*">||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 6a78d7832b6f -r 7c0170dd3ecc xscavenger/receipt --- a/xscavenger/receipt Wed Feb 23 11:28:45 2022 +0100 +++ b/xscavenger/receipt Wed Feb 23 11:49:52 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="alsa-lib xorg" BUILD_DEPENDS="alsa-lib-dev xorg-imake xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.linuxmotors.com/linux/scavenger/index.html 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() {