Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46951 - gosiege-0.2.ebuild (New Package)
Summary: gosiege-0.2.ebuild (New Package)
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-04-06 06:18 UTC by Timothy Stranex
Modified: 2006-04-22 20:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gosiege-0.2.ebuild (gosiege-0.2.ebuild,539 bytes, text/plain)
2004-04-06 06:19 UTC, Timothy Stranex
Details
gosiege-0.2-r1.ebuild (gosiege-0.2-r1.ebuild,620 bytes, text/plain)
2004-06-03 11:09 UTC, Timothy Stranex
Details
gosiege-0.2-setup.py.patch (gosiege-0.2-setup.py.patch,1.16 KB, patch)
2004-06-03 11:13 UTC, Timothy Stranex
Details | Diff
gosiege.tap - sample Go Siege server (gosiege.tap,45.35 KB, application/octet-stream)
2004-06-04 08:29 UTC, Timothy Stranex
Details
gosieged.init.d (gosieged.init.d,684 bytes, text/plain)
2004-06-04 08:34 UTC, Timothy Stranex
Details
gosiege-0.2-r2.ebuild (gosiege-0.2-r2.ebuild,780 bytes, text/plain)
2004-06-04 08:42 UTC, Timothy Stranex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Stranex 2004-04-06 06:18:26 UTC
Hello,

I've attached gosiege-0.2.ebuild which will build Go Siege, a package which deos not yet exist in Portage.

Go Siege is a transformation of the ancient Chinese game of Go into a massively multiplayer online game in which hundreds of players can compete simultaneously. It comes with a server and a GTK+-based client.

I suggest that it is put into games-board/gosiege. This ebuild depends on PyGTK, Python and Twisted.
Comment 1 Timothy Stranex 2004-04-06 06:19:52 UTC
Created attachment 28783 [details]
gosiege-0.2.ebuild
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-06-03 03:51:37 UTC
What's the point of whacking the executable if the gtk use flag isn't set?
Comment 3 Timothy Stranex 2004-06-03 11:09:15 UTC
Created attachment 32606 [details]
gosiege-0.2-r1.ebuild
Comment 4 Timothy Stranex 2004-06-03 11:13:22 UTC
Created attachment 32608 [details, diff]
gosiege-0.2-setup.py.patch

Needed by gosiege-0.2-r1.ebuild.
Comment 5 Timothy Stranex 2004-06-03 11:18:31 UTC
The patch and new ebuild prevent the Go Siege's installer from installing the 'gosiege' script if pygtk has not been installed.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-06-03 17:22:22 UTC
Yeah, but why?  I mean, what good is the package if the binary isn't installed?
Comment 7 Timothy Stranex 2004-06-03 21:49:20 UTC
Go Siege consists of both a client and a server. By adding the USE flag, users who just want to run a dedicated server can do so without installing the client and GTK.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-06-03 23:11:07 UTC
Ah, I understand now that I've read the man page.

Wow, that is some not-so-pretty steps to create a server.  How about if you
come up with a gosiege-server script that does all that automatically?

Turn it on in the ebuild based on the dedicated use flag.
Comment 9 Timothy Stranex 2004-06-04 08:29:02 UTC
Created attachment 32643 [details]
gosiege.tap - sample Go Siege server
Comment 10 Timothy Stranex 2004-06-04 08:34:43 UTC
Created attachment 32644 [details]
gosieged.init.d
Comment 11 Timothy Stranex 2004-06-04 08:42:19 UTC
Created attachment 32645 [details]
gosiege-0.2-r2.ebuild

This new ebuild creates a system-wide server and allows the user to start or
stop it using /etc/init.d/gosieged. The server's .tap file and journal is
stored in /etc/gosiege and the log in /var/log/gosiege.log.

Tap files are the right(tm) way to build Twisted-based servers. They do seem
somewhat longwinded but I think they are quite an elegant solution to the
problem of managing servers. For Debian, there is a tap2deb utility;
unfortunately, no such tool exists for Gentoo hence my one-off ebuild solution
above.
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2006-04-22 20:47:26 UTC
No releases since 2004.  Looks kind of dead.  reopen if there's a new release.