public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/poink/files/, net-analyzer/poink/
@ 2019-11-08 23:47 Aaron Bauman
  0 siblings, 0 replies; only message in thread
From: Aaron Bauman @ 2019-11-08 23:47 UTC (permalink / raw
  To: gentoo-commits

commit:     0e4cea798175774245d8c204a0261b0bbfd0845e
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  8 23:46:02 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Nov  8 23:47:52 2019 +0000
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 <bman <AT> 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.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 79d462e8557..b9c50c7f068 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 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
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-08 23:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-08 23:47 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/poink/files/, net-analyzer/poink/ Aaron Bauman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox