Archived
1
0
Fork 0

gnu: dropbear: Update to 2022.82.

* gnu/packages/ssh.scm (dropbear): Update to 2022.82.
[source]: Delete origin snippet's trailing #t.
[arguments]: Use gexps.
[tests?]: Update comment.
This commit is contained in:
Maxim Cournoyer 2022-06-15 21:26:16 -04:00
parent ec7a750344
commit bf9c98b11d
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -15,7 +15,7 @@
;;; Copyright © 2019, 2020 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2019, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re> ;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -508,7 +508,7 @@ responsive, especially over Wi-Fi, cellular, and long-distance links.")
(define-public dropbear (define-public dropbear
(package (package
(name "dropbear") (name "dropbear")
(version "2020.81") (version "2022.82")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -516,21 +516,22 @@ responsive, especially over Wi-Fi, cellular, and long-distance links.")
"https://matt.ucc.asn.au/dropbear/releases/" "https://matt.ucc.asn.au/dropbear/releases/"
"dropbear-" version ".tar.bz2")) "dropbear-" version ".tar.bz2"))
(sha256 (sha256
(base32 "0fy5ma4cfc2pk25mcccc67b2mf1rnb2c06ilb7ddnxbpnc85s8s8")) (base32 "1lbmmmm8f56p24c6jq74rg2kw6kl3w4i5h10vnxjigq2phmqs0rs"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
(delete-file-recursively "libtommath") (delete-file-recursively "libtommath")
(delete-file-recursively "libtomcrypt") (delete-file-recursively "libtomcrypt")
(substitute* "configure" (substitute* "configure"
(("-ltomcrypt") "-ltomcrypt -ltommath")) (("-ltomcrypt") "-ltomcrypt -ltommath"))))))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags '("--disable-bundled-libtom") (list
#:tests? #f)) ; there is no "make check" or anything similar #:configure-flags #~(list "--disable-bundled-libtom")
(inputs ;; The test suite runs an instance of dropbear, which requires a
(list libtomcrypt libtommath zlib)) ;; resolver ("Error resolving: Servname not supported for ai_socktype").
#:tests? #f))
(inputs (list libtomcrypt libtommath zlib))
(synopsis "Small SSH server and client") (synopsis "Small SSH server and client")
(description "Dropbear is a relatively small SSH server and (description "Dropbear is a relatively small SSH server and
client. It runs on a variety of POSIX-based platforms. Dropbear is client. It runs on a variety of POSIX-based platforms. Dropbear is