summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-11-17 12:14:35 +0100
committerJeroen Roovers <jer@gentoo.org>2019-11-17 12:18:05 +0100
commite4be877e54e0f424ea380fa8af7e9b33bf699dfa (patch)
tree48aef73739b145983a980723daa7987dd49e9d7f /net-analyzer
parentgnustep-libs/highlighterkit: update SRC_URI to savannah (diff)
downloadgentoo-e4be877e54e0f424ea380fa8af7e9b33bf699dfa.tar.gz
gentoo-e4be877e54e0f424ea380fa8af7e9b33bf699dfa.tar.bz2
gentoo-e4be877e54e0f424ea380fa8af7e9b33bf699dfa.zip
net-analyzer/traceroute-nanog: EAPI=7
Package-Manager: Portage-2.3.79, Repoman-2.3.18 Fixes: https://bugs.gentoo.org/678932 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/traceroute-nanog/traceroute-nanog-6.4.2_p1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/net-analyzer/traceroute-nanog/traceroute-nanog-6.4.2_p1.ebuild b/net-analyzer/traceroute-nanog/traceroute-nanog-6.4.2_p1.ebuild
new file mode 100644
index 000000000000..975f26afff90
--- /dev/null
+++ b/net-analyzer/traceroute-nanog/traceroute-nanog-6.4.2_p1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DEB_PL="1"
+DESCRIPTION="Traceroute with AS lookup, TOS support, MTU discovery and other features"
+HOMEPAGE="https://www.gentoo.org/"
+SRC_URI="
+ https://dev.gentoo.org/~jer/${PN}_${PV/_p*}.orig.tar.gz
+ https://dev.gentoo.org/~jer/${PN}_${PV/_p*}-${PV/*_p}.diff.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+
+S=${WORKDIR}/${P/_p*}.orig
+
+src_prepare() {
+ eapply "${WORKDIR}"/${PN}_${PV/_p*}-${PV/*_p}.diff
+
+ eapply \
+ $(
+ for i in $( cat "${S}"/debian/patches/00list )
+ do
+ echo "${S}"/debian/patches/$i.dpatch
+ done
+ )
+
+ eapply_user
+}
+
+src_compile() {
+ $(tc-getCC) traceroute.c -o ${PN} ${CFLAGS} -DSTRING ${LDFLAGS} -lresolv -lm \
+ || die
+}
+
+src_install() {
+ dosbin traceroute-nanog
+ dodoc 0_readme.txt faq.txt
+ newman "${S}"/debian/traceroute-nanog.genuine.8 traceroute-nanog.8
+}