diff options
author | kris <kris@FreeBSD.org> | 2000-08-16 19:31:48 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-08-16 19:31:48 +0800 |
commit | 4bcfbf50f5a0c96eaf232eeadaa40c8be091487a (patch) | |
tree | 514cb27a07336457458052cfe5c849d55645b3bf /games/cosmo/files | |
parent | 7821894dc3bf52ffc39b83d9cb924057da908392 (diff) | |
download | freebsd-ports-gnome-4bcfbf50f5a0c96eaf232eeadaa40c8be091487a.tar.gz freebsd-ports-gnome-4bcfbf50f5a0c96eaf232eeadaa40c8be091487a.tar.zst freebsd-ports-gnome-4bcfbf50f5a0c96eaf232eeadaa40c8be091487a.zip |
Make this setgid games and remove a world-writable file.
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 |