freebsd-ports/games/freebsd-games/files/patch-hack::Makefile
Greg Lewis c5ecc5ae4f . Install hack as setgid games so it can chdir into /var/games/hackdir.
I'm somewhat uncomfortable with this change in that it possibly provides
  for setgid games exploits if anyone finds a vulnerability in hack.

PR:		59443
Submitted by:	Mark Laws <mdl@60hz.org>
2003-11-20 19:14:47 +00:00

13 lines
329 B
Text

$FreeBSD$
--- hack/Makefile.orig Thu Nov 20 11:06:45 2003
+++ hack/Makefile Thu Nov 20 11:13:27 2003
@@ -18,6 +18,8 @@
DPADD= ${LIBTERMCAP} ${LIBCOMPAT}
LDADD= -ltermcap -lcompat
CFLAGS+= -fwritable-strings -I${.CURDIR} -I.
+BINGRP= games
+BINMODE=2555
FILES= rumors help hh data
FILESMODE_rumors= 440
FILESGRP= ${BINGRP}