Remove -DSEND_MAIL from DEFINES; bump PKGNAME:

Steve Kemp discovered a vulnerability in xonix, a game,
where an external program was invoked while retaining setgid privileges.
A local attacker could exploit this vulnerability to gain gid "games".

ok brad@
This commit is contained in:
robert 2004-05-06 10:26:21 +00:00
parent 37b5e643e7
commit 6acc0f152a
2 changed files with 18 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.16 2002/10/26 20:44:40 naddy Exp $
# $OpenBSD: Makefile,v 1.17 2004/05/06 10:26:21 robert Exp $
COMMENT= "win land without colliding with 'flyers' and 'eaters'"
DISTNAME= xonix-1.4
PKGNAME= ${DISTNAME}p1
CATEGORIES= games
MASTER_SITES= ftp://ftp.interface-business.de/pub/outgoing/

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-Imakefile,v 1.1 2004/05/06 10:26:21 robert Exp $
--- Imakefile.orig Wed May 5 21:44:47 2004
+++ Imakefile Wed May 5 21:44:56 2004
@@ -23,11 +23,10 @@
PROG = xonix
XONIXDIR = $(LIBDIR)/xonix
- CUTE = -DSEND_MAIL /* cute feature :-) */
DEPLIBS = XawClientDepLibs XpmDepLib
LOCAL_LIBRARIES = XawClientLibs XpmLib MathLibrary
- EXTRA_DEFINES = -DUSE_X11 -DXONIXDIR=\"$(XONIXDIR)\" $(CUTE)
+ EXTRA_DEFINES = -DUSE_X11 -DXONIXDIR=\"$(XONIXDIR)\"
/* CDEBUGFLAGS = DebuggableCDebugFlags */
SRCS = xonix.c x11.c stack.c