net-analyzer/tcping: Update HOMEPAGE/SRC_URI/EAPI
authorJeroen Roovers <jer@gentoo.org>
Sun, 10 Mar 2019 14:33:33 +0000 (15:33 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sun, 10 Mar 2019 14:35:19 +0000 (15:35 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Fixes: https://bugs.gentoo.org/679922
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-analyzer/tcping/metadata.xml
net-analyzer/tcping/tcping-1.3.5-r1.ebuild [new file with mode: 0644]

index 6f49eba8f49693023f393161560b3a2d9e2717c5..12edb2ee98a056caf2fc77d9c7bde165db0ab363 100644 (file)
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
+<maintainer type='project'>
+<email>netmon@gentoo.org</email>
+</maintainer>
 </pkgmetadata>
diff --git a/net-analyzer/tcping/tcping-1.3.5-r1.ebuild b/net-analyzer/tcping/tcping-1.3.5-r1.ebuild
new file mode 100644 (file)
index 0000000..956a355
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="Ping implementation that uses the TCP protocol"
+HOMEPAGE="https://github.com/mkirchner/tcping"
+SRC_URI="https://web.archive.org/web/20160316191549/http://linuxco.de/tcping/tcping-1.3.5.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_prepare() {
+       default
+       sed -e '/^CC=/s:=:?=:' \
+               -e '/^CCFLAGS/s:=:+=:' \
+               -e 's/$(CCFLAGS)/$(CCFLAGS) $(LDFLAGS)/' \
+               -i Makefile || die
+       tc-export CC
+       export CCFLAGS="${CFLAGS}"
+}
+
+src_install() {
+       dobin tcping
+       dodoc README
+}