summaryrefslogtreecommitdiff
path: root/net/zsync
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2005-01-16 08:28:13 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2005-01-16 08:28:13 +0000
commit78d271e2f47b0f0060b49dbbefc489838ea3d03e (patch)
tree191ea3996a7b6660f6bf852119a8beffbb1357ff /net/zsync
parentNew port trackerbt version 0.1: A BitTorrent tracker with additional (diff)
add zsync 0.1.6
A file transfer program PR: 76300 Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
Notes
Notes: svn path=/head/; revision=126551
Diffstat (limited to 'net/zsync')
-rw-r--r--net/zsync/Makefile43
-rw-r--r--net/zsync/distinfo2
-rw-r--r--net/zsync/pkg-descr17
3 files changed, 62 insertions, 0 deletions
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 <gslin@ccca.nctu.edu.tw>
+#
+# $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 <bsd.port.mk>
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/