diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-04-02 03:34:06 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-04-02 03:34:06 +0000 |
commit | 7f5574bfa36be92d6005ae364995637614ed600f (patch) | |
tree | 27dfda4fdc49f294e5098803db56953b0d583815 /games-server/ut2003-ded | |
parent | fixing Manifest (diff) | |
download | gentoo-2-7f5574bfa36be92d6005ae364995637614ed600f.tar.gz gentoo-2-7f5574bfa36be92d6005ae364995637614ed600f.tar.bz2 gentoo-2-7f5574bfa36be92d6005ae364995637614ed600f.zip |
Updated with patches to fix recent DoS in Unreal engine based games. See bug #44351 for more information.
Diffstat (limited to 'games-server/ut2003-ded')
-rw-r--r-- | games-server/ut2003-ded/ChangeLog | 11 | ||||
-rw-r--r-- | games-server/ut2003-ded/files/digest-ut2003-ded-2225-r1 (renamed from games-server/ut2003-ded/files/digest-ut2003-ded-2225) | 1 | ||||
-rw-r--r-- | games-server/ut2003-ded/metadata.xml | 7 | ||||
-rw-r--r-- | games-server/ut2003-ded/ut2003-ded-2225-r1.ebuild | 68 | ||||
-rw-r--r-- | games-server/ut2003-ded/ut2003-ded-2225.ebuild | 33 |
5 files changed, 85 insertions, 35 deletions
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 <wolf31o2@gentoo.org> 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-r1 index 46b951961762..0b7fcf29ddaf 100644 --- a/games-server/ut2003-ded/files/digest-ut2003-ded-2225 +++ b/games-server/ut2003-ded/files/digest-ut2003-ded-2225-r1 @@ -1 +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 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>games</herd> +<maintainer> + <email>wolf31o2@gentoo.org</email> + <name>Chris Gianelloni</name> +</maintainer> +<longdescription> +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. +</longdescription> </pkgmetadata> 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 <<EOT +$ +?Engine.GameInfo? +a +AccessControlClass=crashfix.iaccesscontrolini +. +w +q +EOT + + prepgamesdirs +} + +pkg_postinst() { + ewarn "NOTE: To have your server authenticate properly, you" + ewarn " MUST visit the following site and request a key." + ewarn "http://ut2003master.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." + echo + + games_pkg_postinst +} diff --git a/games-server/ut2003-ded/ut2003-ded-2225.ebuild b/games-server/ut2003-ded/ut2003-ded-2225.ebuild deleted file mode 100644 index 3e6d257c95c3..000000000000 --- a/games-server/ut2003-ded/ut2003-ded-2225.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# 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.ebuild,v 1.2 2004/02/20 07:31:48 mr_bones_ 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" - -LICENSE="ut2003" -SLOT="0" -KEYWORDS="x86" -RESTRICT="nostrip" - -S=${WORKDIR}/ut2003_dedicated - -src_install() { - einfo "This will take a while ... go get a pizza or something" - - local dir=${GAMES_PREFIX_OPT}/${PN} - dodir ${dir} - mv * ${D}/${dir}/ - prepgamesdirs -} - -pkg_postinst() { - ewarn "NOTE: To have your server authenticate properly, you" - ewarn " MUST visit the following site and request a key." - ewarn "http://ut2003master.epicgames.com/ut2003server/cdkey.php" - games_pkg_postinst -} |