summaryrefslogtreecommitdiff
path: root/games/xpat2
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-09-07 02:54:16 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-09-07 02:54:16 +0000
commit1535464ddea4a58262e86eddd17c6840e1a27dbd (patch)
tree8e1db3895783ee865c4c672da600841e22712a04 /games/xpat2
parentUpdate from 1.1.1 to 1.2. (diff)
Change xpat2 to be sgid games instead of suid games. In addition to
plugging any unknown security holes that might be present, this changes allows ~/.Xauthority authentication to work as expected. PR: 4479 Submitted by: the port maintainer
Diffstat (limited to 'games/xpat2')
-rw-r--r--games/xpat2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/xpat2/Makefile b/games/xpat2/Makefile
index f3a3a13f7200..36e058972523 100644
--- a/games/xpat2/Makefile
+++ b/games/xpat2/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 March 1997
# Whom: Matthew Hunt <mph@pobox.com>
#
-# $Id: Makefile,v 1.1.1.1 1997/03/06 09:22:35 tg Exp $
+# $Id: Makefile,v 1.2 1997/05/29 03:05:07 fenner Exp $
#
DISTNAME= xpat2-1.04
@@ -19,8 +19,9 @@ MAN6= xpat2.6
post-install:
touch $(PREFIX)/lib/X11/xpat/xpat.log
- chown games $(PREFIX)/lib/X11/xpat/xpat.log $(PREFIX)/bin/xpat2
- chmod 4555 $(PREFIX)/bin/xpat2
+ chown root.games $(PREFIX)/lib/X11/xpat/xpat.log $(PREFIX)/bin/xpat2
+ chmod 2555 $(PREFIX)/bin/xpat2
+ chmod 664 $(PREFIX)/lib/X11/xpat/xpat.log
.include <bsd.port.mk>