wok-current diff warmux/receipt @ rev 25659
Update expat CVE-2023-52425,CVE-2023-52426, patch libxml2 CVE-2024-25062
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Feb 18 10:03:28 2024 +0000 (10 months ago) |
parents | 86d79cfc8e5e |
children |
line diff
1.1 --- a/warmux/receipt Sun Apr 09 14:47:24 2023 +0000 1.2 +++ b/warmux/receipt Sun Feb 18 10:03:28 2024 +0000 1.3 @@ -1,14 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="warmux" 1.7 +GITHASH="01f2d0071011bae5785d7a8d4502db4370c7de5a" # 20191201 1.8 VERSION="11.04.1" 1.9 CATEGORY="games" 1.10 SHORT_DESC="Warmux game" 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="GPL2" 1.13 -WEB_SITE="https://web.archive.org/web/20221203051925/https://www.warmux.org/" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 -WGET_URL="$WEB_SITE$TARBALL" 1.16 +WEB_SITE="https://github.com/fluxer/warmux" 1.17 +TARBALL="$PACKAGE-$VERSION.zip" 1.18 +WGET_URL="https://github.com/fluxer/warmux/archive/$GITHASH.zip" 1.19 PROVIDE="wormux" 1.20 SUGGESTED="warmux-music" 1.21 1.22 @@ -16,18 +17,20 @@ 1.23 curl freetype libxml2 libxml++ gcc-lib-base gettext-base" 1.24 BUILD_DEPENDS="libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev \ 1.25 libsdl-net-dev libsdl-ttf-dev curl-dev freetype-dev libxml2-dev libxml++-dev \ 1.26 -pkg-config" 1.27 +automake pkg-config" 1.28 1.29 # What is the latest version available today? 1.30 current_version() 1.31 { 1.32 - wget -O - https://www.warmux.org/ 2>/dev/null | \ 1.33 - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.34 + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ 1.35 + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d 1.36 } 1.37 1.38 # Rules to configure and make the package. 1.39 compile_rules() 1.40 { 1.41 + ./autogen.sh 1.42 + 1.43 sed -i 's/test -z "$(pkgdatadir)"/test -d "$(pkgdatadir)"/' data/Makefile.in 1.44 sed -i 's|if USE_X11|if SKIP_USE_X11|' src/tool/copynpaste.cpp 1.45 sed -i "s|test -d \"\\\$(pkgdatadir|test -d \"\\\$(DESTDIR)\\\$(pkgdatadir|" data/Makefile*