portsnap: Quarterly or HEAD?

Does portsnap use Quarterly or HEAD?

This doesn't seem to be documented in portsnap(8) or the FreeBSD Handbook. I can't see mention of "quarterly" in /usr/sbin/portsnap, either.

Wondering what the best practice is.
 
Does portsnap use Quarterly or HEAD?

This doesn't seem to be documented in portsnap(8) or the FreeBSD Handbook. I can't see mention of "quarterly" in /usr/sbin/portsnap, either.

Wondering what the best practice is.

For the security of the system I prefer the latest repository and do not detect vulnerabilities in the system.
 
It seems like it would depend on which brand portsnap.freebsd.org uses, right? It would be nice to have pkg and portsnap in sync, in my opinion.
 
eldaemon You must be unfamiliar with the difference between packages and ports then. Packages should be expected to trail behind ports.

I understand that packages should trail ports in terms of it taking a while to build the packages on all architectures after an update. That said, I don't understand why packages would trail behind ports beyond that. There's quarterly and head for ports and thus for packages. It isn't clear which portsnap uses to me.

Am I missing something?
 
I understand that packages should trail ports in terms of it taking a while to build the packages on all architectures after an update. That said, I don't understand why packages would trail behind ports beyond that. There's quarterly and head for ports and thus for packages. It isn't clear which portsnap uses to me.

Am I missing something?

portsnap I don't use, svnlite for repository head ports and the latest for fonts and binary software.
 
Quarterly ports are frozen at a particular version and receive only bug fixes or security updates. You should almost never see a version mismatch between ports and packages in a quarterly branch and if you ever do, it should only be a revision or minor version change.

With head/latest, it may take a few days before a package is built for a new ports commit, but if you keep both ports and packages up-to-date, problems are extremely rare. Problems are likely to arise if you mismatch the ports tree and pacakge repo, such as using quarterly packages (which is default) + head ports, which can easily happen to an unsuspecting new user installing the ports tree with portsnap, or if you use head/latest for both and lag on updates for one or the other.

portsnap only supports head as mentioned earlier, so if you use it, you should also use latest packages. The file below will switch you to latest packages (built from head ports):

Code:
FreeBSD coral.acadix  bacon ~ 1008: cat /usr/local/etc/pkg/repos/bleeding-edge.conf
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}
 
Back
Top