gnu: masscan: Update to 1.0.5.

* gnu/packages/admin.scm (masscan): Update to 1.0.5.
[arguments]: Set CC to a real compiler instead of the default clang.
This commit is contained in:
Tobias Geerinckx-Rice 2018-03-14 07:00:29 +01:00
parent 186cef9e1c
commit b4bf951627
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 8 additions and 6 deletions

View File

@ -2433,7 +2433,7 @@ on systems running the Linux kernel.")
(define-public masscan (define-public masscan
(package (package
(name "masscan") (name "masscan")
(version "1.0.4") (version "1.0.5")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/robertdavidgraham/masscan" (uri (string-append "https://github.com/robertdavidgraham/masscan"
@ -2441,16 +2441,18 @@ on systems running the Linux kernel.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1y9af345g00z83rliv6bmlqg37xwc7xpnx5xqdgmjikzcxgk9pji")))) "0wxddsgyx27z45906icdhdbfsvfj8ij805208qpqjx46i0lnjs50"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("libpcap" ,libpcap))) `(("libpcap" ,libpcap)))
(arguments (arguments
'(#:test-target "regress" '(#:test-target "regress"
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:make-flags
(list "CC=gcc"
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'configure) ; There is no ./configure script (delete 'configure) ; no ./configure script
(add-after 'unpack 'patch-path (add-after 'unpack 'patch-path
(lambda* (#:key outputs inputs #:allow-other-keys) (lambda* (#:key outputs inputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")) (let* ((out (assoc-ref outputs "out"))