commit: 8c5f4f10c137a2646f54d1d5b8d531ab0a0bf8a8
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 21 17:40:22 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 18:23:00 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c5f4f10
net-misc/zsync: Port to EAPI 8
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
.../zsync/{zsync-0.6.2-r1.ebuild => zsync-0.6.2-r2.ebuild} | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/net-misc/zsync/zsync-0.6.2-r1.ebuild
b/net-misc/zsync/zsync-0.6.2-r2.ebuild
similarity index 89%
rename from net-misc/zsync/zsync-0.6.2-r1.ebuild
rename to net-misc/zsync/zsync-0.6.2-r2.ebuild
index 70575e7f489..c99fa2fdbb5 100644
--- a/net-misc/zsync/zsync-0.6.2-r1.ebuild
+++ b/net-misc/zsync/zsync-0.6.2-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
-inherit autotools epatch
+inherit autotools
ZLIB_PV=1.2.3
ZLIB_P="zlib-${ZLIB_PV}"
@@ -14,23 +14,22 @@ 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"
-IUSE=""
-
-ZLIB_S="${WORKDIR}/${ZLIB_P}"
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
- epatch "${FILESDIR}"/${P}-${ZLIB_P}-support.patch
- rm -f Makefile || die
+ eapply "${FILESDIR}"/${P}-${ZLIB_P}-support.patch
+ rm Makefile || die
cd "${S}" || die
cp -a "${ZLIB_S}" "${ZLIB_P}-modified" || die