aboutsummaryrefslogtreecommitdiffstats
path: root/net/zsync
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2005-01-16 16:28:13 +0800
committerijliao <ijliao@FreeBSD.org>2005-01-16 16:28:13 +0800
commit86230856813f6c89beb9876f40752f93365ad427 (patch)
treeb69d591a8bb655d5a9ad2069bf58f51e0d5a7a9d /net/zsync
parent799f61848bdc301c42562fc0ea2d682ad61ed38b (diff)
downloadfreebsd-ports-graphics-86230856813f6c89beb9876f40752f93365ad427.tar.gz
freebsd-ports-graphics-86230856813f6c89beb9876f40752f93365ad427.tar.zst
freebsd-ports-graphics-86230856813f6c89beb9876f40752f93365ad427.zip
add zsync 0.1.6
A file transfer program PR: 76300 Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
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 00000000000..6387e40d3a7
--- /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 00000000000..3e3671411a4
--- /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 00000000000..f3507542b4d
--- /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/