gnu: hcxtools: Update to 5.1.4.

* gnu/packages/networking.scm (hcxtools): Update to 5.1.4.
master
Tobias Geerinckx-Rice 2019-04-26 00:58:06 +02:00
parent 55036ddc9a
commit 03c443ce8f
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 38 additions and 42 deletions

View File

@ -2201,51 +2201,47 @@ Ethernet and TAP interfaces is supported. Packet capture is also supported.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public hcxtools (define-public hcxtools
(let* ((commit "2ecfc9a06c2028c47522ea566ccd82b2c1f94647")) (package
(package (name "hcxtools")
(name "hcxtools") (version "5.1.4")
(version (git-version "0.0.0" "1" commit)) (source
(home-page "https://github.com/ZerBea/hcxtools") (origin
(source (origin (method git-fetch)
(method git-fetch) (uri (git-reference
(uri (git-reference (url "https://github.com/ZerBea/hcxtools.git")
(url home-page) (commit version)))
(commit commit))) (sha256
(sha256 (base32 "1bkl0j6m5q091fas99s83aclcc5kfwacmkgmyg8565z2npvnj7nf"))
(base32 (file-name (git-file-name name version))))
"1hzwrpmxjxl674if0pp5iq06mdi24k7ni7bh1h20isp4s40201n3")) (build-system gnu-build-system)
(file-name (git-file-name name version)))) (inputs
(build-system gnu-build-system) `(("curl" ,curl)
(inputs ("libpcap" ,libpcap)
`(("curl" ,curl) ("openssl" ,openssl)
("libpcap" ,libpcap) ("zlib" ,zlib)))
("openssl" ,openssl) (arguments
("zlib" ,zlib))) `(#:make-flags
(arguments (list "CC=gcc"
`(#:make-flags (list "CC=gcc" (string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin"))
(string-append "INSTALLDIR=" (assoc-ref %outputs "out") "/bin")) #:tests? #f ; no test suite
#:tests? #f ;no tests #:phases
#:phases (modify-phases %standard-phases
(modify-phases %standard-phases (delete 'configure)
(delete 'configure) (add-after 'unpack 'set-environment
(add-after 'unpack 'set-environment (lambda* (#:key inputs #:allow-other-keys)
(lambda* (#:key inputs #:allow-other-keys) (setenv "C_INCLUDE_PATH"
(setenv "C_INCLUDE_PATH" (string-append (assoc-ref inputs "curl") "/include:"
(string-append (assoc-ref inputs "curl") (assoc-ref inputs "libpcap") "/include:"
"/include:" (assoc-ref inputs "openssl") "/include:"
(assoc-ref inputs "libpcap") (assoc-ref inputs "zlib") "/include:"
"/include:"
(assoc-ref inputs "openssl")
"/include:"
(assoc-ref inputs "zlib")
"/include:"
(getenv "C_INCLUDE_PATH"))) (getenv "C_INCLUDE_PATH")))
#t))))) #t)))))
(synopsis "Capture wlan traffic to hashcat and John the Ripper") (home-page "https://github.com/ZerBea/hcxtools")
(description (synopsis "Capture wlan traffic to hashcat and John the Ripper")
"This package contains a small set of tools to capture and convert (description
"This package contains a small set of tools to capture and convert
packets from wireless devices for use with hashcat or John the Ripper.") packets from wireless devices for use with hashcat or John the Ripper.")
(license license:expat)))) (license license:expat)))
(define-public hcxdumptool (define-public hcxdumptool
(let* ((commit "f4799b5da82c5b030a6d99b02d1c1b9dc838ad36")) (let* ((commit "f4799b5da82c5b030a6d99b02d1c1b9dc838ad36"))