pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/supertux
Module Name: pkgsrc
Committed By: adam
Date: Mon Nov 23 11:41:36 UTC 2026
Modified Files:
pkgsrc/games/supertux: Makefile PLIST distinfo
pkgsrc/games/supertux/patches: patch-CMakeLists.txt
patch-mk_cmake_SuperTux_BuildCPack.cmake
patch-mk_cmake_SuperTux_BuildInstall.cmake
Log Message:
supertux: updated to 0.7.0.1
0.7.0.1
This is a security release and minor bugfix release. It is highly encouraged to upgrade, even if you don't download outside add-ons.
The security vulnerability allows for shell exploitation within a path (specifically such as the level directory name). See commit 5f156a9 for more details. It should only affect *nix/macOS systems.
This release also backports several other minor fixes.
To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 pkgsrc/games/supertux/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/games/supertux/PLIST
cvs rdiff -u -r1.11 -r1.12 pkgsrc/games/supertux/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/supertux/patches/patch-CMakeLists.txt
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildCPack.cmake \
pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildInstall.cmake
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/games/supertux/Makefile
diff -u pkgsrc/games/supertux/Makefile:1.78 pkgsrc/games/supertux/Makefile:1.79
--- pkgsrc/games/supertux/Makefile:1.78 Wed Nov 11 11:53:31 2026
+++ pkgsrc/games/supertux/Makefile Mon Nov 23 11:41:36 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.78 2026/11/11 11:53:31 wiz Exp $
+# $NetBSD: Makefile,v 1.79 2026/11/23 11:41:36 adam Exp $
-PKGNAME= supertux-0.7.0
-PKGREVISION= 8
+PKGNAME= supertux-0.7.0.1
DISTNAME= SuperTux-v${PKGVERSION_NOREV}-Source
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GITHUB:=SuperTux/}
@@ -26,10 +25,13 @@ CMAKE_CONFIGURE_ARGS+= -DUSE_SYSTEM_SDL2
CHECK_PORTABILITY_SKIP+= external/SDL_ttf/configure.in
CHECK_PORTABILITY_SKIP+= mk/flatpak/gen_flatpaks.sh
+PLIST_VARS+= desktop
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
+PLIST.desktop= yes
.endif
.include "../../audio/libvorbis/buildlink3.mk"
Index: pkgsrc/games/supertux/PLIST
diff -u pkgsrc/games/supertux/PLIST:1.6 pkgsrc/games/supertux/PLIST:1.7
--- pkgsrc/games/supertux/PLIST:1.6 Tue Mar 31 10:47:12 2026
+++ pkgsrc/games/supertux/PLIST Mon Nov 23 11:41:36 2026
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST,v 1.6 2026/03/31 10:47:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2026/11/23 11:41:36 adam Exp $
bin/supertux2
-share/applications/supertux2.desktop
+${PLIST.desktop}share/applications/supertux2.desktop
share/doc/supertux2/LICENSE.txt
share/doc/supertux2/NEWS.md
share/doc/supertux2/README.md
@@ -5138,7 +5138,7 @@ share/games/supertux2/speech/tux_hello.o
share/games/supertux2/speech/tux_murp_01.ogg
share/games/supertux2/speech/tux_rap.ogg
share/games/supertux2/speech/tux_upset.ogg
-share/icons/hicolor/scalable/apps/supertux2.svg
+${PLIST.desktop}share/icons/hicolor/scalable/apps/supertux2.svg
share/metainfo/org.supertuxproject.SuperTux.metainfo.xml
-share/pixmaps/supertux.png
-share/pixmaps/supertux.xpm
+${PLIST.desktop}share/pixmaps/supertux.png
+${PLIST.desktop}share/pixmaps/supertux.xpm
Index: pkgsrc/games/supertux/distinfo
diff -u pkgsrc/games/supertux/distinfo:1.11 pkgsrc/games/supertux/distinfo:1.12
--- pkgsrc/games/supertux/distinfo:1.11 Tue Mar 31 10:47:12 2026
+++ pkgsrc/games/supertux/distinfo Mon Nov 23 11:41:36 2026
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.11 2026/03/31 10:47:12 adam Exp $
+$NetBSD: distinfo,v 1.12 2026/11/23 11:41:36 adam Exp $
-BLAKE2s (SuperTux-v0.7.0-Source.tar.gz) = 5294f7e605956dc2a5b46e66451af850d81074ff91bc12f0b60d78b1d128ca4b
-SHA512 (SuperTux-v0.7.0-Source.tar.gz) = 15bc4f84e1453be25ac3fa3496443e4e20d805f8c4d50148235f4dc82d188bef974fc720653cab36350d8b631c74539e4a74c33259fdaac6a516f44f8ed65297
-Size (SuperTux-v0.7.0-Source.tar.gz) = 292623271 bytes
-SHA1 (patch-CMakeLists.txt) = 6979c7a97eee2b4ee32d55103b37fa71dad4c42e
+BLAKE2s (SuperTux-v0.7.0.1-Source.tar.gz) = 7382cedd572766061476deb4828d932f8ce0211df07bd1d298eef4c79c159452
+SHA512 (SuperTux-v0.7.0.1-Source.tar.gz) = 4a20f03c65939d0cb53ca7b31be17ab5c087516e1640783142d14ad8da938b925c190de2c57a4b09715b22289603b845fc11021d385bc5e562f288ad00b9f0ad
+Size (SuperTux-v0.7.0.1-Source.tar.gz) = 292044558 bytes
+SHA1 (patch-CMakeLists.txt) = 6255a397689d2614ca8186b8aaac4aa266523f3c
SHA1 (patch-external_SDL__ttf_configure) = da5e257847458e0a4410be3b03299062d167d441
-SHA1 (patch-mk_cmake_SuperTux_BuildCPack.cmake) = a2f8fe0ab25001d399058ed14fc6df5c7a3e241b
-SHA1 (patch-mk_cmake_SuperTux_BuildInstall.cmake) = c0096b9cf23bce06723ef45d43d3b95d22b0e303
+SHA1 (patch-mk_cmake_SuperTux_BuildCPack.cmake) = bdb84985b86f5f82740f6daa4c4fa87fccf4f7e3
+SHA1 (patch-mk_cmake_SuperTux_BuildInstall.cmake) = 98b0641734d066cb7427bffc3c9d3efce6de854c
SHA1 (patch-src_audio_openal__sound__source.hpp) = 6fd1c3baba9b84515ab212154e2b72c5a3edca12
SHA1 (patch-src_audio_sound__manager.hpp) = 702188e8f2e4e9f0d515a1bc2943ac0dd42d6563
SHA1 (patch-src_supertux_error__handler.cpp) = 6c245d3960ae4e91020848f4c5e1265fcc86aac8
Index: pkgsrc/games/supertux/patches/patch-CMakeLists.txt
diff -u pkgsrc/games/supertux/patches/patch-CMakeLists.txt:1.2 pkgsrc/games/supertux/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/games/supertux/patches/patch-CMakeLists.txt:1.2 Tue Mar 31 10:47:12 2026
+++ pkgsrc/games/supertux/patches/patch-CMakeLists.txt Mon Nov 23 11:41:36 2026
@@ -1,10 +1,10 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2026/03/31 10:47:12 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2026/11/23 11:41:36 adam Exp $
Fix packaging on Darwin.
---- CMakeLists.txt.orig 2026-03-15 05:38:50.000000000 +0000
+--- CMakeLists.txt.orig 2026-11-22 04:50:57.000000000 +0000
+++ CMakeLists.txt
-@@ -83,7 +83,7 @@ if(WIN32 AND NOT UNIX)
+@@ -83,11 +83,11 @@ if(WIN32 AND NOT UNIX)
set(INSTALL_SUBDIR_SHARE "data" CACHE STRING "Installation subdir for data")
set(INSTALL_SUBDIR_DOC "doc" CACHE STRING "Installation subdir for docs")
else()
@@ -13,3 +13,8 @@ Fix packaging on Darwin.
set(INSTALL_SUBDIR_BIN "SuperTux.app/Contents/MacOS" CACHE STRING "Installation subdir for binaries")
set(INSTALL_SUBDIR_SHARE "SuperTux.app/Contents/Resources/data" CACHE STRING "Installation subdir for data")
set(INSTALL_SUBDIR_DOC "SuperTux.app/Contents/Resources" CACHE STRING "Installation subdir for docs")
+- elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
++ elseif(FALSE)
+ # Relative to the CPack Bundle generator's Resources root (Contents/Resources/).
+ set(INSTALL_SUBDIR_BIN "bin" CACHE STRING "Installation subdir for binaries")
+ set(INSTALL_SUBDIR_SHARE "share/supertux2" CACHE STRING "Installation subdir for data")
Index: pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildCPack.cmake
diff -u pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildCPack.cmake:1.1 pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildCPack.cmake:1.2
--- pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildCPack.cmake:1.1 Tue Mar 31 10:47:13 2026
+++ pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildCPack.cmake Mon Nov 23 11:41:36 2026
@@ -1,15 +1,15 @@
-$NetBSD: patch-mk_cmake_SuperTux_BuildCPack.cmake,v 1.1 2026/03/31 10:47:13 adam Exp $
+$NetBSD: patch-mk_cmake_SuperTux_BuildCPack.cmake,v 1.2 2026/11/23 11:41:36 adam Exp $
On Darwin, don't use app bundle.
---- mk/cmake/SuperTux/BuildCPack.cmake.orig 2026-03-31 09:00:50.296352874 +0000
+--- mk/cmake/SuperTux/BuildCPack.cmake.orig 2026-11-22 04:50:58.000000000 +0000
+++ mk/cmake/SuperTux/BuildCPack.cmake
-@@ -3,7 +3,7 @@ option(DISABLE_CPACK_BUNDLING "Build an
+@@ -2,7 +2,7 @@ option(DISABLE_CPACK_BUNDLING "Build an
+
include(InstallRequiredSystemLibraries)
- set(DIRS ${CMAKE_CURRENT_BINARY_DIR}/external/tinygettext ${CMAKE_CURRENT_BINARY_DIR}/external/simplesquirrel)
-if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT DISABLE_CPACK_BUNDLING)
+if(FALSE)
set(INFOPLIST_CFBUNDLEEXECUTABLE "SuperTux")
- find_package(PNG)
+ install(RUNTIME_DEPENDENCY_SET supertux2_deps LIBRARY DESTINATION "MacOS")
Index: pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildInstall.cmake
diff -u pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildInstall.cmake:1.1 pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildInstall.cmake:1.2
--- pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildInstall.cmake:1.1 Tue Mar 31 10:47:13 2026
+++ pkgsrc/games/supertux/patches/patch-mk_cmake_SuperTux_BuildInstall.cmake Mon Nov 23 11:41:36 2026
@@ -1,8 +1,10 @@
-$NetBSD: patch-mk_cmake_SuperTux_BuildInstall.cmake,v 1.1 2026/03/31 10:47:13 adam Exp $
+$NetBSD: patch-mk_cmake_SuperTux_BuildInstall.cmake,v 1.2 2026/11/23 11:41:36 adam Exp $
On Darwin, don't use app bundle.
---- mk/cmake/SuperTux/BuildInstall.cmake.orig 2026-03-31 08:54:44.486755619 +0000
+TARGETS RUNTIME_DEPENDENCY_SET is not supported on system "NetBSD".
+
+--- mk/cmake/SuperTux/BuildInstall.cmake.orig 2026-11-22 04:50:58.000000000 +0000
+++ mk/cmake/SuperTux/BuildInstall.cmake
@@ -22,7 +22,7 @@ if(WIN32 AND NOT UNIX)
endif()
@@ -13,3 +15,18 @@ On Darwin, don't use app bundle.
set(INFOPLIST_CFBUNDLEEXECUTABLE "supertux2")
+@@ -63,12 +63,12 @@ if(WIN32 AND CMAKE_HOST_WIN32)
+ else()
+ install(TARGETS supertux2
+ DESTINATION ${INSTALL_SUBDIR_BIN}
+- RUNTIME_DEPENDENCY_SET supertux2_deps)
++ )
+ if(NOT USE_STATIC_SIMPLESQUIRREL)
+ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT DISABLE_CPACK_BUNDLING)
+ install(TARGETS simplesquirrel RUNTIME_DEPENDENCY_SET supertux2_deps LIBRARY DESTINATION "MacOS")
+ else()
+- install(TARGETS simplesquirrel RUNTIME_DEPENDENCY_SET supertux2_deps)
++ install(TARGETS simplesquirrel)
+ endif()
+ endif()
+ endif()
Home |
Main Index |
Thread Index |
Old Index