gnu: libpcap: Update to 1.9.0.

* gnu/packages/admin.scm (libpcap): Update to 1.9.0.
[arguments]: Drop ‘--with-pcap=linux’ ./configure flag.
[license]: Update list.
This commit is contained in:
Tobias Geerinckx-Rice 2018-08-14 00:13:04 +02:00
parent 689aacc12f
commit 24dd949c83
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 11 additions and 8 deletions

View File

@ -751,27 +751,30 @@ tools: server, client, and relay agent.")
(define-public libpcap (define-public libpcap
(package (package
(name "libpcap") (name "libpcap")
(version "1.8.1") (version "1.9.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://www.tcpdump.org/release/libpcap-" (uri (string-append "https://www.tcpdump.org/release/libpcap-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"07jlhc66z76dipj4j5v3dig8x6h3k6cb36kmnmpsixf3zmlvqgb7")))) "06bhydl4vr4z9c3vahl76f2j96z1fbrcl7wwismgs4sris08inrf"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("bison" ,bison) ("flex" ,flex))) (native-inputs
(arguments '(#:configure-flags '("--with-pcap=linux") `(("bison" ,bison)
#:tests? #f)) ; no 'check' target ("flex" ,flex)))
(arguments
;; There are some tests in testprogs/, but no automated test suite.
'(#:tests? #f))
(home-page "https://www.tcpdump.org") (home-page "https://www.tcpdump.org")
(synopsis "Network packet capture library") (synopsis "Network packet capture library")
(description (description
"libpcap is an interface for user-level packet capture. It provides a "libpcap is an interface for user-level packet capture. It provides a
portable framework for low-level network monitoring. Applications include portable framework for low-level network monitoring. Applications include
network statistics collection, security monitoring, network debugging, etc.") network statistics collection, security monitoring, network debugging, etc.")
(license (list license:bsd-4 ; fad-*.c and several other source files
;; fad-*.c and a couple other files are BSD-4, but the rest is BSD-3. license:bsd-3 ; pcap/, sockutils.* & others
(license license:bsd-3))) license:bsd-2)))) ; the rest
(define-public tcpdump (define-public tcpdump
(package (package