pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/maelstrom-sdl



Module Name:    pkgsrc
Committed By:   dholland
Date:           Fri May  6 05:28:39 UTC 2011

Modified Files:
        pkgsrc/games/maelstrom-sdl: Makefile distinfo
        pkgsrc/games/maelstrom-sdl/patches: patch-aa patch-ab
Added Files:
        pkgsrc/games/maelstrom-sdl/patches: patch-main.cpp patch-scores.cpp

Log Message:
Put the scorefile in ${VARBASE}/games instead of under ${PREFIX}/share.
It is still mode 666, which is wrong (XXX), but this way:
   - the package will actually install again;
   - the score file is not overwritten every time you recompile/reinstall.

There's also an .if 0 block in the makefile that can be turned on to
install the game setgid so the score file can be mode 664. I'm not
comfortable turning this on without doing at least a basic audit, and
I don't have energy for that at the moment; but it's there and it
works if anyone feels inclined to make that tradeoff locally.

An alternative approach would be to write and install a setgid
scorefile helper program, but that's not really any improvement over
making the scores world writeable

PKGREVISION -> 8.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/games/maelstrom-sdl/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/games/maelstrom-sdl/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/games/maelstrom-sdl/patches/patch-aa \
    pkgsrc/games/maelstrom-sdl/patches/patch-ab
cvs rdiff -u -r0 -r1.1 pkgsrc/games/maelstrom-sdl/patches/patch-main.cpp \
    pkgsrc/games/maelstrom-sdl/patches/patch-scores.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index