From 560d9dda103071736396f99ccccf34bbfbdad1cd Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 18 Jan 2018 22:31:18 +0000 Subject: Add netcf --- gnu/packages/networking.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index bf8e8c65d4..20b35f97f2 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -1568,3 +1568,35 @@ 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+))) + + +(define-public netcf + (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} can use several network protocols 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+))) -- cgit v1.2.3