wok rev 25699

Up redis (7.2.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 26 16:05:16 2024 +0000 (6 months ago)
parents 82a123e54615
children 661d5b83f2a3
files BootProg/stuff/boot16.asm BootProg/stuff/boot32.asm BootProg/stuff/bootex.asm hatari/receipt homebank/receipt libev/receipt redis/receipt
line diff
     1.1 --- a/BootProg/stuff/boot16.asm	Sun May 26 08:12:35 2024 +0000
     1.2 +++ b/BootProg/stuff/boot16.asm	Sun May 26 16:05:16 2024 +0000
     1.3 @@ -161,7 +161,7 @@
     1.4  ;; How much RAM is there? ;;
     1.5  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
     1.6  
     1.7 -        int     12h             ; get conventional memory size (in KBs)
     1.8 +        int     12h                     ; get conventional memory size (in KBs)
     1.9  %if AnyWhere
    1.10          call    here
    1.11  here:
    1.12 @@ -171,7 +171,7 @@
    1.13          pop     ds
    1.14  %endif
    1.15          mov     cx, 106h
    1.16 -        shl     ax, cl          ; and convert it to 16-byte paragraphs
    1.17 +        shl     ax, cl                  ; and convert it to 16-byte paragraphs
    1.18  
    1.19  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1.20  ;; Reserve memory for the boot sector and its stack ;;
    1.21 @@ -188,13 +188,14 @@
    1.22  
    1.23          xor     di, di
    1.24  %if AnyWhere == 0
    1.25 -        mov     si, 7C00h
    1.26 +        mov     si, 7C02h               ; exclude DriveNumber
    1.27          mov     ds, di
    1.28  %endif
    1.29          push    es
    1.30 -        mov     [si(DriveNumber)], dx   ; store BIOS boot drive number
    1.31          cld
    1.32 -        rep     movsw                   ; move 512 bytes (+ 12)
    1.33 +        xchg    ax, dx
    1.34 +        stosw                           ; store BIOS boot drive number
    1.35 +        rep     movsw                   ; move 512 bytes (+ 12), no double prefix: 8088 bug
    1.36  
    1.37  ;;;;;;;;;;;;;;;;;;;;;;
    1.38  ;; Jump to the copy ;;
     2.1 --- a/BootProg/stuff/boot32.asm	Sun May 26 08:12:35 2024 +0000
     2.2 +++ b/BootProg/stuff/boot32.asm	Sun May 26 16:05:16 2024 +0000
     2.3 @@ -100,7 +100,7 @@
     2.4  SectorOf512Bytes        equ     0               ; -4 bytes
     2.5  Always2FATs             equ     0               ; -4 bytes
     2.6  WaitForKey              equ     0               ; +5 bytes
     2.7 -AnyWhere                equ     1               ; +4 bytes
     2.8 +AnyWhere                equ     1               ; +3 bytes
     2.9  
    2.10  [BITS 16]
    2.11  [CPU 386]
    2.12 @@ -175,24 +175,22 @@
    2.13  ;; How much RAM is there? ;;
    2.14  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2.15  
    2.16 -        int     12h             ; get conventional memory size (in KBs)
    2.17 +        int     12h                     ; get conventional memory size (in KBs)
    2.18  %if AnyWhere
    2.19          call    here
    2.20  here:
    2.21          pop     si
    2.22 -        sub     si, here - boot
    2.23 -        push    cs
    2.24 -        pop     ds
    2.25 +        sub     si, here - boot - 2     ; exclude DriveNumber
    2.26  %endif
    2.27 -        dec     ax              ; reserve 1K bytes for the code and the stack
    2.28 +        dec     ax                      ; reserve 1K bytes for the code and the stack
    2.29          mov     cx, 106h
    2.30 -        shl     ax, cl          ; and convert it to 16-byte paragraphs
    2.31 +        shl     ax, cl                  ; and convert it to 16-byte paragraphs
    2.32  
    2.33  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2.34  ;; Reserve memory for the boot sector and its stack ;;
    2.35  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2.36  
    2.37 -        mov     es, ax          ; cs:0 = ds:0 = ss:0 -> top - 512 - StackSize
    2.38 +        mov     es, ax                  ; cs:0 = ds:0 = ss:0 -> top - 512 - StackSize
    2.39  %if ExtraBootSector == 0
    2.40          mov     ss, ax
    2.41          mov     sp, 512+StackSize ; bytes 0-511 are reserved for the boot code
    2.42 @@ -204,13 +202,18 @@
    2.43  
    2.44          xor     di, di
    2.45  %if AnyWhere == 0
    2.46 -        mov     si, 7C00h
    2.47 +        mov     si, 7C02h               ; exclude DriveNumber
    2.48          mov     ds, di
    2.49  %endif
    2.50          push    es
    2.51 -        mov     [si(DriveNumber)], dx  ; store BIOS boot drive number
    2.52          cld
    2.53 -        rep     movsw                  ; move 512 bytes (+ 12)
    2.54 +        xchg    ax, dx
    2.55 +        stosw                           ; store BIOS boot drive number
    2.56 +%if AnyWhere
    2.57 +        rep     cs movsw                ; move 512 bytes (+ 12)
    2.58 +%else
    2.59 +        rep     movsw                   ; move 512 bytes (+ 12)
    2.60 +%endif
    2.61  
    2.62  ;;;;;;;;;;;;;;;;;;;;;;
    2.63  ;; Jump to the copy ;;
    2.64 @@ -225,11 +228,11 @@
    2.65  
    2.66  %if ExtraBootSector != 0
    2.67  %macro MovedCode 0
    2.68 -%endif
    2.69  main:
    2.70 -%if ExtraBootSector != 0
    2.71          add     al, 32
    2.72          push    ax
    2.73 +%else
    2.74 +main:
    2.75  %endif
    2.76  ;;;;;;;;;;;;;;;;;;;;;;;;;;
    2.77  ;; Get drive parameters ;;
     3.1 --- a/BootProg/stuff/bootex.asm	Sun May 26 08:12:35 2024 +0000
     3.2 +++ b/BootProg/stuff/bootex.asm	Sun May 26 16:05:16 2024 +0000
     3.3 @@ -142,18 +142,18 @@
     3.4  ;; How much RAM is there? ;;
     3.5  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;
     3.6  
     3.7 -        int     12h             ; get conventional memory size (in KBs)
     3.8 +        int     12h                     ; get conventional memory size (in KBs)
     3.9  %if AnyWhere
    3.10          call    start2
    3.11  here:
    3.12  %macro BootAnyWhere 0
    3.13  start2:
    3.14          pop     si
    3.15 -        sub     si, here - boot
    3.16 +        sub     si, here - boot - 2     ; exclude DriveNumber
    3.17  %endif
    3.18          mov     cx, 106h
    3.19 -        dec     ax              ; reserve 1K bytes for the code and the stack
    3.20 -        shl     ax, cl          ; and convert it to 16-byte paragraphs
    3.21 +        dec     ax                      ; reserve 1K bytes for the code and the stack
    3.22 +        shl     ax, cl                  ; and convert it to 16-byte paragraphs
    3.23  
    3.24  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3.25  ;; Reserve memory for the boot sector and its stack ;;
    3.26 @@ -169,30 +169,37 @@
    3.27  
    3.28          xor     di, di
    3.29  %if AnyWhere == 0
    3.30 -        mov     si, 7C00h
    3.31 +        mov     si, 7C02h               ; exclude DriveNumber
    3.32          mov     ds, di
    3.33  %endif
    3.34          push    es
    3.35          cld
    3.36 +        xchg    ax, dx
    3.37 +        stosw                           ; store BIOS boot drive number
    3.38 +%if AnyWhere
    3.39 +        rep     cs movsw                ; move 512 bytes (+ 12)
    3.40 +%else
    3.41 +        rep     movsw                   ; move 512 bytes (+ 12)
    3.42 +%endif
    3.43  
    3.44  ;;;;;;;;;;;;;;;;;;;;;;
    3.45  ;; Jump to the copy ;;
    3.46  ;;;;;;;;;;;;;;;;;;;;;;
    3.47  
    3.48 -%if AnyWhere == 0
    3.49 -        rep     movsw                   ; move 512 bytes (+ 12)
    3.50 -        push    word main
    3.51 -        retf
    3.52 -%else
    3.53 -        rep     cs movsw                ; move 512 bytes (+ 12)
    3.54 +%if AnyWhere
    3.55          push    byte main
    3.56          retf
    3.57  %endm
    3.58 +%else
    3.59 +        push    word main
    3.60 +        retf
    3.61  %endif
    3.62  
    3.63  %if CheckLBAsupport != 0
    3.64  %macro BootFileName 0
    3.65  main:
    3.66 +        push    cs
    3.67 +        pop     ds
    3.68          mov     ah, 41h                 ; clobbers AX, BX, CX, DH
    3.69          mov     bx, 55AAh
    3.70          int     13h
    3.71 @@ -204,13 +211,11 @@
    3.72          xor     cx, cx
    3.73  %else
    3.74  main:
    3.75 -%endif
    3.76          push    cs
    3.77          pop     ds
    3.78 -
    3.79 +%endif
    3.80          xor     ebx, ebx
    3.81  
    3.82 -        mov     [bx(DriveNumber)], dx   ; store BIOS boot drive number
    3.83          mov     esi, [bx(bpbRootDirCluster)] ; esi=cluster # of root dir
    3.84  
    3.85          push    byte ImageLoadSeg
     4.1 --- a/hatari/receipt	Sun May 26 08:12:35 2024 +0000
     4.2 +++ b/hatari/receipt	Sun May 26 16:05:16 2024 +0000
     4.3 @@ -8,17 +8,18 @@
     4.4  LICENSE="GPL2"
     4.5  WEB_SITE="https://github.com/hatari/hatari"
     4.6  
     4.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     4.8 -WGET_URL="https://download.tuxfamily.org/$PACKAGE/$VERSION/$TARBALL"
     4.9 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.10 +WGET_URL="https://github.com/hatari/hatari/archive/refs/tags/v$VERSION.tar.gz"
    4.11  
    4.12  DEPENDS="libdb libpng libsdl2 portaudio py3k readline zlib"
    4.13  BUILD_DEPENDS="cmake libpng-dev libsdl2-dev portaudio-dev py3k-dev
    4.14  	readline-dev udev-dev xorg-dev zlib-dev"
    4.15  
    4.16 +# What is the latest version available today?
    4.17  current_version()
    4.18  {
    4.19 -	wget -O - http://download.tuxfamily.org/$PACKAGE 2>/dev/null | \
    4.20 -	sed "/href=\"[0-9]/!d;s|.*href=\"\\(.*\\)/\".*|\\1|" | sort -Vr | sed q
    4.21 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    4.22 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    4.23  }
    4.24  
    4.25  # Rules to configure and make the package.
     5.1 --- a/homebank/receipt	Sun May 26 08:12:35 2024 +0000
     5.2 +++ b/homebank/receipt	Sun May 26 16:05:16 2024 +0000
     5.3 @@ -7,7 +7,7 @@
     5.4  MAINTAINER="pankso@slitaz.org"
     5.5  LICENSE="GPL2"
     5.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.7 -WEB_SITE="https://www.gethomebank.org/en/index.php"
     5.8 +WEB_SITE="https://launchpad.net/homebank"
     5.9  WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
    5.10  TAGS="office finance"
    5.11  
     6.1 --- a/libev/receipt	Sun May 26 08:12:35 2024 +0000
     6.2 +++ b/libev/receipt	Sun May 26 16:05:16 2024 +0000
     6.3 @@ -9,7 +9,7 @@
     6.4  WEB_SITE="http://software.schmorp.de/pkg/libev.html"
     6.5  
     6.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     6.7 -WGET_URL="http://dist.schmorp.de/libev/$TARBALL"
     6.8 +WGET_URL="http://dist.schmorp.de/libev/Attic/$TARBALL"
     6.9  
    6.10  HOST_ARCH="i486 arm"
    6.11  
     7.1 --- a/redis/receipt	Sun May 26 08:12:35 2024 +0000
     7.2 +++ b/redis/receipt	Sun May 26 16:05:16 2024 +0000
     7.3 @@ -1,24 +1,25 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="redis"
     7.7 -VERSION="7.2.4"
     7.8 +VERSION="7.2.5"
     7.9  CATEGORY="database"
    7.10  TAGS="database"
    7.11  SHORT_DESC="An open source, BSD licensed, advanced key-value cache and store."
    7.12  MAINTAINER="nneul@neulinger.org"
    7.13  LICENSE="BSD"
    7.14 -WEB_SITE="https://redis.io/"
    7.15 +WEB_SITE="https://github.com/redis/redis"
    7.16  
    7.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.18 -WGET_URL="https://download.redis.io/releases/$TARBALL"
    7.19 +WGET_URL="https://github.com/redis/redis/archive/refs/tags/$VERSION.tar.gz"
    7.20  
    7.21  DEPENDS="gcc83-lib-base libatomic libxslt"
    7.22  BUILD_DEPENDS="gcc83 libatomic libxslt-dev"
    7.23  
    7.24 +# What is the latest version available today?
    7.25  current_version()
    7.26  {
    7.27 -	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    7.28 -	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*>$PACKAGE-||;s|.t.*||" | sort -Vr | sed q
    7.29 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    7.30 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    7.31  }
    7.32  
    7.33  # Rules to configure and make the package.