Andreas Schneider
459677e20e
libssh: Bump the version to 0.7.90
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-01-29 20:43:35 +01:00
Juraj Vijtiuk
778652460f
add mbedtls crypto support
...
Summary:
This patch adds support for mbedTLS as a crypto backend for libssh.
mbedTLS is an SSL/TLS library that has been designed to mainly be used
in embedded systems. It is loosely coupled and has a low memory
footprint. mbedTLS also provides a cryptography library (libmbedcrypto)
that can be used without the TLS modules.
The patch is unfortunately quite big, since several new files had to
be added.
DSA is disabled at compile time, since mbedTLS doesn't support DSA
Patch review and feedback would be appreciated, and if any issues or
suggestions appear, I'm willing to work on them.
Signed-off-by: Juraj Vijtiuk <juraj.vijtiuk@sartura.hr>
Test Plan:
* The patch has been tested with a Debug and MinSizeRel build, with
libssh unit tests, client tests and the pkd tests.
* All the tests have been run with valgrind's memcheck, drd and helgrind
tools.
* The examples/samplessh client works when built with the patch.
Reviewers: asn, aris
Subscribers: simonsj
Differential Revision: https://bugs.libssh.org/D1
2017-12-28 11:17:39 +01:00
Andreas Schneider
f7b8394127
cmake: Bump version numbers
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2017-09-12 07:40:45 +02:00
Aris Adamantiadis
5027627344
cmake: detect argp.h on osx
2016-03-14 22:27:06 +01:00
Andreas Schneider
5b586fdfec
cmake: Handle libssh threas library correctly
...
This should fix the build on Windows and would not install pkg files.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-09-07 07:46:11 +02:00
Douglas Heriot
a65af1b3b8
cmake: Do not use CMAKE_(SOURCE|BINARY)_DIR
2015-06-24 18:17:05 +02:00
Andreas Schneider
3f4b5436e5
Bump version to 0.7.0
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-05-06 11:01:33 +02:00
Andreas Schneider
19e23e6128
cmake: Require cmake 2.8.5
...
I've improved FindOpenSSL and FindZLIB in that version to work well with
Windows and Linux. This was 2011 it should be old enough that most
distributions have at least this version available.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-04-10 14:35:29 +02:00
Andreas Schneider
6c7e552509
cmake: Require cmake version 2.8.0
2015-04-10 13:32:09 +02:00
Andreas Schneider
d8e691b58a
cmake: Fix config variable names.
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2014-12-17 10:38:56 +01:00
Andreas Schneider
142b2e4ede
cmake: Fix libssh cmake-config files.
2014-05-22 14:52:52 +02:00
Hani Benhabiles
517a01b7ad
Set the correct version in CMakeLists.txt
...
Signed-off-by: Hani Benhabiles <hani@linux.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2014-05-20 09:41:20 +02:00
Andreas Schneider
291312c5e4
cmake: Install cmake config files to the correct directory.
2014-04-16 15:45:33 +02:00
Andreas Schneider
8bcbfb1642
cmake: Remove unused macro modules.
2014-01-07 16:07:00 +01:00
Aris Adamantiadis
f565aeebfa
Compile libssh with nacl if possible
...
Conflicts:
DefineOptions.cmake
2013-11-03 13:18:26 +01:00
Andreas Schneider
b9ada25296
cmake: Allow to build without examples.
...
BUG: https://red.libssh.org/issues/114
2013-09-16 10:38:14 +02:00
Andreas Schneider
ed7e3c936b
cmake: Don't make GSSAPI a hard requirement.
2013-07-13 15:50:57 +02:00
Andreas Schneider
1663917f71
cmake: Make GSSAPI optional.
2013-07-13 15:48:49 +02:00
Aris Adamantiadis
b69c26ad72
build: detect gssapi.h
...
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2013-07-13 14:19:23 +02:00
Andreas Schneider
5d6cab4b14
cmake: Add cmake config files for new find_package() mode.
2013-02-12 13:32:34 +01:00
Andreas Schneider
dde0404dfb
cmake: Add message if we build with static library.
2012-10-15 11:55:42 +02:00
Andreas Schneider
c81010e2f7
test: Use cmocka instead of cmockery.
...
cmocka is the successor of cmockery.
http://git.cryptomilk.org/projects/cmocka.git/
2012-10-07 11:10:27 +02:00
Andreas Schneider
3e83bc665f
cmake: Enable ECC support for GCrypt 1.5.0 or newer.
2012-02-04 20:25:07 +01:00
Andreas Schneider
8a3b02f68d
cmake: Fix library linking.
2011-09-23 08:00:58 +02:00
Andreas Schneider
583a7f933a
cmake: Added pkg-config support for libssh_treads.
2011-06-14 13:47:04 +02:00
Andreas Schneider
94ca5ed3df
cmake: Set next version.
2011-05-30 12:38:17 +02:00
Andreas Schneider
7e9d384ec8
build: Set version to 0.5.90.
2011-03-01 21:28:50 +01:00
Andreas Schneider
6f2bf91e29
build: Increased version numbers.
2011-02-10 12:54:33 +01:00
Andreas Schneider
8abdaa7abf
examples: Start to build examples on more plattforms.
2011-01-23 18:57:35 +01:00
Andreas Schneider
17f592d4dd
tests: Start to migrate tests to cmockery.
...
https://code.google.com/p/cmockery/wiki/Cmockery_Unit_Testing_Framework
2010-12-28 22:14:47 +01:00
Aris Adamantiadis
4fe1656cf8
Moved benchmarks to the tests/ directory
2010-12-28 13:17:27 +01:00
Aris Adamantiadis
1922341e2a
New benchmarks directory
2010-12-19 18:56:16 +01:00
Andreas Schneider
4f75fdcd14
build: There is no need to check for system libraries on Linux.
2010-09-08 11:20:10 +02:00
Andreas Schneider
f7842e3a4b
misc: Rename libssh/ to src/
2010-09-06 14:28:38 +02:00
Andreas Schneider
a93f2d8bfe
build: Fixed pthread detection.
2010-09-01 15:15:17 +02:00
Aris Adamantiadis
8c55294ea9
Openssl implementation of threading + default imp
2010-09-01 14:07:45 +02:00
Aris Adamantiadis
fd5aeba117
Change SOversion to 4.2.0 instead of 5.0.0
2010-08-18 23:18:57 +02:00
Aris Adamantiadis
b4c0b03694
Added the client unit testing information
2010-07-23 11:04:09 +02:00
Andreas Schneider
f57d2c3277
build: Fixed building without zlib.
2010-06-11 10:43:02 +02:00
Andreas Schneider
a5157e69b1
Increment the soversion number.
2010-05-12 19:01:25 +02:00
Andreas Schneider
8738e93dc0
cmake: Fixed openssl detection.
...
Thanks to Xi Wang for the patch.
2010-04-20 13:25:46 +02:00
Andreas Schneider
c805f0cdcb
Fix revision.
2010-03-25 13:42:30 +01:00
Andreas Schneider
e4bbba2b15
Added comments to the so version to increment it correctly in future.
2010-03-25 13:26:37 +01:00
Andreas Schneider
3a5af7fb61
Build examples only on the Linux plattform.
2010-03-17 10:12:03 +01:00
Andreas Schneider
34f2d50e29
Require check if testing is enabled.
2010-03-15 16:09:16 +01:00
Andreas Schneider
eec3532955
Simplify the build option output.
2010-03-02 23:37:49 +01:00
Andreas Schneider
464176d511
Added unit testing support using check.
2010-03-02 13:54:14 +01:00
Aris Adamantiadis
512fa6e601
Added summary of build options in Cmake
2010-02-08 16:55:03 +01:00
Andreas Schneider
757f8a6323
Set the soversion to 4.1 as we didn't break something.
...
yet?
2010-02-05 12:34:20 +01:00
Andreas Schneider
a25b06ecfc
Increase version number.
2010-02-05 12:07:50 +01:00
Andreas Schneider
49de20aa5c
Fixed cmake warning.
...
There is no CMakeLists.txt in tests and we don't build something
in the root CMakeLists.txt.
2009-12-30 19:08:03 +01:00
Vic Lee
13d534e89a
Add pkg-config file libssh.pc
...
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Andreas Schneider <mail@cynapses.org>
2009-12-30 19:05:48 +01:00
Andreas Schneider
ea34f37d43
Generate the APPLICATION_VERSION.
2009-12-21 15:56:21 +01:00
Aris Adamantiadis
58294442d3
Moved samples into examples directory
2009-10-09 21:44:05 +02:00
Andreas Schneider
62cebe23d9
Fixed build of sample client.
2009-10-02 17:21:59 +02:00
Aris Adamantiadis
74b7fb7bba
Add an option to let users choose libgcrypt
2009-09-25 23:31:48 +02:00
Andreas Schneider
3558b9e6b6
Fix Windows build.
2009-07-30 11:40:28 +02:00
Andreas Schneider
9457c770df
Change the library so version.
2009-07-30 00:46:07 +02:00
Aris Adamantiadis
a935ad1857
New example directory with the begining of a scp
2009-07-25 17:03:01 +02:00
Aris Adamantiadis
7abb3941c8
Bumped the version numbers to 0.4.0 in HEAD
2009-07-25 16:32:10 +02:00
Andreas Schneider
f29e119c25
Improve OpenSSL cmake checks.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@752 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-07 15:11:04 +00:00
Andreas Schneider
126dcd51e5
Improve GCrypt cmake checks.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@751 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-05-07 15:07:54 +00:00
Andreas Schneider
c1c4f299ff
Add option to build with or without sftp support.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@618 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-04-27 10:58:29 +00:00
Andreas Schneider
fae68cac8a
Add an option to build a static library.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@285 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-03-25 15:01:33 +00:00
Andreas Schneider
b4cebfb03d
Fix compilation and installation of libssh.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@250 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-03-08 14:05:41 +00:00
Andreas Schneider
f0b2c39d2f
Fix crypto/gcrypt detection and prepare for cross compilation.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@245 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-03-08 12:11:10 +00:00
Andreas Schneider
cfbc063dd3
Add a 'make doc' target to create doxygen documentation.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@224 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-02-03 10:43:45 +00:00
Andreas Schneider
460d0b402b
Add Makefiles for the CMake build system.
...
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@203 7dcaeef0-15fb-0310-b436-a5af3365683c
2009-02-02 14:44:46 +00:00