Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67335

Summary: ebuild request: pvpgn 1.6.6
Product: Gentoo Linux Reporter: Dizzy <dizzy>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dizzy 2004-10-12 23:17:10 UTC
Hi

PvPGN 1.6.6 has been recently released. The 1.6.5-r1 ebuild should work fine if renamed to pvpgn-1.6.6.ebuild except the download URLs which need to be changed (the project team is considering moving the project home from sf.net to berlios so they changed the download location to berlios).

The 1.6.6 download URLs are:
http://download.berlios.de/pvpgn/pvpgn-1.6.6.tar.bz2
http://download.berlios.de/pvpgn/pvpgn-support-1.0.tar.gz

Thanks!
Comment 1 Dizzy 2004-12-02 01:30:05 UTC
Ok, Because this seems to be forgotten, I started doing the ebuild myself. However, I discovered a bug in the current 1.6.5-r1 ebuild. The bug seems to come from the fact that games.eclass now defines GAMES_USER to be "root" instead of "games" as it was some time ago. This means that the ebuild file chowns some directories as "root:games". The installed "init.d" files to startup the services use -c games:games for start-stop-daemon command and thus the daemons start with wrong users (they dont have r/w access to directories where they should). Now I am interested in a "scalable" solution, where if gentoo people want to change again GAMES_USER the scripts whould adapt. Probably a "sed" in the scripts is to be done. Any hints ?

Another question I have is that why is GAMES_USER "root" now ?! I have always told people to run pvpgn daemons as normal user for security reasons. More than once we have found serious problems...
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-05-25 22:00:24 UTC
I added pvpgn-1.6.6.ebuild so give it a try and open new bugs if necessary.
regarding the GAMES_USER thing...there was a typo in the ebuild.  It should have
used GAMES_USER_DED at one point.