BSD Ports

net/zsync 0.8.0_2 FreeBSD

File transfer program

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
ART20
Categories
net
Package size
2165.7 KiB, 7678.8 KiB installed

Description

zsync is a file transfer program. It allows you to download a file from a remote web server, where you have a copy of an older version of the file on your computer already. zsync downloads only the new parts of the file. It uses the same algorithm as rsync.

zsync does not require any special server software or a shell account on the remote system (rsync, in comparison, requires that you have an rsh or ssh account, or that the remote system runs rsyncd). Instead, it uses a control file - a .zsync file - that describes the file to be downloaded and enables zsync to work out which blocks it needs. This file can be created by the admin of the web server hosting the download, and placed alongside the file to download - it is generated once, then any downloaders with zsync can use it. Alternatively, anyone can download the file, make a .zsync and provide it to other users (this is what I am doing for the moment).

In the other systems

SystemPortVersion
FreeBSDnet/zsync0.8.0_2
OpenBSDnet/zsync0.6.6
NetBSDnet/zsync0.6.2nb1
DragonFlynet/zsync0.6.2_2
MidnightBSDnet/zsync0.6.3

Install

Binary package:

pkg install zsync

From the ports tree:

cd /usr/ports/net/zsync/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	zsync>0:net/zsync

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.8.0_10.8.0_10.6.2_20.6.30.8.0_1
FreeBSD:14:quarterly0.8.0_10.8.0_1n/a0.6.30.8.0_1
FreeBSD:15:latest0.8.0_10.8.0_1n/a0.6.30.6.3
FreeBSD:15:quarterly0.8.0_10.8.0_1n/an/an/a
FreeBSD:16:latest0.8.00.8.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1

No port depends on this one.

Configuration

Options name: net_zsync

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
go:modules
Service scripts
none

Message after installing

Upstream moved to GitHub and rewrote zsync in Go.
It's recommended to check the details from changelog.

Changelog:
https://github.com/cph6/zsync/blob/v0.8.0/NEWS

Files

distinfo 2
FileSizeSHA256
go/net_zsync/zsync-v0.8.0/v0.8.0.mod112152e53760abc2014c78348a19d602349a227891dbfaee70a1268fc279fa8524e
go/net_zsync/zsync-v0.8.0/v0.8.0.zip1043359ec70adc0ed8821534a054b291b51a2c2f3bf45166e804114663b53f45cec5e1

Commit history 5

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
5e7b9b3613 Christos Longros Update maintainer email address
Update to [email protected] Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D60621
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
021c9ada49 Christos Longros net/zsync: Update 0.6.6 => 0.8.0
Upstream moved to GitHub and rewrote zsync in Go. It's recommended to check the details from changelog. While here: - Create a pkg-message to include this information. - Add TESTING_UNSAFE, since it requires Apache webserver running and have recursive directory problems. Changelog: https://github.com/cph6/zsync/blob/v0.8.0/NEWS PR: 298908 Approved by: osa, vvd (Mentors, implicit)
58f4429117 Christos Longros net/zsync: Update 0.6.3 => 0.6.6, take maintainership
Change in 0.6.6 - Support and generate zsync 0.8 control files. - Support MD5 and SHA-224 block checksums. - Support SHA-256 file hash. - Use OpenSSL for cryptgraphic digests. Changes in 0.6.5 - Fix an incompatibility between zsync and the RFC7233 rules for multipart/byteranges. zsync was written to RFC2046 a long time ago, now obsolete; responses from newer HTTP servers following the newer standard could cause zsync to fail to parse the response. zsync also was not treating failing to find the MIME boundary as a hard error and retrying indefinitely; changed to report this as an error. Changes in 0.6.4 - Support for looking inside gzip files is deprecated; all options related to compressed files are correspondingly deprecated except -Z. …