Date: Thu, 6 Aug 2015 21:11:35 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Xin LI <d@delphij.net> Cc: FreeBSD ports <freebsd-ports@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Proposal: make portsnap generate INDEX-${OSREL:R} only by default Message-ID: <CAN6yY1u6PHDFpTPohT7KQ6O4_TQUpAmJfEjOdXaL12Oy8MRQKg@mail.gmail.com> In-Reply-To: <55C3F9AA.4020602@delphij.net> References: <55C3F9AA.4020602@delphij.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 6, 2015 at 5:19 PM, Xin Li <delphij@delphij.net> wrote: > Hi, > > Currently the default portsnap.conf would generate INDEX-11, INDEX-10 > and INDEX-9. The INDEX file is only used for searching ports, and only > one (INDEX-${OSREL:R}) file is actually used. > > Traditionally, we create all supported INDEX-* files by default, but the > only users who would benefit from this default are the ones who shares > ports tree across many systems that runs different FreeBSD releases. > And even in these scenario, it's likely that they would still want to > tweak the configuration, as we may be creating more than needed INDEX-* > files. > > So for simplicity and to reduce cycles wasted on everyone's system, I'd > propose the attached change to head/'s portsnap.conf and similar changes > to stable/9 and stable/10's portsnap.conf so that only INDEX-${OSREL:R} > is created by default. Users who want additional INDEX files can > uncomment the corresponding lines. > > Any objections/concerns? I'll commit the change if no objection is > raised in a week. > > Cheers, > -- > Xin LI <delphij@delphij.net> https://www.delphij.net/ > FreeBSD - The Power to Serve! Live free or die > Isn't rebuilding the index useful for people running STABLE? I assume that 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 custom options and I find poudriere overkill for this case. I suspect many people running STABLE may use portsnap and build everything from ports. (This use to be common fairly recently and likely still is.) Or, am I missing the obvious... something I seem to do too often these days. -- Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1u6PHDFpTPohT7KQ6O4_TQUpAmJfEjOdXaL12Oy8MRQKg>