[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
201/201: gnu: guile-ssh: Update to 0.13.1-2e25d85.
From: |
guix-commits |
Subject: |
201/201: gnu: guile-ssh: Update to 0.13.1-2e25d85. |
Date: |
Mon, 1 Nov 2021 23:19:21 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit eae3355ec8ad7ac81419f4fd43dd71416b032f07
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Nov 1 22:47:57 2021 -0400
gnu: guile-ssh: Update to 0.13.1-2e25d85.
* gnu/packages/ssh.scm (guile-ssh): Update to 0.13.1-2e25d85.
---
gnu/packages/ssh.scm | 147 ++++++++++++++++++++++++++-------------------------
1 file changed, 74 insertions(+), 73 deletions(-)
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 7452b5f..9059906 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -302,81 +302,82 @@ Additionally, various channel-specific options can be
negotiated.")
(synopsis "OpenSSH client and server without X11 support")))
(define-public guile-ssh
- (package
- (name "guile-ssh")
- (version "0.13.1")
- (home-page "https://github.com/artyom-poptsov/guile-ssh")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1xpxkvgj7wgcl450djkcrmrf957mcy2f36hfs5g6kpla1gax2d1g"))
- (patches (search-patches "guile-ssh-fix-test-suite.patch"
- "guile-ssh-read-error.patch"))))
- (build-system gnu-build-system)
- (outputs '("out" "debug"))
- (arguments
- `(;; It makes no sense to build libguile-ssh.a.
- #:configure-flags '("--disable-static")
-
- #:phases (modify-phases %standard-phases
- (add-before 'build 'fix-libguile-ssh-file-name
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Build and install libguile-ssh.so so that we can use
- ;; its absolute file name in .scm files, before we build
- ;; the .go files.
- (let* ((out (assoc-ref outputs "out"))
- (lib (string-append out "/lib")))
- (invoke "make" "install"
- "-C" "libguile-ssh"
- "-j" (number->string
- (parallel-job-count)))
- (substitute* (find-files "." "\\.scm$")
- (("\"libguile-ssh\"")
- (string-append "\"" lib "/libguile-ssh\"")))
- #t)))
- ,@(if (%current-target-system)
- '()
- '((add-before 'check 'fix-guile-path
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((guile (assoc-ref inputs "guile")))
- (substitute* "tests/common.scm"
- (("/usr/bin/guile")
- (string-append guile "/bin/guile")))
- #t)))))
- (add-after 'install 'remove-bin-directory
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin"))
- (examples (string-append
- out "/share/guile-ssh/examples")))
- (mkdir-p examples)
- (rename-file (string-append bin "/ssshd.scm")
- (string-append examples "/ssshd.scm"))
- (rename-file (string-append bin "/sssh.scm")
- (string-append examples "/sssh.scm"))
- (delete-file-recursively bin)
- #t))))))
- (native-inputs `(("autoconf" ,autoconf)
- ("automake" ,automake)
- ("libtool" ,libtool)
- ("texinfo" ,texinfo)
- ("pkg-config" ,pkg-config)
- ("which" ,which)
- ("guile" ,guile-3.0))) ;needed when cross-compiling.
- (inputs `(("guile" ,guile-3.0)
- ("libssh" ,libssh)
- ("libgcrypt" ,libgcrypt)))
- (synopsis "Guile bindings to libssh")
- (description
- "Guile-SSH is a library that provides access to the SSH protocol for
+ ;; This is the last commit of the wip-fix-nonblocking-eof branch, which
+ ;; includes better timeout handling, useful for offloading.
+ (let ((commit "2e25d852104f375936e81d9d7163892c6e828e68")
+ (revision "0"))
+ (package
+ (name "guile-ssh")
+ (version (git-version "0.13.1" revision commit))
+ (home-page "https://github.com/artyom-poptsov/guile-ssh")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1wkmq8d35y3vrb8sh31cqa4dyn1q9f4pgp9cz5mgv9i60hckr1ck"))))
+ (build-system gnu-build-system)
+ (outputs '("out" "debug"))
+ (arguments
+ `( ;; It makes no sense to build libguile-ssh.a.
+ #:configure-flags '("--disable-static"
+ "CFLAGS=-DDEBUG")
+
+ #:phases (modify-phases %standard-phases
+ (add-before 'build 'fix-libguile-ssh-file-name
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Build and install libguile-ssh.so so that we can use
+ ;; its absolute file name in .scm files, before we
build
+ ;; the .go files.
+ (let* ((out (assoc-ref outputs "out"))
+ (lib (string-append out "/lib")))
+ (invoke "make" "install"
+ "-C" "libguile-ssh"
+ "-j" (number->string
+ (parallel-job-count)))
+ (substitute* (find-files "." "\\.scm$")
+ (("\"libguile-ssh\"")
+ (string-append "\"" lib "/libguile-ssh\""))))))
+ ,@(if (%current-target-system)
+ '()
+ '((add-before 'check 'fix-guile-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((guile (assoc-ref inputs "guile")))
+ (substitute* "tests/common.scm"
+ (("/usr/bin/guile")
+ (string-append guile "/bin/guile"))))))))
+ (add-after 'install 'remove-bin-directory
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin"))
+ (examples (string-append
+ out "/share/guile-ssh/examples")))
+ (mkdir-p examples)
+ (rename-file (string-append bin "/ssshd.scm")
+ (string-append examples "/ssshd.scm"))
+ (rename-file (string-append bin "/sssh.scm")
+ (string-append examples "/sssh.scm"))
+ (delete-file-recursively bin)))))))
+ (native-inputs `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("texinfo" ,texinfo)
+ ("util-linux" ,util-linux) ;for 'whereis'
+ ("which" ,which)
+ ("guile" ,guile-3.0))) ;needed when cross-compiling.
+ (inputs `(("guile" ,guile-3.0)
+ ("libssh" ,libssh)
+ ("libgcrypt" ,libgcrypt)))
+ (synopsis "Guile bindings to libssh")
+ (description
+ "Guile-SSH is a library that provides access to the SSH protocol for
programs written in GNU Guile interpreter. It is a wrapper to the underlying
libssh library.")
- (license license:gpl3+)))
+ (license license:gpl3+))))
(define-public guile2.0-ssh
(package
- 157/201: gnu: python-dateutil: Update to 2.8.2., (continued)
- 157/201: gnu: python-dateutil: Update to 2.8.2., guix-commits, 2021/11/01
- 159/201: gnu: gstreamer: Disable the pipelines-seek test., guix-commits, 2021/11/01
- 176/201: gnu: Add libxcvt., guix-commits, 2021/11/01
- 169/201: gnu: Add meson-0.59., guix-commits, 2021/11/01
- 195/201: gnu: openblas: Update to 0.3.18., guix-commits, 2021/11/01
- 186/201: gnu: libblockdev: Update to 2.26., guix-commits, 2021/11/01
- 187/201: gnu: Add webkitgtk-2.32., guix-commits, 2021/11/01
- 197/201: gnu: ansible-core: Update to 2.11.6., guix-commits, 2021/11/01
- 173/201: gnu: tracker: Use libsoup-minimal-2 to fix build., guix-commits, 2021/11/01
- 170/201: gnu: gtkmm-3: Update to 3.24.5., guix-commits, 2021/11/01
- 201/201: gnu: guile-ssh: Update to 0.13.1-2e25d85.,
guix-commits <=
- 74/201: gnu: python-keras: Skip a flaky test., guix-commits, 2021/11/01
- 79/201: gnu: diffutils: Fix signal processing., guix-commits, 2021/11/01
- 91/201: gnu: rust: Bootstrap rust from 1.39.0 and optimize build time., guix-commits, 2021/11/01
- 99/201: gnu: python-setuptools-scm: Update to 6.3.2, guix-commits, 2021/11/01
- 112/201: gnu: libcloudproviders-minimal: Introduce minimal variant., guix-commits, 2021/11/01
- 110/201: gnu: Add docbook-xsl-ns., guix-commits, 2021/11/01
- 77/201: gnu: tzdata: Update to 2021e., guix-commits, 2021/11/01
- 81/201: build: qt-utils: Don't wrap .X-real files., guix-commits, 2021/11/01
- 89/201: aux-files: sitecustomize: Cleanup and add explanatory comments., guix-commits, 2021/11/01
- 83/201: gnu: gcc-5: Fix powerpc64le-linux build, guix-commits, 2021/11/01