Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jan 2005 09:30:33 +0800 (CST)
From:      Gea-Suan Lin <gslin@netnews.NCTU.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@netnews.NCTU.edu.tw
Subject:   ports/76300: New port: net/zsync
Message-ID:  <20050116013033.EDDF3323@netnews.NCTU.edu.tw>
Resent-Message-ID: <200501160140.j0G1eLoB097180@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76300
>Category:       ports
>Synopsis:       New port: net/zsync
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 16 01:40:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #1: Sun Dec 19 23:43:19 CST 2004 root@netnews.NCTU.edu.tw:/da1/usr.obj/da0/usr.src/sys/NETNEWS i386


	
>Description:
	New port: net/zsync

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

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/distinfo
#	zsync/pkg-descr
#
echo c - zsync/
mkdir -p zsync/ > /dev/null 2>&1
echo x - zsync/Makefile
sed 's/^X//' >zsync/Makefile << 'END-of-zsync/Makefile'
X# Ports collection makefile for:	zsync
X# Date created:			16 Jan 2005
X# Whom:				Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	zsync
XPORTVERSION=	0.1.6
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	A file transfer program
X
XPLIST_FILES=	bin/zsync bin/zsyncmake
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	COPYING README
X.endif
X
XMAN1=		zsync.1 zsyncmake.1
X
XGNU_CONFIGURE=	yes
X
Xdo-install:
X.for FILE in zsync zsyncmake
X	${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin
X.endfor
X
X.for FILE in ${MAN1}
X	${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${MAN1PREFIX}/man/man1
X.endfor
X
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X.for FILE in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-zsync/Makefile
echo x - zsync/distinfo
sed 's/^X//' >zsync/distinfo << 'END-of-zsync/distinfo'
XMD5 (zsync-0.1.6.tar.gz) = f85eb0fe7331e16adfc7d4e6b0467a0d
XSIZE (zsync-0.1.6.tar.gz) = 199326
END-of-zsync/distinfo
echo x - zsync/pkg-descr
sed 's/^X//' >zsync/pkg-descr << 'END-of-zsync/pkg-descr'
Xzsync is a file transfer program. It allows you to download a file from
Xa remote web server, where you have a copy of an older version of the
Xfile on your computer already. zsync downloads only the new parts of the
Xfile. It uses the same algorithm as rsync.
X
Xzsync does not require any special server software or a shell account on
Xthe remote system (rsync, in comparison, requires that you have an rsh
Xor ssh account, or that the remote system runs rsyncd). Instead, it uses
Xa control file - a .zsync file - that describes the file to be
Xdownloaded and enables zsync to work out which blocks it needs. This
Xfile can be created by the admin of the web server hosting the download,
Xand placed alongside the file to download - it is generated once, then
Xany downloaders with zsync can use it. Alternatively, anyone can
Xdownload the file, make a .zsync and provide it to other users (this is
Xwhat I am doing for the moment).
X
XWWW: http://zsync.moria.org.uk/
END-of-zsync/pkg-descr
exit

	


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050116013033.EDDF3323>