[Midnightbsd-cvs] mports: mports/net: add zsync.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Feb 26 21:06:41 EST 2008
Log Message:
-----------
add zsync.
Modified Files:
--------------
mports/net:
Makefile (r1.58 -> r1.59)
Added Files:
-----------
mports/net/zsync:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net/Makefile,v
retrieving revision 1.58
retrieving revision 1.59
diff -L net/Makefile -L net/Makefile -u -r1.58 -r1.59
--- net/Makefile
+++ net/Makefile
@@ -68,6 +68,7 @@
SUBDIR += xmlrpc-epi
SUBDIR += yaz
SUBDIR += zillion
+ SUBDIR += zsync
SUBDIR += ztelnet
.include <bsd.port.subdir.mk>
--- /dev/null
+++ 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/
--- /dev/null
+++ net/zsync/Makefile
@@ -0,0 +1,47 @@
+# Ports collection makefile for: zsync
+# Date created: 16 Jan 2005
+# Whom: Gea-Suan Lin <gslin at ccca.nctu.edu.tw>
+#
+# $MidnightBSD: mports/net/zsync/Makefile,v 1.1 2008/02/27 02:06:39 laffer1 Exp $
+# $FreeBSD: ports/net/zsync/Makefile,v 1.7 2005/10/17 23:28:33 gordon Exp $
+#
+
+PORTNAME= zsync
+PORTVERSION= 0.4.2
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports at MidnightBSD.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>
--- /dev/null
+++ net/zsync/distinfo
@@ -0,0 +1,3 @@
+MD5 (zsync-0.4.2.tar.gz) = f9891b412717a18805ea19211bdf1407
+SHA256 (zsync-0.4.2.tar.gz) = d296407457a3ddc3aa7aba61e6a463668fe4a8e1a9bc8d795d852fd17558460b
+SIZE (zsync-0.4.2.tar.gz) = 243783
More information about the Midnightbsd-cvs
mailing list