commit:     0af48dbbe85c06df34e4a65d123eff2257a70e4b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  9 09:58:25 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  9 10:36:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af48dbb

net-analyzer/hping: port to EAPI 7

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/hping/Manifest                   |  2 +-
 net-analyzer/hping/hping-3_pre20141226.ebuild | 17 ++++++++---------
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/net-analyzer/hping/Manifest b/net-analyzer/hping/Manifest
index c8c4c0d1f20..783db30a88d 100644
--- a/net-analyzer/hping/Manifest
+++ b/net-analyzer/hping/Manifest
@@ -1 +1 @@
-DIST hping-3_pre20141226.zip 648502 BLAKE2B 
4c75bdb886a37180a4561a8179e00ea5bb6534e32b6fa749cd53824e36dfbeaa38b1a772b58f61d68056f510a294f6c3363f56705adb75f42fec11f4f4cd8fa1
 SHA512 
33ca573d66d7f6285f69a060f56a95e7307bc24d6c81b5e1752c72b8487ab9c85ac6e4499f9c4897e2656a67e12d608a0a149ca5502bdcf18cf97c88d4a2309b
+DIST hping-3_pre20141226.tar.gz 572322 BLAKE2B 
d7bacdd6ae7ba7589825bb9157fc6501740f2a684bc9045483a57c40af3ccf89a09f2f7ddc31c939886e5173b7c4d29233d87e044df14b86e6fcba7bda4f8abc
 SHA512 
d03c27ec25b813c74d57b4e26acf1a5b1ade15abd93c5f8cbf29a5464c6dc3a8679e1d255d99ad232462d6cda70dcd3b68df13e70e950cac0943cb69bdb14b4c

diff --git a/net-analyzer/hping/hping-3_pre20141226.ebuild 
b/net-analyzer/hping/hping-3_pre20141226.ebuild
index b624b83ffd1..5b7241faa8d 100644
--- a/net-analyzer/hping/hping-3_pre20141226.ebuild
+++ b/net-analyzer/hping/hping-3_pre20141226.ebuild
@@ -1,28 +1,27 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit eutils multilib toolchain-funcs
+EAPI=7
 
+inherit toolchain-funcs
+
+HPING_COMMIT="3547c7691742c6eaa31f8402e0ccbb81387c1b99"
 DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer"
 HOMEPAGE="http://www.hping.org";
-HPING_COMMIT="3547c7691742c6eaa31f8402e0ccbb81387c1b99"
-SRC_URI="https://github.com/antirez/${PN}/archive/${HPING_COMMIT}.zip -> 
${P}.zip"
+SRC_URI="https://github.com/antirez/${PN}/archive/${HPING_COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${HPING_COMMIT}"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc sparc x86"
 IUSE="tcl"
 
-S=${WORKDIR}/${PN}-${HPING_COMMIT}
-
 DEPEND="
        net-libs/libpcap
        tcl? ( dev-lang/tcl:0= )
 "
-RDEPEND="
-       ${DEPEND}
-"
+RDEPEND="${DEPEND}"
+
 PATCHES=(
        "${FILESDIR}"/${PN}-3_pre20051105-libtcl.patch
        "${FILESDIR}"/${PN}-3_pre20051105-tcl.patch

Reply via email to