Subject: [bug#28132] [PATCH 2/2] gnu: Add LFT.

From: Marius Bakke <[email-masked]>
Date: Fri, 18 Aug 2017 00:56:39 +0200

* gnu/packages/networking.scm (lft): New variable.
---
 gnu/packages/networking.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 6dd604646..a2bf1577c 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -371,6 +371,38 @@ interfaces, with a simple and efficient view on the command line.  It is
 intended as a substitute for the PPPStatus and EthStatus projects.")
     (license license:gpl2+)))
 
+(define-public lft
+  (package
+    (name "lft")
+    (version "3.79")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://pwhois.org/get/lft-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "1q4xpyiwjz8s2lwvpsq73z5hnpsf5hawgyxza342kdai6nbwgr88"))))
+    (build-system gnu-build-system)
+    (arguments `(#:tests? #f)) ;no tests
+    (inputs `(("libpcap" ,libpcap)))
+    (home-page "https://pwhois.org/lft/")
+    (synopsis "Alternative traceroute and whois tools")
+    (description
+     "LFT, short for Layer Four Traceroute, is a @command{traceroute} tool
+that often works much faster (than the commonly-used Van Jacobson method) and
+goes through many configurations of packet-filters (firewalls).  More
+importantly, LFT implements numerous other features including AS number
+lookups through several reliable sources, loose source routing, netblock
+name lookups, and more.
+
+This package also contains WhoB, a likable @command{whois} client designed to
+provide everything a network engineer needs to know about a routed IP address
+by typing one line and reading one line.  It can display the origin-ASN based
+on the global routing table at that time (according to Prefix WhoIs, RIPE NCC,
+or Cymru), the \"origin\" ASN registered in the RADB (IRR), the netname and
+orgname, etc.")
+    (license license:vostrom)))
+
 (define-public nload
   (package
     (name "nload")
-- 
2.14.1