summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2019-11-08 18:46:02 -0500
committerAaron Bauman <bman@gentoo.org>2019-11-08 18:47:52 -0500
commit0e4cea798175774245d8c204a0261b0bbfd0845e (patch)
tree982c1ceeca0ab3fb099e9601a26b4e10549e39fa /net-analyzer/poink
parentsys-cluster/ceph: revbump to 14.2.4-r1, misc fixes (diff)
downloadgentoo-0e4cea798175774245d8c204a0261b0bbfd0845e.tar.gz
gentoo-0e4cea798175774245d8c204a0261b0bbfd0845e.tar.bz2
gentoo-0e4cea798175774245d8c204a0261b0bbfd0845e.zip
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 <bman@gentoo.org>
Diffstat (limited to 'net-analyzer/poink')
-rw-r--r--net-analyzer/poink/files/poink-2.03-signed-char-fixup.patch4
-rw-r--r--net-analyzer/poink/metadata.xml12
-rw-r--r--net-analyzer/poink/poink-2.03.ebuild25
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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
- <email>robbat2@gentoo.org</email>
-</maintainer>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
</pkgmetadata>
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
}