diff options
author | Steve Price <steve@FreeBSD.org> | 1999-12-25 01:51:46 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-12-25 01:51:46 +0000 |
commit | 01eaefc950bc676b0cbdf1d0a093e8f898af9a28 (patch) | |
tree | c4dcb11460cb9e3132245457ee794efccd19063c /games/xsoldier/files | |
parent | Update to version 1.41r8. (diff) |
Install the binaries setuid games instead of setuid root.
PR: 15518
Submitted by: AnarCat <beaupran@iro.umontreal.ca>
Notes
Notes:
svn path=/head/; revision=24024
Diffstat (limited to 'games/xsoldier/files')
-rw-r--r-- | games/xsoldier/files/patch-aa | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/games/xsoldier/files/patch-aa b/games/xsoldier/files/patch-aa index 356b7cb05a5c..c6c85f368a99 100644 --- a/games/xsoldier/files/patch-aa +++ b/games/xsoldier/files/patch-aa @@ -1,5 +1,5 @@ -*** Imakefile.orig Sat Mar 1 00:48:57 1997 ---- Imakefile Sun May 25 19:40:53 1997 +*** Imakefile.orig Fri Feb 28 09:48:57 1997 +--- Imakefile Fri Dec 24 12:47:19 1999 *************** *** 6,63 **** @@ -119,3 +119,33 @@ /* */ /* ----------------------------------------------------------------------- */ +*************** +*** 95,101 **** + install.score:: + @if [ -d $(SCOREDIR) ]; then chmod 755 $(SCOREDIR); \ + else $(MKDIRHIER) $(SCOREDIR); chmod 755 $(SCOREDIR); fi +! $(INSTALL) -c -m 600 scorefile.txt $(SCOREDIR)/$(SCOREFILE) + @echo "install score . done" + + install.pixmap:: +--- 95,101 ---- + install.score:: + @if [ -d $(SCOREDIR) ]; then chmod 755 $(SCOREDIR); \ + else $(MKDIRHIER) $(SCOREDIR); chmod 755 $(SCOREDIR); fi +! $(INSTALL) -c -g games -m 660 scorefile.txt $(SCOREDIR)/$(SCOREFILE) + @echo "install score . done" + + install.pixmap:: +*************** +*** 109,113 **** + install.bin:: + @if [ -d $(BINDIR) ]; then set +x; \ + else (set -x; $(MKDIRHIER) $(BINDIR)); fi +! $(INSTALL) -c -m 4755 $(PROGRAM) $(BINDIR)/$(PROGRAM) + @echo "install bin . done" +--- 109,113 ---- + install.bin:: + @if [ -d $(BINDIR) ]; then set +x; \ + else (set -x; $(MKDIRHIER) $(BINDIR)); fi +! $(INSTALL) -c -g games -m 2755 $(PROGRAM) $(BINDIR)/$(PROGRAM) + @echo "install bin . done" |