Alternate Fire is a Quake 3 mod which adds a number of fun things to the game. This is an ebuild for it. A few notes, however (4 and 5 are especially important): 1) The only way to get Alternate Fire is via one of those "download cluster" services like FilePlanet. IMO, this makes putting a full SRC_URI in the ebuild problematic. I'm guessing that the authors of AlternateFire probably wouldn't mind if Gentoo was distributing it, but for now, I've turned fetch restriction ON and provided the URL to where Alternate Fire should be downloaded by hand. 2) I couldn't find a license for the mod anywhere, so I just left the LICENSE as "as-is," which is what the LICENSE was for the quake3 mod I modeled the ebuild after. 3) I really haven't tested out the dedicated server stuff much, so there could easily be some bugs in there. 4) One of the documentation files contains a space in the filename. As it turns out, this causes problems for "dodoc." I've posted a patch to take care of this; without the patch (and therefore an updated version of Portage), one of the doc files will be missing (now *that's* tragic <g>). This would probably require an addition to the USE flags specifying that it needs at least Portage <whatever>. Here's the bug: http://bugs.gentoo.org/show_bug.cgi?id=10341 5) I came across a conundrum involving digest files and SRC_URI and fetch restrictions. You can read all about it here: http://bugs.gentoo.org/show_bug.cgi?id=10347 This ebuild currently assumes you've got the patch I proposed in the bug applied. So there's another block on this bug. It's not *that* big of a deal, but I feel that I've got a fairly clean solution in the bug I just mentioned . . . *Whew* One of these days I'll submit a nice, simple, easy bug that doesn't require thirteen addendums. :)
Created attachment 5431 [details] quake3-alternatefire-2.0.ebuild Here's the ebuild. Enjoy!
Created attachment 5432 [details] files.tbz2 Here's the contents of the files directory, as a bz2-tarball. There were quite a few. Included: * The digest * The Alternate File server sample configuration * The script to start the dedicated server * A script to start up a non-server * An entry into /etc/env.d which turns on CONFIG_PROTECT for the server config. * An entry into /etc/init.d which will start the dedicated server (using the script mentioned above)
Hm, looking at other Quake3 Mod bugs in here, I noticed the bit about a Games Eclass being written, and I notice now that I've got a /usr/portage/eclass/games.eclass. These Quake3 Mods don't really fit into that form exactly, but I was planning on packaging up a number of other Quake 3 mods as well, which are very similar to the one I've got here, so we should probably create a quake3mod EClass, correct?
yeah, an eclass would be good, I should think.
added to cvs but with changes, thanks for your submission http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/app-games/quake3-alternatefire/quake3-alternatefire-2.0.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup
as for the quake3mod eclass, i might incorporate it into the games.eclass, if you submit more mods and they all end up working the same ;)