mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add mtr.
* gnu/packages/networking.scm (mtr): New public variable.
This commit is contained in:
parent
3f691f7196
commit
b59a8fd49a
1 changed files with 31 additions and 0 deletions
|
@ -1536,3 +1536,34 @@ (define-public libnet
|
|||
functionality. Using libnet, quick and simple packet assembly applications
|
||||
can be whipped up with little effort.")
|
||||
(license license:bsd-2)))
|
||||
|
||||
(define-public mtr
|
||||
(package
|
||||
(name "mtr")
|
||||
(version "0.92")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "ftp://ftp.bitwizard.nl/" name "/"
|
||||
name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "10j3ds3p27jygys4x08kj8fi3zlsgiv72xsfazkah6plwawrv5zj"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("libcap" ,libcap)
|
||||
("ncurses" ,ncurses)))
|
||||
(native-inputs
|
||||
;; The 0.92 release tarball still requires the ‘autoheader’ tool.
|
||||
`(("autoconf" ,autoconf)))
|
||||
(arguments
|
||||
`(#:tests? #f)) ; tests require network access
|
||||
(home-page "https://www.bitwizard.nl/mtr/")
|
||||
(synopsis "Network diagnostic tool")
|
||||
(description
|
||||
"@dfn{mtr} (My TraceRoute) combines the functionality of the
|
||||
@command{traceroute} and @command{ping} programs in a single network diagnostic
|
||||
tool. @command{mtr} uses ICMP ECHO packets to detect intermediate routers (or
|
||||
@dfn{hops}) between the local host and a user-specified destination. It then
|
||||
continually measures the response time and packet loss at each hop, and
|
||||
displays the results in real time.")
|
||||
(license license:gpl2+)))
|
||||
|
|
Loading…
Reference in a new issue