gnu: libssh: Update to commit 239d0f7 of branch 'v0-7'.
* gnu/packages/ssh.scm (libssh): Update to 239d0f7.
This commit is contained in:
		
							parent
							
								
									924b96db0a
								
							
						
					
					
						commit
						4e847986bc
					
				
					 1 changed files with 31 additions and 26 deletions
				
			
		| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
 | 
					;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
 | 
				
			||||||
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
 | 
					;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
 | 
				
			||||||
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
 | 
					;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
 | 
				
			||||||
;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
 | 
					;;; Copyright © 2015, 2016 Efraim Flashner <efraim@flashner.co.il>
 | 
				
			||||||
| 
						 | 
					@ -62,35 +62,40 @@
 | 
				
			||||||
  #:use-module (srfi srfi-1))
 | 
					  #:use-module (srfi srfi-1))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public libssh
 | 
					(define-public libssh
 | 
				
			||||||
  (package
 | 
					  ;; This commit from the 'v0-7' branch contains 7 memory-management-related
 | 
				
			||||||
    (name "libssh")
 | 
					  ;; bug fixes that we'd rather have.
 | 
				
			||||||
    (version "0.7.5")
 | 
					  (let ((commit "239d0f75b5f909174c2ef7fb08d23bcfa6b20ba0")
 | 
				
			||||||
    (source (origin
 | 
					        (revision "0"))
 | 
				
			||||||
              (method url-fetch)
 | 
					    (package
 | 
				
			||||||
              (uri (string-append
 | 
					      (name "libssh")
 | 
				
			||||||
                    "https://red.libssh.org/attachments/download/218/libssh-"
 | 
					      (version (git-version "0.7.5" revision commit))
 | 
				
			||||||
                    version ".tar.xz"))
 | 
					      (source (origin
 | 
				
			||||||
              (sha256
 | 
					                (method git-fetch)
 | 
				
			||||||
               (base32
 | 
					                (uri (git-reference
 | 
				
			||||||
                "15bh6dm9c50ndddzh3gqcgw7axp3ghrspjpkb1z3dr90vkanvs2l"))
 | 
					                      (url "https://git.libssh.org/projects/libssh.git")
 | 
				
			||||||
              (patches (search-patches "libssh-hostname-parser-bug.patch"))))
 | 
					                      (commit commit)))
 | 
				
			||||||
    (build-system cmake-build-system)
 | 
					                (sha256
 | 
				
			||||||
    (outputs '("out" "debug"))
 | 
					                 (base32
 | 
				
			||||||
    (arguments
 | 
					                  "01w72w1jsgs9ilj3n1gp6qkmdxr9n74i5h2nipi3x1vzm7bv8na1"))
 | 
				
			||||||
     '(#:configure-flags '("-DWITH_GCRYPT=ON")
 | 
					                (patches (search-patches "libssh-hostname-parser-bug.patch"))
 | 
				
			||||||
 | 
					                (file-name (git-file-name name version))))
 | 
				
			||||||
 | 
					      (build-system cmake-build-system)
 | 
				
			||||||
 | 
					      (outputs '("out" "debug"))
 | 
				
			||||||
 | 
					      (arguments
 | 
				
			||||||
 | 
					       '(#:configure-flags '("-DWITH_GCRYPT=ON")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       ;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite.
 | 
					         ;; TODO: Add 'CMockery' and '-DWITH_TESTING=ON' for the test suite.
 | 
				
			||||||
       #:tests? #f))
 | 
					         #:tests? #f))
 | 
				
			||||||
    (inputs `(("zlib" ,zlib)
 | 
					      (inputs `(("zlib" ,zlib)
 | 
				
			||||||
              ("libgcrypt" ,libgcrypt)))
 | 
					                ("libgcrypt" ,libgcrypt)))
 | 
				
			||||||
    (synopsis "SSH client library")
 | 
					      (synopsis "SSH client library")
 | 
				
			||||||
    (description
 | 
					      (description
 | 
				
			||||||
     "libssh is a C library implementing the SSHv2 and SSHv1 protocol for
 | 
					       "libssh is a C library implementing the SSHv2 and SSHv1 protocol for
 | 
				
			||||||
client and server implementations.  With libssh, you can remotely execute
 | 
					client and server implementations.  With libssh, you can remotely execute
 | 
				
			||||||
programs, transfer files, and use a secure and transparent tunnel for your
 | 
					programs, transfer files, and use a secure and transparent tunnel for your
 | 
				
			||||||
remote applications.")
 | 
					remote applications.")
 | 
				
			||||||
    (home-page "https://www.libssh.org")
 | 
					      (home-page "https://www.libssh.org")
 | 
				
			||||||
    (license license:lgpl2.1+)))
 | 
					      (license license:lgpl2.1+))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public libssh2
 | 
					(define-public libssh2
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue