summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2012-08-11 15:43:13 +0000
committeragc <agc@pkgsrc.org>2012-08-11 15:43:13 +0000
commit482b14628e4e42c27d33e5178c9fe963ad6d42e4 (patch)
tree461d18e1298697d0ebd20aaca53ebf8319207ca6
parent37b24f2321fbdd10b7faa668214b26386c02b708 (diff)
downloadpkgsrc-482b14628e4e42c27d33e5178c9fe963ad6d42e4.tar.gz
Import zsync-0.6.2 into the packages collection.
zsync is a file transfer program. It allows you to download a file from a remote 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. However, zsync is designed for file distribution, with one file on a server to be distributed to thousands of downloaders. zsync requires no special server software - just a web server to host the files - and imposes no extra load on the server, making it ideal for large scale file distribution. Client-side rsync - zsync runs on the client side, thus avoiding the high server load associated with rsync. Rsync over HTTP - zsync provides transfers that are nearly as efficient as rsync -z or cvsup, without the need to run a special server application. All that is needed is an HTTP/1.1-compliant web server, so it works through firewalls and on shared hosting accounts. Handling for compressed files - rsync is ineffective on compressed files, unless they are compressed with a patched version of gzip. zsync has special handling for gzipped files, which enables update transfers of files which are distributed in compressed form.
-rw-r--r--net/zsync/DESCR24
-rw-r--r--net/zsync/Makefile17
-rw-r--r--net/zsync/PLIST7
-rw-r--r--net/zsync/distinfo5
4 files changed, 53 insertions, 0 deletions
diff --git a/net/zsync/DESCR b/net/zsync/DESCR
new file mode 100644
index 00000000000..c582df07133
--- /dev/null
+++ b/net/zsync/DESCR
@@ -0,0 +1,24 @@
+zsync is a file transfer program. It allows you to download a file
+from a remote 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. However, zsync is
+designed for file distribution, with one file on a server to be
+distributed to thousands of downloaders. zsync requires no special
+server software - just a web server to host the files - and imposes no
+extra load on the server, making it ideal for large scale file
+distribution.
+
+ Client-side rsync - zsync runs on the client side, thus
+ avoiding the high server load associated with rsync.
+
+ Rsync over HTTP - zsync provides transfers that are nearly as
+ efficient as rsync -z or cvsup, without the need to run a
+ special server application. All that is needed is an
+ HTTP/1.1-compliant web server, so it works through firewalls
+ and on shared hosting accounts.
+
+ Handling for compressed files - rsync is ineffective on
+ compressed files, unless they are compressed with a patched
+ version of gzip. zsync has special handling for gzipped
+ files, which enables update transfers of files which are
+ distributed in compressed form.
diff --git a/net/zsync/Makefile b/net/zsync/Makefile
new file mode 100644
index 00000000000..df8cbf0738e
--- /dev/null
+++ b/net/zsync/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/08/11 15:43:13 agc Exp $
+
+DISTNAME= zsync-0.6.2
+CATEGORIES= net
+MASTER_SITES= http://zsync.moria.org.uk/download/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= agc@NetBSD.org
+HOMEPAGE= http://zsync.moria.org.uk/index
+COMMENT= Optimising file distribution program, a 1-to-many rsync
+LICENSE= artistic-2.0
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/zsync/PLIST b/net/zsync/PLIST
new file mode 100644
index 00000000000..3cfc0fe3320
--- /dev/null
+++ b/net/zsync/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/08/11 15:43:13 agc Exp $
+bin/zsync
+bin/zsyncmake
+man/man1/zsync.1
+man/man1/zsyncmake.1
+share/doc/zsync/COPYING
+share/doc/zsync/README
diff --git a/net/zsync/distinfo b/net/zsync/distinfo
new file mode 100644
index 00000000000..0cf741f24a3
--- /dev/null
+++ b/net/zsync/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/08/11 15:43:13 agc Exp $
+
+SHA1 (zsync-0.6.2.tar.bz2) = 5e69f084c8adaad6a677b68f7388ae0f9507617a
+RMD160 (zsync-0.6.2.tar.bz2) = 3a7ce9f72cde7960cb3c9ede629bae23fca40153
+Size (zsync-0.6.2.tar.bz2) = 245592 bytes