From 995be66f0f0d26d1a96cbb8dfb429c3941157771 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 12 Mar 2017 12:04:10 -0700 Subject: Install update-game-score only on request Most distributions do not install update-game-score properly due to setuid/setgid complications, so install it only when the installer specifies a user or group (Bug#25895). * .gitattributes: Remove lib-src/update-game-score.exe.manifest. * Makefile.in (gameuser, gamegroup, use_gamedir, PATH_GAME): New vars. (epaths-force): Use PATH_GAME. (uninstall): Remove snake-scores and tetris-scores only if shared. * configure.ac: Default --with-gameuser to 'no'. (UPDATE_MANIFEST): Remove. * etc/NEWS: Mention this. * lib-src/Makefile.in (UPDATE_MANIFEST): Remove. (use_gamedir): New macro. (UTILITIES): Remove update-game-score unless use_gamedir. (SCRIPTS): Remove $(UPDATE_MANIFEST). ($(DESTDIR)${archlibdir}): Install game directory program and data only if use_gamedir. * lib-src/update-game-score.exe.manifest: Remove, as update-game-score is no longer installed on MS-Windows. * lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score): Use auxiliary program only if setuid or setgid. * make-dist: Do not distribute update-game-score.exe.manifest. * src/callproc.c (init_callproc): Set Vshared_game_score_directory based on PATH_GAME, not DOS_NT. (syms_of_callproc): Remove unnecessary initialization of Vshared_game_score_directory. --- .gitattributes | 1 - 1 file changed, 1 deletion(-) (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes index 22cea3dc1e3..59cc2eded5d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -24,7 +24,6 @@ admin/charsets/mapfiles/PTCP154 whitespace=cr-at-eol leim/MISC-DIC/cangjie-table.b5 whitespace=cr-at-eol leim/MISC-DIC/cangjie-table.cns whitespace=cr-at-eol leim/MISC-DIC/pinyin.map whitespace=cr-at-eol -lib-src/update-game-score.exe.manifest whitespace=cr-at-eol nt/nmake.defs whitespace=cr-at-eol test/etags/c-src/dostorture.c whitespace=cr-at-eol test/etags/cp-src/c.C whitespace=cr-at-eol -- cgit v1.2.1