From b621cd3ba08e5977e3347350ded0f62ba5856d08 Mon Sep 17 00:00:00 2001
From: Kris Kennaway <kris@FreeBSD.org>
Date: Sat, 11 Aug 2001 06:00:24 +0000
Subject: This port should be installing things setgid games, not setuid games.
 Make the change but mark the port FORBIDDEN because it probably needs to be
 able to write to some of the files/directories it installs, and so won't work
 with this change.  I'll let the maintainer fix that.

---
 games/fsgs/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'games/fsgs')

diff --git a/games/fsgs/Makefile b/games/fsgs/Makefile
index 0c4fa85f390e..9eecb9682362 100644
--- a/games/fsgs/Makefile
+++ b/games/fsgs/Makefile
@@ -13,14 +13,16 @@ DISTFILES=	fsgs07126bsd.tgz fsgs0721lx.tgz
 
 MAINTAINER=	dburr@FreeBSD.ORG
 
+FORBIDDEN=	"Some data files probably need to be made group-writable"
+
 NO_BUILD=	yes
 
 do-install:
 	${CP} -Rp ${WRKDIR}/opt/fsgs ${PREFIX}/fsgs
 	${CP} ${WRKDIR}/release/fsgs ${PREFIX}/fsgs/fsgs
 	${CP} ${WRKDIR}/release/fsgs_static ${PREFIX}/fsgs/fsgs_static
-	${CHOWN} -R games:games ${PREFIX}/fsgs
-	${CHMOD} 4711 ${PREFIX}/fsgs/fsgs ${PREFIX}/fsgs/fsgs_static
+	${CHOWN} -R root:games ${PREFIX}/fsgs
+	${CHMOD} 2711 ${PREFIX}/fsgs/fsgs ${PREFIX}/fsgs/fsgs_static
 	${INSTALL_SCRIPT} ${FILESDIR}/fsgs.sh ${PREFIX}/etc/rc.d/fsgs.sh
 	@${CAT} ${PKGMESSAGE}
 
-- 
cgit v1.2.3