mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
gnu: Add tcpdump.
* gnu/packages/admin.scm (tcpdump): New variable.
This commit is contained in:
parent
158adb6611
commit
1da34f5ad5
1 changed files with 25 additions and 0 deletions
|
@ -480,6 +480,31 @@ (define-public libpcap
|
|||
;; fad-*.c and a couple other files are BSD-4, but the rest is BSD-3.
|
||||
(license bsd-3)))
|
||||
|
||||
(define-public tcpdump
|
||||
(package
|
||||
(name "tcpdump")
|
||||
(version "4.5.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://www.tcpdump.org/release/tcpdump-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"15hb7zkzd66nag102qbv100hcnf7frglbkylmr8adwr8f5jkkaql"))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs `(("libpcap" ,libpcap)))
|
||||
(native-inputs `(("perl" ,perl))) ; for tests
|
||||
(arguments
|
||||
;; XXX: Temporarily disabled until
|
||||
;; <https://github.com/the-tcpdump-group/tcpdump/issues/381> is resolved.
|
||||
'(#:tests? #f))
|
||||
(home-page "http://www.tcpdump.org/")
|
||||
(synopsis "Network packet analyzer")
|
||||
(description
|
||||
"Tcpdump is a command-line tool to analyze network traffic passing
|
||||
through the network interface controller.")
|
||||
(license bsd-3)))
|
||||
|
||||
(define-public jnettop
|
||||
(package
|
||||
(name "jnettop")
|
||||
|
|
Loading…
Reference in a new issue