summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-24 03:10:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-11-24 03:10:11 +0000
commit38c3b9b6692021b2d5cdbc12a4c6792c3e8192a2 (patch)
tree1aeb9ce5e3bcb88c85c16fef4a0dc9d5cc233fa9
parentcd1796ef95440c3b155f3bb473c00a2d03170090 (diff)
In 1995, all of the games were setuid games. At end of 1996, I took them all
to setgid games, and we started wittling them down. Nearly 10 years later I am removing all setgid from the games. If any of these have score files they are now broken, and I hope various folk repair them. I have argued for years (and received pushback...) that the score file features must be removed, or rewritten to use private files, because setgid is the wrong tool. ok tedu
-rw-r--r--games/Makefile.inc3
-rw-r--r--games/atc/Makefile3
-rw-r--r--games/battlestar/Makefile4
-rw-r--r--games/hack/Makefile3
-rw-r--r--games/phantasia/Makefile3
-rw-r--r--games/robots/Makefile3
-rw-r--r--games/sail/Makefile3
-rw-r--r--games/snake/Makefile3
8 files changed, 8 insertions, 17 deletions
diff --git a/games/Makefile.inc b/games/Makefile.inc
index 9f305275b4b..b2fd811edd1 100644
--- a/games/Makefile.inc
+++ b/games/Makefile.inc
@@ -1,4 +1,3 @@
-# $OpenBSD: Makefile.inc,v 1.5 2002/05/23 18:42:59 deraadt Exp $
+# $OpenBSD: Makefile.inc,v 1.6 2015/11/24 03:10:09 deraadt Exp $
-BINGRP?= games
BINDIR?= /usr/games
diff --git a/games/atc/Makefile b/games/atc/Makefile
index bb348a2dd6d..af3b02740cd 100644
--- a/games/atc/Makefile
+++ b/games/atc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.14 2006/06/30 19:10:23 otto Exp $
+# $OpenBSD: Makefile,v 1.15 2015/11/24 03:10:09 deraadt Exp $
PROG= atc
CFLAGS+=-I${.CURDIR} -I.
@@ -10,7 +10,6 @@ DPADD= ${LIBL} ${LIBM} ${LIBCURSES}
GAMES= Game_List Killer crossover default easy game_2 \
Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
game_4 novice two-corners
-BINMODE=2555
beforeinstall:
@if [ ! -d ${DESTDIR}/usr/share/games/atc ]; then \
diff --git a/games/battlestar/Makefile b/games/battlestar/Makefile
index 25a926df29e..7fb643c1db2 100644
--- a/games/battlestar/Makefile
+++ b/games/battlestar/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2002/05/31 03:46:35 pjanzen Exp $
+# $OpenBSD: Makefile,v 1.9 2015/11/24 03:10:10 deraadt Exp $
PROG= battlestar
SRCS= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
@@ -7,8 +7,6 @@ SRCS= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \
MAN= battlestar.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
-BINGRP= games
-BINMODE=2555
beforeinstall:
@if [ ! -f ${DESTDIR}/var/games/battlestar.log ]; then \
diff --git a/games/hack/Makefile b/games/hack/Makefile
index 3d3a0ce619b..77ca9a39272 100644
--- a/games/hack/Makefile
+++ b/games/hack/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2002/05/31 03:46:35 pjanzen Exp $
+# $OpenBSD: Makefile,v 1.14 2015/11/24 03:10:10 deraadt Exp $
PROG= hack
CFLAGS+=-I.
@@ -18,7 +18,6 @@ MAN= hack.6
DPADD+= ${LIBCURSES}
LDADD+= -lcurses
CLEANFILES+=hack.onames.h makedefs
-BINMODE=2555
${PROG}: hack.onames.h
diff --git a/games/phantasia/Makefile b/games/phantasia/Makefile
index 79bd63ef282..60eceef72f1 100644
--- a/games/phantasia/Makefile
+++ b/games/phantasia/Makefile
@@ -1,11 +1,10 @@
-# $OpenBSD: Makefile,v 1.17 2011/06/23 22:46:12 schwarze Exp $
+# $OpenBSD: Makefile,v 1.18 2015/11/24 03:10:10 deraadt Exp $
PROG= phantasia
SRCS= main.c fight.c io.c interplayer.c gamesupport.c misc.c phantglobs.c
CFLAGS+=-DTERMIOS
DPADD= ${LIBM} ${LIBCURSES}
LDADD= -lm -lcurses
-BINMODE=2555
MAN= phantasia.6
CLEANFILES+=map setup setup.o phantglobs.o.bld phantasia.6
diff --git a/games/robots/Makefile b/games/robots/Makefile
index 3875f6fa983..e43b5e830b3 100644
--- a/games/robots/Makefile
+++ b/games/robots/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2002/05/31 03:46:35 pjanzen Exp $
+# $OpenBSD: Makefile,v 1.11 2015/11/24 03:10:10 deraadt Exp $
PROG= robots
CFLAGS+=-DMAX_PER_UID=5
@@ -7,7 +7,6 @@ SRCS= extern.c init_field.c main.c make_level.c move.c move_robs.c \
MAN= robots.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
-BINMODE=2555
beforeinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
diff --git a/games/sail/Makefile b/games/sail/Makefile
index dfdf9d2279d..aeaca286a6e 100644
--- a/games/sail/Makefile
+++ b/games/sail/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2002/05/31 03:46:35 pjanzen Exp $
+# $OpenBSD: Makefile,v 1.7 2015/11/24 03:10:10 deraadt Exp $
PROG= sail
SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
@@ -7,6 +7,5 @@ SRCS= main.c pl_main.c pl_1.c pl_2.c pl_3.c pl_4.c pl_5.c pl_6.c pl_7.c \
MAN= sail.6
DPADD= ${LIBCURSES}
LDADD= -lcurses
-BINMODE=2555
.include <bsd.prog.mk>
diff --git a/games/snake/Makefile b/games/snake/Makefile
index e8f9f0beb87..f1bfff9bb4e 100644
--- a/games/snake/Makefile
+++ b/games/snake/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2009/11/13 21:50:12 deraadt Exp $
+# $OpenBSD: Makefile,v 1.10 2015/11/24 03:10:10 deraadt Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= snake
@@ -6,7 +6,6 @@ SRCS= snake.c snscore.c
MAN= snake.6
DPADD= ${LIBM} ${LIBCURSES}
LDADD= -lm -lcurses
-BINMODE=2555
beforeinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \