ssh4py is a Python wrapper around libssh2. This package removes methods which require the private API files from libssh2 (channel.getSocket, ssh.getCompressionMethods) and a method which was not exported, and which requires a function that doesn't exist in libssh2 (channel.pollWrite). This package requires a bit more polishing I think. There are still hard-coded paths that should not be required (to be tested on Darwin). All patches should be commented.
13 lines
374 B
Text
13 lines
374 B
Text
$NetBSD: patch-ac,v 1.1.1.1 2010/06/01 21:35:31 guigui2 Exp $
|
|
|
|
--- src/ssh2/channel.h.orig 2007-09-23 15:28:44.000000000 -0400
|
|
+++ src/ssh2/channel.h 2010-03-03 00:22:29.000000000 -0500
|
|
@@ -8,7 +8,7 @@
|
|
#define PyOpenSSL_SSH2_CHANNEL_H_
|
|
|
|
#include <Python.h>
|
|
-#include "libssh2_priv.h"
|
|
+#include "libssh2.h"
|
|
|
|
extern int init_SSH2_Channel (PyObject *);
|
|
|