git.iko.soy/typeable/nixpkgs
on master help sign in
libssh: 0.7.0 -> 0.7.1
commitf6bc130bc83c62e626d11414e876143f98d49437 authorWilliam A. Kennington III <william@wkennington.com> dateSun 19 Jul 2015, 16:59 (11 years ago) parent584effa
2 files changed+3−33
pkgs/development/libraries/libssh/0001-Reintroduce-ssh_forward_listen-Fixes-194.patch−28 pkgs/development/libraries/libssh/default.nix+3−5
pkgs/development/libraries/libssh/0001-Reintroduce-ssh_forward_listen-Fixes-194.patchdeleted−28
@@ -1,28 +0,0 @@
1−From 3c8fe6e2c595ee019408249c364b3019b6c31a8a Mon Sep 17 00:00:00 2001
2−From: Mike DePaulo <mikedep333@gmail.com>
3−Date: Fri, 15 May 2015 22:22:13 -0400
4−Subject: [PATCH] Reintroduce ssh_forward_listen() (Fixes: #194)
5−
6−---
7− src/channels.c | 5 +++++
8− 1 file changed, 5 insertions(+)
9−
10−diff --git a/src/channels.c b/src/channels.c
11−index 7a4e71f..db5f83a 100644
12−--- a/src/channels.c
13−+++ b/src/channels.c
14−@@ -2206,6 +2206,11 @@ error:
15− }
16−
17− /* DEPRECATED */
18−+int ssh_forward_listen(ssh_session session, const char *address, int port, int *bound_port) {
19−+ return ssh_channel_listen_forward(session, address, port, bound_port);
20−+}
21−+
22−+/* DEPRECATED */
23− ssh_channel ssh_forward_accept(ssh_session session, int timeout_ms) {
24− return ssh_channel_accept(session, SSH_CHANNEL_FORWARDED_TCPIP, timeout_ms, NULL);
25− }
26−--
27−2.1.4
28−
pkgs/development/libraries/libssh/default.nix+3−5
@@ -1,15 +1,13 @@
11{ stdenv, fetchurl, pkgconfig, cmake, zlib, openssl, libsodium }:
22
33stdenv.mkDerivation rec {
4− name = "libssh-0.7.0";
4+ name = "libssh-0.7.1";
55
66 src = fetchurl {
7− url = "https://git.libssh.org/projects/libssh.git/snapshot/${name}.tar.gz";
8− sha256 = "1wfrdqhv97f4ycd9bcpgb6gw47kr7b2iq8cz5knk8a6n9c6870k0";
7+ url = "https://red.libssh.org/attachments/download/154/libssh-0.7.1.tar.xz";
8+ sha256 = "0v84zm957z31yyrj47n62hby38nrjk5ih0ajmgccnqrjdpwwrirg";
99 };
1010
11− patches = [ ./0001-Reintroduce-ssh_forward_listen-Fixes-194.patch ];
12−
1311 postPatch = ''
1412 # Fix headers to use libsodium instead of NaCl
1513 sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c