diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-05-16 18:10:40 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-05-16 18:10:40 +0000 |
commit | 2e472690c5a35503824db417d19c5bfa147391a8 (patch) | |
tree | 053c51a3a93b62376ffce769504e7a2fb13ccd89 /games-server/ut2004-ded | |
parent | Stable on amd64 and x86. (diff) | |
download | historical-2e472690c5a35503824db417d19c5bfa147391a8.tar.gz historical-2e472690c5a35503824db417d19c5bfa147391a8.tar.bz2 historical-2e472690c5a35503824db417d19c5bfa147391a8.zip |
Added 3355 version for testing.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'games-server/ut2004-ded')
-rw-r--r-- | games-server/ut2004-ded/ChangeLog | 10 | ||||
-rw-r--r-- | games-server/ut2004-ded/Manifest | 4 | ||||
-rw-r--r-- | games-server/ut2004-ded/files/digest-ut2004-ded-3355 | 2 | ||||
-rw-r--r-- | games-server/ut2004-ded/ut2004-ded-3355.ebuild | 77 |
4 files changed, 90 insertions, 3 deletions
diff --git a/games-server/ut2004-ded/ChangeLog b/games-server/ut2004-ded/ChangeLog index ff98f3179b7b..b4d322ad6f81 100644 --- a/games-server/ut2004-ded/ChangeLog +++ b/games-server/ut2004-ded/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-server/ut2004-ded -# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ChangeLog,v 1.3 2004/11/26 22:24:23 wolf31o2 Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ChangeLog,v 1.4 2005/05/16 18:10:40 wolf31o2 Exp $ + +*ut2004-ded-3355 (16 May 2005) + + 16 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> + +ut2004-ded-3355.ebuild: + Added 3355 version for testing. *ut2004-ded-3339 (26 Nov 2004) diff --git a/games-server/ut2004-ded/Manifest b/games-server/ut2004-ded/Manifest index 71ef0a25891b..d98b03f59364 100644 --- a/games-server/ut2004-ded/Manifest +++ b/games-server/ut2004-ded/Manifest @@ -1,5 +1,7 @@ -MD5 13a831e15ec5929c2fa9bb87b99d3ceb ChangeLog 1025 +MD5 6c66fd30e51721e39adba12f76e806a0 ut2004-ded-3355.ebuild 2292 +MD5 4e1b1679ddf8f48a73b353876ec6c304 ChangeLog 1173 MD5 f05d84780234f0c985ed7d5dc5f3ddb1 metadata.xml 646 MD5 fa189499a42720bf9befb3c9391527f6 ut2004-ded-3339.ebuild 2130 MD5 d01741a71f471ffeb77693d4aba27877 files/ut2004-ded.rc 2515 MD5 4af532afea8f24bd5bc3235231bbde8d files/digest-ut2004-ded-3339 81 +MD5 f72558b89ebdc6d5ffb4d2f2390266e2 files/digest-ut2004-ded-3355 155 diff --git a/games-server/ut2004-ded/files/digest-ut2004-ded-3355 b/games-server/ut2004-ded/files/digest-ut2004-ded-3355 new file mode 100644 index 000000000000..0a39f272c328 --- /dev/null +++ b/games-server/ut2004-ded/files/digest-ut2004-ded-3355 @@ -0,0 +1,2 @@ +MD5 d3f28c5245c4c02802d48e4f0ffd3e34 dedicatedserver3339-bonuspack.zip 914213907 +MD5 379198183e16cefeb585a1c3252e63dd ut2004-lnxpatch3355.tar.bz2 20655315 diff --git a/games-server/ut2004-ded/ut2004-ded-3355.ebuild b/games-server/ut2004-ded/ut2004-ded-3355.ebuild new file mode 100644 index 000000000000..39bebdd4059d --- /dev/null +++ b/games-server/ut2004-ded/ut2004-ded-3355.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ut2004-ded-3355.ebuild,v 1.1 2005/05/16 18:10:40 wolf31o2 Exp $ + +inherit games + +DESCRIPTION="Unreal Tournament 2004 Linux Dedicated Server" +HOMEPAGE="http://www.unrealtournament.com/" + +MY_P="dedicatedserver3339-bonuspack.zip" +MY_P2="${PN/-ded}-lnxpatch${PV}.tar.bz2" +SRC_URI="mirror://3dgamers/pub/3dgamers/games/unrealtourn2k4/${MY_P} + mirror://3dgamers/pub/3dgamers/games/unrealtourn2k4/${MY_P2}" + +LICENSE="ut2003" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +RESTRICT="nostrip nomirror" + +DEPEND="app-arch/unzip" + +S=${WORKDIR} +dir=${GAMES_PREFIX_OPT}/${PN} +Ddir=${D}/${dir} + +pkg_setup() { + check_license || die "License check failed" + games_pkg_setup +} + +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" + + prepgamesdirs + + exeinto /etc/init.d + newexe ${FILESDIR}/ut2004-ded.rc ut2004-ded +} + +pkg_postinst() { + echo + einfo "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 " /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 + games_pkg_postinst +} |