Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35418 - new ebuild: games-roguelike/moria
Summary: new ebuild: games-roguelike/moria
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://remarque.org/~grabiner/moria.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 23:42 UTC by Cory Visi (RETIRED)
Modified: 2003-12-31 12:28 UTC (History)
0 users

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


Attachments
moria-5.5.2.ebuild (moria-5.5.2.ebuild,1.53 KB, text/plain)
2003-12-08 23:43 UTC, Cory Visi (RETIRED)
Details
files/moria-5.5.2-glibc.patch (moria-5.5.2-glibc.patch,8.41 KB, text/plain)
2003-12-08 23:43 UTC, Cory Visi (RETIRED)
Details
moria-5.5.2-glibc.patch (moria-5.5.2-glibc.patch,8.82 KB, text/plain)
2003-12-09 07:12 UTC, Cory Visi (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cory Visi (RETIRED) gentoo-dev 2003-12-08 23:42:44 UTC
This is the console based version of moria only. The original addictive game.

I had a long discussion with MrBones about several things.
First there are several enhancement patches out there that we would both like to add to this if we can eventually find them.

Second, we are not sure how to implement the scores file and binary ownership/permissions. I would like a user to be able to play moria, but not have write access to the scores file. The scores file would be group owned by "somegroup" and group writable. The moria binary would be group owned by "somegroup" and setgid. This would allow only the moria binary to update the scores file. Sure there could be exploits for moria, but hacking the high score file is not a bugtraq item.

In any case, I usually would make "somegroup" games. The gentoo games setup is a little different and not condusive to what I want to do. I have therefore included my ebuild as-is. You're not going to like it, but I'm looking for comments and suggestions.

It would be trivial to make the score file writable to any games group user, which in most cases is not a problem. So if that's what it takes to get moria into the portage tree, let's do it. But I wanted the games group to see this first.

Also, I created a patch to fix glibc compile issues, which ended up a lot like Debian's patch (but it's not the same!) haha.
Comment 1 Cory Visi (RETIRED) gentoo-dev 2003-12-08 23:43:11 UTC
Created attachment 21914 [details]
moria-5.5.2.ebuild
Comment 2 Cory Visi (RETIRED) gentoo-dev 2003-12-08 23:43:34 UTC
Created attachment 21915 [details]
files/moria-5.5.2-glibc.patch
Comment 3 Cory Visi (RETIRED) gentoo-dev 2003-12-09 07:12:09 UTC
Created attachment 21921 [details]
moria-5.5.2-glibc.patch

This patch is now fixed to get rid of a unecessary -ltermcap during the
compile. Please do not use the old one.
Comment 4 SpanKY gentoo-dev 2003-12-31 12:28:31 UTC
try out the moria now in portage ;)