mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-10 22:56:15 +02:00
net-analyzer/traceroute: Sync with Gentoo
It's from Gentoo commit c96d351228f505f8bd8af41079f8eea1871689fb.
This commit is contained in:
parent
53cbe753c5
commit
f0e2566b7d
@ -1,2 +1 @@
|
||||
DIST traceroute-2.1.0.tar.gz 71460 BLAKE2B 4c2126fa98625d525d0a1b0075d16a6ff37836e18d2ce8319f58c89bfa22a6a5e3bbe2ded22fa98d5128c7bb58578327db08120a5b78c1c4ff5673dcc0dea7e6 SHA512 3578007c734091ea0c906637c03fd133a8b0154fbf2e6b5c0c881184947918196bc03aeaf872d3bd53777b9b771cba5cf97f73fb5916bb53b75037f429b40ed3
|
||||
DIST traceroute-2.1.1.tar.gz 73063 BLAKE2B 89a828f7a0fec30ece599ee7fdd13fd93db0668f6c9f930f1d6d7d94140bcfdf0c75d2d8c5cc52d699e5c4377239f1a4123ad73a98b619968955d029d0842d9f SHA512 f3358e57ffb4a8dc40650e941da879c60407414e44f9887ae65820d1089491dbfac579bd06c1df296738af89a6c61c1e7944ae4495464f8c9ae21afb19b8f296
|
||||
|
||||
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2022 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="http://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
|
||||
append-ldflags -L../libsupp #432116
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user