* [bug#29502] [PATCH] gnu: Add mtr.
@ 2017-11-30 2:10 Tobias Geerinckx-Rice
2017-11-30 17:13 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-11-30 2:10 UTC (permalink / raw)
To: 29502
* gnu/packages/networking.scm (mtr): New public variable.
---
Guix,
This adds mtr, the “it can't not be in Guix already what am I searching
wrong!?” network monitor.
Kind regards,
T G-R
gnu/packages/networking.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 1f4906b7b..755f76b15 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1536,3 +1536,34 @@ at the IP layer and link layer, as well as a host of supplementary
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+)))
--
2.15.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#29502] [PATCH] gnu: Add mtr.
2017-11-30 2:10 [bug#29502] [PATCH] gnu: Add mtr Tobias Geerinckx-Rice
@ 2017-11-30 17:13 ` Ludovic Courtès
2017-12-01 15:13 ` bug#29502: " Tobias Geerinckx-Rice
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2017-11-30 17:13 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 29502
Tobias Geerinckx-Rice <me@tobias.gr> skribis:
> * gnu/packages/networking.scm (mtr): New public variable.
> ---
>
> Guix,
>
> This adds mtr, the “it can't not be in Guix already what am I searching
> wrong!?” network monitor.
Heheh, I didn’t know it. :-) LGTM!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#29502: [PATCH] gnu: Add mtr.
2017-11-30 17:13 ` Ludovic Courtès
@ 2017-12-01 15:13 ` Tobias Geerinckx-Rice
0 siblings, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2017-12-01 15:13 UTC (permalink / raw)
To: ludo; +Cc: 29502-done
Ludovic Courtès wrote on 30/11/17 at 18:13:
> Heheh, I didn’t know it. :-) LGTM!
Thanks! Pushed as b59a8fd49afa79bb9c3bf5e71dce6f3eec2a0808.
Kind regards,
T G-R
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-01 15:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-30 2:10 [bug#29502] [PATCH] gnu: Add mtr Tobias Geerinckx-Rice
2017-11-30 17:13 ` Ludovic Courtès
2017-12-01 15:13 ` bug#29502: " Tobias Geerinckx-Rice
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.