aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1997-11-16 16:56:54 +0800
committerfenner <fenner@FreeBSD.org>1997-11-16 16:56:54 +0800
commit196317fd8c70b76d7f09739922cfac0d8bd00a8c (patch)
tree2fab65bb6a77323856bf9ba4888668f3b5366f04 /games
parent6c95804810e87e51a3174282151f18d84e618f17 (diff)
downloadfreebsd-ports-gnome-196317fd8c70b76d7f09739922cfac0d8bd00a8c.tar.gz
freebsd-ports-gnome-196317fd8c70b76d7f09739922cfac0d8bd00a8c.tar.zst
freebsd-ports-gnome-196317fd8c70b76d7f09739922cfac0d8bd00a8c.zip
Fix permissions on save and user directories.
PR: ports/4978 Submitted by: Matthew Hunt <mph@pobox.com>
Diffstat (limited to 'games')
-rw-r--r--games/angband/files/patch-aa10
-rw-r--r--games/angband/pkg-plist4
2 files changed, 7 insertions, 7 deletions
diff --git a/games/angband/files/patch-aa b/games/angband/files/patch-aa
index 0f5c5c832597..73aea6199b2d 100644
--- a/games/angband/files/patch-aa
+++ b/games/angband/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Fri Sep 19 10:55:34 1997
-+++ Makefile Fri Sep 19 10:56:00 1997
+--- Makefile.orig Sun Nov 9 15:27:29 1997
++++ Makefile Sun Nov 9 15:32:43 1997
@@ -0,0 +1,19 @@
+# My makefile for Angband
+# Matthew Hunt <mph@pobox.com>
@@ -12,11 +12,11 @@
+ cd src && make "CFLAGS=$(CFLAGS)"
+
+install: angband
-+ install -c -o bin -g games -m 2755 angband ${PREFIX}/bin/angband
++ install -c -o bin -g games -m 2555 angband ${PREFIX}/bin/angband
+ mkdir -p ${PREFIX}/lib/X11/angband
+ (cd lib && tar cf - * ) | (cd ${PREFIX}/lib/X11/angband && tar xf - )
+ /usr/sbin/chown -R bin.games ${PREFIX}/lib/X11/angband
+ (cd ${PREFIX}/lib/X11/angband && \
-+ /bin/chmod 775 apex bone data edit file help info xtra && \
-+ /bin/chmod 1777 save user )
++ /bin/chmod 775 apex bone data edit file help info xtra\
++ save user )
+ install -o games -g games -m 664 /dev/null ${PREFIX}/lib/X11/angband/apex/scores.raw
diff --git a/games/angband/pkg-plist b/games/angband/pkg-plist
index 2be781984152..405d7742ec79 100644
--- a/games/angband/pkg-plist
+++ b/games/angband/pkg-plist
@@ -66,8 +66,8 @@ lib/X11/angband/user/user.prf
@exec chmod 775 %D/lib/X11/angband/help
@exec chmod 775 %D/lib/X11/angband/info
@exec chmod 775 %D/lib/X11/angband/xtra
-@exec chmod 1777 %D/lib/X11/angband/save
-@exec chmod 1777 %D/lib/X11/angband/user
+@exec chmod 775 %D/lib/X11/angband/save
+@exec chmod 775 %D/lib/X11/angband/user
@exec chmod 664 %D/lib/X11/angband/apex/scores.raw
@dirrm lib/X11/angband/bone
@dirrm lib/X11/angband/data