ChangeLog

# ChangeLog for games-server/ut2003-ded
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-server/ut2003-ded/ChangeLog,v 1.13 2007/02/21 23:50:13 peper Exp $

21 Feb 2007; Piotr JaroszyƄski ChangeLog:
Transition to Manifest2.

14 Nov 2006; Chris Gianelloni
ut2003-ded-2225-r2.ebuild:
Added Gentoo mirrors to mirror list for the crash fix and closing bug #153805.

31 Mar 2006; Chris Gianelloni
ut2003-ded-2225-r2.ebuild:
Changed nomirror to mirror and nostrip to strip.

27 Mar 2006; Chris Gianelloni
ut2003-ded-2225-r2.ebuild:
Moved games_pkg_postinst to beginning of pkg_postinst.

05 Jan 2006; Chris Gianelloni
ut2003-ded-2225-r2.ebuild:
Marking stable on amd64.

23 Nov 2005; Chris Gianelloni
ut2003-ded-2225-r2.ebuild:
Added amd64 support.

30 Aug 2005; Chris Gianelloni
ut2003-ded-2225-r2.ebuild:
Changed to match new 3dgamers mirrors structure in thirdpartymirrors.

17 Nov 2004; Chris Gianelloni
ut2003-ded-2225-r2.ebuild:
Removed calls to specific 3dgamers mirrors and changed to use
mirror://3dgamers instead.

*ut2003-ded-2225-r2 (08 Jul 2004)

08 Jul 2004; Chris Gianelloni
-ut2003-ded-2225-r1.ebuild, +ut2003-ded-2225-r2.ebuild:
Updated to close bug #54726.

*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)

27 Jun 2003; phoen][x ut2003-ded-20021004.ebuild,
ChangeLog, files/digest-ut2003-ded-20021004 :
Initial import #8795.

Manifest

DIST UT2003CrashFix.zip 2764 RMD160 647c14d1b6574e4c117426a1a21e1f0e3d846160 SHA1 420335203b972303f6701f35ff7260e327fa8441 SHA256 df1a6fdf81f388486b20abf301ef86fb72b0b12d96bec789d7cb7103da579813
DIST ut2003-lnxded-2225.tar.bz2 304132056 RMD160 d371c7bdd49dea4fd50e0d870de7156ab5a1033a SHA1 40f654d05357e3657ad0c938eade60ea649909b2 SHA256 eb74193dd4bcedfb0b50da3853027c0098cd2ec8673d115fbf31d6e29e010013
EBUILD ut2003-ded-2225-r2.ebuild 2031 RMD160 d2cc87feba4a70e646eb0cce7a11cf34b55ef3d1 SHA1 7ed73473ae90a45e67a5552dcd272ee5daa0eebc SHA256 9ba598f201e19a37fb891fbb15837b387e6100b60baf4484909b2bf8d8ff3bd4
MISC ChangeLog 1928 RMD160 71d8c23fc991d6ae756931d1703d0460591f6d7c SHA1 509a9eabe4ded5728e1c7d2654852d7dc3e9376b SHA256 1c5fe195c0dca04809c352e0ca9d47e07b97aa99df4c41bc284f93d39a38c325
MISC metadata.xml 545 RMD160 1f01ca559bbfaf85c74f5f66062845d4d97e01fa SHA1 48ccff1d5fb6a50b2fc17a029f19a8abd4bc8b36 SHA256 a9751b3a7e440663a4bfe0943e8fceb7f017d0529f376f809c41b43ab44ebf78

metadata.xml




games

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.

ut2003-ded-2225-r2.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-server/ut2003-ded/ut2003-ded-2225-r2.ebuild,v 1.8 2006/11/14 17:58:27 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
mirror://3dgamers/unrealtourn2/ut2003-lnxded-${PV}.tar.bz2
mirror://gentoo/UT2003CrashFix.zip
http://download.factoryunreal.com/mirror/UT2003CrashFix.zip"

LICENSE="ut2003"
SLOT="0"
KEYWORDS="amd64 x86"
RESTRICT="mirror strip"
IUSE=""

DEPEND="app-arch/unzip"
RDEPEND="sys-libs/glibc
amd64? ( app-emulation/emul-linux-x86-compat )"

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 < $
?Engine.GameInfo?
a
AccessControlClass=crashfix.iaccesscontrolini
.
w
q
EOT

# Here we apply fix for bug #54726
dosed "s:UplinkToGamespy=True:UplinkToGamespy=False:" \
${dir}/System/Default.ini

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
ewarn "NOTE: To have your server authenticate properly, you"
ewarn " MUST visit the following site and request a key."
ewarn "http://ut2003.epicgames.com/ut2003server/cdkey.php"
echo
ewarn "If you are not installing for the first time and you plan on running"
ewarn "a server, you will probably need to edit your"
ewarn "~/.ut2003/System/UT2003.ini file and add a line that says"
ewarn "AccessControlClass=crashfix.iaccesscontrolini to your"
ewarn "[Engine.GameInfo] section to close a security issue."
}