Date: Thu, 24 Jul 2014 00:46:23 +0400 From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: Adam Weinberger <adamw@adamw.org> 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: <20140723204623.GB34571@hades.panopticon> In-Reply-To: <2FF4267F-CF53-41A6-B4A3-9B9D7A630014@adamw.org> References: <201407221445.s6MEjf7o025973@svn.freebsd.org> <20140723183649.GA34571@hades.panopticon> <2FF4267F-CF53-41A6-B4A3-9B9D7A630014@adamw.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* Adam Weinberger (adamw@adamw.org) wrote: > > 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. >=20 > Both you and itetcu brought up that last point to me... it=E2=80=99s a = really good point that I hadn=E2=80=99t considered when I made the move. >=20 > > If @sample doesn't do the thing, just don't use it, do not invent hac= ks. > > It's broken in many ways and I've planned to start discussion on that= . >=20 > It=E2=80=99d be helpful to have the PHB say how to properly handle thin= gs outside of ${PREFIX}. There=E2=80=99s essentially no information on it= , nor on the differences in how pkgng and pkg_tools handle it. Not even a= nything in CHANGES about it. >=20 > It=E2=80=99s not even about =E2=80=9Cinventing hacks,=E2=80=9D so much = as having to figure out the right way to do things by trial and error, be= cause documentation doesn=E2=80=99t exist. My idea is that it should be done by pkg-install/pkg-deinstall scripts. These are clear (no need for single line chains as in `@exec foo && bar && baz'), reusable (may just copy scripts from other ports), are not affected (essentially removed) by `make plist`, do not induce false positives in sanity checkers and will work regardless of pkg-plist infrastructure or policy changes. pkg-plist, otoh, stays limited to plain file list with mixins of predefined keywords inner workings of which you shouldn't care about which work relative to PREFIX. --=20 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?20140723204623.GB34571>