mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
add zsync 0.1.6
A file transfer program PR: 76300 Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
This commit is contained in:
parent
0dc6e9ece0
commit
78d271e2f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126551
4 changed files with 63 additions and 0 deletions
|
@ -839,6 +839,7 @@
|
||||||
SUBDIR += zabbix-agent
|
SUBDIR += zabbix-agent
|
||||||
SUBDIR += zebra
|
SUBDIR += zebra
|
||||||
SUBDIR += zebra-server
|
SUBDIR += zebra-server
|
||||||
|
SUBDIR += zsync
|
||||||
SUBDIR += ztelnet
|
SUBDIR += ztelnet
|
||||||
|
|
||||||
.include <bsd.port.subdir.mk>
|
.include <bsd.port.subdir.mk>
|
||||||
|
|
43
net/zsync/Makefile
Normal file
43
net/zsync/Makefile
Normal file
|
@ -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>
|
2
net/zsync/distinfo
Normal file
2
net/zsync/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
MD5 (zsync-0.1.6.tar.gz) = f85eb0fe7331e16adfc7d4e6b0467a0d
|
||||||
|
SIZE (zsync-0.1.6.tar.gz) = 199326
|
17
net/zsync/pkg-descr
Normal file
17
net/zsync/pkg-descr
Normal file
|
@ -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/
|
Loading…
Add table
Reference in a new issue