#!/bin/bash
cat <<_EOF_
***** WARNING *****

   The networking part of Quake II (especially the server part) contains
   several unfixed security issues. Therefore, Quake II should not be
   used over untrusted networks (like the internet). The version
   included in Debian is intended only for local play.   

   See for an possibly non-exhaustive list of issues:
   http://archives.neohapsis.com/archives/bugtraq/2004-10/0299.html
   http://www.r1ch.net/stuff/r1q2/
   http://bugs.debian.org/280573

*******************

Do you understand the security implications of continuing?
_EOF_

read answer
case "$answer" in
y*) exec /usr/lib/games/quake2/quake2.real "$@" ;;
*) exit 1
esac
