summaryrefslogtreecommitdiff
path: root/games/angband
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>1997-11-16 08:56:54 +0000
committerBill Fenner <fenner@FreeBSD.org>1997-11-16 08:56:54 +0000
commit8d91cdef88c3b4b9baa9decc92688681261de63c (patch)
tree7460d30c8e08aa02d2f0c50609a203befd9e7a5c /games/angband
parentUpdate to 1.09 (diff)
Fix permissions on save and user directories.
PR: ports/4978 Submitted by: Matthew Hunt <mph@pobox.com>
Notes
Notes: svn path=/head/; revision=8655
Diffstat (limited to 'games/angband')
-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