diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-04-02 03:11:01 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2004-04-02 03:11:01 +0000 |
commit | 95bcdf9538b6eb8d6fb3e0a16a35d1f843ec9d8b (patch) | |
tree | 31df5c4673ad68915ddf20925ba29358aae01e88 | |
parent | fixing Manifest (diff) | |
download | gentoo-2-95bcdf9538b6eb8d6fb3e0a16a35d1f843ec9d8b.tar.gz gentoo-2-95bcdf9538b6eb8d6fb3e0a16a35d1f843ec9d8b.tar.bz2 gentoo-2-95bcdf9538b6eb8d6fb3e0a16a35d1f843ec9d8b.zip |
Updated with patches to fix recent DoS in Unreal engine based games. See bug #44351 for more information.
-rw-r--r-- | games-fps/ut2003/ChangeLog | 9 | ||||
-rw-r--r-- | games-fps/ut2003/files/digest-ut2003-2225-r2 (renamed from games-fps/ut2003/files/digest-ut2003-2225-r1) | 1 | ||||
-rw-r--r-- | games-fps/ut2003/files/ucc | 4 | ||||
-rw-r--r-- | games-fps/ut2003/ut2003-2225-r2.ebuild (renamed from games-fps/ut2003/ut2003-2225-r1.ebuild) | 29 |
4 files changed, 33 insertions, 10 deletions
diff --git a/games-fps/ut2003/ChangeLog b/games-fps/ut2003/ChangeLog index 76c37b94deb9..b1178b469246 100644 --- a/games-fps/ut2003/ChangeLog +++ b/games-fps/ut2003/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-fps/ut2003 # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ChangeLog,v 1.17 2004/03/22 14:17:54 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ChangeLog,v 1.18 2004/04/02 03:11:01 wolf31o2 Exp $ + +*ut2003-2225-r2 (01 Apr 2004) + + 01 Apr 2004; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225-r1.ebuild, + ut2003-2225-r2.ebuild, files/ucc: + Updated with patches to fix recent DoS in Unreal engine based games. See bug + #44351 for more information. 22 Mar 2004; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225-r1.ebuild: Modified sed line to change sed from working on portage tree to working on diff --git a/games-fps/ut2003/files/digest-ut2003-2225-r1 b/games-fps/ut2003/files/digest-ut2003-2225-r2 index 5ade972c85d4..2bdcd5cc4a73 100644 --- a/games-fps/ut2003/files/digest-ut2003-2225-r1 +++ b/games-fps/ut2003/files/digest-ut2003-2225-r2 @@ -1 +1,2 @@ MD5 9313986bae68514a31917de8f8fca999 ut2003lnx_2107to2225.sh.bin 8558900 +MD5 bba41d9a1c552ae1664c7521798324cd UT2003CrashFix.zip 2764 diff --git a/games-fps/ut2003/files/ucc b/games-fps/ut2003/files/ucc deleted file mode 100644 index 596621803c8a..000000000000 --- a/games-fps/ut2003/files/ucc +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -cd GENTOO_DIR -./ucc $@ diff --git a/games-fps/ut2003/ut2003-2225-r1.ebuild b/games-fps/ut2003/ut2003-2225-r2.ebuild index 2355b4659a82..ecb11c2dba6e 100644 --- a/games-fps/ut2003/ut2003-2225-r1.ebuild +++ b/games-fps/ut2003/ut2003-2225-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ut2003-2225-r1.ebuild,v 1.6 2004/03/22 14:17:11 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ut2003-2225-r2.ebuild,v 1.1 2004/04/02 03:11:01 wolf31o2 Exp $ inherit games @@ -8,14 +8,16 @@ IUSE="dedicated" DESCRIPTION="Unreal Tournament 2003 - Sequel to the 1999 Game of the Year multi-player first-person shooter" HOMEPAGE="http://www.unrealtournament2003.com/" SRC_URI="http://unreal.epicgames.com/linux/ut2003/${PN}lnx_2107to${PV}.sh.bin - ftp://david.hedbor.org/ut2k3/updates/${PN}lnx_2107to${PV}.sh.bin" + ftp://david.hedbor.org/ut2k3/updates/${PN}lnx_2107to${PV}.sh.bin + http://download.factoryunreal.com/mirror/UT2003CrashFix.zip" LICENSE="ut2003" SLOT="0" KEYWORDS="x86" RESTRICT="nostrip" -DEPEND="virtual/glibc" +DEPEND="virtual/glibc + app-arch/unzip" RDEPEND="dedicated? ( games-server/ut2003-ded ) !dedicated? ( virtual/opengl )" @@ -33,7 +35,10 @@ pkg_setup() { } src_unpack() { - unpack_makeself || die "unpacking patch" + unpack_makeself ${DISTDIR}/${PN}lnx_2107to${PV}.sh.bin \ + || die "unpacking patch" + unzip ${DISTDIR}/UT2003CrashFix.zip \ + || die "unpacking crash-fix" } src_install() { @@ -110,7 +115,7 @@ src_install() { insinto ${dir} doins ${S}/README.linux ${S}/Unreal.xpm || die "copying readme/icon" - dogamesbin ut2003 + dogamesbin ${FILESDIR}/ut2003 sed -i "s:GENTOO_DIR:${dir}:" ${D}/${GAMES_BINDIR}/ut2003 rm ${Ddir}/System/{UT2003,User}.ini || die "deleting ini files" @@ -120,6 +125,19 @@ src_install() { bin/Linux/x86/loki_patch --verify patch.dat || die "verifying patch" bin/Linux/x86/loki_patch patch.dat ${Ddir} >& /dev/null || die "patching" + # 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 + # now, since these files are coming off a cd, the times/sizes/md5sums wont # be different ... that means portage will try to unmerge some files (!) # we run touch on ${D} so as to make sure portage doesnt do any such thing @@ -168,6 +186,7 @@ pkg_config() { if [ "$CDKEY1" == "$CDKEY2" ] ; then echo "$CDKEY1" | tr a-z A-Z > ${dir}/System/cdkey einfo "Thank you!" + chown games:games ${dir}/System/cdkey break else eerror "Your CD key entries do not match. Try again." |