guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 3fd1690a73bc8ac0b952a8783c739f91b474f7d4
Author: Ashish SHUKLA <[email protected]>
AuthorDate: Mon Oct 6 14:33:08 2025 +0000

    gnu: openssh: Update to 10.2p1.
    
    * gnu/packages/ssh.scm (openssh): Updatet to 10.2p1.
    
    * gnu/packages/patches/openssh-trust-guix-store-directory.patch:
      Regenerate.
    
    Change-Id: I7214d91bd8ffd0528c4150c92abc995bd3355f0e
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/patches/openssh-trust-guix-store-directory.patch | 10 +++++-----
 gnu/packages/ssh.scm                                          |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/patches/openssh-trust-guix-store-directory.patch 
b/gnu/packages/patches/openssh-trust-guix-store-directory.patch
index d190740f10..75854361e0 100644
--- a/gnu/packages/patches/openssh-trust-guix-store-directory.patch
+++ b/gnu/packages/patches/openssh-trust-guix-store-directory.patch
@@ -16,15 +16,15 @@ diff --git a/misc.c b/misc.c
 index dd0bd032a..6b866464c 100644
 --- a/misc.c
 +++ b/misc.c
-@@ -2254,6 +2254,7 @@ int
+@@ -2271,6 +2271,7 @@
  safe_path(const char *name, struct stat *stp, const char *pw_dir,
      uid_t uid, char *err, size_t errlen)
  {
 +        static const char guix_store[] = @STORE_DIRECTORY@;
-       char buf[PATH_MAX], homedir[PATH_MAX];
+       char buf[PATH_MAX], buf2[PATH_MAX], homedir[PATH_MAX];
        char *cp;
        int comparehome = 0;
-@@ -2271,6 +2272,11 @@ safe_path(const char *name, struct stat *stp, const 
char *pw_dir,
+@@ -2288,6 +2289,11 @@
                snprintf(err, errlen, "%s is not a regular file", buf);
                return -1;
        }
@@ -40,7 +40,7 @@ diff --git a/readconf.c b/readconf.c
 index 7cbe7d2c2..40a5f1ace 100644
 --- a/readconf.c
 +++ b/readconf.c
-@@ -2566,6 +2566,7 @@ read_config_file_depth(const char *filename, struct 
passwd *pw,
+@@ -2602,6 +2602,7 @@
  {
        FILE *f;
        char *line = NULL;
@@ -48,7 +48,7 @@ index 7cbe7d2c2..40a5f1ace 100644
        size_t linesize = 0;
        int linenum;
        int bad_options = 0;
-@@ -2581,9 +2582,9 @@ read_config_file_depth(const char *filename, struct 
passwd *pw,
+@@ -2617,9 +2618,9 @@
  
                if (fstat(fileno(f), &sb) == -1)
                        fatal("fstat %s: %s", filename, strerror(errno));
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 245237fc0d..975eace5ac 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -225,7 +225,7 @@ a server that supports the SSH-2 protocol.")
 (define-public openssh
   (package
    (name "openssh")
-   (version "10.0p1")
+   (version "10.2p1")
    (source
     (origin
       (method url-fetch)
@@ -233,7 +233,7 @@ a server that supports the SSH-2 protocol.")
                           "openssh-" version ".tar.gz"))
       (patches (search-patches "openssh-trust-guix-store-directory.patch"))
       (sha256
-       (base32 "0p6qp47gkkjrxlqaignsvn81lh80wnlxasr5n5845pqfk9q2w6h2"))))
+       (base32 "1clqyxh6mrbwjg964df0hjwmd361mxnx3nx17wk5jyck3422ri6c"))))
    (build-system gnu-build-system)
    (arguments
     (list

Reply via email to