wok-current rev 24535
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 23 11:49:52 2022 +0000 (2022-02-23) |
parents | 6a78d7832b6f |
children | 528420e28cb9 |
files | BootProg/stuff/boot32.asm alsaequal/receipt attica/receipt exempi/receipt newsbeuter/receipt nss_ldap/receipt okular/receipt open-iscsi/receipt owncloud-client/receipt oxygen-icons/receipt powermanga/receipt procmail/receipt psycopg/receipt puzzles/receipt pv/receipt python-enum34/receipt qca/receipt qt5/receipt qtfm/receipt qtgain/receipt qtwebkit/receipt quarry/receipt raine/receipt rhino/receipt rlog/receipt rogue/receipt scalpel/receipt schroedinger/receipt scrot/receipt sloccount/receipt synergy/receipt tokyocabinet/receipt truecrypt/receipt tupi/receipt tuxtype/receipt unrar/receipt vkeybd/receipt wayland/receipt weston/receipt xscavenger/receipt |
line diff
1.1 --- a/BootProg/stuff/boot32.asm Wed Feb 23 11:28:45 2022 +0100 1.2 +++ b/BootProg/stuff/boot32.asm Wed Feb 23 11:49:52 2022 +0000 1.3 @@ -11,7 +11,8 @@ 1.4 ;; ;; 1.5 ;; Features: ;; 1.6 ;; ~~~~~~~~~ ;; 1.7 -;; - FAT32 supported using BIOS int 13h function 42h or 02h. ;; 1.8 +;; - FAT32 supported using BIOS int 13h function 42h (IOW, it will only ;; 1.9 +;; work with modern BIOSes supporting HDDs bigger than 8 GB) ;; 1.10 ;; ;; 1.11 ;; - Loads a 16-bit executable file in the MS-DOS .COM or .EXE format ;; 1.12 ;; from the root directory of a disk and transfers control to it ;; 1.13 @@ -262,30 +263,33 @@ 1.14 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1.15 1.16 mov ds, bp ; bp=ds=seg the file is loaded to 1.17 + 1.18 add bp, [bx+08h] ; bp = image base 1.19 mov ax, [bx+06h] ; ax = reloc items 1.20 mov di, [bx+18h] ; di = reloc table pointer 1.21 1.22 cmp word [bx], 5A4Dh ; "MZ" signature? 1.23 - 1.24 je RelocateEXE ; yes, it's an EXE program 1.25 1.26 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1.27 ;; Setup and run a .COM program ;; 1.28 -;; Set CS=DS=ES=SP SP=0 IP=100h ;; 1.29 +;; Set CS=DS=ES=SS SP=0 IP=100h ;; 1.30 +;; AX=0ffffh BX=0 CX=0 DX=drive ;; 1.31 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1.32 1.33 + mov ax, 0ffffh ; both FCB in the PSP don't have a valid drive identifier 1.34 + mov di, 100h ; ip 1.35 mov bp, ImageLoadSeg-10h ; "org 100h" stuff :) 1.36 mov ss, bp 1.37 xor sp, sp 1.38 push bp ; cs, ds and es 1.39 - mov bh, 1 ; ip 1.40 jmp short Run 1.41 1.42 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1.43 ;; Relocate, setup and run a .EXE program ;; 1.44 ;; Set CS:IP, SS:SP, DS, ES and AX according ;; 1.45 ;; to wiki.osdev.org/MZ#Initial_Program_State ;; 1.46 +;; AX=0ffffh BX=0 CX=0 DX=drive ;; 1.47 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1.48 1.49 ReloCycle: 1.50 @@ -308,11 +312,11 @@ 1.51 push si ; containing the PSP structure 1.52 1.53 add bp, [bx+16h] ; cs for EXE 1.54 - mov bx, [bx+14h] ; ip for EXE 1.55 + mov di, [bx+14h] ; ip for EXE 1.56 Run: 1.57 pop ds 1.58 push bp 1.59 - push bx 1.60 + push di 1.61 push ds 1.62 pop es 1.63 1.64 @@ -332,6 +336,7 @@ 1.65 ReadCluster: 1.66 mov bp, [bx(bpbBytesPerSector)] 1.67 shr bp, 4 ; bp = paragraphs per sector 1.68 + add eax, byte 1 ; adjust LBA for next sector 1.69 inc cx 1.70 loop ReadSectorLBA 1.71 1.72 @@ -374,7 +379,6 @@ 1.73 add eax, edx 1.74 adc word [bx(HiLBA)], bx 1.75 add eax, [bx(bpbHiddenSectors)] 1.76 - adc word [bx(HiLBA)], bx 1.77 1.78 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1.79 ;; Reads a sector using BIOS Int 13h fn 42h ;; 1.80 @@ -386,6 +390,8 @@ 1.81 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1.82 1.83 ReadSectorLBA: 1.84 + adc word [bx(HiLBA)], bx 1.85 + mov dx, [bx(bsDriveNumber)] ; restore BIOS boot drive number 1.86 pusha 1.87 1.88 push bx 1.89 @@ -395,43 +401,13 @@ 1.90 push bx 1.91 push byte 1 ; sector count word = 1 1.92 push byte 16 ; packet size byte = 16, reserved byte = 0 1.93 - push eax 1.94 - pop cx ; low LBA 1.95 - pop ax ; high LBA 1.96 - cwd ; clear dx (CHS disk <2TB) 1.97 - div word [bx(bpbSectorsPerTrack)] ; up to 8GB CHS disks 1.98 - 1.99 - xchg ax, cx ; restore low LBA, save high LBA / SPT 1.100 - div word [bx(bpbSectorsPerTrack)] 1.101 - ; ax = LBA / SPT 1.102 - ; dx = LBA % SPT = sector - 1 1.103 - inc dx 1.104 - 1.105 - xchg cx, dx ; restore high LBA / SPT, save sector no. 1.106 - div word [bx(bpbHeadsPerCylinder)] 1.107 - ; ax = (LBA / SPT) / HPC = cylinder 1.108 - ; dx = (LBA / SPT) % HPC = head 1.109 - shl ah, 6 1.110 - mov ch, al 1.111 - ; ch = LSB 0...7 of cylinder no. 1.112 - or cl, ah 1.113 - ; cl = MSB 8...9 of cylinder no. + sector no. 1.114 - mov dh, dl 1.115 - ; dh = head no. 1.116 1.117 ReadSectorLBARetry: 1.118 - mov dl, [bx(bsDriveNumber)] ; restore BIOS boot drive number 1.119 mov si, sp 1.120 mov ah, 42h ; ah = 42h = extended read function no. 1.121 int 13h ; extended read sectors (DL, DS:SI) 1.122 jnc ReadSuccess ; CF = 0 if no error 1.123 1.124 -ReadSectorCHSRetry: 1.125 - mov ax, 201h ; al = sector count = 1 1.126 - ; ah = 2 = read function no. 1.127 - int 13h ; read sectors (AL, CX, DX, ES:BX) 1.128 - jnc ReadSuccess ; CF = 0 if no error 1.129 - 1.130 cbw ; ah = 0 = reset function 1.131 int 13h ; reset drive (DL) 1.132 1.133 @@ -447,16 +423,12 @@ 1.134 1.135 popa 1.136 1.137 - add eax, byte 1 ; adjust LBA for next sector 1.138 - adc word [bx(HiLBA)], bx 1.139 - 1.140 stc 1.141 loop ReadSectorNext 1.142 1.143 cmp esi, 0FFFFFF8h ; carry=0 if last cluster, and carry=1 otherwise 1.144 1.145 ReadSectorNext: 1.146 - mov dx, [bx(bsDriveNumber)] ; restore BIOS boot drive number 1.147 ret 1.148 1.149 ;;;;;;;;;;;;;;;;;;;;;;;;;; 1.150 @@ -473,8 +445,8 @@ 1.151 cmp al, '.' 1.152 jne puts 1.153 cbw 1.154 -; int 16h ; wait for a key... 1.155 -; int 19h ; bootstrap 1.156 + int 16h ; wait for a key... 1.157 + int 19h ; bootstrap 1.158 1.159 Stop: 1.160 hlt
2.1 --- a/alsaequal/receipt Wed Feb 23 11:28:45 2022 +0100 2.2 +++ b/alsaequal/receipt Wed Feb 23 11:49:52 2022 +0000 2.3 @@ -13,6 +13,13 @@ 2.4 DEPENDS="alsa-utils caps" 2.5 BUILD_DEPENDS="caps alsa-lib-dev" 2.6 2.7 +# What is the latest version available today? 2.8 +current_version() 2.9 +{ 2.10 + wget -O - https://github.com/bassdr/alsaequal/releases 2> /dev/null | \ 2.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 2.12 +} 2.13 + 2.14 # Rules to configure and make the package. 2.15 compile_rules() 2.16 {
3.1 --- a/attica/receipt Wed Feb 23 11:28:45 2022 +0100 3.2 +++ b/attica/receipt Wed Feb 23 11:49:52 2022 +0000 3.3 @@ -13,6 +13,13 @@ 3.4 DEPENDS="libQtCore libQtNetwork" 3.5 BUILD_DEPENDS="cmake qmake Qt4-dev" 3.6 3.7 +# What is the latest version available today? 3.8 +current_version() 3.9 +{ 3.10 + wget -O - 'https://invent.kde.org/frameworks/attica/-/tags?sort=updated_desc' 2>/dev/null | \ 3.11 + sed '/item-title/!d;s|.*>v||;s|<.*||;q' 3.12 +} 3.13 + 3.14 # Rules to configure and make the package. 3.15 compile_rules() 3.16 {
4.1 --- a/exempi/receipt Wed Feb 23 11:28:45 2022 +0100 4.2 +++ b/exempi/receipt Wed Feb 23 11:49:52 2022 +0000 4.3 @@ -14,6 +14,13 @@ 4.4 DEPENDS="expat gcc83-lib-base" 4.5 BUILD_DEPENDS="expat-dev gcc83 libboost-dev libboost-test-dev" 4.6 4.7 +# What is the latest version available today? 4.8 +current_version() 4.9 +{ 4.10 + wget -O - https://libopenraw.freedesktop.org/exempi/ 2>/dev/null | \ 4.11 + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 4.12 +} 4.13 + 4.14 # Rules to configure and make the package. 4.15 compile_rules() 4.16 {
5.1 --- a/newsbeuter/receipt Wed Feb 23 11:28:45 2022 +0100 5.2 +++ b/newsbeuter/receipt Wed Feb 23 11:49:52 2022 +0000 5.3 @@ -14,6 +14,13 @@ 5.4 BUILD_DEPENDS="pkg-config gettext libxml2-dev libjson-c-dev curl-dev \ 5.5 sqlite-dev stfl-dev ncursesw-dev gcc83 gcc83-lib-base" 5.6 5.7 +# What is the latest version available today? 5.8 +current_version() 5.9 +{ 5.10 + wget -O - https://github.com/newsboat/newsboat/tags 2>/dev/null | \ 5.11 + sed '/archive.*tar/!d;s|.*/r*\(.*\).tar.*|\1|;q' 5.12 +} 5.13 + 5.14 # Rules to configure and make the package. 5.15 compile_rules() 5.16 {
6.1 --- a/nss_ldap/receipt Wed Feb 23 11:28:45 2022 +0100 6.2 +++ b/nss_ldap/receipt Wed Feb 23 11:49:52 2022 +0000 6.3 @@ -13,6 +13,13 @@ 6.4 DEPENDS="cyrus-sasl libkrb5 libldap openssl libcomerr libcomerr3" 6.5 BUILD_DEPENDS="openldap-dev perl" 6.6 6.7 +# What is the latest version available today? 6.8 +current_version() 6.9 +{ 6.10 + wget -O - https://raw.githubusercontent.com/PADL/nss_ldap/master/ChangeLog 2>/dev/null | \ 6.11 + sed '/^[0-9]/!d;s|[\t ].*||;q' 6.12 +} 6.13 + 6.14 # Rules to configure and make the package. 6.15 compile_rules() 6.16 {
7.1 --- a/okular/receipt Wed Feb 23 11:28:45 2022 +0100 7.2 +++ b/okular/receipt Wed Feb 23 11:49:52 2022 +0000 7.3 @@ -21,6 +21,13 @@ 7.4 polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative alsa-lib-dev exiv2-dev \ 7.5 attica-dev libboost libboost-dev kdelibs kdelibs-dev kactivities kfilemetadata" 7.6 7.7 +# What is the latest version available today? 7.8 +current_version() 7.9 +{ 7.10 + wget -O - https://okular.kde.org/ 2>/dev/null | \ 7.11 + sed 's|>|>\n|g' | sed '/been released/!d;s|The ||;s| .*||;q' 7.12 +} 7.13 + 7.14 # Rules to configure and make the package. 7.15 compile_rules() 7.16 {
8.1 --- a/open-iscsi/receipt Wed Feb 23 11:28:45 2022 +0100 8.2 +++ b/open-iscsi/receipt Wed Feb 23 11:49:52 2022 +0000 8.3 @@ -13,6 +13,13 @@ 8.4 DEPENDS="linux-scsi" 8.5 BUILD_DEPENDS="linux-module-headers" 8.6 8.7 +# What is the latest version available today? 8.8 +current_version() 8.9 +{ 8.10 + wget -O - https://github.com/open-iscsi/open-iscsi/releases 2>/dev/null | \ 8.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 8.12 +} 8.13 + 8.14 # Rules to configure and make the package. 8.15 compile_rules() 8.16 {
9.1 --- a/owncloud-client/receipt Wed Feb 23 11:28:45 2022 +0100 9.2 +++ b/owncloud-client/receipt Wed Feb 23 11:49:52 2022 +0000 9.3 @@ -13,6 +13,14 @@ 9.4 9.5 DEPENDS="csync libQtTest libQtNetwork libQtCore libQtXml libQtGui" 9.6 BUILD_DEPENDS="csync-dev Qt4-dev cmake qmake" 9.7 + 9.8 +# What is the latest version available today? 9.9 +current_version() 9.10 +{ 9.11 + wget -O - https://github.com/owncloud/client/releases 2>/dev/null | \ 9.12 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 9.13 +} 9.14 + 9.15 # Rules to configure and make the package. 9.16 compile_rules() 9.17 {
10.1 --- a/oxygen-icons/receipt Wed Feb 23 11:28:45 2022 +0100 10.2 +++ b/oxygen-icons/receipt Wed Feb 23 11:49:52 2022 +0000 10.3 @@ -11,6 +11,13 @@ 10.4 TARBALL="${PACKAGE}-${VERSION}.tar.xz" 10.5 WGET_URL="https://download.kde.org/stable/frameworks/${VERSION%.*}/${PACKAGE}${VERSION%.*.*}-$VERSION.tar.xz" 10.6 10.7 +# What is the latest version available today? 10.8 +current_version() 10.9 +{ 10.10 + wget -O - https://invent.kde.org/frameworks/oxygen-icons5/-/tags 2>/dev/null | \ 10.11 + sed '/item-title/!d;s|.*">v||;s|<.*||;q' 10.12 +} 10.13 + 10.14 # Rules to gen a SliTaz package suitable for Tazpkg. 10.15 genpkg_rules() 10.16 {
11.1 --- a/powermanga/receipt Wed Feb 23 11:28:45 2022 +0100 11.2 +++ b/powermanga/receipt Wed Feb 23 11:49:52 2022 +0000 11.3 @@ -14,6 +14,13 @@ 11.4 DEPENDS="libsdl-mixer zlib libogg" 11.5 BUILD_DEPENDS="automake libsdl-dev libsdl-mixer-dev zlib-dev libogg-dev" 11.6 11.7 +# What is the latest version available today? 11.8 +current_version() 11.9 +{ 11.10 + wget -O - https://raw.githubusercontent.com/brunonymous/Powermanga/master/CHANGES 2>/dev/null | \ 11.11 + sed '/owermanga/!d;s|.*ga ||;q' 11.12 +} 11.13 + 11.14 # Rules to configure and make the package. 11.15 compile_rules() 11.16 {
12.1 --- a/procmail/receipt Wed Feb 23 11:28:45 2022 +0100 12.2 +++ b/procmail/receipt Wed Feb 23 11:49:52 2022 +0000 12.3 @@ -11,6 +11,13 @@ 12.4 WGET_URL="${WEB_SITE}$TARBALL" 12.5 CONFIG_FILES="/etc/procmail*" 12.6 12.7 +# What is the latest version available today? 12.8 +current_version() 12.9 +{ 12.10 + wget -O - https://en.wikipedia.org/wiki/Procmail 2>/dev/null | \ 12.11 + sed '/Final release/!d;s|.*release.*">||' 12.12 +} 12.13 + 12.14 # Rules to configure and make the package. 12.15 compile_rules() 12.16 {
13.1 --- a/psycopg/receipt Wed Feb 23 11:28:45 2022 +0100 13.2 +++ b/psycopg/receipt Wed Feb 23 11:49:52 2022 +0000 13.3 @@ -13,6 +13,13 @@ 13.4 DEPENDS="python egenix-mx-base libpostgresqlclient" 13.5 BUILD_DEPENDS="python-dev egenix-mx-base postgresql-dev libpostgresqlclient" 13.6 13.7 +# What is the latest version available today? 13.8 +current_version() 13.9 +{ 13.10 + wget -O - https://pypi.org/project/psycopg2/ 2>/dev/null | \ 13.11 + sed '/psycopg2 [0-9]/!d;s|.*g2.||' 13.12 +} 13.13 + 13.14 # Rules to configure and make the package. 13.15 compile_rules() 13.16 {
14.1 --- a/puzzles/receipt Wed Feb 23 11:28:45 2022 +0100 14.2 +++ b/puzzles/receipt Wed Feb 23 11:49:52 2022 +0000 14.3 @@ -14,6 +14,13 @@ 14.4 DEPENDS="cairo gtk+ libxcb xorg-libXrandr" 14.5 BUILD_DEPENDS="file gtk+-dev" 14.6 14.7 +# What is the latest version available today? 14.8 +current_version() 14.9 +{ 14.10 + wget -O - 'https://git.tartarus.org/?p=simon/puzzles.git' 2>/dev/null | \ 14.11 + sed '/<i>[0-9-]*<.i>/!d;s|.*<i>||;s|<.*||;s|-||g;q' 14.12 +} 14.13 + 14.14 # Rules to configure and make the package. 14.15 compile_rules() 14.16 {
15.1 --- a/pv/receipt Wed Feb 23 11:28:45 2022 +0100 15.2 +++ b/pv/receipt Wed Feb 23 11:49:52 2022 +0000 15.3 @@ -14,6 +14,13 @@ 15.4 DEPENDS="" 15.5 BUILD_DEPENDS="gettext" 15.6 15.7 +# What is the latest version available today? 15.8 +current_version() 15.9 +{ 15.10 + wget -O - https://github.com/a-j-wood/pv/releases 2>/dev/null | \ 15.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 15.12 +} 15.13 + 15.14 # Rules to configure and make the package. 15.15 compile_rules() 15.16 {
16.1 --- a/python-enum34/receipt Wed Feb 23 11:28:45 2022 +0100 16.2 +++ b/python-enum34/receipt Wed Feb 23 11:49:52 2022 +0000 16.3 @@ -13,6 +13,13 @@ 16.4 DEPENDS="python" 16.5 BUILD_DEPENDS="python-setuptools" 16.6 16.7 +# What is the latest version available today? 16.8 +current_version() 16.9 +{ 16.10 + wget -O - https://pypi.org/project/enum34/ 2>/dev/null | \ 16.11 + sed '/enum34 [0-9]/!d;s|.*m34.||;q' 16.12 +} 16.13 + 16.14 # Rules to configure and make the package. 16.15 compile_rules() 16.16 {
17.1 --- a/qca/receipt Wed Feb 23 11:28:45 2022 +0100 17.2 +++ b/qca/receipt Wed Feb 23 11:49:52 2022 +0000 17.3 @@ -13,6 +13,13 @@ 17.4 DEPENDS="libQtCore" 17.5 BUILD_DEPENDS="Qt4-dev qmake" 17.6 17.7 +# What is the latest version available today? 17.8 +current_version() 17.9 +{ 17.10 + wget -O - https://raw.githubusercontent.com/highfidelity/qca/master/README 2>/dev/null | \ 17.11 + sed '/^ New/!d;s|.*in ||;q' 17.12 +} 17.13 + 17.14 # Rules to configure and make the package. 17.15 compile_rules() 17.16 {
18.1 --- a/qt5/receipt Wed Feb 23 11:28:45 2022 +0100 18.2 +++ b/qt5/receipt Wed Feb 23 11:49:52 2022 +0000 18.3 @@ -11,7 +11,7 @@ 18.4 WEB_SITE="https://www.qt.io/" 18.5 18.6 TARBALL="$SOURCE-$VERSION.tar.xz" 18.7 -WGET_URL="http://download.qt.io/archive/qt/${VERSION%.*}/$VERS[BION/single/$TARBALL" 18.8 +WGET_URL="http://download.qt.io/archive/qt/${VERSION%.*}/$VERSION/single/$TARBALL" 18.9 PROVIDE="qt-x11-opensource-src Qt5" 18.10 18.11 DEPENDS="gcc83-lib-base glibc-locale libQt3Support libQt5Core libQt5DBus
19.1 --- a/qtfm/receipt Wed Feb 23 11:28:45 2022 +0100 19.2 +++ b/qtfm/receipt Wed Feb 23 11:49:52 2022 +0000 19.3 @@ -15,6 +15,13 @@ 19.4 DEPENDS="libQtGui libQtNetwork libmagic" 19.5 BUILD_DEPENDS="cmake Qt4-dev qmake libmagic-dev" 19.6 19.7 +# What is the latest version available today? 19.8 +current_version() 19.9 +{ 19.10 + wget -O - https://github.com/rodlie/qtfm/releases 2>/dev/null | \ 19.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 19.12 +} 19.13 + 19.14 # Rules to configure and make the package. 19.15 compile_rules() 19.16 {
20.1 --- a/qtgain/receipt Wed Feb 23 11:28:45 2022 +0100 20.2 +++ b/qtgain/receipt Wed Feb 23 11:49:52 2022 +0000 20.3 @@ -13,6 +13,14 @@ 20.4 DEPENDS="libQtCore libQtGui libQtNetwork" 20.5 BUILD_DEPENDS="Qt4-dev qmake" 20.6 20.7 +# What is the latest version available today? 20.8 +current_version() 20.9 +{ 20.10 + wget -O - https://sourceforge.net/projects/qtgain/files/QtGain/ 2>/dev/null | \ 20.11 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 20.12 + sed '/scope="row/!d;s|.*/QtGain/||;s|/.*||;q' 20.13 +} 20.14 + 20.15 # Rules to configure and make the package. 20.16 compile_rules() 20.17 {
21.1 --- a/qtwebkit/receipt Wed Feb 23 11:28:45 2022 +0100 21.2 +++ b/qtwebkit/receipt Wed Feb 23 11:49:52 2022 +0000 21.3 @@ -18,6 +18,13 @@ 21.4 BUILD_DEPENDS="Qt4-dev libQtDeclarative qmake bison flex gperf ruby-dev mesa-dev \ 21.5 sqlite-dev libpng-dev jpeg-dev gstreamer-dev gst-plugins-base-dev gst-plugins-base" 21.6 21.7 +# What is the latest version available today? 21.8 +current_version() 21.9 +{ 21.10 + wget -O - https://github.com/qtwebkit/qtwebkit/tags 2>/dev/null | \ 21.11 + sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' 21.12 +} 21.13 + 21.14 compile_rules() 21.15 { 21.16 sed 's|FixedFont, default.*$|FixedFont, QLatin1String("monospace"));|' -i \
22.1 --- a/quarry/receipt Wed Feb 23 11:28:45 2022 +0100 22.2 +++ b/quarry/receipt Wed Feb 23 11:49:52 2022 +0000 22.3 @@ -14,6 +14,13 @@ 22.4 DEPENDS="gtk+ librsvg libgsf xcb-util" 22.5 BUILD_DEPENDS="gtk+-dev librsvg-dev libgsf" 22.6 22.7 +# What is the latest version available today? 22.8 +current_version() 22.9 +{ 22.10 + wget -O - https://github.com/ejona86/quarry/tags 2>/dev/null | \ 22.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 22.12 +} 22.13 + 22.14 # Rules to configure and make the package. 22.15 compile_rules() 22.16 {
23.1 --- a/raine/receipt Wed Feb 23 11:28:45 2022 +0100 23.2 +++ b/raine/receipt Wed Feb 23 11:49:52 2022 +0000 23.3 @@ -14,6 +14,13 @@ 23.4 DEPENDS="libsdl zlib libpng libsdl-image liblzma libsdl-ttf muparser mesa" 23.5 BUILD_DEPENDS="libsdl-dev zlib-dev libpng-dev nasm libsdl-image-dev liblzma-dev libsdl-ttf-dev muparser-dev mesa-dev" 23.6 23.7 +# What is the latest version available today? 23.8 +current_version() 23.9 +{ 23.10 + wget -O - https://github.com/zelurker/raine/tags 2>/dev/null | \ 23.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 23.12 +} 23.13 + 23.14 # Rules to configure and make the package. 23.15 compile_rules() 23.16 {
24.1 --- a/rhino/receipt Wed Feb 23 11:28:45 2022 +0100 24.2 +++ b/rhino/receipt Wed Feb 23 11:49:52 2022 +0000 24.3 @@ -16,6 +16,13 @@ 24.4 24.5 SUGGESTED="java-jre" 24.6 24.7 +# What is the latest version available today? 24.8 +current_version() 24.9 +{ 24.10 + wget -O - https://github.com/mozilla/rhino/releases 2>/dev/null | \ 24.11 + sed '/archive.*tar/!d;s|.*/Rhino\(.*\)_Release.tar.*|\1|;s|_|.|g;q' 24.12 +} 24.13 + 24.14 # Rules to configure and make the package. 24.15 compile_rules() 24.16 {
25.1 --- a/rlog/receipt Wed Feb 23 11:28:45 2022 +0100 25.2 +++ b/rlog/receipt Wed Feb 23 11:49:52 2022 +0000 25.3 @@ -13,6 +13,13 @@ 25.4 25.5 DEPENDS="gcc-lib-base" 25.6 25.7 +# What is the latest version available today? 25.8 +current_version() 25.9 +{ 25.10 + wget -O - https://raw.githubusercontent.com/vgough/rlog/master/ChangeLog 2>/dev/null | \ 25.11 + sed '/version to/!d;s|.*bump version to ||;s|,.*||;q' 25.12 +} 25.13 + 25.14 # Rules to configure and make the package. 25.15 compile_rules() 25.16 {
26.1 --- a/rogue/receipt Wed Feb 23 11:28:45 2022 +0100 26.2 +++ b/rogue/receipt Wed Feb 23 11:49:52 2022 +0000 26.3 @@ -13,6 +13,13 @@ 26.4 DEPENDS="ncurses" 26.5 BUILD_DEPENDS="ncurses-dev" 26.6 26.7 +# What is the latest version available today? 26.8 +current_version() 26.9 +{ 26.10 + wget -O - https://github.com/Davidslv/rogue/releases 2>/dev/null | \ 26.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 26.12 +} 26.13 + 26.14 # Rules to configure and make the package. 26.15 compile_rules() 26.16 {
27.1 --- a/scalpel/receipt Wed Feb 23 11:28:45 2022 +0100 27.2 +++ b/scalpel/receipt Wed Feb 23 11:49:52 2022 +0000 27.3 @@ -10,6 +10,13 @@ 27.4 WEB_SITE="http://www.digitalforensicssolutions.com/Scalpel" 27.5 WGET_URL="$WEB_SITE/$TARBALL" 27.6 27.7 +# What is the latest version available today? 27.8 +current_version() 27.9 +{ 27.10 + wget -O - https://raw.githubusercontent.com/sleuthkit/scalpel/master/Changelog 2>/dev/null | \ 27.11 + sed '/^[0-9]/!d;s|[^0-9\.].*||' | sort -Vr | sed q 27.12 +} 27.13 + 27.14 # Rules to configure and make the package. 27.15 compile_rules() 27.16 {
28.1 --- a/schroedinger/receipt Wed Feb 23 11:28:45 2022 +0100 28.2 +++ b/schroedinger/receipt Wed Feb 23 11:49:52 2022 +0000 28.3 @@ -13,6 +13,13 @@ 28.4 DEPENDS="orc" 28.5 BUILD_DEPENDS="orc-dev" 28.6 28.7 +# What is the latest version available today? 28.8 +current_version() 28.9 +{ 28.10 + wget -O - https://github.com/Distrotech/dirac/tags 2>/dev/null | \ 28.11 + sed '/schroedinger/!d;/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' 28.12 +} 28.13 + 28.14 # Rules to configure and make the package. 28.15 compile_rules() 28.16 {
29.1 --- a/scrot/receipt Wed Feb 23 11:28:45 2022 +0100 29.2 +++ b/scrot/receipt Wed Feb 23 11:49:52 2022 +0000 29.3 @@ -14,6 +14,14 @@ 29.4 xorg-libXau xorg-libXdmcp xorg-libXext zlib" 29.5 BUILD_DEPENDS="patch giblib-dev imlib2-dev xorg-libX11-dev" 29.6 29.7 +# What is the latest version available today? 29.8 +current_version() 29.9 +{ 29.10 + # https://github.com/resurrecting-open-source-projects/scrot/releases 29.11 + wget -O - https://github.com/dreamer/scrot/releases 2>/dev/null | \ 29.12 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 29.13 +} 29.14 + 29.15 # Rules to configure and make the package. 29.16 compile_rules() 29.17 {
30.1 --- a/sloccount/receipt Wed Feb 23 11:28:45 2022 +0100 30.2 +++ b/sloccount/receipt Wed Feb 23 11:49:52 2022 +0000 30.3 @@ -7,11 +7,18 @@ 30.4 MAINTAINER="pascal.bellard@slitaz.org" 30.5 LICENSE="GPL2" 30.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 30.7 -WEB_SITE="https://www.dwheeler.com/sloccount/" 30.8 +WEB_SITE="https://dwheeler.com/sloccount/" 30.9 WGET_URL="${WEB_SITE}$TARBALL" 30.10 30.11 DEPENDS="perl" 30.12 30.13 +# What is the latest version available today? 30.14 +current_version() 30.15 +{ 30.16 + wget -O - $WEB_SITE 2>/dev/null | \ 30.17 + sed '/latest/!d;s|.*version ||;s| .*||;q' 30.18 +} 30.19 + 30.20 # Rules to configure and make the package. 30.21 compile_rules() 30.22 {
31.1 --- a/synergy/receipt Wed Feb 23 11:28:45 2022 +0100 31.2 +++ b/synergy/receipt Wed Feb 23 11:49:52 2022 +0000 31.3 @@ -13,6 +13,13 @@ 31.4 DEPENDS="xorg-libX11 xorg-libXtst xorg-libSM xorg-libICE xorg-libXinerama gcc-lib-base" 31.5 BUILD_DEPENDS="xorg-dev-proto xorg-libXt-dev xorg-libXtst-dev cmake" 31.6 31.7 +# What is the latest version available today? 31.8 +current_version() 31.9 +{ 31.10 + wget -O - https://github.com/symless/synergy-core/releases 2>/dev/null | \ 31.11 + sed '/stable/!d;/archive.*tar/!d;s|.*/v*\(.*\)-stable.tar.*|\1|;q' 31.12 +} 31.13 + 31.14 # Rules to configure and make the package. 31.15 compile_rules() 31.16 {
32.1 --- a/tokyocabinet/receipt Wed Feb 23 11:28:45 2022 +0100 32.2 +++ b/tokyocabinet/receipt Wed Feb 23 11:49:52 2022 +0000 32.3 @@ -14,6 +14,13 @@ 32.4 DEPENDS="bzlib zlib" 32.5 BUILD_DEPENDS="bzip2-dev zlib-dev" 32.6 32.7 +# What is the latest version available today? 32.8 +current_version() 32.9 +{ 32.10 + wget -O - https://dbmx.net/tokyocabinet/index.html 2>/dev/null | \ 32.11 + sed '/Latest Source/!d;s|.*tokyocabinet-||;s|.tar.*||;q' 32.12 +} 32.13 + 32.14 # Rules to configure and make the package. 32.15 compile_rules() 32.16 {
33.1 --- a/truecrypt/receipt Wed Feb 23 11:28:45 2022 +0100 33.2 +++ b/truecrypt/receipt Wed Feb 23 11:49:52 2022 +0000 33.3 @@ -13,6 +13,13 @@ 33.4 DEPENDS="fuse wxWidgets28 xorg-libSM dmsetup linux-md" 33.5 BUILD_DEPENDS="pkcs nasm fuse-dev wxWidgets28-dev xorg-libSM-dev" 33.6 33.7 +# What is the latest version available today? 33.8 +current_version() 33.9 +{ 33.10 + wget -O - https://sourceforge.net/projects/truecrypt/files/TrueCrypt/Other/ 2>/dev/null | \ 33.11 + sed '/source-unix.tar/!d;s|.source-unix.tar.*||;s|.*TrueCrypt-||;q' 33.12 +} 33.13 + 33.14 # Rules to configure and make the package. 33.15 compile_rules() 33.16 {
34.1 --- a/tupi/receipt Wed Feb 23 11:28:45 2022 +0100 34.2 +++ b/tupi/receipt Wed Feb 23 11:49:52 2022 +0000 34.3 @@ -14,6 +14,13 @@ 34.4 BUILD_DEPENDS="ruby-dev Qt4-dev qmake ffmpeg-dev zlib-dev quazip-dev mesa-dev \ 34.5 libogg-dev libtheora-dev libgnutls" 34.6 34.7 +# What is the latest version available today? 34.8 +current_version() 34.9 +{ 34.10 + wget -O - https://sourceforge.net/projects/tupi2d/files/Source%20Code/ 2>/dev/null | \ 34.11 + sed '/tupi-/!d;/tar.gz/!d;s|.tar.gz.*||;s|.*tupi-||;q' 34.12 +} 34.13 + 34.14 # Rules to configure and make the package. 34.15 compile_rules() 34.16 {
35.1 --- a/tuxtype/receipt Wed Feb 23 11:28:45 2022 +0100 35.2 +++ b/tuxtype/receipt Wed Feb 23 11:49:52 2022 +0000 35.3 @@ -17,6 +17,13 @@ 35.4 libsdl-mixer-dev libsdl-ttf-dev libsdl-net-dev libsdl-pango-dev wget" 35.5 TAGS="education" 35.6 35.7 +# What is the latest version available today? 35.8 +current_version() 35.9 +{ 35.10 + wget -O - https://github.com/tux4kids/tuxtype/tags 2>/dev/null | \ 35.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 35.12 +} 35.13 + 35.14 # Rules to configure and make the package. 35.15 compile_rules() 35.16 {
36.1 --- a/unrar/receipt Wed Feb 23 11:28:45 2022 +0100 36.2 +++ b/unrar/receipt Wed Feb 23 11:49:52 2022 +0000 36.3 @@ -13,6 +13,13 @@ 36.4 36.5 DEPENDS="gcc-lib-base" 36.6 36.7 +# What is the latest version available today? 36.8 +current_version() 36.9 +{ 36.10 + wget -O - https://github.com/baulk/unrar/releases 2>/dev/null | \ 36.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 36.12 +} 36.13 + 36.14 # Rules to configure and make the package. 36.15 compile_rules() 36.16 {
37.1 --- a/vkeybd/receipt Wed Feb 23 11:28:45 2022 +0100 37.2 +++ b/vkeybd/receipt Wed Feb 23 11:49:52 2022 +0000 37.3 @@ -13,6 +13,13 @@ 37.4 DEPENDS="tk tcl alsa-lib xorg-libX11" 37.5 BUILD_DEPENDS="tk-dev tcl-dev alsa-lib-dev xorg-libX11-dev" 37.6 37.7 +# What is the latest version available today? 37.8 +current_version() 37.9 +{ 37.10 + wget -O - https://raw.githubusercontent.com/tiwai/vkeybd/master/README 2>/dev/null | \ 37.11 + sed '/VIRTUAL/!d;s|.*ver.||;q' 37.12 +} 37.13 + 37.14 # Rules to configure and make the package. 37.15 compile_rules() 37.16 {
38.1 --- a/wayland/receipt Wed Feb 23 11:28:45 2022 +0100 38.2 +++ b/wayland/receipt Wed Feb 23 11:49:52 2022 +0000 38.3 @@ -21,6 +21,13 @@ 38.4 arm*) ARCH_ARGS="--disable-scanner" ;; 38.5 esac 38.6 38.7 +# What is the latest version available today? 38.8 +current_version() 38.9 +{ 38.10 + wget -O - 'https://gitlab.freedesktop.org/wayland/wayland/-/tags?sort=updated_desc' 2>/dev/null | \ 38.11 + sed '/item-title/!d;s|.*">||;s|<.*||;q' 38.12 +} 38.13 + 38.14 # Rules to configure and make the package. 38.15 compile_rules() 38.16 {
39.1 --- a/weston/receipt Wed Feb 23 11:28:45 2022 +0100 39.2 +++ b/weston/receipt Wed Feb 23 11:49:52 2022 +0000 39.3 @@ -16,6 +16,13 @@ 39.4 libunwind-dev mtdev-dev xorg-libXcursor-dev pam-dev liblzma-dev \ 39.5 gegl-dev libdrm-dev xorg-libXxf86vm-dev udev-dev pkg-config jpeg-dev file" 39.6 39.7 +# What is the latest version available today? 39.8 +current_version() 39.9 +{ 39.10 + wget -O - 'https://gitlab.freedesktop.org/wayland/weston/-/tags?sort=updated_desc' 2>/dev/null | \ 39.11 + sed '/item-title/!d;s|.*">||;s|<.*||;q' 39.12 +} 39.13 + 39.14 # Rules to configure and make the package. 39.15 compile_rules() 39.16 {
40.1 --- a/xscavenger/receipt Wed Feb 23 11:28:45 2022 +0100 40.2 +++ b/xscavenger/receipt Wed Feb 23 11:49:52 2022 +0000 40.3 @@ -16,6 +16,13 @@ 40.4 DEPENDS="alsa-lib xorg" 40.5 BUILD_DEPENDS="alsa-lib-dev xorg-imake xorg-dev" 40.6 40.7 +# What is the latest version available today? 40.8 +current_version() 40.9 +{ 40.10 + wget -O - https://www.linuxmotors.com/linux/scavenger/index.html 2>/dev/null | \ 40.11 + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q 40.12 +} 40.13 + 40.14 # Rules to configure and make the package. 40.15 compile_rules() 40.16 {