aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2019-03-27 13:52:49 +0100
committerJulien Dessaux2019-03-27 15:21:02 +0100
commit3b43c7aefe3fa01ec7aefc15c0d94745c751d8cb (patch)
treecdbbd1cb9662997b9987fe21340e0b165c444002
parentMade all settings customisable through a config file. (diff)
downloadbastion-3b43c7aefe3fa01ec7aefc15c0d94745c751d8cb.tar.gz
bastion-3b43c7aefe3fa01ec7aefc15c0d94745c751d8cb.tar.bz2
bastion-3b43c7aefe3fa01ec7aefc15c0d94745c751d8cb.zip
Added uthash as a git submodule
Diffstat (limited to '')
-rw-r--r--.gitmodules3
-rw-r--r--README.md11
-rw-r--r--common/CMakeLists.txt1
m---------external/uthash0
4 files changed, 15 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index c3f6d12..21d232a 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "external/termrec"]
path = external/termrec
url = https://github.com/kilobyte/termrec
+[submodule "external/uthash"]
+ path = external/uthash
+ url = https://github.com/troydhanson/uthash
diff --git a/README.md b/README.md
index d2cf716..9f564e8 100644
--- a/README.md
+++ b/README.md
@@ -18,6 +18,7 @@ This bastion project does work properly with non interactive sessions, which all
- [Monitoring](#monitoring)
- [Backup](#backup)
- [Scaling](#scaling)
+- [Special thanks](#special-thanks)
## Dependencies
@@ -34,6 +35,7 @@ The following are optional dependencies :
This project is built using cmake :
```
+git submodule update --init
mkdir build
cd build
cmake ..
@@ -79,3 +81,12 @@ session_recording:
## Backup
## Scaling
+
+## Special thanks
+
+I would like to thank the developers of the following projects, I am merely standing on the shoulders of giants :
+
+- libconfig from http://www.hyperrealm.com/libconfig/libconfig.html
+- libssh from https://www.libssh.org/
+- libtty from https://github.com/kilobyte/termrec
+- uthash from http://troydhanson.github.io/uthash/
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index 2de8714..d28cbec 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -1,3 +1,4 @@
+include_directories("${PROJECT_SOURCE_DIR}/external/uthash/src")
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
file(GLOB_RECURSE SOURCES *.c)
diff --git a/external/uthash b/external/uthash
new file mode 160000
+Subproject e5e9ad586f3249733ab3d00bb74fcbb9433e48d