On Thu, Aug 6, 2015 at 9:58 PM, Jamie Landeg-Jones <ja...@dyslexicfish.net>
> Kevin Oberman <rkober...@gmail.com> wrote:
> > Isn't rebuilding the index useful for people running STABLE? I assume
> > I need a current index to get useful output from "pkg version -vL=". I am
> > probably a bit unusual in that I keep a current ports tre on a STABLE
> > system, but there are a couple of ports that I need to build due to
> > options and I find poudriere overkill for this case. I suspect many
> > running STABLE may use portsnap and build everything from ports. (This
> > to be common fairly recently and likely still is.)
> I run stable, and compile from source with a current ports tree on all my
> machines too.
> > Or, am I missing the obvious... something I seem to do too often these
> ... maybe I'm missing something that you haven't missed, which is more
> likely! :
> I've already altered my portsnap.conf to only produce INDEX-10, and from
> what I
> can gather, this is basically what Xin Li is proposing becomes the
> i.e. only produce INDEX-9 for 9.X, INDEX-10 for 10.X and INDEX-11 for 11.X
> Isn't it the case that the index required is 'tuned' to the dependencies
> port requires based on base software (e.g. the index file on 10.X upwards
> list a dependency on converters/libiconv) so even if you portsnap your
> tree, it's still INDEX-10 you'd require on a FreeBSD-10.X machine..?
Yes, I was missing the obvious. I am a bit concerned about some edge cases
involving system upgrades. Of course, if everyone follows recommendation
and rebuilds all ports after a major version upgrade, it should work fine.
Or the code in portsnap could be modified to get the current running
version. This would need to be an option that could be turned off for the
few people who actually need more than one index file.
Still, looks like a good idea to me!
Kevin Oberman, Network Engineer, Retired
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
email@example.com mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"