From 7f5574bfa36be92d6005ae364995637614ed600f Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Fri, 2 Apr 2004 03:34:06 +0000 Subject: Updated with patches to fix recent DoS in Unreal engine based games. See bug #44351 for more information. --- games-server/ut2003-ded/ChangeLog | 11 +++- .../ut2003-ded/files/digest-ut2003-ded-2225 | 1 - .../ut2003-ded/files/digest-ut2003-ded-2225-r1 | 2 + games-server/ut2003-ded/metadata.xml | 7 +++ games-server/ut2003-ded/ut2003-ded-2225-r1.ebuild | 68 ++++++++++++++++++++++ games-server/ut2003-ded/ut2003-ded-2225.ebuild | 33 ----------- 6 files changed, 86 insertions(+), 36 deletions(-) delete mode 100644 games-server/ut2003-ded/files/digest-ut2003-ded-2225 create mode 100644 games-server/ut2003-ded/files/digest-ut2003-ded-2225-r1 create mode 100644 games-server/ut2003-ded/ut2003-ded-2225-r1.ebuild delete mode 100644 games-server/ut2003-ded/ut2003-ded-2225.ebuild (limited to 'games-server/ut2003-ded') diff --git a/games-server/ut2003-ded/ChangeLog b/games-server/ut2003-ded/ChangeLog index 29f850376539..699e51b689b3 100644 --- a/games-server/ut2003-ded/ChangeLog +++ b/games-server/ut2003-ded/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-server/ut2003-ded -# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/ut2003-ded/ChangeLog,v 1.2 2003/09/10 15:48:47 vapier Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/ut2003-ded/ChangeLog,v 1.3 2004/04/02 03:34:06 wolf31o2 Exp $ + +*ut2003-ded-2225-r1 (01 Apr 2004) + + 01 Apr 2004; Chris Gianelloni metadata.xml, + ut2003-ded-2225-r1.ebuild, ut2003-ded-2225.ebuild: + Updated with patches to fix recent DoS in Unreal engine based games. See bug + #44351 for more information. *ut2003-ded-2225 (27 Jun 2003) diff --git a/games-server/ut2003-ded/files/digest-ut2003-ded-2225 b/games-server/ut2003-ded/files/digest-ut2003-ded-2225 deleted file mode 100644 index 46b951961762..000000000000 --- a/games-server/ut2003-ded/files/digest-ut2003-ded-2225 +++ /dev/null @@ -1 +0,0 @@ -MD5 a3b6c5d9492692533168ee685026e926 ut2003-lnxded-2225.tar.bz2 304132056 diff --git a/games-server/ut2003-ded/files/digest-ut2003-ded-2225-r1 b/games-server/ut2003-ded/files/digest-ut2003-ded-2225-r1 new file mode 100644 index 000000000000..0b7fcf29ddaf --- /dev/null +++ b/games-server/ut2003-ded/files/digest-ut2003-ded-2225-r1 @@ -0,0 +1,2 @@ +MD5 a3b6c5d9492692533168ee685026e926 ut2003-lnxded-2225.tar.bz2 304132056 +MD5 bba41d9a1c552ae1664c7521798324cd UT2003CrashFix.zip 2764 diff --git a/games-server/ut2003-ded/metadata.xml b/games-server/ut2003-ded/metadata.xml index d3c2cc926f0b..827cceadab68 100644 --- a/games-server/ut2003-ded/metadata.xml +++ b/games-server/ut2003-ded/metadata.xml @@ -2,4 +2,11 @@ games + + wolf31o2@gentoo.org + Chris Gianelloni + + +Unreal Tounament 2003 is a first-person 3-D shooter and sequel to the 1999 Game of the Year, Unreal Tournament. The game was ported to Linux by Ryan "icculus" Gordon under contract from Epic Games and the Linux installer was released in the retail box. This is the dedicated server portion of the game and does not require the retail discs to use. + diff --git a/games-server/ut2003-ded/ut2003-ded-2225-r1.ebuild b/games-server/ut2003-ded/ut2003-ded-2225-r1.ebuild new file mode 100644 index 000000000000..cb374b676699 --- /dev/null +++ b/games-server/ut2003-ded/ut2003-ded-2225-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/ut2003-ded/ut2003-ded-2225-r1.ebuild,v 1.1 2004/04/02 03:34:06 wolf31o2 Exp $ + +inherit games + +DESCRIPTION="Unreal Tournament 2003 Linux Dedicated Server" +HOMEPAGE="http://www.ut2003.com/" +SRC_URI="http://games.gci.net/pub/UT2003/ut2003-lnxded-${PV}.tar.bz2 + ftp://3dgamers.in-span.net/pub/3dgamers3/games/unrealtourn2/ut2003-lnxded-${PV}.tar.bz2 + http://download.factoryunreal.com/mirror/UT2003CrashFix.zip" + +LICENSE="ut2003" +SLOT="0" +KEYWORDS="x86" +RESTRICT="nostrip nomirror" +IUSE="" + +DEPEND="app-arch/unzip" + +S=${WORKDIR} + +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} + +src_unpack() { + unpack ut2003-lnxded-${PV}.tar.bz2 \ + || die "unpacking dedicated server files." + unzip ${DISTDIR}/UT2003CrashFix.zip \ + || die "unpacking crash-fix" +} + +src_install() { + einfo "This will take a while ... go get a pizza or something" + + dodir ${dir} + mv ${S}/ut2003_dedicated/* ${Ddir} + + # Here we apply DrSiN's crash patch + cp ${S}/CrashFix/System/crashfix.u ${Ddir}/System + + ed ${Ddir}/System/Default.ini >/dev/null 2>&1 <