From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 16 01:40:21 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C011516A4CE for ; Sun, 16 Jan 2005 01:40:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88ABA43D39 for ; Sun, 16 Jan 2005 01:40:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0G1eLLr097181 for ; Sun, 16 Jan 2005 01:40:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0G1eLoB097180; Sun, 16 Jan 2005 01:40:21 GMT (envelope-from gnats) Resent-Date: Sun, 16 Jan 2005 01:40:21 GMT Resent-Message-Id: <200501160140.j0G1eLoB097180@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gea-Suan Lin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9045816A4CE for ; Sun, 16 Jan 2005 01:30:37 +0000 (GMT) Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCA1443D2D for ; Sun, 16 Jan 2005 01:30:36 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id EDDF3323; Sun, 16 Jan 2005 09:30:33 +0800 (CST) Message-Id: <20050116013033.EDDF3323@netnews.NCTU.edu.tw> Date: Sun, 16 Jan 2005 09:30:33 +0800 (CST) From: Gea-Suan Lin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: gslin@netnews.NCTU.edu.tw Subject: ports/76300: New port: net/zsync X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gea-Suan Lin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2005 01:40:21 -0000 >Number: 76300 >Category: ports >Synopsis: New port: net/zsync >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jan 16 01:40:21 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 4.10-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 4.10-RELEASE-p5 FreeBSD 4.10-RELEASE-p5 #1: Sun Dec 19 23:43:19 CST 2004 root@netnews.NCTU.edu.tw:/da1/usr.obj/da0/usr.src/sys/NETNEWS i386 >Description: New port: net/zsync 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/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # zsync/ # zsync/Makefile # zsync/distinfo # zsync/pkg-descr # echo c - zsync/ mkdir -p zsync/ > /dev/null 2>&1 echo x - zsync/Makefile sed 's/^X//' >zsync/Makefile << 'END-of-zsync/Makefile' X# Ports collection makefile for: zsync X# Date created: 16 Jan 2005 X# Whom: Gea-Suan Lin X# X# $FreeBSD$ X# X XPORTNAME= zsync XPORTVERSION= 0.1.6 XCATEGORIES= net XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= ports@FreeBSD.org XCOMMENT= A file transfer program X XPLIST_FILES= bin/zsync bin/zsyncmake X X.if !defined(NOPORTDOCS) XPORTDOCS= COPYING README X.endif X XMAN1= zsync.1 zsyncmake.1 X XGNU_CONFIGURE= yes X Xdo-install: X.for FILE in zsync zsyncmake X ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin X.endfor X X.for FILE in ${MAN1} X ${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${MAN1PREFIX}/man/man1 X.endfor X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X.for FILE in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} X.endfor X.endif X X.include END-of-zsync/Makefile echo x - zsync/distinfo sed 's/^X//' >zsync/distinfo << 'END-of-zsync/distinfo' XMD5 (zsync-0.1.6.tar.gz) = f85eb0fe7331e16adfc7d4e6b0467a0d XSIZE (zsync-0.1.6.tar.gz) = 199326 END-of-zsync/distinfo echo x - zsync/pkg-descr sed 's/^X//' >zsync/pkg-descr << 'END-of-zsync/pkg-descr' Xzsync is a file transfer program. It allows you to download a file from Xa remote web server, where you have a copy of an older version of the Xfile on your computer already. zsync downloads only the new parts of the Xfile. It uses the same algorithm as rsync. X Xzsync does not require any special server software or a shell account on Xthe remote system (rsync, in comparison, requires that you have an rsh Xor ssh account, or that the remote system runs rsyncd). Instead, it uses Xa control file - a .zsync file - that describes the file to be Xdownloaded and enables zsync to work out which blocks it needs. This Xfile can be created by the admin of the web server hosting the download, Xand placed alongside the file to download - it is generated once, then Xany downloaders with zsync can use it. Alternatively, anyone can Xdownload the file, make a .zsync and provide it to other users (this is Xwhat I am doing for the moment). X XWWW: http://zsync.moria.org.uk/ END-of-zsync/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: