Hello, vitetris used setgid on its binary for writing to /var/games/vitetris-hiscores
To remedy, stop using @mode g+s in pkg/PLIST Provides a pkg/README that instructs to add $USER to games group if wanting to write global hiscores. Is that an acceptable trade-off? vitetris already also posts scores to $HOME/.vitetris as well. $ vitetris -h ... Highscores are saved in /home/ryan/.vitetris, and in /var/games/vitetris-hiscores if it exists and is writable. Index: Makefile =================================================================== RCS file: /cvs/ports/games/vitetris/Makefile,v diff -u -p -r1.13 Makefile --- Makefile 11 Mar 2022 19:05:08 -0000 1.13 +++ Makefile 15 Nov 2026 00:00:44 -0000 @@ -5,6 +5,8 @@ GH_TAGNAME = v0.59.1 GH_ACCOUNT = vicgeralds GH_PROJECT = vitetris +REVISION = 0 + HOMEPAGE = https://www.victornils.net/tetris/ MAINTAINER = Ryan Freeman <[email protected]> Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/games/vitetris/pkg/PLIST,v diff -u -p -r1.5 PLIST --- pkg/PLIST 11 Mar 2022 19:05:08 -0000 1.5 +++ pkg/PLIST 15 Nov 2026 00:00:44 -0000 @@ -1,9 +1,6 @@ -@mode g+s -@group games @bin bin/vitetris -@mode -@group share/applications/vitetris.desktop +share/doc/pkg-readmes/${PKGSTEM} share/doc/vitetris/ share/doc/vitetris/README share/doc/vitetris/licence.txt Index: pkg/README =================================================================== RCS file: pkg/README diff -N pkg/README --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg/README 15 Nov 2026 00:00:44 -0000 @@ -0,0 +1,14 @@ ++------------------------------------------------------------------------------- +| Running ${PKGSTEM} on OpenBSD ++------------------------------------------------------------------------------- + +vitetris hiscores +================= + +Hiscores are written out to both $HOME/.vitetris, and globally to +/var/games/vitetris-hiscores if writable. + +Your user account must be a member of the games group to participate in +the global hiscores: + + # usermod -G games $USER
