diff options
author | glewis <glewis@FreeBSD.org> | 2003-11-21 03:14:47 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2003-11-21 03:14:47 +0800 |
commit | d867ffd2921995988d2b3bcc734b48cd965ad581 (patch) | |
tree | b1f76fcee144b8345ad893245a4b5695c642ff81 /games/freebsd-games | |
parent | 36dbcec492efb2ff7164354113e01e7c3dc47f10 (diff) | |
download | freebsd-ports-gnome-d867ffd2921995988d2b3bcc734b48cd965ad581.tar.gz freebsd-ports-gnome-d867ffd2921995988d2b3bcc734b48cd965ad581.tar.zst freebsd-ports-gnome-d867ffd2921995988d2b3bcc734b48cd965ad581.zip |
. 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/freebsd-games')
-rw-r--r-- | games/freebsd-games/files/patch-hack::Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/games/freebsd-games/files/patch-hack::Makefile b/games/freebsd-games/files/patch-hack::Makefile new file mode 100644 index 000000000000..eaa8d43922d1 --- /dev/null +++ b/games/freebsd-games/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} |