Portsnap is a system for securely updating the ports tree by
distributing signed compressed snapshots. This is the client
half of that system; it downloads compressed snapshots into
/usr/local/portsnap ("portsnap fetch") and uses those to extract
a ports tree into /usr/ports ("portsnap extract") or update an
existing tree ("portsnap update").
In addition to operating entirely over HTTP, portsnap can use under
a tenth of the bandwidth required by CVSup if a copy of the ports
tree is being updated every few days.
WWW: http://www.daemonology.net/portsnap/
- Colin Percival
cperciva@daemonology.net
Turn
IGNORE= "foo now contained in the base system"
into
IGNORE= "is now contained in the base system"
since the code which prints this string prefices it with the package
name.
Suggested by: kris
sysutils/portsnap - cleanup
- move pkg-message to files/pkg-message.in and use SUB_FILES
- move post-extract to post-patch and use REINPLACE_CMD
- replace ${PREFIX} in man-page with %%PREFIX%% and then REINPLACE_CMD
over it.
- Make replacement in former post-extract actually work due to
changed layout of the file.
PR: ports/100584
Submitted by: Edwin Groothuis <edwin@mavetju.org>
Approved by: cperciva@#bsdports
Update portsnap to version 1.1, to reflect three months of development in
the src tree.
PR: ports/93901, bin/96288
Sponsored by: FreeBSD security development fundraiser
Update sysutils/portsnap to version 1.0, to match the version in the
src tree.
This only affects users of FreeBSD 5.4 and earlier, since the port is
IGNOREd for recent versions of the FreeBSD base system.
PR: ports/92563
Approved by: linimon
Both bsdiff and portsnap have been added to the base system in
FreeBSD 5-STABLE and 6-STABLE. Add conditional IGNORE lines to
reflect this.
PR: ports/88879 (portsnap)
Reminded by: delphij
Approved by: linimon
Update to version 0.9.5. This is identical to 0.9.4 except for a fix
which makes make_index not coredump when it encounters a circular
dependency in the ports tree.
Approved by: erwin
Upgrade to version 0.9.4 to fix a deadlock bug in the experimental
pipelined http code. This has no effect for anyone not using the
-x option to portsnap.
Approved by: pav
Upgrade to version 0.9.3.
This adds some new _experimental_ pipelined HTTP code which typically
makes portsnap 3-10 times faster at downloading updates. This
experimental code is disabled by default; to enable it, run portsnap
with the (undocumented) -x option. (e.g., "portsnap -x fetch")
I am not currently aware of any problems with this new code, but it has
had less than 24 hours of testing; I would definitely like to know if
it breaks anything.
If portsnap is run without the -x option, this version should behave
exactly the same way as the previous version.
Approved by: simon
Upgrade to version 0.9.2. This adds a -I option to "portsnap update"
which only updates the INDEX files, and sets PATH to avoid problems
when running from per-user crontabs.
Approved by: pav
Update portsnap to version 0.9. This brings the following changes:
* SHA-256 has replaced SHA-1 as a hash function used for verifying
integrity of the ports tree.
* The RSA signature verification is now performed using OpenSSL
rather than "borrowing" code from FreeBSD Update.
* In addition to distributing the ports tree, portsnap now also
produces up-to-date INDEX, INDEX-4, and INDEX-5 files.
* When fetching a series of patches, portsnap now prints a simple
progress indicator.
PR: ports/79044
Submitted by: maintainer
In light of recent tests, update the description of portsnap to note
that it is far more bandwidth-efficient than CVSup in cases where the
ports tree is being updated every few days.
Approved by: pav
Update to version 0.3. This has the following changes:
1. The working directory and ports directory can be specified
in the portsnap.conf configuration file.
2. Parts of the ports tree (down to the level of individual ports)
can be extracted (e.g., "portsnap extract security/freebsd-update").
This also adds an empty file, $PREFIX/portsnap/.package.this.directory,
which (as the name suggests) ensures that $PREFIX/portsnap/ will be
generated when a package is installed using pkg_add.
PR: 74835
Submitted by: maintainer
Add whitespace around parentheses in .if logic, in order to unbreak
port and INDEX builds on old (5.1 & 4.7?) releases.
PR: ports/74192
Reported by: Joe Horn
Approved by: mat
With hat: maintainer