2026-12-03T19:50:46-0700 Ryan Freeman <[email protected]>: > On Mon, Nov 23, 2026 at 09:37:05PM -0700, Ryan Freeman wrote: > > On Sun, Nov 15, 2026 at 03:52:44PM -0700, Ryan Freeman wrote: > > > On Sun, Nov 15, 2026 at 03:24:03PM -0700, Ryan Freeman wrote: > > > > On Sat, Nov 14, 2026 at 05:01:38PM -0700, Ryan Freeman wrote: > > > > > Hello, > > > > > > > > > > vitetris used setgid on its binary for writing to > > > > > /var/games/vitetris-hiscores > > > > > > > > > > > > > Here is an alternative fix: stop installing the > > > > /var/games/vitetris-hiscores > > > > at all. Highscores remain in $HOME/.vitetris only. > > ping, vitetris doesn't start without this > > removes g+s on vitetris and stops installing the system-wide hiscores file
Hi Ryan. I don't object to stop installing system-wide hiscores if that simplifies things. However, I don't really use the port, so my opinion doesn't count much here. Given that you didn't get any other replies, we could go with this and revert or look for other solutions later if anyone complains. I can confirm that your diff makes vitetris work again. I played a bit without any issues. ok jtt@ > 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 22:51:19 -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]> > @@ -28,9 +30,5 @@ CFLAGS+= -fsigned-char > > post-extract: > sed -i 's,Exec=tetris,Exec=vitetris,' ${WRKSRC}/vitetris.desktop > -post-install: > - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vitetris > - ${INSTALL_DATA} /dev/null \ > - ${PREFIX}/share/examples/vitetris/vitetris-hiscores > > .include <bsd.port.mk> > Index: patches/patch-Makefile > =================================================================== > RCS file: /cvs/ports/games/vitetris/patches/patch-Makefile,v > diff -u -p -r1.5 patch-Makefile > --- patches/patch-Makefile 11 Mar 2022 19:05:08 -0000 1.5 > +++ patches/patch-Makefile 15 Nov 2026 22:51:19 -0000 > @@ -1,18 +1,14 @@ > Index: Makefile > --- Makefile.orig > +++ Makefile > -@@ -1,9 +1,9 @@ > +@@ -1,6 +1,6 @@ > include config.mk > > -PROGNAME = tetris$(EXE) > +PROGNAME = vitetris$(EXE) > > # Uncomment to change the default. (Only used in Unix-like systems.) > --#HISCORE_FILENAME = /var/games/vitetris-hiscores > -+HISCORE_FILENAME = /var/games/vitetris-hiscores > - > - INSTALL = install > - > + #HISCORE_FILENAME = /var/games/vitetris-hiscores > @@ -18,7 +18,7 @@ build: src/src-conf.mk > cd src; $(MAKE) tetris > mv -f src/tetris$(EXE) $(PROGNAME) > 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 22:51:19 -0000 > @@ -1,19 +1,8 @@ > -@mode g+s > -@group games > @bin bin/vitetris > -@mode > -@group > share/applications/vitetris.desktop > share/doc/vitetris/ > share/doc/vitetris/README > share/doc/vitetris/licence.txt > -share/examples/vitetris/ > -@mode g+w > -@group games > -share/examples/vitetris/vitetris-hiscores > -@sample /var/games/vitetris-hiscores > -@mode > -@group > share/pixmaps/ > share/pixmaps/vitetris.xpm > @tag update-desktop-database >
