From 0e4cea798175774245d8c204a0261b0bbfd0845e Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Fri, 8 Nov 2019 18:46:02 -0500 Subject: [PATCH] net-analyzer/poink: bump EAPI and stuff * bump to EAPI=7 * use HTTPS for HOMEPAGE and SRC_URI * fix metadata format * drop eutils * make src_compile more readable Signed-off-by: Aaron Bauman --- .../files/poink-2.03-signed-char-fixup.patch | 4 +-- net-analyzer/poink/metadata.xml | 12 ++++++--- net-analyzer/poink/poink-2.03.ebuild | 25 ++++++++++--------- 3 files changed, 24 insertions(+), 17 deletions(-) diff --git a/net-analyzer/poink/files/poink-2.03-signed-char-fixup.patch b/net-analyzer/poink/files/poink-2.03-signed-char-fixup.patch index 543e58bb184e..deaff51bcf86 100644 --- a/net-analyzer/poink/files/poink-2.03-signed-char-fixup.patch +++ b/net-analyzer/poink/files/poink-2.03-signed-char-fixup.patch @@ -1,6 +1,6 @@ diff -Nuar poink-2.03.orig/poink.c poink-2.03/poink.c ---- poink-2.03.orig/poink.c 2002-11-03 03:12:56.000000000 -0800 -+++ poink-2.03/poink.c 2007-06-11 11:59:09.763490735 -0700 +--- a/poink.c 2002-11-03 03:12:56.000000000 -0800 ++++ b/poink.c 2007-06-11 11:59:09.763490735 -0700 @@ -109,7 +109,8 @@ SOCKADDR_IN s; struct timeval ping_start, ping_end; diff --git a/net-analyzer/poink/metadata.xml b/net-analyzer/poink/metadata.xml index 79d462e85571..b9c50c7f068b 100644 --- a/net-analyzer/poink/metadata.xml +++ b/net-analyzer/poink/metadata.xml @@ -1,7 +1,13 @@ - - robbat2@gentoo.org - + + robbat2@gentoo.org + + + A TCP/IP-based ping implementation. It does not require special + privileges and is designed for multiuser shell systems. It is + meant to be a secure replacement for the standard IPv4 network + monitoring tool. + diff --git a/net-analyzer/poink/poink-2.03.ebuild b/net-analyzer/poink/poink-2.03.ebuild index 856e7aef3a2b..7ef07d326f61 100644 --- a/net-analyzer/poink/poink-2.03.ebuild +++ b/net-analyzer/poink/poink-2.03.ebuild @@ -1,30 +1,31 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="TCP/IP-based ping implementation" -HOMEPAGE="http://directory.fsf.org/security/system/poink.html" -SRC_URI="http://ep09.pld-linux.org/~mmazur/poink/${P}.tar.gz" +HOMEPAGE="https://directory.fsf.org/security/system/poink.html" +SRC_URI="https://ep09.pld-linux.org/~mmazur/${PN}/${P}.tar.gz" + +KEYWORDS="amd64 ~ppc x86" + LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc x86" IUSE="" DEPEND="" -src_unpack() { - unpack ${A} - epatch "${FILESDIR}"/${PN}-2.03-signed-char-fixup.patch -} +PATCHES=( "${FILESDIR}/${PN}-2.03-signed-char-fixup.patch" ) src_compile() { - emake CFLAGS="${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" || die + emake \ + CFLAGS="${CFLAGS} ${LDFLAGS}" \ + CC="$(tc-getCC)" } src_install() { dobin poink poink6 newman ping.1 poink.1 - dodoc README* ChangeLog COPYING + dodoc README* ChangeLog } -- 2.26.2