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

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 Jul, 2014, at 14:36, Dmitry Marakasov <amdmi3@amdmi3.ru> wrote:

> * Adam Weinberger (adamw@FreeBSD.org) wrote:
>=20
>> 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/
>>=20
>> 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.
>=20
> I advice to revert this.
>=20
> This is not hier(7)ful as there's no var neither under /usr nor under
> /usr/local.
>=20
> 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=92s a really =
good point that I hadn=92t 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=92d be helpful to have the PHB say how to properly handle things =
outside of ${PREFIX}. There=92s 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=92s not even about =93inventing hacks,=94 so much as having to figure =
out the right way to do things by trial and error, because documentation =
doesn=92t exist.

# Adam


--=20
Adam Weinberger
adamw@adamw.org
http://www.adamw.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2FF4267F-CF53-41A6-B4A3-9B9D7A630014>