Page MenuHomeDevCentral

Supersede portsnap by a Git repository
Open, NormalPublic

Description

Per https://cgit.freebsd.org/src/commit/?id=df53ae0fdd98e9452095ac2fdaf95fcfac8c9c7f portsnap has been deprecated.

The new recommended way is to use a Git repository.

As ports can or can't be installed, I suggest:

  • to run git init . in /usr/ports, then add https://git.FreeBSD.org/ports.git as remote
  • NOT TO BE DEPLOYED ON LEGACY WINDRIVER git reset --hard origin/main
  • add /var/db/portsnap to old files to prune

As WindRiver have ports modification working on, we can use portsnap to get to the last Latest version, then git reset origin/main to identify the differences.