public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-server/ut2004-ded: ChangeLog ut2004-ded-3369.3-r1.ebuild ut2004-ded-3369.ebuild ut2004-ded-3369.3.ebuild
@ 2009-10-12  0:54 Tristan Heaven (nyhm)
  0 siblings, 0 replies; only message in thread
From: Tristan Heaven (nyhm) @ 2009-10-12  0:54 UTC (permalink / raw
  To: gentoo-commits

nyhm        09/10/12 00:54:19

  Modified:             ChangeLog
  Added:                ut2004-ded-3369.3-r1.ebuild
  Removed:              ut2004-ded-3369.ebuild ut2004-ded-3369.3.ebuild
  Log:
  Install ut2004-ded wrapper for "ucc-bin server"; depend on ut2004-bonuspack-{ece,mega} and remove files which are replaced by them to prevent collisons; improve init script
  (Portage version: 2.2_rc45/cvs/Linux x86_64, RepoMan options: --force)

Revision  Changes    Path
1.23                 games-server/ut2004-ded/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-server/ut2004-ded/ChangeLog?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-server/ut2004-ded/ChangeLog?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-server/ut2004-ded/ChangeLog?r1=1.22&r2=1.23

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog	3 Sep 2009 12:37:38 -0000	1.22
+++ ChangeLog	12 Oct 2009 00:54:18 -0000	1.23
@@ -1,6 +1,16 @@
 # ChangeLog for games-server/ut2004-ded
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ChangeLog,v 1.22 2009/09/03 12:37:38 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-server/ut2004-ded/ChangeLog,v 1.23 2009/10/12 00:54:18 nyhm Exp $
+
+*ut2004-ded-3369.3-r1 (12 Oct 2009)
+
+  12 Oct 2009; Tristan Heaven <nyhm@gentoo.org> files/ut2004-ded.confd,
+  -ut2004-ded-3369.ebuild, files/ut2004-ded.initd,
+  -ut2004-ded-3369.3.ebuild, -files/ut2004-ded.rc,
+  +ut2004-ded-3369.3-r1.ebuild:
+  Install ut2004-ded wrapper for "ucc-bin server"; depend on
+  ut2004-bonuspack-{ece,mega} and remove files which are replaced by them to
+  prevent collisons; improve init script
 
 *ut2004-ded-3369.3 (03 Sep 2009)
 



1.1                  games-server/ut2004-ded/ut2004-ded-3369.3-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-server/ut2004-ded/ut2004-ded-3369.3-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-server/ut2004-ded/ut2004-ded-3369.3-r1.ebuild?rev=1.1&content-type=text/plain

Index: ut2004-ded-3369.3-r1.ebuild
===================================================================
# Copyright 1999-2009 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.3-r1.ebuild,v 1.1 2009/10/12 00:54:18 nyhm Exp $

EAPI=2
inherit games

BONUSPACK_P="dedicatedserver3339-bonuspack.zip"
PATCH_P="ut2004-lnxpatch${PV%.*}-2.tar.bz2"
DESCRIPTION="Unreal Tournament 2004 Linux Dedicated Server"
HOMEPAGE="http://www.unrealtournament.com/"
SRC_URI="mirror://3dgamers/unrealtourn2k4/${BONUSPACK_P}
	http://downloads.unrealadmin.org/UT2004/Patches/Linux/${BONUSPACK_P}
	http://sonic-lux.net/data/mirror/ut2004/${BONUSPACK_P}
	mirror://3dgamers/unrealtourn2k4/${PATCH_P}
	http://downloads.unrealadmin.org/UT2004/Server/${PATCH_P}
	http://sonic-lux.net/data/mirror/ut2004/${PATCH_P}
	mirror://gentoo/ut2004-v${PV/./-}-linux-dedicated.7z"

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

DEPEND="app-arch/unzip
	app-arch/p7zip"
RDEPEND="sys-libs/glibc
	!games-fps/ut2004[dedicated]
	games-fps/ut2004-bonuspack-ece
	games-fps/ut2004-bonuspack-mega"

S=${WORKDIR}

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

src_prepare() {
	cp -rf UT2004-Patch/* . || die
	rm -rf System/{ucc-bin*,ut2004-bin*,*.dll,*.exe} UT2004-Patch
	if use amd64 ; then
		mv -f ut2004-ucc-bin-09192008/ucc-bin-linux-amd64 System/ucc-bin || die
	else
		mv -f ut2004-ucc-bin-09192008/ucc-bin System/ || die
	fi
	rm -rf ut2004-ucc-bin-09192008
	# Owned by ut2004-bonuspack-ece
	rm -f Animations/{MetalGuardAnim,ONSBPAnimations,NecrisAnim,MechaSkaarjAnims}.ukx
	rm -f Help/BonusPackReadme.txt
	rm -f Maps/{ONS-Adara,ONS-IslandHop,ONS-Tricky,ONS-Urban}.ut2
	rm -f Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax
	rm -f StaticMeshes/{HourAdara,BenMesh02,BenTropicalSM01,ONS-BPJW1,PC_UrbanStatic}.usx
	rm -f System/{ONS-IslandHop,ONS-Tricky,ONS-Adara,ONS-Urban,OnslaughtBP}.int
	rm -f System/xaplayersl3.upl
	rm -f Textures/{ONSBPTextures,BonusParticles,HourAdaraTexor,BenTex02,BenTropical01,PC_UrbanTex,AW-2k4XP,ONSBP_DestroyedVehicles,UT2004ECEPlayerSkins,CicadaTex,Construction_S}.utx
	# Owned by ut2004-bonuspack-mega
	rm -f System/{Manifest.ini,Manifest.int,Packages.md5}
}

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

	games_make_wrapper ${PN} "./ucc-bin server" "${dir}"/System

	insinto "${dir}"
	doins -r * || die "doins failed"
	fperms +x "${dir}"/System/ucc-bin || die "fperms failed"

	sed \
		-e "s:@USER@:${GAMES_USER_DED}:" \
		-e "s:@GROUP@:${GAMES_GROUP}:" \
		-e "s:@HOME@:${GAMES_PREFIX}:" \
		"${FILESDIR}"/${PN}.confd > "${T}"/${PN}.confd \
		|| die "sed confd failed"
	newconfd "${T}"/${PN}.confd ${PN} || die "newconfd failed"

	sed \
		-e "s:@DIR@:${GAMES_BINDIR}:g" \
		"${FILESDIR}"/${PN}.initd > "${T}"/${PN}.initd \
		|| die "sed initd failed"
	newinitd "${T}"/${PN}.initd ${PN} || die "initd failed"

	prepgamesdirs
}

pkg_postinst() {
	games_pkg_postinst
	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 "${dir}/System/Default.ini"
	ewarn
	ewarn "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]"
	ewarn
	ewarn "http://unreal.epicgames.com/ut2004server/cdkey.php"
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-12  0:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-12  0:54 [gentoo-commits] gentoo-x86 commit in games-server/ut2004-ded: ChangeLog ut2004-ded-3369.3-r1.ebuild ut2004-ded-3369.ebuild ut2004-ded-3369.3.ebuild Tristan Heaven (nyhm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox