diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-26 00:10:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-26 00:10:07 +0100 |
commit | 95461df035e3867364495f065e5e805bf629b2d7 (patch) | |
tree | 867dce371a84a696e91be255d89f282975aa0480 /net-misc/zsync/zsync-0.6.2-r2.ebuild | |
parent | 46eedbedafdb0040c37884982d4c775ce277fb7b (diff) |
gentoo resync : 25.10.2021
Diffstat (limited to 'net-misc/zsync/zsync-0.6.2-r2.ebuild')
-rw-r--r-- | net-misc/zsync/zsync-0.6.2-r2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-misc/zsync/zsync-0.6.2-r2.ebuild b/net-misc/zsync/zsync-0.6.2-r2.ebuild new file mode 100644 index 000000000000..c99fa2fdbb5d --- /dev/null +++ b/net-misc/zsync/zsync-0.6.2-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +ZLIB_PV=1.2.3 +ZLIB_P="zlib-${ZLIB_PV}" + +DESCRIPTION="Partial/differential file download client over HTTP which uses the rsync algorithm" +HOMEPAGE="http://zsync.moria.org.uk/" +SRC_URI=" + http://zsync.moria.org.uk/download/${P}.tar.bz2 + http://www.gzip.org/zlib/${ZLIB_P}.tar.bz2 + http://www.zlib.net/${ZLIB_P}.tar.bz2" +ZLIB_S="${WORKDIR}/${ZLIB_P}" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ppc64 x86" + +src_prepare() { + default + # Move old zlib-1.2.11 out the way + mv "${S}"/zlib zlib-1.2.11-modified || die + + cd "${ZLIB_S}" || die + # I am not sure how many other zlib patches we will need to port as well + # This covers the security vuln in 1.2.11 + eapply "${FILESDIR}"/${P}-${ZLIB_P}-support.patch + rm Makefile || die + + cd "${S}" || die + cp -a "${ZLIB_S}" "${ZLIB_P}-modified" || die + ln -s "${ZLIB_P}-modified" zlib || die + + eautoreconf +} + +src_install() { + dobin zsync zsyncmake + dodoc NEWS README + doman doc/zsync.1 doc/zsyncmake.1 +} |