svn commit: r362545 - in head: . games/bsdgames games/bsdgames/files

Adam Weinberger adamw at adamw.org
Wed Jul 23 19:06:47 UTC 2014


On 23 Jul, 2014, at 14:36, Dmitry Marakasov <amdmi3 at amdmi3.ru> wrote:

> * 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.

Both you and itetcu brought up that last point to me... it’s a really good point that I hadn’t considered when I made the move.

> 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.

It’d be helpful to have the PHB say how to properly handle things outside of ${PREFIX}. There’s essentially no information on it, nor on the differences in how pkgng and pkg_tools handle it. Not even anything in CHANGES about it.

It’s not even about “inventing hacks,” so much as having to figure out the right way to do things by trial and error, because documentation doesn’t exist.

# Adam


-- 
Adam Weinberger
adamw at adamw.org
http://www.adamw.org



More information about the svn-ports-all mailing list