ports/75835: New Port: net/zsync -- rsync implementation over HTTP/1.1

Gordon Tetlow gordon at FreeBSD.org
Wed Jan 5 02:00:47 UTC 2005


>Number:         75835
>Category:       ports
>Synopsis:       New Port: net/zsync -- rsync implementation over HTTP/1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 05 02:00:45 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gordon Tetlow
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
FreeBSD Project
>Environment:
System: FreeBSD spiff.melthusia.org 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Fri Aug 6 21:32:10 PDT 2004 gtetlow at spiff.melthusia.org:/local/usr.obj/usr/src/sys/SPIFF i386

>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 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.

	WWW: http://zsync.moria.org.uk/

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	zsync
#	zsync/Makefile
#	zsync/pkg-descr
#	zsync/distinfo
#
echo c - zsync
mkdir -p zsync > /dev/null 2>&1
echo x - zsync/Makefile
sed 's/^X//' >zsync/Makefile << 'END-of-zsync/Makefile'
X# New ports collection makefile for:   zsync
X# Date created:        4 January 2005
X# Whom:                gordon
X#
X# $FreeBSD$
X#
X
XPORTNAME=	zsync
XPORTVERSION=	0.1.5
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	gordon at FreeBSD.org
XCOMMENT=	File transfer program that implements rsync over HTTP/1.1
X
XGNU_CONFIGURE=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XMAN1=		zsync.1 \
X		zsyncmake.1
XPLIST_FILES=	bin/zsync \
X		bin/zsyncmake \
X		share/doc/zsync/COPYING \
X		share/doc/zsync/README
XPLIST_DIRS=	share/doc/zsync
X
X.include <bsd.port.mk>
END-of-zsync/Makefile
echo x - zsync/pkg-descr
sed 's/^X//' >zsync/pkg-descr << 'END-of-zsync/pkg-descr'
Xzsync is a file transfer program.
X
XIt allows you to download a file from a remote web server, where you
Xhave a copy of an older version of the file on your computer already.
Xzsync downloads only the new parts of the file. It uses the same
Xalgorithm as rsync.
X
Xzsync does not require any special server software or a shell account
Xon the remote system (rsync, in comparison, requires that you have an
Xrsh or ssh account, or that the remote system runs rsyncd). Instead,
Xit uses a control file that describes the file to be downloaded and
Xenables zsync to work out which blocks it needs. This file can be
Xcreated by the admin of the web server hosting the download, and
Xplaced alongside the file to download. it is generated once, then any
Xdownloaders with zsync can use it. Alternatively, anyone can download
Xthe file, make a .zsync and provide it to other users.
X
XWWW: http://zsync.moria.org.uk/
X
X	-- Gordon	(gordon at FreeBSD.org)
END-of-zsync/pkg-descr
echo x - zsync/distinfo
sed 's/^X//' >zsync/distinfo << 'END-of-zsync/distinfo'
XMD5 (zsync-0.1.5.tar.gz) = c6d0eecaf63965b9cc4bf81a9a5f0874
XSIZE (zsync-0.1.5.tar.gz) = 198926
END-of-zsync/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list