For faster navigation, this Iframe is preloading the Wikiwand page for Portsnap.

Portsnap

This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help improve this article by introducing more precise citations. (September 2019) (Learn how and when to remove this message)
Portsnap
Developer(s)Colin Percival
Operating systemFreeBSD
LicenseBSD license

Portsnap is a system written by Colin Percival for secure distribution of compressed, digitally signed snapshots of the FreeBSD ports tree. The distribution follows the client–server model and uses the transport protocol HTTP (pipelined HTTP).

From FreeBSD 6 through 13 (as well as 5.5), portsnap was a part of the base system. In previous versions it was installed from ports. It's a standalone program which can be run manually or in a cron job.

As such, it is one of alternatives to the classic cvsup method. Its advantages include:

  • secure transfer - encrypted and signed data stream, not vulnerable to man-in-the-middle attacks
  • end-to-end connectivity (as opposed to mirrors with cvsup)
  • delta-based distribution - effective for small and frequent updates
  • HTTP is used as protocol (as opposed to custom protocol of cvsup)

Another alternative to cvsup is CVSync (used to manage the OpenBSD source tree), it shares cvsup disadvantages, though.

The portsnap package is distributed under the 2-clause BSD license. As of FreeBSD 14, portsnap is being removed. Its functions have been taken over by a migration to git.

References

[edit]
{{bottomLinkPreText}} {{bottomLinkText}}
Portsnap
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?