summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgemmaro <gemmaro.dev@gmail.com>2026-07-31 04:27:50 +0000
committerAndreas Enge <andreas@enge.fr>2026-08-03 16:03:17 +0200
commit25aad7924b1ba5adc024222809f35e144e455cf9 (patch)
treeed3bb6e2eb7b08df86a2a9a599ad5efb97ca2715
parent0f583ac5611ce7ca232a80c2d8cd776728ca4dff (diff)
gnu: ruby-net-imap: Update to 0.6.6 [security-fixes].
Fixes: CVE-2025-25186, CVE-2026-42245, CVE-2026-42246, CVE-2026-42256, CVE-2026-42257, CVE-2026-42258, CVE-2025-43857, CVE-2026-47240, CVE-2026-47241, and CVE-2026-47242. * gnu/packages/ruby-xyz.scm (ruby-net-imap): Update to 0.6.6. [arguments]: Enable tests. <#:phases>: Add a phase to disable SimpleCov. [native-inputs]: Add ruby-psych and ruby-test-unit-ruby-core. Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/ruby-xyz.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 5d2381c6020..603dbea2d5d 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -4412,7 +4412,7 @@ using Net::HTTP, supporting reconnection and retry according to RFC 2616.")
4412(define-public ruby-net-imap 4412(define-public ruby-net-imap
4413 (package 4413 (package
4414 (name "ruby-net-imap") 4414 (name "ruby-net-imap")
4415 (version "0.3.4") 4415 (version "0.6.6")
4416 (source (origin 4416 (source (origin
4417 (method git-fetch) ;for tests 4417 (method git-fetch) ;for tests
4418 (uri (git-reference 4418 (uri (git-reference
@@ -4421,13 +4421,10 @@ using Net::HTTP, supporting reconnection and retry according to RFC 2616.")
4421 (file-name (git-file-name name version)) 4421 (file-name (git-file-name name version))
4422 (sha256 4422 (sha256
4423 (base32 4423 (base32
4424 "0nx49i1n9q1wpancqaac2srrpb8mb43mc8wryyqyhpgki2grwyxw")))) 4424 "052myg3kgr1fjb3zaki8cfn3s55pd5nn5v4jhbvak8kkpc4hf5gy"))))
4425 (build-system ruby-build-system) 4425 (build-system ruby-build-system)
4426 (arguments 4426 (arguments
4427 ;; The test suite appears to rely on RFCs it tries fetching from the 4427 (list #:phases
4428 ;; network (see: https://github.com/ruby/net-imap/issues/136).
4429 (list #:tests? #f
4430 #:phases
4431 #~(modify-phases %standard-phases 4428 #~(modify-phases %standard-phases
4432 (add-before 'replace-git-ls-files 'adjust-for-git-ls-files 4429 (add-before 'replace-git-ls-files 'adjust-for-git-ls-files
4433 (lambda _ 4430 (lambda _
@@ -4435,7 +4432,11 @@ using Net::HTTP, supporting reconnection and retry according to RFC 2616.")
4435 ;; the expected pattern. 4432 ;; the expected pattern.
4436 (substitute* "net-imap.gemspec" 4433 (substitute* "net-imap.gemspec"
4437 (("`git ls-files -z 2>/dev/null`") 4434 (("`git ls-files -z 2>/dev/null`")
4438 "`git ls-files -z`"))))))) 4435 "`git ls-files -z`"))))
4436 (add-before 'check 'disable-simplecov
4437 (lambda _
4438 (setenv "SIMPLECOV_DISABLE" "yes"))))))
4439 (native-inputs (list ruby-psych ruby-test-unit-ruby-core))
4439 (propagated-inputs (list ruby-date ruby-net-protocol)) 4440 (propagated-inputs (list ruby-date ruby-net-protocol))
4440 (synopsis "Ruby client api for Internet Message Access Protocol") 4441 (synopsis "Ruby client api for Internet Message Access Protocol")
4441 (description "@code{Net::IMAP} implements Internet Message Access 4442 (description "@code{Net::IMAP} implements Internet Message Access