Install this version:
emerge -a =net-misc/zsync-0.6.2
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Partial/differential file download client over HTTP using the rsync algorithm"
HOMEPAGE="http://zsync.moria.org.uk/"
SRC_URI="
http://zsync.moria.org.uk/download/${P}.tar.bz2
"
LICENSE="Artistic-2"
SLOT="0"
KEYWORDS="amd64 ~arm ppc ppc64 x86"
RDEPEND="virtual/zlib:="
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-0.6.2-musl-off_t-fix.patch
"${FILESDIR}"/${PN}-0.6.2-c99.patch
"${FILESDIR}"/${PN}-0.6.2-unbundle-zlib.patch
"${FILESDIR}"/${PN}-0.6.2-warning-fixes.patch
)
src_prepare() {
default
# Drop bundled zlib
rm -r zlib || die
eautoreconf
}
src_install() {
dobin zsync zsyncmake
dodoc NEWS README
doman doc/zsync.1 doc/zsyncmake.1
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | zlib-1.2.3.tar.bz2 | 425209 bytes |
http://www.gzip.org/zlib/zlib-1.2.3.tar.bz2 http://www.zlib.net/zlib-1.2.3.tar.bz2 |
| DIST | zsync-0.6.2.tar.bz2 | 245592 bytes | http://zsync.moria.org.uk/download/zsync-0.6.2.tar.bz2 |