commit: 0e4cea798175774245d8c204a0261b0bbfd0845e
Author: Aaron Bauman gentoo org>
AuthorDate: Fri Nov 8 23:46:02 2019 +
Commit: Aaron Bauman gentoo org>
CommitDate: Fri Nov 8 23:47:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e4cea79
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 gentoo.org>
.../poink/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 543e58bb184..deaff51bcf8 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.c2002-11-03 03:12:56.0 -0800
-+++ poink-2.03/poink.c 2007-06-11 11:59:09.763490735 -0700
+--- a/poink.c 2002-11-03 03:12:56.0 -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 79d462e8557..b9c50c7f068 100644
--- a/net-analyzer/poink/metadata.xml
+++ b/net-analyzer/poink/metadata.xml
@@ -1,7 +1,13 @@
http://www.gentoo.org/dtd/metadata.dtd;>
-
- robb...@gentoo.org
-
+
+ robb...@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 856e7aef3a2..7ef07d326f6 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
}