From 78d271e2f47b0f0060b49dbbefc489838ea3d03e Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sun, 16 Jan 2005 08:28:13 +0000 Subject: add zsync 0.1.6 A file transfer program PR: 76300 Submitted by: Gea-Suan Lin --- net/zsync/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ net/zsync/distinfo | 2 ++ net/zsync/pkg-descr | 17 +++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 net/zsync/Makefile create mode 100644 net/zsync/distinfo create mode 100644 net/zsync/pkg-descr (limited to 'net/zsync') diff --git a/net/zsync/Makefile b/net/zsync/Makefile new file mode 100644 index 000000000000..6387e40d3a71 --- /dev/null +++ b/net/zsync/Makefile @@ -0,0 +1,43 @@ +# Ports collection makefile for: zsync +# Date created: 16 Jan 2005 +# Whom: Gea-Suan Lin +# +# $FreeBSD$ +# + +PORTNAME= zsync +PORTVERSION= 0.1.6 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A file transfer program + +PLIST_FILES= bin/zsync bin/zsyncmake + +.if !defined(NOPORTDOCS) +PORTDOCS= COPYING README +.endif + +MAN1= zsync.1 zsyncmake.1 + +GNU_CONFIGURE= yes + +do-install: +.for FILE in zsync zsyncmake + ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin +.endfor + +.for FILE in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${MAN1PREFIX}/man/man1 +.endfor + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for FILE in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/net/zsync/distinfo b/net/zsync/distinfo new file mode 100644 index 000000000000..3e3671411a4d --- /dev/null +++ b/net/zsync/distinfo @@ -0,0 +1,2 @@ +MD5 (zsync-0.1.6.tar.gz) = f85eb0fe7331e16adfc7d4e6b0467a0d +SIZE (zsync-0.1.6.tar.gz) = 199326 diff --git a/net/zsync/pkg-descr b/net/zsync/pkg-descr new file mode 100644 index 000000000000..f3507542b4dc --- /dev/null +++ b/net/zsync/pkg-descr @@ -0,0 +1,17 @@ +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/ -- cgit v1.2.3