diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-05-17 18:55:42 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-05-17 18:55:42 +0000 |
commit | 21d673cea6cec6218cb499cc64f123dcb70407a3 (patch) | |
tree | 7b5b5c20ef49bf4bbc3d14f4a8cf7cdeba9f4d48 /games-server/tetrix | |
parent | Cleanup for bug #92745. (diff) | |
download | gentoo-2-21d673cea6cec6218cb499cc64f123dcb70407a3.tar.gz gentoo-2-21d673cea6cec6218cb499cc64f123dcb70407a3.tar.bz2 gentoo-2-21d673cea6cec6218cb499cc64f123dcb70407a3.zip |
Cleanup for bug #92745.
Diffstat (limited to 'games-server/tetrix')
-rw-r--r-- | games-server/tetrix/ChangeLog | 7 | ||||
-rw-r--r-- | games-server/tetrix/files/1.13.16.1.40c-droproot.patch | 2 | ||||
-rw-r--r-- | games-server/tetrix/files/digest-tetrix-1.13.16.1.40c-r1 | 1 | ||||
-rw-r--r-- | games-server/tetrix/tetrix-1.13.16.1.40c-r1.ebuild | 51 | ||||
-rw-r--r-- | games-server/tetrix/tetrix-1.13.16.1.40c-r2.ebuild | 6 |
5 files changed, 10 insertions, 57 deletions
diff --git a/games-server/tetrix/ChangeLog b/games-server/tetrix/ChangeLog index 59d5ad2481e4..67026a9f3148 100644 --- a/games-server/tetrix/ChangeLog +++ b/games-server/tetrix/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-server/tetrix # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/tetrix/ChangeLog,v 1.4 2005/04/11 21:34:06 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-server/tetrix/ChangeLog,v 1.5 2005/05/17 18:53:27 wolf31o2 Exp $ + + 17 May 2005; Chris Gianelloni <wolf31o2@gentoo.org> + files/1.13.16.1.40c-droproot.patch, -tetrix-1.13.16.1.40c-r1.ebuild, + tetrix-1.13.16.1.40c-r2.ebuild: + Cleanup for bug #92745. 11 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> tetrix-1.13.16.1.40c-r2.ebuild: diff --git a/games-server/tetrix/files/1.13.16.1.40c-droproot.patch b/games-server/tetrix/files/1.13.16.1.40c-droproot.patch index f04911f523fb..bfba910cb527 100644 --- a/games-server/tetrix/files/1.13.16.1.40c-droproot.patch +++ b/games-server/tetrix/files/1.13.16.1.40c-droproot.patch @@ -163,7 +163,7 @@ Files src.orig/tetrix and src/tetrix differ +# username/group to switch UID/GID to +droproot=1 -+dropuser=games-ded ++dropuser=games +dropgroup=games + # maxchannels [1] - How many channels should be available on server diff --git a/games-server/tetrix/files/digest-tetrix-1.13.16.1.40c-r1 b/games-server/tetrix/files/digest-tetrix-1.13.16.1.40c-r1 deleted file mode 100644 index 90ab0b9dc712..000000000000 --- a/games-server/tetrix/files/digest-tetrix-1.13.16.1.40c-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 32e5306bc26afc9e5acdca9c093947c0 tetrinetx-1.13.16+qirc-1.40c.tar.gz 81447 diff --git a/games-server/tetrix/tetrix-1.13.16.1.40c-r1.ebuild b/games-server/tetrix/tetrix-1.13.16.1.40c-r1.ebuild deleted file mode 100644 index cb449e77a48d..000000000000 --- a/games-server/tetrix/tetrix-1.13.16.1.40c-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/tetrix/tetrix-1.13.16.1.40c-r1.ebuild,v 1.5 2005/04/11 21:34:06 luckyduck Exp $ - -inherit eutils gcc games - -MY_SV=${PV#*.*.*.} -MY_PV=${PV%.${MY_SV}} -MY_P="tetrinetx-${MY_PV}+qirc-${MY_SV}" - -DESCRIPTION="A GNU TetriNET server" -HOMEPAGE="http://tetrinetx.sourceforge.net/" -SRC_URI="mirror://sourceforge/tetrinetx/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="" - -DEPEND="net-libs/adns" - -S="${WORKDIR}/${MY_P}" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PV}-paths.patch - sed -i \ - -e "s:GENTOO_CONFDIR:${GAMES_SYSCONFDIR}/${PN}:" \ - -e "s:GENTOO_STATEDIR:${GAMES_STATEDIR}/${PN}:" \ - -e "s:GENTOO_LOGDIR:${GAMES_LOGDIR}:" \ - src/config.h bin/game.conf -} - -src_compile() { - cd src - $(gcc-getCC) ${CFLAGS} main.c -o tetrix -ladns || die "compile failed" -} - -src_install() { - dodoc AUTHORS ChangeLog README README.qirc.spectators - - dogamesbin src/tetrix - insinto ${GAMES_SYSCONFDIR}/${PN} - doins bin/* - - exeinto /etc/init.d - newexe ${FILESDIR}/tetrix.rc tetrix - - prepgamesdirs -} diff --git a/games-server/tetrix/tetrix-1.13.16.1.40c-r2.ebuild b/games-server/tetrix/tetrix-1.13.16.1.40c-r2.ebuild index 705d6c9928ef..1130c25d3800 100644 --- a/games-server/tetrix/tetrix-1.13.16.1.40c-r2.ebuild +++ b/games-server/tetrix/tetrix-1.13.16.1.40c-r2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/tetrix/tetrix-1.13.16.1.40c-r2.ebuild,v 1.8 2005/04/11 21:34:06 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-server/tetrix/tetrix-1.13.16.1.40c-r2.ebuild,v 1.9 2005/05/17 18:53:27 wolf31o2 Exp $ -inherit eutils gcc games +inherit eutils toolchain-funcs games MY_SV=${PV#*.*.*.} MY_PV=${PV%.${MY_SV}} @@ -35,7 +35,7 @@ src_unpack() { src_compile() { cd src - $(gcc-getCC) ${CFLAGS} main.c -o tetrix -ladns || die "compile failed" + $(tc-getCC) ${CFLAGS} main.c -o tetrix -ladns || die "compile failed" } src_install() { |