From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86F94158087 for ; Thu, 21 Oct 2021 18:25:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD2C2E08C4; Thu, 21 Oct 2021 18:25:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C28BFE08A0 for ; Thu, 21 Oct 2021 18:25:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 86EDF342F18 for ; Thu, 21 Oct 2021 18:25:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D149B175 for ; Thu, 21 Oct 2021 18:25:11 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1634840580.8c5f4f10c137a2646f54d1d5b8d531ab0a0bf8a8.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/zsync/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/zsync/zsync-0.6.2-r1.ebuild net-misc/zsync/zsync-0.6.2-r2.ebuild X-VCS-Directories: net-misc/zsync/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 8c5f4f10c137a2646f54d1d5b8d531ab0a0bf8a8 X-VCS-Branch: master Date: Thu, 21 Oct 2021 18:25:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9962ba72-acd8-40a9-b130-bd0be8591497 X-Archives-Hash: 919e130db145b6fe9e4be7532d58e32a commit: 8c5f4f10c137a2646f54d1d5b8d531ab0a0bf8a8 Author: Jakov Smolić gentoo org> AuthorDate: Thu Oct 21 17:40:22 2021 +0000 Commit: Jakov Smolić gentoo 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ć 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