Proposal: make portsnap generate INDEX-${OSREL:R} only by default

Jamie Landeg-Jones jamie at dyslexicfish.net
Fri Aug 7 15:51:28 UTC 2015


Xin Li <delphij at delphij.net> wrote:

> On 8/6/15 22:24, Kevin Oberman wrote:
> > Or the code in portsnap could be modified to get the current
> > running version.
>
> I thought about this today but it won't work as advertised: someone
> (currently me) still have to tweak the portsnap builder configuration
> to announce new major version (9, 10, 11 now, and we would need 12
> when 11.0-STABLE appears).  However, freebsd-update or mergemaster
> would take care for this.

I was going to suggest this too. Isn't this information available
using /bin/freebsd-version -u ?

Yes, I realise this script basically has it hardcoded, but it seems,
therefore, that someone already has the task to announce new major
version in that file!

Cheers!
Jamie


More information about the freebsd-ports mailing list