Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2014 22:36:49 +0400
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r362545 - in head: . games/bsdgames games/bsdgames/files
Message-ID:  <20140723183649.GA34571@hades.panopticon>
In-Reply-To: <201407221445.s6MEjf7o025973@svn.freebsd.org>
References:  <201407221445.s6MEjf7o025973@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Adam Weinberger (adamw@FreeBSD.org) wrote:

> Author: adamw
> Date: Tue Jul 22 14:45:40 2014
> New Revision: 362545
> URL: http://svnweb.freebsd.org/changeset/ports/362545
> QAT: https://qat.redports.org/buildarchive/r362545/
> 
> Log:
>   Update to 3.8.1. Along with this, savegame data is now in
>   /usr/local/var/games instead of /var/games. This was necessary
>   because @sample cannot operate outside of %%PREFIX%%, and
>   previously the port would overwrite or remove previously
>   saved games. This is easier, better and more hier(7)ful.

I advice to revert this.

This is not hier(7)ful as there's no var neither under /usr nor under
/usr/local.

This is not better, as you should expect /usr/local to be mounted
read-only along with /usr, so changing data should only reside under
/var.

If @sample doesn't do the thing, just don't use it, do not invent hacks.
It's broken in many ways and I've planned to start discussion on that.

See games/pachi, games/kobodeluxe, games/mirrormagic, games/powermanga
as an example of how shared highscores/savegames may be handled.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140723183649.GA34571>