svn commit: r362545 - in head: . games/bsdgames games/bsdgames/files
Dmitry Marakasov
amdmi3 at amdmi3.ru
Wed Jul 23 18:39:44 UTC 2014
* Adam Weinberger (adamw at 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 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://www.amdmi3.ru
More information about the svn-ports-head
mailing list