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.
Created attachment 28783 [details] gosiege-0.2.ebuild
What's the point of whacking the executable if the gtk use flag isn't set?
Created attachment 32606 [details] gosiege-0.2-r1.ebuild
Created attachment 32608 [details, diff] gosiege-0.2-setup.py.patch Needed by gosiege-0.2-r1.ebuild.
The patch and new ebuild prevent the Go Siege's installer from installing the 'gosiege' script if pygtk has not been installed.
Yeah, but why? I mean, what good is the package if the binary isn't installed?
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.
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.
Created attachment 32643 [details] gosiege.tap - sample Go Siege server
Created attachment 32644 [details] gosieged.init.d
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.
No releases since 2004. Looks kind of dead. reopen if there's a new release.