[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/28: gnu: sugar: Move from DSA to RSA.
From: |
guix-commits |
Subject: |
01/28: gnu: sugar: Move from DSA to RSA. |
Date: |
Sun, 8 Sep 2024 08:24:13 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 892579c44aed2c54884b4f0057cf0b60c25b0fda
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Sep 7 13:24:45 2024 +0200
gnu: sugar: Move from DSA to RSA.
ssh-keygen no longer supports DSA, so we switch to RSA.
* gnu/packages/sugar.scm (sugar)[arguments]: Patch invocation of ssh-keygen
to
generate RSA key pair instead of DSA.
(sugar-toolkit-gtk3)[arguments]: Adjust parsing code.
Change-Id: I4b339fc0bc6324bd2d74d40be6fd820e4611f387
---
gnu/packages/sugar.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 2e9e28aa21..c0a4d286f2 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -99,7 +99,9 @@
(string-append "'" (search-input-file inputs
"/bin/metacity-message"))))
(substitute* "src/jarabe/intro/window.py"
(("ssh-keygen")
- (search-input-file inputs "/bin/ssh-keygen")))
+ (search-input-file inputs "/bin/ssh-keygen"))
+ ;; ssh-keygen no longer supports dsa.
+ (("-t dsa") "-t rsa"))
(substitute* "src/jarabe/journal/model.py"
(("xdg-user-dir")
(search-input-file inputs "/bin/xdg-user-dir")))
@@ -346,7 +348,13 @@ and metadata, and the journal with querying and full text
search.")
(("'unzip', '-o'")
(string-append "'"
(search-input-file inputs "/bin/unzip")
- "', '-o'")))))
+ "', '-o'")))
+ ;; ssh-keygen no longer supports DSA.
+ (substitute* "src/sugar3/profile.py"
+ (("(.*)magic = 'ssh-dss '" m indent)
+ (string-append m "\n" indent "magicrsa = 'ssh-rsa '\n"))
+ (("if not line.startswith\\(magic\\)")
+ "if not line.startswith(magic) and not
line.startswith(magicrsa)"))))
(add-after 'glib-or-gtk-wrap 'python-and-gi-wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/sugar-activity3")
- branch master updated (d0e361f50d -> 056910ec86), guix-commits, 2024/09/08
- 02/28: gnu: r-gstat: Update to 2.1-2., guix-commits, 2024/09/08
- 05/28: gnu: r-tgp: Update to 2.4-23., guix-commits, 2024/09/08
- 07/28: gnu: r-reticulate: Update to 1.39.0., guix-commits, 2024/09/08
- 08/28: gnu: r-performance: Update to 0.12.3., guix-commits, 2024/09/08
- 09/28: gnu: r-strucchange: Update to 1.5-4., guix-commits, 2024/09/08
- 01/28: gnu: sugar: Move from DSA to RSA.,
guix-commits <=
- 03/28: gnu: r-aer: Update to 1.2-13., guix-commits, 2024/09/08
- 04/28: gnu: r-datawizard: Update to 0.12.3., guix-commits, 2024/09/08
- 06/28: gnu: r-suppdists: Update to 1.1-9.8., guix-commits, 2024/09/08
- 12/28: gnu: r-spdata: Update to 2.3.3., guix-commits, 2024/09/08
- 15/28: gnu: r-parameters: Update to 0.22.2., guix-commits, 2024/09/08
- 17/28: gnu: r-quanteda: Update to 4.1.0., guix-commits, 2024/09/08
- 18/28: gnu: r-spatstat-univar: Update to 3.0-1., guix-commits, 2024/09/08
- 20/28: gnu: r-spacetime: Update to 1.3-2., guix-commits, 2024/09/08
- 21/28: gnu: r-automap: Update to 1.1-12., guix-commits, 2024/09/08
- 25/28: gnu: r-mvtnorm: Update to 1.3-1., guix-commits, 2024/09/08