gnu: whois: Update to 5.2.19.

* gnu/packages/networking.scm (whois): Update to 5.2.19.
[arguments]: Don't set HAVE_LIBIDN in 'setenv' phase; this is now autodetected.
[native-inputs]: Add PKG-CONFIG.
This commit is contained in:
Marius Bakke 2017-12-12 00:58:05 +01:00
parent f419fe4ddb
commit eb6263f215
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -450,7 +450,7 @@ (define-public iodine
(define-public whois (define-public whois
(package (package
(name "whois") (name "whois")
(version "5.2.18") (version "5.2.19")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -458,7 +458,7 @@ (define-public whois
name "_" version ".tar.xz")) name "_" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1mcpgj18n1xppvlhjqzpj05yr5z48bym9bd88k10fwgkmwk0spf3")))) "0b16w48c17k35lhd95qcl2kjq2rahk8znkg3w467rf3kzmsa4fbc"))))
(build-system gnu-build-system) (build-system gnu-build-system)
;; TODO: unbundle mkpasswd binary + its po files. ;; TODO: unbundle mkpasswd binary + its po files.
(arguments (arguments
@ -471,13 +471,14 @@ (define-public whois
(add-before 'build 'setenv (add-before 'build 'setenv
(lambda _ (lambda _
(setenv "HAVE_ICONV" "1") (setenv "HAVE_ICONV" "1")
(setenv "HAVE_LIBIDN" "1")
#t))))) #t)))))
(inputs (inputs
;; TODO: Switch to libidn2 when >= 2.0.3 is ungrafted in master.
`(("libidn" ,libidn))) `(("libidn" ,libidn)))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) `(("gettext" ,gettext-minimal)
("perl" ,perl))) ("perl" ,perl)
("pkg-config" ,pkg-config)))
(synopsis "Improved whois client") (synopsis "Improved whois client")
(description "This whois client is intelligent and can (description "This whois client is intelligent and can
automatically select the appropriate whois server for most queries. automatically select the appropriate whois server for most queries.