Guenter Knauf
40970adb53
changed to configure defines to control inclusion of headers from libssh2_config.h.
2007-04-26 22:59:29 +00:00
Guenter Knauf
93e36271a6
check for sys/time.h
2007-04-12 22:00:55 +00:00
Simon Josefsson
0cf3845302
Replace #if !WIN32 with #if HAVE_SYS_SOCKET_H and HAVE_SYS_IOCTL_H
...
(AIX needs sys/ioctl.h). Reported by Michael Augustin
<maugustin-hi6Y0CQ0nG0@public.gmane.org>.
2007-04-11 07:22:33 +00:00
Simon Josefsson
e1bc0adcb1
Use Bruno's M4 macros to search for libgcrypt.
2007-04-05 10:23:54 +00:00
Simon Josefsson
af12b96a80
Add comment.
2007-03-27 15:57:23 +00:00
Simon Josefsson
e854459839
Set $SHLIB_SUFFIX_NAME properly, tiny patch from Daniel Johnson
...
<daniel@daniel-johnson.org>.
2007-03-27 15:56:08 +00:00
Simon Josefsson
ebc55b5d75
Use AC_SEARCH_LIBS on socket() for -lsocket, so we don't link with
...
-lsocket unless it is necessary.
Remove SHLIB_LDFLAGS, it was never used by anything.
2007-03-27 13:11:19 +00:00
Simon Josefsson
25a810bbc8
Fix typo.
2007-03-27 13:05:35 +00:00
Simon Josefsson
0eabcb386e
Search -lnsl for inet_addr, suggested by "Heiko Jansen"
...
<jansen@hbz-nrw.de>.
2007-03-27 12:59:00 +00:00
Daniel Stenberg
fee0239211
setting sockets non-blocking using more portable code and configure macros
...
from the libcurl project (written by me)
2007-02-07 21:39:17 +00:00
Simon Josefsson
f6e26916ac
Remove unused uses of -lm and math.h.
2007-02-04 13:16:17 +00:00
Daniel Stenberg
4f1cfb20a9
1 - new public function libssh2_trace() that enables tracing/debug output on
...
various stuff if libssh2 was built with debug. If built without debug, the
function does nothing.
2 - configure --enable-debug is now enough to build a debug version (including
picky compiler options)
3 - internally, we no longer need/use #ifdef/#endif around all uses of the
_libssh2_debug() function/macro.
The scp.c example is the first application to test this new debug logging.
2007-02-02 23:23:36 +00:00
Daniel Stenberg
bd1980ea1c
Include man pages in distro tarball and make install. Note that this is still
...
(by far) an incomplete set of man pages.
2007-02-02 22:27:06 +00:00
Daniel Stenberg
9d55db6501
Adding src/transport.c for the SECSH transport layer read/write in a non-
...
blocking way. The channel code is now responsible for enabling/disabling
blocking status and to work with it.
I've also modified indenting and fixed compiler warnings at places, and
added a bunch of new examples in example/simple that I've used to verify that
the code still runs like before.
libssh2_channel_{read|write}nb_ex() and libssh2_sftp_{read|write}nb() are the
four new functions that supposedly work non-blocking.
2007-02-02 16:21:20 +00:00
Simon Josefsson
b1f8bafb64
If --with-libgcrypt is specified, don't check for OpenSSL.
2007-01-23 10:37:14 +00:00
Simon Josefsson
5443c76c8e
Define an automake conditional iff libgcrypt is used.
2007-01-16 15:13:50 +00:00
Simon Josefsson
6d65428511
Look for libgcrypt if --with-libgcrypt is given to ./configure.
...
Note that until the libgcrypt work is complete, libssh2 also link to OpenSSL.
2007-01-15 18:16:07 +00:00
Simon Josefsson
8a2421bad1
Add basic self test.
2007-01-09 09:49:15 +00:00
Daniel Stenberg
ef8d1a2af8
Added the configure option --enable-debug-build which not only enables a
...
debug build (using -g and disabling all -O options), but also sets a whole
range of picky/strict compiler options depending on what compiler and version
that is used. This function is ripped right off the curl configure script,
written by yours truly. I left it using the same name as in the curl script
to 1) make it obvious where it comes from, so that 2) it will be easier to
update and keep it in sync with future modifications.
Now, this shows MAAAAAAAAANY warnings...
2006-12-13 08:45:49 +00:00
Simon Josefsson
6b1dc88b14
Add autobuild.m4, to make it easier to use http://autobuild.josefsson.org/ .
2006-12-07 15:53:01 +00:00
Daniel Stenberg
1dbe8ff365
check for inline in configure
2006-11-20 22:10:56 +00:00
Daniel Stenberg
82424d6735
Starting now, we use automake and libtool for the build.
2006-11-20 08:58:29 +00:00
Daniel Stenberg
3b1b45e644
Moved the private include files libssh2_priv.h and libssh2_config.h.in from
...
include/ into the src/ directory. The include/ dir is now strictly for public
headers.
Also, I removed the special win32 source package creation target in the
makefile and I modified the contact email address in configure.in to point out
the libssh2-devel list.
2006-11-20 08:41:04 +00:00
Daniel Stenberg
1854b4536f
Use pkg-config --cflags-only-I when getting the include files necessary to
...
build with OpenSSL. Previous approach caused a bad compiler option get set.
2006-11-17 10:26:11 +00:00
Sara Golemon
ace0c8f00b
Bump for release
2006-06-22 18:50:26 +00:00
Sara Golemon
5f85317efa
Swap ordering of packet_add/packet-inspection to avoid inspect after free. Fix OpenSSL detection using pkg-config.
2006-05-26 22:36:48 +00:00
Sara Golemon
2207b99afb
Bump version number
2006-03-02 01:10:06 +00:00
Sara Golemon
1d7522bc06
BugFix#1436593: Apply build options for HPUX targets
2006-02-23 23:14:35 +00:00
Sara Golemon
edcdf43264
Prep for release
2005-11-01 23:11:50 +00:00
Sara Golemon
e15f5d97a0
Add publickey subsystem support
2005-07-21 20:28:07 +00:00
Sara Golemon
d6cfa7c6b9
bump for release -- 0.11
2005-07-05 01:42:11 +00:00
Sara Golemon
9203a62789
Late commit -- This is for release 0.10
2005-05-24 14:01:38 +00:00
Sara Golemon
ebfbd22e59
Add debugging hooks for development diagnostics
2005-05-11 05:11:31 +00:00
Sara Golemon
3ea661a574
Bump for release
2005-05-05 18:48:51 +00:00
Sara Golemon
30755999c5
Check for and link against libm and libsocket
2005-05-05 18:45:42 +00:00
Sara Golemon
7c64e21df6
Bump for release
2005-03-23 00:30:05 +00:00
Sara Golemon
c67bb667aa
Add libssh2_poll()
2005-03-23 00:21:26 +00:00
Sara Golemon
141ac5b856
Add sys/uio.h for FBSD builds and remove old stdio references
2005-03-21 21:26:08 +00:00
Sara Golemon
37c55becdc
Bump for release
2005-02-18 16:19:34 +00:00
Sara Golemon
c6e5188fb4
Add support for MacOSX(Darwin)
2005-02-17 20:41:34 +00:00
Sara Golemon
159120f844
Bump for release
2005-02-09 19:22:34 +00:00
Sara Golemon
fe2513a18b
Bump for release (tardy)
2005-01-11 18:59:10 +00:00
Sara Golemon
c070bdacc7
Move towards a working win32 build
2005-01-01 23:38:34 +00:00
Sara Golemon
a9af84c51d
Let ./configure populate VERSION in Makefile
2004-12-31 20:40:40 +00:00
Sara Golemon
cf8ca63ea0
Add ./configure option '--disable-gex-new' to fallback on
...
older diffie-hellman-group-exchange-sha1 syntax.
i.e. Use SSH_MSG_KEX_DH_GEX_REQUEST_OLD
rather then SSH_MSG_KEX_DH_GEX_REQUEST
See draft-ietf-secsh-dh-group-exchange section 7 for details.
2004-12-31 00:15:18 +00:00
Sara Golemon
371f5de682
Bump for release
2004-12-24 23:23:09 +00:00
Sara Golemon
3f24fb005e
Bump version for release and remove SFTP from TODO list
2004-12-23 15:15:44 +00:00
Sara Golemon
aa8b8afe4f
Update contact info with new domain
2004-12-22 20:56:06 +00:00
Sara Golemon
26e7e66ecf
Bump version for release
2004-12-17 01:33:17 +00:00
Sara Golemon
7a5ffc8cee
Initial revision
2004-12-07 21:17:20 +00:00