summaryrefslogtreecommitdiffstats
path: root/games/bsdgames
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-11-20 19:14:47 +0000
committerglewis <glewis@FreeBSD.org>2003-11-20 19:14:47 +0000
commitd867ffd2921995988d2b3bcc734b48cd965ad581 (patch)
treeb1f76fcee144b8345ad893245a4b5695c642ff81 /games/bsdgames
parent36dbcec492efb2ff7164354113e01e7c3dc47f10 (diff)
downloadFreeBSD-ports-d867ffd2921995988d2b3bcc734b48cd965ad581.zip
FreeBSD-ports-d867ffd2921995988d2b3bcc734b48cd965ad581.tar.gz
. 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>
Diffstat (limited to 'games/bsdgames')
-rw-r--r--games/bsdgames/files/patch-hack::Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/bsdgames/files/patch-hack::Makefile b/games/bsdgames/files/patch-hack::Makefile
new file mode 100644
index 0000000..eaa8d43
--- /dev/null
+++ b/games/bsdgames/files/patch-hack::Makefile
@@ -0,0 +1,13 @@
+$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}
OpenPOWER on IntegriCloud