On Tue, Jan 19, 2016 at 08:58:42PM +0100, Landry Breuil wrote:
> On Tue, Jan 19, 2016 at 07:26:50PM +0100, Landry Breuil wrote:
> > On Mon, Jan 18, 2016 at 03:43:58PM +0100, n.reu...@hxgn.net wrote:
> > > > Hi,
> > > > 
> > > > attached you find a port for the typing game 'typespeed' [1].  Someone
> > > > tried to get this imported in 2004, but did not succeed:
> > > > http://marc.info/?l=openbsd-ports&w=2&r=1&s=typespeed&q=b
> > > > 
> > > > The last release is from 2008, but i've filled myself in as the
> > > > maintainer
> > > > nonetheless.
> > > > 
> > > > Successfully tested on amd64.
> > > > 
> > > > Comments?
> > > > 
> > > > 
> > > > [1] http://typespeed.sourceforge.net/
> > 
> > Works fine for me, lightly tested on macppc without issues. I'm not
> > super keen into installing a setgit binary for the global scorefile
> > feature since we removed all those from base, but oh well.. i suppose it
> > would be a hassle to patch that away and make it save scores in ~.
> 
> After looking a little bit at the code, it:
> - opens the systemwide scorefile
> - drops privileges/group
> so it's not so bad.
> 
> It also has support for user-scorefiles in ~/.typespeed if a
> user-configfile is found, so it might not be so hard for force this mode
> to be used - if we want to patch away the setgid flag.

And here's a version removing the setgid bit and forcing the use of
~/.typespeed/score - upstream (tobias@) has no real interest in
maintaining this anymore.

If anyone want to import it, works fine here.

Landry

Attachment: typespeed-nosetgid.tgz
Description: application/tar-gz

Reply via email to