fc65983ce3
Changelog: - Performance improvements for large (>250MB) files - on multi-gigabyte files this can be a very large improvement. - Tuning to reduce likelyhood of hitting bad performance due to bad checksum distribution. - Fix case where client would think download succeeded and try verifying it when it had really failed. - Fix a problem where the client could get into a loop retrieving data if the remote returned data inconsistent with the .zsync file. - Improvements to some of the error and progress messages. - Stop zsync requesting bytes past the end of the target file. - Fix bug where mtime would be set to something offset from the intended value due to timezones. - Fix a case where auth headers could be send to the wrong server across a redirect. Send auth headers unconditionally when username & password are provided. - Fix compilation with gcc-14. - Other optimisations. PR: 287104
37 lines
821 B
Makefile
37 lines
821 B
Makefile
PORTNAME= zsync
|
|
DISTVERSION= 0.6.3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://zsync.moria.org.uk/download/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= File transfer program
|
|
WWW= http://zsync.moria.org.uk/
|
|
|
|
LICENSE= ART20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= autoreconf tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/zsync \
|
|
bin/zsyncmake \
|
|
share/man/man1/zsync.1.gz \
|
|
share/man/man1/zsyncmake.1.gz
|
|
PORTDOCS= INSTALL NEWS README
|
|
|
|
_MANPAGE= zsync.1 zsyncmake.1
|
|
_BINS= zsync zsyncmake
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${_BINS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${_MANPAGE:S,^,${WRKSRC}/doc/,} \
|
|
${STAGEDIR}${PREFIX}/share/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|