summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-08-31 06:28:19 +0100
committerSam James <sam@gentoo.org>2023-08-31 06:28:19 +0100
commitbb0f41dcf06cb6c84a33f0212b5ed323b2388468 (patch)
treec4818033c70bf8baf8af3d486dd919eab768b4ac /net-analyzer
parentapp-text/dos2unix: add 7.5.1 (diff)
downloadgentoo-bb0f41dcf06cb6c84a33f0212b5ed323b2388468.tar.gz
gentoo-bb0f41dcf06cb6c84a33f0212b5ed323b2388468.tar.bz2
gentoo-bb0f41dcf06cb6c84a33f0212b5ed323b2388468.zip
net-analyzer/traceroute: add 2.1.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/traceroute/Manifest1
-rw-r--r--net-analyzer/traceroute/traceroute-2.1.3.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/net-analyzer/traceroute/Manifest b/net-analyzer/traceroute/Manifest
index 364f0ae0adc6..d32b0424c6fd 100644
--- a/net-analyzer/traceroute/Manifest
+++ b/net-analyzer/traceroute/Manifest
@@ -1 +1,2 @@
DIST traceroute-2.1.1.tar.gz 73063 BLAKE2B 89a828f7a0fec30ece599ee7fdd13fd93db0668f6c9f930f1d6d7d94140bcfdf0c75d2d8c5cc52d699e5c4377239f1a4123ad73a98b619968955d029d0842d9f SHA512 f3358e57ffb4a8dc40650e941da879c60407414e44f9887ae65820d1089491dbfac579bd06c1df296738af89a6c61c1e7944ae4495464f8c9ae21afb19b8f296
+DIST traceroute-2.1.3.tar.gz 73171 BLAKE2B a723bdc8ed5f12f6b53552cf7d330eb028deb55ae85c785451d282be1946cdc57ff428a755cc2bbd71495b49cbc89c1707d2686a553029220f8a089fed1c1fc2 SHA512 db96214e6957fffe17c013044fdc20be6cf94fe5249c9adac77e62e20327c4d582b2ddf4b511f93f30be0cba9f67b0f3f61490745f35ff5a32c63ed66cb0c444
diff --git a/net-analyzer/traceroute/traceroute-2.1.3.ebuild b/net-analyzer/traceroute/traceroute-2.1.3.ebuild
new file mode 100644
index 000000000000..4905daf3cb3a
--- /dev/null
+++ b/net-analyzer/traceroute/traceroute-2.1.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Utility to trace the route of IP packets"
+HOMEPAGE="https://traceroute.sourceforge.net/"
+SRC_URI="mirror://sourceforge/traceroute/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="static"
+
+RDEPEND="!net-misc/iputils[traceroute6(-)]"
+
+src_compile() {
+ use static && append-ldflags -static
+ # bug #432116
+ append-ldflags -L../libsupp
+ tc-export AR CC RANLIB
+
+ emake env=yes
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="${EPREFIX}/usr" install
+ dodoc ChangeLog CREDITS README TODO
+ dosym traceroute /usr/bin/traceroute6
+ dosym traceroute.8 /usr/share/man/man8/traceroute6.8
+}