import net/zsync:

zsync is a file transfer program. It allows you to download a file
from a remote 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.

* Client-side rsync - zsync uses the rsync algorithm, but runs it
on the client side, thus avoiding the high server load associated
with rsync.

* Rsync over HTTP - zsync provides transfers that are nearly as
efficient as rsync -z or cvsup, without the need to run a special
server application. All that is needed is an HTTP/1.1-compliant web
server. So it works through firewalls and on shared hosting accounts,
and gives less security worries.

* Handling for compressed files - rsync is ineffective on compressed
files, unless they are compressed with a patched version of gzip.
zsync has special handling for gzipped files, which enables update
transfers of files which are distributed in compressed form.
This commit is contained in:
sthen 2009-09-23 19:29:42 +00:00
parent ce437b6681
commit 43f81fbeca
4 changed files with 58 additions and 0 deletions

26
net/zsync/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/09/23 19:29:42 sthen Exp $
COMMENT= gzip-aware file mirroring over http
DISTNAME= zsync-0.6.1
EXTRACT_SUFX= .tar.bz2
CATEGORIES= net
HOMEPAGE= http://zsync.moria.org.uk/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# Artistic v2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c m
MASTER_SITES= ${HOMEPAGE}download/
CONFIGURE_STYLE= gnu
.include <bsd.port.mk>

5
net/zsync/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (zsync-0.6.1.tar.bz2) = yriA5ss6Wwl2sJMKW24yVg==
RMD160 (zsync-0.6.1.tar.bz2) = 5zpAiB95AMZr6r8P0tZgA4plTi8=
SHA1 (zsync-0.6.1.tar.bz2) = q9T6OaXcs88XetgIxtCKEz0qu+E=
SHA256 (zsync-0.6.1.tar.bz2) = YZ99P2BMCZ6mVpWh7NSTu2Of83cs5KY+xoSRJqrAK48=
SIZE (zsync-0.6.1.tar.bz2) = 240035

19
net/zsync/pkg/DESCR Normal file
View File

@ -0,0 +1,19 @@
zsync is a file transfer program. It allows you to download a file
from a remote 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.
* Client-side rsync - zsync uses the rsync algorithm, but runs it
on the client side, thus avoiding the high server load associated
with rsync.
* Rsync over HTTP - zsync provides transfers that are nearly as
efficient as rsync -z or cvsup, without the need to run a special
server application. All that is needed is an HTTP/1.1-compliant web
server. So it works through firewalls and on shared hosting accounts,
and gives less security worries.
* Handling for compressed files - rsync is ineffective on compressed
files, unless they are compressed with a patched version of gzip.
zsync has special handling for gzipped files, which enables update
transfers of files which are distributed in compressed form.

8
net/zsync/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/09/23 19:29:42 sthen Exp $
@bin bin/zsync
@bin bin/zsyncmake
@man man/man1/zsync.1
@man man/man1/zsyncmake.1
share/doc/zsync/
share/doc/zsync/COPYING
share/doc/zsync/README