ChangeLog

# ChangeLog for games-server/ut2004-ded
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ChangeLog,v 1.21 2007/04/28 16:06:50 tove Exp $

28 Apr 2007; Torsten Veller ut2004-ded-3369.ebuild:
Use newinitd

12 Mar 2007; Marius Mauch ut2004-ded-3369.ebuild:
Replacing einfo with elog

07 Mar 2007; Chris Gianelloni files/ut2004-ded.rc:
Change all instances of [ to [[.

09 Jan 2007; Chris Gianelloni
ut2004-ded-3369.ebuild:
Fixed redundant braces that were breaking on newer bash versions and closing
bug #159256.

01 Dec 2006; Chris Gianelloni
ut2004-ded-3369.ebuild:
Added =virtual/libstdc++-3.3 to RDEPEND and closing bug #156250.

05 Oct 2006; Chris Gianelloni
ut2004-ded-3369.ebuild:
Added s to my dosed line. Closing bug #150155.

15 Sep 2006; Chris Gianelloni files/ut2004-ded.rc,
ut2004-ded-3369.ebuild:
Change hard-coded /opt to GAMES_PREFIX_OPT.

14 Jun 2006; Chris Gianelloni files/ut2004-ded.rc:
Rewrote the init script, since it was in need of it. Also fixed bug #136727.

31 Mar 2006; Chris Gianelloni
ut2004-ded-3369.ebuild:
Changed nomirror to mirror and nostrip to strip.

31 Mar 2006; Chris Gianelloni
-ut2004-ded-3355.ebuild:
Removing old version.

27 Mar 2006; Chris Gianelloni
ut2004-ded-3369.ebuild:
Marking stable on amd64 and x86.

27 Mar 2006; Chris Gianelloni
ut2004-ded-3355.ebuild, ut2004-ded-3369.ebuild:
Moved games_pkg_postinst to beginning of pkg_postinst.

06 Jan 2006; Chris Gianelloni
ut2004-ded-3369.ebuild:
Added 2 more mirrors. Thanks to SonicLux on #gentoo-games.

*ut2004-ded-3369 (03 Jan 2006)

03 Jan 2006; Chris Gianelloni
+ut2004-ded-3369.ebuild:
Version bumped to 3369.2 for all you dedicated server monkeys out there in
Unreal Tournament land.

21 Sep 2005; Chris Gianelloni
ut2004-ded-3355.ebuild:
Changed check_license to explicitly list license to check.

30 Aug 2005; Chris Gianelloni
-ut2004-ded-3339.ebuild, ut2004-ded-3355.ebuild:
Marking 3355 stable on x86 and amd64 and removing old version.

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

*ut2004-ded-3355 (16 May 2005)

16 May 2005; Chris Gianelloni
+ut2004-ded-3355.ebuild:
Added 3355 version for testing.

*ut2004-ded-3339 (26 Nov 2004)

26 Nov 2004; Chris Gianelloni
-ut2004-ded-3323.ebuild, +ut2004-ded-3339.ebuild:
Updated to latest version and closing bug #67105.

*ut2004-ded-3323 (14 Sep 2004)

14 Sep 2004; Chris Gianelloni -ut2004-ded-3236.ebuild,
+ut2004-ded-3323.ebuild:
Removing old versions and updating to newest patch.

*ut2004-ded-3236 (03 Jul 2004)

03 Jul 2004; Chris Gianelloni +metadata.xml,
+files/ut2004-ded.rc, +ut2004-ded-3236.ebuild:
Initial import. Original ebuild submitted by James Jones
with an init script submitted by Ken Smith
. Updated to 3236-1 patch by Davin Boling
with some modifications by me. Closing bug #46057.

Manifest

AUX ut2004-ded.rc 1189 RMD160 60bd5fc61968be5d07e7f35b8dfbf9c6d824b781 SHA1 534dba533d46e1ba632cef4bdde594025ed4ba35 SHA256 6ef5c7b45ddd3a6876e2ccbc1314284115cfae1b56dc6a4e3bd76579783cb64f
DIST dedicatedserver3339-bonuspack.zip 914213907 RMD160 e31cdb4f1ecfd31e51b4caea76db4ea7b522a4ca SHA1 e1eda562d99e66a7e5972f05bbf0de8733bf60c9 SHA256 b8fc94fc843483b18c225e100736d10cb2690ba8666d6abbb274ea6ad718b18e
DIST ut2004-lnxpatch3369-2.tar.bz2 22465217 RMD160 af632d8cd1f05e36e861eb3fab927ffc8ae3f59d SHA1 a8cc33877a02a0a09c288b5fc248efde282f7bdf SHA256 438b9b13a367d46f23cce12b065382a55afa2fc68add1f1dd3db03b015f60bb3
EBUILD ut2004-ded-3369.ebuild 2513 RMD160 9f72ee1224dca5ed0a7860af6733515020393fc1 SHA1 f8cbe150584ee49d5b144c767f4ddf894c962c8d SHA256 acab0d5b4538fac38ee2b682db72bf9b4d4152bbc270a3dd8545fc70766ec1e8
MISC ChangeLog 3570 RMD160 98f75ab5b27d70ef7f61c5fb15c067c37198a5f1 SHA1 3d907a34ca0e09005d3ce3c5f10dc39705a1e041 SHA256 c258d3a47830ee0fd43d555789d50618a4563d58d165f24a955bbed0e15f64d0
MISC metadata.xml 550 RMD160 b35b723becaa39dee17032302d479668a37e5ca9 SHA1 b8fd648a442d8b0c4a452bd1956b2983ce3e9bc0 SHA256 183771c406473976c7b2e16fae6309a0af81b9a809a6170d382171c025003617

files

metadata.xml




games

Unreal Tounament 2004 is a first-person 3-D shooter and sequel to the 2003 Game of the Year, Unreal Tournament 2003. 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.

ut2004-ded-3369.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ut2004-ded-3369.ebuild,v 1.11 2007/04/28 16:06:50 tove Exp $

inherit games

DESCRIPTION="Unreal Tournament 2004 Linux Dedicated Server"
HOMEPAGE="http://www.unrealtournament.com/"

MY_P="dedicatedserver3339-bonuspack.zip"
MY_P2="ut2004-lnxpatch${PV}-2.tar.bz2"
SRC_URI="mirror://3dgamers/unrealtourn2k4/${MY_P}
http://downloads.unrealadmin.org/UT2004/Patches/Linux/${MY_P}
http://sonic-lux.net/data/mirror/ut2004/${MY_P}
mirror://3dgamers/unrealtourn2k4/${MY_P2}
http://downloads.unrealadmin.org/UT2004/Server/${MY_P2}
http://sonic-lux.net/data/mirror/ut2004/${MY_P2}"

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

DEPEND="app-arch/unzip"
RDEPEND="=virtual/libstdc++-3.3"

S=${WORKDIR}

GAMES_CHECK_LICENSE="yes"
dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}

src_install() {
einfo "This will take a while ... go get a pizza or something"

dodir ${dir}
cp -r ${S}/UT2004-Patch/* ${S}
rm -rf ${S}/UT2004-Patch
cp -r ${S}/* ${Ddir}

if use amd64 ; then
rm ${Ddir}/System/ucc-bi{n,n-macosx} \
|| die "removing unused binaries"
mv ${Ddir}/System/ucc-bin-linux-amd64 ${Ddir}/System/ucc-bin \
|| die "renaming ucc-bin-amd64 => ucc-bin"
else
rm ${Ddir}/System/ucc-bin-{linux-amd64,macosx} \
|| die "removing unused binaries"
fi

fperms 0770 ${dir}/System/ucc-bin || die "fixing permissions on ucc-bin"
rm -f ${Ddir}/System/*.dll || die "removing windows dlls"
rm -f ${Ddir}/System/*.exe || die "removing windows exes"

newinitd ${FILESDIR}/ut2004-ded.rc ut2004-ded
dosed "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \
/etc/init.d/ut2004-ded || die "sed"

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
elog "The server can be started with the /etc/init.d/ut2004-ded init script."
echo
ewarn "You should take the time to edit the default server INI."
ewarn "Consult the INI Reference at http://unrealadmin.org/"
ewarn "for assistance in adjusting the following file:"
ewarn " ${GAMES_PREFIX_OPT}/ut2004-ded/System/Default.ini"
echo
ewarn "NOTE: To have your server authenticate properly to the"
ewarn " central server, you MUST visit the following site"
ewarn " and request a key. This is not required if you"
ewarn " want an unfindable private server. [DoUplink=False]"
echo
ewarn " http://unreal.epicgames.com/ut2004server/cdkey.php"
echo
}