Updating /usr/ports

Janos Dohanics web at 3dresearch.com
Fri May 28 13:01:48 UTC 2021


On Thu, 27 May 2021 17:01:52 -0700
Kevin Oberman <rkoberman at gmail.com> wrote:

> [...]
> >
> > Also, 'portsnap fetch' && 'portsnap update' did update the index. My
> > reading of the Handbook was that 'git -C /usr/ports pull' alone gave
> > the same result as 'portsnap fetch' && 'portsnap update'.
> >
> > > Also, the grep is not needed. 'pkg version -vl<" (or, "-vL=" to
> > > catch orphaned ports) will do the same thing. Don't worry if you
> > > are not using ports. pkg does exactly the same things for both
> > > ports and packages except for actually building ports. I thought
> > > that portversion was long gone. It's not on either v12 or 13 on
> > > my systems.
> >
> > My bad habit, thank you for the reminder!
> >
> > --
> > Janos Dohanics
> >
> If you are trying to replace portsnap, I think the answer is
> net/gitup. This only requires a single command,  "gitup ports", and
> you get your index updated along with updating all ports. I believe
> that the plan is to put gitup into the base system fairly soon. I
> have not looked at whether 14-current has gitup, yet.
> 
> And, yes, it looks like the handbook needs some work as gitup is not
> yet even mentioned. Like portsnap, gitup is for people who want to
> maintain an up to date ports tree, but not good for developers. They
> do need to use git and either generate the index or fetch it.
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman at gmail.com
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683

Thank you again.

-- 
Janos Dohanics


More information about the freebsd-questions mailing list