diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-08-16 11:31:48 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-08-16 11:31:48 +0000 |
commit | 2808c145dffefca7be1c42de87f010f6edaf1ed6 (patch) | |
tree | 2a2a0460b1f17747f3be512cd4db6bc27d97f99b /games/cosmo/files | |
parent | Don't install directories writable to wheel (diff) |
Make this setgid games and remove a world-writable file.
Notes
Notes:
svn path=/head/; revision=31683
Diffstat (limited to 'games/cosmo/files')
-rw-r--r-- | games/cosmo/files/patch-aa | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/games/cosmo/files/patch-aa b/games/cosmo/files/patch-aa index 8ed299f51f38..1d4a0ec0daa7 100644 --- a/games/cosmo/files/patch-aa +++ b/games/cosmo/files/patch-aa @@ -1,9 +1,10 @@ ---- Imakefile.orig Sat May 11 16:06:00 1996 -+++ Imakefile Sat Jan 15 04:54:08 2000 -@@ -1,14 +1,14 @@ +--- Imakefile.orig Sat May 11 00:06:00 1996 ++++ Imakefile Wed Aug 16 04:24:28 2000 +@@ -1,14 +1,15 @@ -BINDIR = /usr/local/games +XCOMM BINDIR = /usr/local/games PAD = # -DUSE_PAD ++CHOWN = /usr/sbin/chown CHMOD = /bin/chmod MKDIR = /bin/mkdir @@ -19,7 +20,7 @@ LOCAL_LIBRARIES = $(XLIB) TAR = /bin/tar -@@ -27,7 +27,7 @@ +@@ -27,11 +28,12 @@ install:: @if [ -d $(DATADIR) ]; then echo cosmodir exists, not created.;\ @@ -28,3 +29,9 @@ $(CHMOD) 711 $(DATADIR) @if [ -f $(DATAFILE) ]; then echo ranking file exists, not created.;\ else echo > $(DATAFILE); fi +- $(CHMOD) 666 $(DATAFILE) ++ $(CHOWN) root:games $(DATAFILE) ++ $(CHMOD) 664 $(DATAFILE) + + pack:: + $(TAR) cfz cosmo.tgz *.c *.h Imakefile chara.dat *.doc |