svn commit: r362545 - in head: . games/bsdgames games/bsdgames/files
Dmitry Marakasov
amdmi3 at amdmi3.ru
Wed Jul 23 20:46:30 UTC 2014
* Adam Weinberger (adamw at adamw.org) wrote:
> > 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.
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.
--
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