aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1997-09-07 10:54:16 +0800
committermax <max@FreeBSD.org>1997-09-07 10:54:16 +0800
commit37dda8afd336716a142859612039a7f18546bc21 (patch)
tree4ce966ce89cf9c734164ac5fc3261719d2a1b668
parent374929a92be2eb9e064f957746594ef819cc7248 (diff)
downloadfreebsd-ports-gnome-37dda8afd336716a142859612039a7f18546bc21.tar.gz
freebsd-ports-gnome-37dda8afd336716a142859612039a7f18546bc21.tar.zst
freebsd-ports-gnome-37dda8afd336716a142859612039a7f18546bc21.zip
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
-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>